Commit Graph

419 Commits

Author SHA1 Message Date
Adhiraj Singh
efe6bf1dd3 Cleaner code. Remove credentials-updated & connection-validated as they became obsolete
`credentials-updated` & `connection-validated` became obsolete as they are equivalent to `open`
2021-01-04 17:07:51 +05:30
Adhiraj Singh
6cc5a910f7 Completely remove message-status-update & user-status-update 2021-01-04 14:19:44 +05:30
Adhiraj Singh
ac4b4c7384 Removed deprecations + merge message-status-update into chat-update
1. Update package version to 4.0.0
2. Retry query if the connection unexpectedly closes + make query iterative instead of recursive
3. Remove message-new & message-update deprecations
4. Deprecate loadProfilePicturesForChatsAutomatically
2021-01-04 12:35:48 +05:30
Adhiraj Singh
05bae6b1e7 Unarchive tests 2020-12-31 11:18:47 +05:30
Adhiraj Singh
763ac66551 Update key when archive changes 2020-12-31 10:39:51 +05:30
Adhiraj Singh
c126cca554 Unarchive conversations on new message 2020-12-30 16:49:58 +05:30
Adhiraj Singh
100c8fd96d Add more contact-update + better phone check 2020-12-30 11:26:46 +05:30
Adhiraj Singh
ebaf9280b3 Merge pull request #278 from edgardmessias/feat_pushname
Added method to update the profile name
2020-12-29 23:31:57 +05:30
Edgard Lorraine Messias
cc358942dd Merge branch 'master' into feat_pushname 2020-12-29 13:18:46 -03:00
Adhiraj Singh
26b15b2b78 Update 7.MessagesExtra.ts 2020-12-29 11:09:21 +05:30
Adhiraj Singh
3d6418e9d6 Update 7.MessagesExtra.ts 2020-12-29 11:05:23 +05:30
Adhiraj Singh
bb90e8b051 Merge pull request #295 from dimailn/force-message-id
Added option for forcing message id
2020-12-29 10:54:20 +05:30
Adhiraj Singh
471ba8c23f Add requiresPhoneConnection to sendMessage 2020-12-29 00:42:28 +05:30
Dmitry Sadovsky
165451d752 Added option for forcing message id 2020-12-28 13:41:27 +03:00
Adhiraj Singh
5fb9e8abed Minor updates 2020-12-28 11:44:02 +05:30
Adhiraj Singh
bc3cb6c178 Require phone connection in required places 2020-12-23 09:31:00 +05:30
Edgard Messias
14bf3a441a Added method to update the profile name 2020-12-18 16:10:05 -03:00
Adhiraj Singh
523f0341ed Emit bug fix from #277 @edgardmessias 2020-12-18 18:54:29 +05:30
Adhiraj Singh
a55dac4e60 Blocklist bug fix 2020-12-18 18:51:21 +05:30
Adhiraj Singh
5409ae8580 Merge pull request #272 from edgardmessias/improved_docs
Improved typedoc page
2020-12-18 18:09:39 +05:30
Edgard
8651299ec2 Improved typedoc page 2020-12-18 09:14:59 -03:00
Adhiraj Singh
3288846380 Merge pull request #279 from edgardmessias/feat_clear_chat
Added method to clear chat and star/unstar message
2020-12-18 17:40:50 +05:30
Adhiraj Singh
5f995036fc Merge pull request #277 from edgardmessias/fix_emit
Fixed event emitter for default callback
2020-12-18 17:38:24 +05:30
Adhiraj Singh
597f073948 Terminate connection on false pong 2020-12-18 17:33:58 +05:30
Adhiraj Singh
b6a8d02038 Cleaner upserts 2020-12-18 16:49:28 +05:30
Adhiraj Singh
ccab24cdb2 Nicer message deletion + catch profile picture update errors 2020-12-18 12:35:24 +05:30
Edgard
5a7077c675 Added method to clear chat and star/unstar message 2020-12-16 13:58:24 -03:00
Edgard Messias
dc874e3415 Fixed event emitter for default callback 2020-12-16 11:21:12 -03:00
Adhiraj Singh
ae0f3be3d3 Merge pull request #273 from edgardmessias/block_user
Added method to block/unblock user (close #233)
2020-12-15 12:08:04 +05:30
Edgard
0bf0ec6490 Added method to block/unblock user (close #233) 2020-12-14 16:05:57 -03:00
Adhiraj Singh
282fdb1bd3 Add option to look for deleted keys in shallowChanges 2020-12-12 14:15:05 +05:30
Adhiraj Singh
b72e2dfcf9 Track updated contacts 2020-12-12 14:06:46 +05:30
Adhiraj Singh
eb7b8506a9 Added support for sending + toggling disappearing messages 2020-12-12 00:21:11 +05:30
Adhiraj Singh
a778f999a9 Log link preview error 2020-12-11 15:43:14 +05:30
Adhiraj Singh
376a43f116 Duplicate message after reconnect fix 2020-12-09 00:01:37 +05:30
Adhiraj Singh
caf82a46a8 Indexing change + missing messages detection 2020-12-08 18:06:20 +05:30
Adhiraj Singh
69ec8b97b1 Update 1.Validation.ts 2020-12-06 19:46:20 +05:30
Adhiraj Singh
a464923402 Presence bug fix 2020-12-06 15:32:39 +05:30
Adhiraj Singh
95aedba87f Group participants now derive from WAContact 2020-12-06 14:29:48 +05:30
Adhiraj Singh
93afb3048a Merge pull request #256 from adiwajshing/dependabot/npm_and_yarn/highlight.js-10.4.1
Bump highlight.js from 10.3.2 to 10.4.1
2020-12-05 23:56:16 +05:30
Adhiraj Singh
cbb8301e07 Update 1.Validation.ts 2020-12-05 14:23: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
4a6c72c36c Invalid session fix 2020-12-04 16:02:16 +05:30
Adhiraj Singh
6d7dc4d9fe Manage group metdata state in Baileys + Remove presence from Contact 2020-12-03 13:16:37 +05:30
Adhiraj Singh
d4b453f0e5 Bug fix for sendLoginReq 2020-12-02 14:21:06 +05:30
Adhiraj Singh
84edfe1ca0 Archive bug fix + Delete bug fix + assert deprecation update 2020-11-30 19:21:10 +05:30
Adhiraj Singh
196be24e4f Update messageID generation + use archive property in chat key 2020-11-28 13:26:31 +05:30
Adhiraj Singh
a7d51f9831 possible undefined jid fix 2020-11-27 19:52:34 +05:30
Adhiraj Singh
a0a47145a6 Use create instead of fromObject 2020-11-27 17:56:06 +05:30
Adhiraj Singh
7dc083b6e5 Update init method to try login multiple times + use WA ttl for QR gen 2020-11-26 17:08:18 +05:30