Adhiraj Singh
b68efb15b6
fix: correct verify
2022-01-22 14:57:59 +05:30
Adhiraj Singh
1f2a6641f3
feat: mutex processing in a chat to preserve order of events
2022-01-22 14:07:06 +05:30
Adhiraj Singh
a06f639774
fix: self read receipt on groups
2022-01-22 12:19:00 +05:30
Adhiraj Singh
08cd253e90
feat: add 'updateMessageWithReceipt' utility
2022-01-22 12:05:38 +05:30
Adhiraj Singh
cf4a50cddf
chore: update readme
2022-01-22 11:55:15 +05:30
Adhiraj Singh
7d4a5634dd
chore: update typedoc
2022-01-22 11:49:39 +05:30
Adhiraj Singh
0835d381b6
Merge pull request #1172 from adiwajshing/dependabot/npm_and_yarn/shelljs-0.8.5
...
chore(deps): bump shelljs from 0.8.4 to 0.8.5
2022-01-22 11:42:56 +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
Adhiraj Singh
fdee567429
Merge pull request #1170 from adiwajshing/dependabot/npm_and_yarn/tmpl-1.0.5
...
chore(deps): bump tmpl from 1.0.4 to 1.0.5
2022-01-22 11:41:56 +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
58e1dd2910
docs: update readme
2022-01-22 11:41:00 +05:30
Adhiraj Singh
09bb795c1c
Merge pull request #696 from adiwajshing/multi-device
...
Multi Device Support
2022-01-22 11:40:12 +05:30
Adhiraj Singh
e954fc0053
lint: examples
2022-01-22 11:37:39 +05:30
Adhiraj Singh
57d6ab62a1
feat: use message receipt on MD
2022-01-22 11:37:26 +05:30
Adhiraj Singh
92587bd46a
refactor: use the proto UserReceipt instead of custom MessageInfo
2022-01-22 00:27:00 +05:30
Adhiraj Singh
284c7e7812
fix: do not mutate update object reference
2022-01-20 12:28:56 +05:30
Prince Mendiratta
c4eea6fd69
minor spelling typo ( #1167 )
...
Signed-off-by: Prince Mendiratta <prince.mendi@gmail.com >
2022-01-20 11:18:10 +05:30
Adhiraj Singh
1ff4ff3aa6
chore: update version
2022-01-20 11:17:22 +05:30
Adhiraj Singh
189a148b0a
Merge branch 'master' into multi-device
2022-01-20 11:14:39 +05:30
Adhiraj Singh
5270b8482d
chore: update pino
2022-01-19 22:55:04 +05:30
Adhiraj Singh
34d934d762
chore: update memory store location
2022-01-19 22:54:43 +05:30
Adhiraj Singh
05191ddb72
docs: add info about using legacy version
2022-01-19 22:52:25 +05:30
Adhiraj Singh
d8cc38608f
chore: update package name
2022-01-19 22:52:12 +05:30
Adhiraj Singh
1fb52de958
docs: update readme about store
2022-01-19 22:38: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
dependabot[bot]
7ca6ae6116
Bump shelljs from 0.8.4 to 0.8.5 ( #1151 )
...
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 >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-17 00:17:39 +05:30
Adhiraj Singh
f7f86e69d6
chore: update log
2022-01-16 16:03:22 +05:30
Adhiraj Singh
4112c68556
feat: expose sendRetryRequest
2022-01-16 15:33:26 +05:30
Adhiraj Singh
7bb6e3ceeb
refactor: chats.set event
2022-01-16 13:02:38 +05:30
Adhiraj Singh
09553def8a
fix: include isLatest in events
2022-01-16 12:54:08 +05:30
Adhiraj Singh
793b23cb21
refactor: history processing
...
1. fixes issue when some chats/messages are not synced
2. adds info about whether the history chunk is the latest
2022-01-16 12:51:08 +05:30
RavinduManoj
19f870bfa7
Update Version ( #1147 )
2022-01-14 22:49:49 +05:30
Adhiraj Singh
f09e0f85cc
feat: add getContentType
2022-01-13 16:26:56 +05:30
Adhiraj Singh
ede40b16f1
fix: update MD mismatch error code
...
Because 403 can mean other things as well -- don't want to conflate the two
2022-01-11 11:00:19 +05:30
Adhiraj Singh
c7ceb0ab11
chore: use peerDependencies instead of optional
2022-01-10 15:21:34 +05:30
Adhiraj Singh
5febb86e14
fix: message delete not reflecting correctly for others
2022-01-08 23:01:55 +05:30
Adhiraj Singh
127e21b920
feat: implement getAuthenticationCredsType
2022-01-08 11:27:19 +05:30
Adhiraj Singh
a0003f0fe9
fix: read receipts not being available
2022-01-07 21:24:46 +05:30
Adhiraj Singh
67f3ddeaff
chore: remove null status from not fromMe msgs
2022-01-07 21:24:29 +05:30
Adhiraj Singh
6c08f0cd76
fix: incorrect from me
2022-01-07 21:15:27 +05:30
Adhiraj Singh
db6a02c4a5
chore: remove redundant log
2022-01-07 21:04:54 +05:30
Adhiraj Singh
d15bde5d17
refactor: app state handling
...
1. fixes snapshot patches not being included
2. fixes all mutations being passed when syncing from scratch
3. simpler chat mutation model
4. do not retry if key is not found
2022-01-07 14:29:52 +05:30
Adhiraj Singh
da65ae8f42
fix: do not update chat + contact on prepend messages
2022-01-07 13:55:26 +05:30
Adhiraj Singh
6a2cb5a413
refactor: message decoding
...
1. removes redundant receipt (was exactly the same as delivery receipt without the timestamp)
2. decodeWAMessage now returns a proper message struct
3. each message stanza results in exactly one message decoded
2022-01-07 00:04:17 +05:30
BochilGaming
0b5d772b08
Fix ContactsArrayMessage and add getBusinessProfile ( #1074 )
...
* Fix: ContactsArrayMessage and add getBusinessProfile
* delete package-lock.json
* edit readme.md
* add bussines hours
* make type same with leagcy
* revert
2022-01-06 22:15:52 +05:30
Adhiraj Singh
7ffa10a5c5
fix: delivery receipt
2022-01-06 15:11:33 +05:30
Adhiraj Singh
473c5bdce5
chore: add guard for sendRawMessage
2022-01-03 13:33:49 +05:30