Commit Graph

429 Commits

Author SHA1 Message Date
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
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