Commit Graph

1114 Commits

Author SHA1 Message Date
Adhiraj Singh
f44335db8d chore: better error for recipient error 2022-06-15 15:05:58 +05:30
Adhiraj Singh
442489faae fix: correctly respond to retry requests 2022-06-15 15:05:43 +05:30
Adhiraj Singh
7b900c174d chore: more logging 2022-06-15 13:55:23 +05:30
LeonardoBein
227cab2f95 feat: Returns an object with information about the invite code's group (#1562)
* feat: Returns an object with information about the invite code's group

* refactor: more information in metadata group
2022-06-13 20:34:01 +05:30
Adhiraj Singh
1fc5f67584 Merge pull request #1710 from FatihArridho/patch-3
Update README.md
2022-06-13 20:20:10 +05:30
Fatih Arridho
a7ee2adf94 Update README.md (#1710)
Fix README.md On How to Accept from Group Invite
2022-06-13 20:19:34 +05:30
Fatih Arridho
4f24fb451d Update README.md (#1710)
Fix README.md On How to Accept from Group Invite
2022-06-13 20:19:22 +05:30
fadiinho
bd98b13895 fix: reaction message doesn't appear when send to a group (#1700)
* fix: reaction message doesn't appear when send to a group

* use undefined instead of null
2022-06-13 20:15:56 +05:30
Dwi Rizqi
e7087cabf5 fix: Delete Message For Me (#1718)
* Add Timestamp for deleteMessageForMe

* Fix Typo Readme

* Add Timestamp for deleteMessageForMe

* fix: Typo type timestamp
2022-06-13 20:13:52 +05:30
Wender Teixeira
c22b4c9c89 chore: update version (#1734)
https://web.whatsapp.com/check-update?version=1&platform=web
updated to latest version.
2022-06-13 20:13:00 +05:30
Adhiraj Singh
ae94e0ac38 fix: correctly handle devices & encrypt notif 2022-06-13 19:56:00 +05:30
Adhiraj Singh
07f0ff86e8 chore: update group invite docs 2022-06-13 19:55:37 +05:30
Adhiraj Singh
32fadda86a feat: add button reply 2022-06-13 16:22:28 +05:30
Adhiraj Singh
7b3fd7c3c5 fix: tsc error in legacy version 2022-06-13 12:57:01 +05:30
Adhiraj Singh
b125638253 fix: add missing "isLatest" flag 2022-06-13 12:53:20 +05:30
Adhiraj Singh
f87f89329b perf: avoid excess memory usage when syncing state 2022-06-11 20:25:57 +05:30
Adhiraj Singh
a0548fbc4c fix: add more escape chars for multi file auth state 2022-06-11 19:30:48 +05:30
Adhiraj Singh
631bb2ad69 chore: do not lint proto 2022-06-11 12:02:20 +05:30
Adhiraj Singh
5cb71ac862 feat: more accurately handle app state sync 2022-06-11 12:02:08 +05:30
Adhiraj Singh
79518787b6 feat: prevent urlInfo gen 2022-06-10 09:52:36 +05:30
Adhiraj Singh
0ff6e1b571 chore: log more info when uploading media 2022-06-10 09:30:31 +05:30
Adhiraj Singh
be535f0a34 fix: give preview even if thumbnail gen fails 2022-06-09 15:07:04 +05:30
Adhiraj Singh
cea9e9da8a fix: typeerror on patch 2022-06-08 22:56:09 +05:30
Adhiraj Singh
5305730d82 feat: track history being stored
This is done because sometimes we receive history after the first connect too, and to ensure the "isLatest" flag is accurate -- we ensure no history was received previously
2022-06-07 21:18:51 +05:30
Adhiraj Singh
ea8b580db8 chore: ts-node update 2022-06-07 21:14:33 +05:30
Fatih Arridho
02504166ba Update README.md
Fix README.md On How to Accept from Group Invite
2022-06-07 15:18:42 +07:00
Naif Alharbi
0daab87d7f Fix status@broadcast file name (#1696)
user-multi-file-auth-state fails to write/read status@broadcast files because they have a colon.
To fix it, we replaced the colon with a dash.
This might solve the issues below
https://github.com/adiwajshing/Baileys/issues/1589#issue-1229804957
https://github.com/adiwajshing/Baileys/issues/1693#issue-1260676356
2022-06-05 17:20:16 +05:30
Paulo Corcino
b78ffe029a Update README.md (#1698)
Fix README.md with reference of constant 'saveCreds' correct on 'creds.update' event.
2022-06-05 17:19:45 +05:30
Adhiraj Singh
b7d8401f62 feat: put entire mutation in transaction 2022-06-05 14:00:09 +05:30
Adhiraj Singh
6f48bbb736 chore: make transaction logs trace 2022-06-05 13:59:51 +05:30
Adhiraj Singh
06fdf5fdac chore: update packages 2022-06-03 11:13:08 +05:30
dependabot[bot]
47ef2b873e chore(deps-dev): bump sharp from 0.29.3 to 0.30.5 (#1686)
Bumps [sharp](https://github.com/lovell/sharp) from 0.29.3 to 0.30.5.
- [Release notes](https://github.com/lovell/sharp/releases)
- [Changelog](https://github.com/lovell/sharp/blob/main/docs/changelog.md)
- [Commits](https://github.com/lovell/sharp/compare/v0.29.3...v0.30.5)

---
updated-dependencies:
- dependency-name: sharp
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-03 11:07:03 +05:30
Adhiraj Singh
3b43153e92 fix: send unavailable if markOnlineOnConnect=false 2022-06-01 19:13:12 +05:30
Adhiraj Singh
82e2ec79d3 chore: add media update logging 2022-06-01 15:35:36 +05:30
Adhiraj Singh
2b12defe6b chore: parity between MD & legacy 2022-06-01 13:40:40 +05:30
Adhiraj Singh
6824a203d0 feat: correctly handle presence being offline for receipts
When sendPresenceUpdate('unavailable') is called, it should allow notifications to be received on the phone
2022-06-01 13:20:21 +05:30
Adhiraj Singh
cafc707628 feat: add option to reupload in downloadMediaMessage 2022-06-01 13:19:05 +05:30
Adhiraj Singh
f62898dee7 fix: emit messages.update on successful reupload 2022-06-01 13:18:37 +05:30
Adhiraj Singh
06ce5f9be0 feat: add media retry for MD 2022-06-01 13:04:45 +05:30
Adhiraj Singh
4c51800b09 feat: add "assertMediaContent" util 2022-06-01 13:02:05 +05:30
Adhiraj Singh
f2ef5ff1d4 refactor: create generic "bindWaitForEvent" for baileys event emitter 2022-06-01 13:01:26 +05:30
Adhiraj Singh
00cbe0f95d chore: update node types to v16 2022-06-01 12:59:58 +05:30
Adhiraj Singh
436cdc84f0 refactor: move GCM decrypt/encrypt to separate util 2022-06-01 12:59:36 +05:30
Adhiraj Singh
26b286c98c chore: use Boom for WS errors 2022-05-31 21:36:11 +05:30
Adhiraj Singh
9c3cb7c940 lint: legacy chats 2022-05-31 16:01:04 +05:30
Adhiraj Singh
29bee92e79 fix: remove recipient from ack 2022-05-28 18:47:48 +05:30
Adhiraj Singh
2b5389239f chore: better ack 2022-05-28 18:45:16 +05:30
Adhiraj Singh
8f8dba9344 fix: yarn lock 2022-05-28 18:27:02 +05:30
Adhiraj Singh
5eca282d05 chore: remove likely redundant acks 2022-05-28 18:21:46 +05:30
Hanz
bf5d86366e chore: fixed semver conflict on @types/jest (#1668)
@types/jest"^27.0.0" required by ts-jest@27.1.5
2022-05-28 17:54:38 +05:30