Commit Graph

449 Commits

Author SHA1 Message Date
Adhiraj Singh
f20d36fe9b pad wamessagekey 2021-03-29 20:37:22 +05:30
Ibnu syawal
b1ea0e31da Added method to revokes link of group chat (#421) 2021-03-28 20:09:55 +05:30
Adhiraj Singh
7e79b88c78 Update README.md 2021-03-26 10:45:55 +05:30
Adhiraj Singh
caf46e05a3 Update publish-release.yml 2021-03-24 23:27:05 +05:30
Ibnu syawal
08bdb426c9 Added method to join group (#417)
* Added method to join group

* Added method to join group in README
2021-03-24 23:19:00 +05:30
Adhiraj Singh
389c409feb Update package.json 2021-03-24 23:18:26 +05:30
Pedro Dias
3b7c6e7aaa Update 6.MessagesSend.ts (#408) 2021-03-22 10:28:00 +05:30
Nils
e4bc0f6a61 Update connectOptions default in README (#394) 2021-03-19 23:53:04 +05:30
Adhiraj Singh
a8f4e14412 Disappearing messages fix
- Fixes crash issue on groups
- Fixes (i) on group chats when disappearing messages is on
2021-03-19 21:18:21 +05:30
Adhiraj Singh
afea6c249e Delete chat fix 2021-03-18 13:21:33 +05:30
Adhiraj Singh
4c2f954601 Fix ping not happening more than once 2021-03-11 13:52:52 +05:30
Omri Dagan
e670ff003e Add support for contacts array (#384)
* Add support for contacts array

* Remove contactsArray logs from Example.ts

* Undid prettier formatting of example.js
2021-03-07 02:03:47 +05:30
Nils
d469fdb3bd typo: retreive -> retrieve (#371) 2021-02-26 23:33:20 +05:30
Adhiraj Singh
482fa7090b Remove depracations + add chat ping loop 2021-02-12 16:54:31 +05:30
Adhiraj Singh
9edef50f45 isOnWhatsApp query fix 2021-02-05 18:27:58 +05:30
Adhiraj Singh
d803c219b6 Android not receiving message status update fix 2021-02-04 22:38:30 +05:30
Adhiraj Singh
a13aabd394 Prevent unexpected endConnection 2021-02-04 22:18:03 +05:30
Adhiraj Singh
dfaeef0db1 Fix initial-data-received called multiple times
The latest android version has messages with the last: true flag set on all messages, causing incorrect events being fired off. This update creates a timeout that fires off the initial-data-received 2500ms after the last messages received.

This may not be as accurate in production but will be better than the current version
2021-02-04 19:04:50 +05:30
Adhiraj Singh
63dd136afa Move msgCount increment to generateMessageTag
Prevents duplicate tags from being sent
2021-01-24 17:25:49 +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
01328b32c3 Removed accidental garbage 2021-01-14 23:48:38 +05:30
Adhiraj Singh
35aa857ab5 Listen for errors on got stream 2021-01-14 12:44:55 +05:30
Adhiraj Singh
2b50e4e6cc Update upload types 2021-01-13 23:09: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
500805236a Don't dup presence updates 2021-01-08 19:54:41 +05:30
Adhiraj Singh
39802eb449 Better phone connection detection 2021-01-06 18:21:36 +05:30
Adhiraj Singh
b9ece77220 Removed loadProfilePicturesForChatsAutomatically 2021-01-05 19:08:25 +05:30
Adhiraj Singh
2129c87852 Update Constants.ts 2021-01-05 17:44:35 +05:30
Adhiraj Singh
0565444999 Add stack traces to promiseTimeout & delay 2021-01-05 17:42:05 +05:30
Adhiraj Singh
96a6dc7e6d General cleanup 2021-01-04 21:21:43 +05:30
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