Commit Graph

66 Commits

Author SHA1 Message Date
Adhiraj Singh
542617d79c chore: update lock 2022-06-16 15:24:57 +05:30
Adhiraj Singh
ea8b580db8 chore: ts-node update 2022-06-07 21:14:33 +05:30
Adhiraj Singh
06fdf5fdac chore: update packages 2022-06-03 11:13:08 +05:30
dependabot[bot]
47ef2b873e chore(deps-dev): bump sharp from 0.29.3 to 0.30.5 (#1686)
Bumps [sharp](https://github.com/lovell/sharp) from 0.29.3 to 0.30.5.
- [Release notes](https://github.com/lovell/sharp/releases)
- [Changelog](https://github.com/lovell/sharp/blob/main/docs/changelog.md)
- [Commits](https://github.com/lovell/sharp/compare/v0.29.3...v0.30.5)

---
updated-dependencies:
- dependency-name: sharp
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-03 11:07:03 +05:30
Adhiraj Singh
00cbe0f95d chore: update node types to v16 2022-06-01 12:59:58 +05:30
Adhiraj Singh
8f8dba9344 fix: yarn lock 2022-05-28 18:27:02 +05:30
Hanz
bf5d86366e chore: fixed semver conflict on @types/jest (#1668)
@types/jest"^27.0.0" required by ts-jest@27.1.5
2022-05-28 17:54:38 +05:30
Adhiraj Singh
3eeded66b2 chore: update lock 2022-05-25 12:40:14 +05:30
Adhiraj Singh
bb47024f20 chore: update lock 2022-05-25 12:14:43 +05:30
Adhiraj Singh
9c7d563d7c chore: use custom signal lib 2022-04-24 16:55:20 +05:30
Adhiraj Singh
f2d5cd1fa3 chore: libsignal with proto patch 2022-04-22 20:01:43 +05:30
Adhiraj Singh
207f279772 chore: remove curve25519-js dep + use signal curve functions 2022-04-22 19:06:27 +05:30
Adhiraj Singh
0ba6726fd3 chore: use vanilla libsignal 2022-04-22 18:18:28 +05:30
Adhiraj Singh
c138b6a82a Merge branch 'master' into invalid-qr-patch 2022-04-19 22:01:34 +05:30
Adhiraj Singh
872536fa5b feat: link previews on MD 2022-04-19 19:00:32 +05:30
Adhiraj Singh
66804ddd4e chore: update lock 2022-04-18 08:23:40 +05:30
dependabot[bot]
cd17da6898 chore(deps): bump minimist from 1.2.5 to 1.2.6 (#1431)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-31 17:52:45 +05:30
Adhiraj Singh
6e34f2a0cd chore: update ts-node 2022-03-29 19:08:35 +05:30
Adhiraj Singh
de7d1002a9 lint: stricter linting rules 2022-03-01 16:32:14 +05:30
Adhiraj Singh
14caf354dd chore: update pino 2022-02-18 20:12:22 +05:30
dependabot[bot]
3aa1a86a8c chore(deps): bump follow-redirects from 1.14.7 to 1.14.8 (#1234)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-13 12:10:36 +05:30
dependabot[bot]
5ad631b8e7 chore(deps): bump simple-get from 4.0.0 to 4.0.1 (#1195)
Bumps [simple-get](https://github.com/feross/simple-get) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/feross/simple-get/releases)
- [Commits](https://github.com/feross/simple-get/compare/v4.0.0...v4.0.1)

---
updated-dependencies:
- dependency-name: simple-get
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-29 12:54:53 +05:30
Adhiraj Singh
7d4a5634dd chore: update typedoc 2022-01-22 11:49:39 +05:30
dependabot[bot]
83166c0b77 chore(deps): bump shelljs from 0.8.4 to 0.8.5
Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases)
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5)

---
updated-dependencies:
- dependency-name: shelljs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-22 06:12:23 +00:00
Adhiraj Singh
5b1dd8df85 Merge pull request #1171 from adiwajshing/dependabot/npm_and_yarn/follow-redirects-1.14.7
chore(deps): bump follow-redirects from 1.14.6 to 1.14.7
2022-01-22 11:42:05 +05:30
dependabot[bot]
67cc1a9f8b chore(deps): bump follow-redirects from 1.14.6 to 1.14.7
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.6 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.6...v1.14.7)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-22 06:11:17 +00:00
dependabot[bot]
fad4919eaf chore(deps): bump tmpl from 1.0.4 to 1.0.5
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-22 06:11:12 +00:00
Adhiraj Singh
5270b8482d chore: update pino 2022-01-19 22:55:04 +05:30
Adhiraj Singh
fb66733b61 feat: implement in memory store
1. the store works as a temporary store for connection data such as chats, messages & contacts
2. the store is primarily meant to illustrate the usage of the event emitter as a way to construct the state of the connection. This will likely be very inefficient to perform well at scale
3. the store is meant to be a quick way to have some visibility of data while testing
4. the store works for both legacy & MD connections
2022-01-19 21:35:59 +05:30
Adhiraj Singh
8f11f0be76 chore: add linting 2022-01-19 15:54:02 +05:30
Adhiraj Singh
9068157cb1 chore: replace got with axios
Primarily because it had some odd issues with handling streams
2021-12-19 20:18:21 +05:30
Adhiraj Singh
e51bbc4893 feat: add support for "sharp" for image generation 2021-12-17 11:44:04 +05:30
Adhiraj Singh
beac4d21e3 chore: update WS 2021-12-10 13:15:34 +05:30
Adhiraj Singh
dee815448b feat: cache user devices 2021-11-07 19:51:14 +05:30
Adhiraj Singh
8a23d8ecd6 update signal lib 2021-10-28 13:24:30 +05:30
Adhiraj Singh
3f6bd2ad84 update libsignal + no dependency on proto files + no native deps 2021-10-13 17:42:48 +05:30
Adhiraj Singh
23101f87a1 move appstatesynckey to keys 2021-09-26 12:35:56 +05:30
Adhiraj Singh
f267f27ada finalize multi-device 2021-09-22 22:19:53 +05:30
Adhiraj Singh
6751b5cc73 make deps optional + bug fixes 2021-07-18 17:27:23 +05:30
Adhiraj Singh
89cf8004e9 Wrap up connection + in memory store 2021-07-09 20:35:07 +05:30
dependabot[bot]
fc2c5906f2 Bump normalize-url from 4.5.0 to 4.5.1 (#522)
Bumps [normalize-url](https://github.com/sindresorhus/normalize-url) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/sindresorhus/normalize-url/releases)
- [Commits](https://github.com/sindresorhus/normalize-url/commits)

---
updated-dependencies:
- dependency-name: normalize-url
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-13 21:20:17 +05:30
dependabot[bot]
9897bacb64 Bump ws from 7.4.4 to 7.4.6 (#504)
Bumps [ws](https://github.com/websockets/ws) from 7.4.4 to 7.4.6.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.4.4...7.4.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-04 23:03:57 +05:30
Adhiraj Singh
3b2618910c Clear tmp media files + regen yarn lock 2021-04-12 21:01:20 +05:30
Adhiraj Singh
e1952ff349 Don't save original if not required for media + update readme 2021-01-15 12:16:09 +05:30
Adhiraj Singh
0344d6336c Stream uploads + downloads + allow for remote url uploads
- Switch to using got
- Use encryption/decryption streams for speed & lesser memory consumption
- Allow for stream based download & simultaneous upload of media
2021-01-13 22:48:28 +05:30
Adhiraj Singh
05bae6b1e7 Unarchive tests 2020-12-31 11:18:47 +05:30
Edgard
8651299ec2 Improved typedoc page 2020-12-18 09:14:59 -03:00
Adhiraj Singh
b6a8d02038 Cleaner upserts 2020-12-18 16:49:28 +05:30
dependabot[bot]
71b0894c32 Bump highlight.js from 10.3.2 to 10.4.1
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 10.3.2 to 10.4.1.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/master/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/10.3.2...10.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-04 21:34:25 +00:00
Adhiraj Singh
9f8f244b66 Added offline check for isOnWhatsApp 2020-11-20 12:50:14 +05:30