Commit Graph

134 Commits

Author SHA1 Message Date
Adhiraj Singh
06437e182d feat: add "multi file auth state" implementation
1. add multi file auth state since it's far more efficient than single state
2. deprecate single file auth state (please don't use it anymore)
2022-05-22 21:21:35 +05:30
Adhiraj Singh
ae4aa67950 feat: handle call events 2022-05-09 15:00:53 +05:30
✬Ravindu Manoj✬ ✓
72aa8f9ea7 Typo Fix (#1577) 2022-05-09 10:00:31 +05:30
Adhiraj Singh
872536fa5b feat: link previews on MD 2022-04-19 19:00:32 +05:30
Meir Blachman
a08cd00107 docs: fix typo in readme (#1483)
* docs: fix typo in readme

 makeSocket -> makeWASocket

* rename sock -> conn
2022-04-17 16:16:37 +05:30
Aman Dutt
fdf957b338 ✏️ Fixed typo (#1488) 2022-04-17 16:16:15 +05:30
Adhiraj Singh
5aa64f2c39 feat: add readMessages function 2022-04-06 09:30:32 +05:30
Muhammad Fatkurozi
6d4fc87169 docs: too many tabs in code preview (#1453)
handling events, connection.update
2022-04-05 10:14:07 +05:30
Arthur Castro
032dcbc17a Fix: typo (#1457) 2022-04-05 10:13:44 +05:30
Alon Schwartzblat
eb8f8e0d72 Add join group by groupInviteMessage (#1355)
* Add join group by groupInviteMessage

* Add join group by groupInviteMessage

* Fix typo
2022-03-25 16:18:00 +05:30
Ami
3a52f06c0f Added ReactionMessage for React User Message with Emoji (#1382)
* Add react type

* Add ReactionMessage

* Add reactionMessage example...

* Lint fix...
2022-03-23 00:35:13 +05:30
Adhiraj Singh
93c8db319e feat: implement "treatCiphertextMessagesAsReal" flag 2022-03-21 14:15:22 +05:30
Dwi Rizqi
2b70269947 Update README.md (#1354) 2022-03-13 21:11:41 +05:30
Adem Kouki
ad340054c4 Fix example link (#1316) 2022-03-04 12:57:20 +05:30
Royhan
636a145a40 simple typo (#1311) 2022-03-03 20:21:59 +05:30
jackcokk
3b756787d4 chore: Update readme Discord link (#1191) 2022-02-08 11:29:27 +05:30
Prince Mendiratta
669dce1ea8 Fix connection example snippet (#1190)
Signed-off-by: Prince Mendiratta <prince.mendi@gmail.com>
2022-01-28 13:56:41 +05:30
Adhiraj Singh
cf4a50cddf chore: update readme 2022-01-22 11:55:15 +05:30
Adhiraj Singh
58e1dd2910 docs: update readme 2022-01-22 11:41:00 +05:30
Prince Mendiratta
c4eea6fd69 minor spelling typo (#1167)
Signed-off-by: Prince Mendiratta <prince.mendi@gmail.com>
2022-01-20 11:18:10 +05:30
Adhiraj Singh
05191ddb72 docs: add info about using legacy version 2022-01-19 22:52:25 +05:30
Adhiraj Singh
1fb52de958 docs: update readme about store 2022-01-19 22:38:04 +05:30
Adhiraj Singh
7bb6e3ceeb refactor: chats.set event 2022-01-16 13:02:38 +05:30
BochilGaming
0b5d772b08 Fix ContactsArrayMessage and add getBusinessProfile (#1074)
* Fix: ContactsArrayMessage and add getBusinessProfile

* delete package-lock.json

* edit readme.md

* add bussines hours

* make type same with leagcy

* revert
2022-01-06 22:15:52 +05:30
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