Commit Graph

110 Commits

Author SHA1 Message Date
Guilherme
3176551a30 MD - Update README.md (#1072)
* Update README.md

* Update README.md
2021-12-29 00:19:03 +05:30
Denis Didenko
415e4ed8a4 fix smallbug readme (#1063) 2021-12-24 11:48:29 +05:30
Adhiraj Singh
c87d8b8129 refactor: update chat modifications to be uniform across MD + legacy 2021-12-21 10:53:39 +05:30
Rajeh Taher
d62db2bbd6 Added List message support and removed "saving auth state" (#1048)
* Added template support and footers for buttons & templates

* Template message readme

* got rid of "saving auth state" and added lists

* added body

* Update README.md
2021-12-19 22:29:35 +05:30
Adhiraj Singh
e51bbc4893 feat: add support for "sharp" for image generation 2021-12-17 11:44:04 +05:30
Adhiraj Singh
78fd72c8e5 feat: implement message retry handling
so if a message fails to decrypt on the other user's end -- it can be retried
2021-12-04 13:47:24 +05:30
Rajeh Taher
cd9c313e47 [MD] Added template support and footers for buttons & templates (#942)
* Added template support and footers for buttons & templates

* Template message readme
2021-11-30 10:40:54 +05:30
Adhiraj Singh
6e830c1e1b feat: enforce default timeout to prevent any hanging promises 2021-11-25 19:54:56 +05:30
azudin
841a129019 Multi device - Clean up typos and replace conn to sock (#916)
* Update README.md

* Update README.md

Change updatePresence to sendPresenceUpdate

* Update README.md

clean up typos and replace conn to sock

* Update README.md

clean up typos and replace conn to sock to standardize with existing example
2021-11-25 15:37:34 +05:30
Adhiraj Singh
3d0704a317 feat: cleaner auth state management
1. removes the "auth-state.update" event since it was bloated and fairly unnecessary
2. adds "creds.update" event that only sends the updated properties of the auth credentials
3. ensure the auth creds are not mutated anywhere, but only with the "creds.update" event
4. Separates the signal credentials from the auth credentials (kinda in progress)
5. in memory key store requires a save function to let one know when to save the keys

!BREAKING_CHANGE
2021-11-20 16:21:56 +05:30
yanun
3590c1f569 Update README.md (#879) 2021-11-19 18:40:34 +05:30
azudin
e250560088 Update README.md (#816) 2021-11-15 08:14:55 +05:30
Ilya Borodin
ae80566c0e Group update description (#859)
* Added groupUpdateDescription

* Updated README

Co-authored-by: Ilya Borodin <ilya.borodin@botconversa.com.br>
2021-11-15 08:09:10 +05:30
Adhiraj Singh
d0b11dadbf add high res picture fetch 2021-10-23 10:07:55 +05:30
Adhiraj Singh
466cb614e6 Update README.md 2021-10-15 23:59:51 +05:30
Adhiraj Singh
b3c1063a3f update download media example 2021-09-29 13:36:37 +05:30
Adhiraj Singh
647c16b46c Update README.md 2021-09-29 12:44:06 +05:30
Adhiraj Singh
17e915e273 rename package to baileys-md 2021-09-26 23:00:34 +05:30
Adhiraj Singh
f1527a9f6b separate out crypto utils 2021-09-23 22:37:33 +05:30
Adhiraj Singh
f267f27ada finalize multi-device 2021-09-22 22:19:53 +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
Hitesh Yadav
eb55760eac Updating README for fixes in event type. (#480) 2021-05-05 13:22:24 +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
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
Nils
e4bc0f6a61 Update connectOptions default in README (#394) 2021-03-19 23:53:04 +05:30
Nils
d469fdb3bd typo: retreive -> retrieve (#371) 2021-02-26 23:33:20 +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
96a6dc7e6d General cleanup 2021-01-04 21:21:43 +05:30
Adhiraj Singh
6cc5a910f7 Completely remove message-status-update & user-status-update 2021-01-04 14:19:44 +05:30
Edgard
0bf0ec6490 Added method to block/unblock user (close #233) 2020-12-14 16:05:57 -03:00
Adhiraj Singh
eb7b8506a9 Added support for sending + toggling disappearing messages 2020-12-12 00:21:11 +05:30
Adhiraj Singh
84edfe1ca0 Archive bug fix + Delete bug fix + assert deprecation update 2020-11-30 19:21:10 +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
Adhiraj Singh
cd90d66c5e Update group docs 2020-11-22 22:00:23 +05:30
Adhiraj Singh
9f8f244b66 Added offline check for isOnWhatsApp 2020-11-20 12:50:14 +05:30
Adhiraj Singh
ba8b8c693a Download media from ephemeral messages 2020-11-19 00:26:17 +05:30
Adhiraj Singh
cea702b5a3 better presence handling via chat-update 2020-11-17 16:58:57 +05:30
Adhiraj Singh
6d02d405a7 Major redo with respect to chats/contacts -- read desc
Waiting for chats & contacts is hella unreliable, so I've put them as events
1. receive chats via the `chats-received` event. If new chats are found, the flag for that is sent as well
2. receive contacts via the `contacts-received` event
3. When WA sends older messages, the `chats-update` or `chat-update` event is triggered
4. Baileys keeps track of all the changed conversations between connects

Connects almost always take less than 10 seconds!
2020-11-13 23:15:16 +05:30
Adhiraj Singh
eace0c1795 Deprecated message-new & message-update + fix presence update for groups
The chat-update event is fired now when a message is received/updated
2020-11-13 16:07:08 +05:30
Adhiraj Singh
eaf56f6d71 group promote/demote event fix + archive fix + group events rework 2020-11-12 13:46:10 +05:30
Adhiraj Singh
f636cea26c Link Discord 2020-11-07 14:24:04 +05:30
Adhiraj Singh
442c03a05e Update isOnWhatsApp 2020-11-07 13:47:21 +05:30
Adhiraj Singh
75aa1f9d81 Chats not being received bug fix 2020-11-05 16:57:27 +05:30
Adhiraj Singh
69da12c33c handle tags via EventEmitter + replace 'intermediate-close' with 'ws-close' 2020-10-30 17:42:45 +05:30
Adhiraj Singh
cc722a5138 Callbacks via EventEmitter + possible memory leak fix 2020-10-28 16:10:28 +05:30
Adhiraj Singh
6391e37198 Change default connect options 2020-10-15 16:53:48 +05:30
Adhiraj Singh
4dde319256 Update README.md 2020-10-12 20:33:41 +05:30
Adhiraj Singh
210b467b68 Close before terminate + update presence on message receive 2020-10-11 23:08:48 +05:30
Adhiraj
0d13a15904 Handle updating of credentials 2020-10-02 14:19:04 +05:30