Commit Graph

329 Commits

Author SHA1 Message Date
Adhiraj Singh
b372e36a2b store metadata 2021-07-15 23:41:58 +05:30
Adhiraj Singh
71e34fc5f8 Cleanup + add remaining utils 2021-07-12 23:50:08 +05:30
Adhiraj Singh
89cf8004e9 Wrap up connection + in memory store 2021-07-09 20:35:07 +05:30
Adhiraj Singh
5be4a9cc2c remove all files 2021-07-07 23:20:11 +05:30
Adhiraj Singh
d4189c3d00 Update version 2021-07-06 16:14:20 +05:30
bhavya32
0dea009f9c Added Option to skip QR Logging in Terminal (#552)
QR logging can now be disabled using connect option.
2021-06-27 19:02:47 +05:30
Adhiraj Singh
3607357152 add max query response time + update package 2021-06-16 11:59:21 +05:30
ShellTear
1c8d7df829 Update wa web version (#528)
Fixes connection issue mentioned in #526
2021-06-15 23:06:10 +05:30
Adhiraj Singh
77ea7c1798 string encoding bug fix 2021-06-08 12:50:41 +05:30
Alen Yohannan
7a845af78c Fix errors with Compilation (#515)
There were some erros which prevented the code to compile. This commit fixes that
2021-06-05 16:40:27 +05:30
Rajeh Taher
ff69726ec4 Edit Business Profile (#499)
*  Added updateBusinessProfile

* 🎨 parity of output between getBusinessProfile and updateBusinessProfile

* 🏷️ Added the Interfaces

* 🏷️ improved the type declarations

* 🥅 Fixed fatal error & Removed semicolon

* 🥅 Fixed one more error, and cleaned the code to be ready for release
2021-06-04 23:05:48 +05:30
ファイズ
0e2961981a Add support for groupV4Invite (#498) 2021-06-04 23:03:43 +05:30
Adhiraj Singh
d32b555306 update forwarding copy mechanism 2021-05-01 12:31:36 +05:30
Adhiraj Singh
66fb931fa3 WAChat update 2021-04-29 23:17:09 +05:30
Adhiraj Singh
1d31b7a20c emit update on metadata 2021-04-29 23:15:31 +05:30
Adhiraj Singh
45503898b0 read bug fix 2021-04-29 23:12:01 +05:30
Adhiraj Singh
b473ed7502 Add group title fix 2021-04-29 23:00:57 +05:30
Adhiraj Singh
5dfeaf75b0 Update 4.Events.ts 2021-04-25 19:22:00 +05:30
Adhiraj Singh
15ff592534 weird group ID patch 2021-04-20 13:04:11 +05:30
Adhiraj Singh
3b2618910c Clear tmp media files + regen yarn lock 2021-04-12 21:01:20 +05:30
Nurutomo
3575150df1 getBusinessProfile() (#425)
* JSDoc for acceptInvite and revokeInvite

* added isBusiness in isOnWhatsApp

* create getBusinessProfile

* removed unnecessary query
2021-03-30 20:18:21 +05:30
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
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
Pedro Dias
3b7c6e7aaa Update 6.MessagesSend.ts (#408) 2021-03-22 10:28:00 +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
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