Commit Graph

857 Commits

Author SHA1 Message Date
Adhiraj Singh
8a52eeb310 feat: implement getOrder on legacy 2022-03-06 10:56:29 +05:30
Adhiraj Singh
49038a94f2 Merge branch 'master' of https://github.com/adiwajshing/Baileys 2022-03-04 16:50:44 +05:30
Adhiraj Singh
f2c91bcedd refactor: split downloadMediaMessage into functional components 2022-03-04 16:50:39 +05:30
Adem Kouki
ad340054c4 Fix example link (#1316) 2022-03-04 12:57:20 +05:30
Adhiraj Singh
5c05a5d34b feat: add normalizeMessageContent util 2022-03-04 12:27:10 +05:30
Royhan
636a145a40 simple typo (#1311) 2022-03-03 20:21:59 +05:30
kaatt
7f495cf5f1 fix ephemeral view once message (#1307)
* fix ephemeral view once message

* fix ephemeral view once message
2022-03-03 01:01:41 +05:30
Adhiraj Singh
a8a0c701ae chore: add participant to msg body for notifications 2022-03-02 13:14:12 +05:30
Adhiraj Singh
3d56d610ae fix: redundant array 2022-03-02 00:06:56 +05:30
Adhiraj Singh
d192ffe6bc fix: forward message content 2022-03-02 00:06:38 +05:30
Adhiraj Singh
de7d1002a9 lint: stricter linting rules 2022-03-01 16:32:14 +05:30
Adhiraj Singh
c00c3da313 fix: BufferJSON failing with empty string 2022-03-01 16:30:11 +05:30
Black Amda ✅
a885cfb3f2 Update baileys-version.json (#1293) 2022-02-28 19:36:34 +05:30
Adhiraj Singh
4ac39d72ff fix: map eph duration on legacy group metadata 2022-02-27 12:29:17 +05:30
kaatt
dd3fccbdb3 include peerDependenciesMeta (#1281)
* peerDependencies should be optionalDependencies

* peerDependenciesMeta

* Update package.json
2022-02-24 18:09:45 +05:30
Adhiraj Singh
d21a39c302 feat: add product API for legacy connections 2022-02-24 17:58:37 +05:30
Adhiraj Singh
0567384af9 chore: increment version 2022-02-24 17:10:57 +05:30
Adhiraj Singh
75582e4541 feat: add WA Web version auto fetch 2022-02-20 19:43:15 +05:30
Adhiraj Singh
7c5071d8d5 chore: move version to JSON file 2022-02-20 19:31:47 +05:30
Adhiraj Singh
14caf354dd chore: update pino 2022-02-18 20:12:22 +05:30
ShellTear
d427de0302 Update version to fix 405 response (#1247)
Fixes the issue mentioned in #1246.
Requires scanning the qr again, otherwise it'll give 401 response.
2022-02-17 10:42:34 +05:30
Adhiraj Singh
913b38493c fix: throw error if no decrypt-able message found 2022-02-17 10:32:51 +05:30
dependabot[bot]
3aa1a86a8c chore(deps): bump follow-redirects from 1.14.7 to 1.14.8 (#1234)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-13 12:10:36 +05:30
Adhiraj Singh
0da4621999 feat: map template message content 2022-02-12 19:54:53 +05:30
Adhiraj Singh
e4eaf2d2e4 chore: update proto 2022-02-12 19:48:46 +05:30
jackcokk
3b756787d4 chore: Update readme Discord link (#1191) 2022-02-08 11:29:27 +05:30
Adhiraj Singh
73527ff5dd chore: lint 2022-02-08 11:02:19 +05:30
Adhiraj Singh
6f9a5f8f2f chore: update version 2022-02-08 11:02:14 +05:30
Anshu S
bbea04e5bc Fix Issue #1209 (#1210) 2022-02-07 18:20:48 +05:30
dependabot[bot]
5ad631b8e7 chore(deps): bump simple-get from 4.0.0 to 4.0.1 (#1195)
Bumps [simple-get](https://github.com/feross/simple-get) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/feross/simple-get/releases)
- [Commits](https://github.com/feross/simple-get/compare/v4.0.0...v4.0.1)

---
updated-dependencies:
- dependency-name: simple-get
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-29 12:54:53 +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
21f4ba92f9 Merge pull request #1184 from HUGEIT/master
fix #1152 crash by putting mutex on sendRetryRequest()
2022-01-25 19:36:00 +05:30
HUGEIT
df1e400e03 sendRetryRequest ("Waiting for this message") wrapped in mutex call to avoid crash in #1152 2022-01-25 13:54:42 +01:00
Adhiraj Singh
e7c2d4e117 fix: account for missing owner prop in legacy 2022-01-22 15:39:04 +05:30
Adhiraj Singh
b68efb15b6 fix: correct verify 2022-01-22 14:57:59 +05:30
Adhiraj Singh
1f2a6641f3 feat: mutex processing in a chat to preserve order of events 2022-01-22 14:07:06 +05:30
Adhiraj Singh
a06f639774 fix: self read receipt on groups 2022-01-22 12:19:00 +05:30
Adhiraj Singh
08cd253e90 feat: add 'updateMessageWithReceipt' utility 2022-01-22 12:05:38 +05:30
Adhiraj Singh
cf4a50cddf chore: update readme 2022-01-22 11:55:15 +05:30
Adhiraj Singh
7d4a5634dd chore: update typedoc 2022-01-22 11:49:39 +05:30
Adhiraj Singh
0835d381b6 Merge pull request #1172 from adiwajshing/dependabot/npm_and_yarn/shelljs-0.8.5
chore(deps): bump shelljs from 0.8.4 to 0.8.5
2022-01-22 11:42:56 +05:30
dependabot[bot]
83166c0b77 chore(deps): bump shelljs from 0.8.4 to 0.8.5
Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases)
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5)

---
updated-dependencies:
- dependency-name: shelljs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-22 06:12:23 +00:00
Adhiraj Singh
5b1dd8df85 Merge pull request #1171 from adiwajshing/dependabot/npm_and_yarn/follow-redirects-1.14.7
chore(deps): bump follow-redirects from 1.14.6 to 1.14.7
2022-01-22 11:42:05 +05:30
Adhiraj Singh
fdee567429 Merge pull request #1170 from adiwajshing/dependabot/npm_and_yarn/tmpl-1.0.5
chore(deps): bump tmpl from 1.0.4 to 1.0.5
2022-01-22 11:41:56 +05:30
dependabot[bot]
67cc1a9f8b chore(deps): bump follow-redirects from 1.14.6 to 1.14.7
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.6 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.6...v1.14.7)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-22 06:11:17 +00:00
dependabot[bot]
fad4919eaf chore(deps): bump tmpl from 1.0.4 to 1.0.5
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-22 06:11:12 +00:00
Adhiraj Singh
58e1dd2910 docs: update readme 2022-01-22 11:41:00 +05:30
Adhiraj Singh
09bb795c1c Merge pull request #696 from adiwajshing/multi-device
Multi Device Support
2022-01-22 11:40:12 +05:30
Adhiraj Singh
e954fc0053 lint: examples 2022-01-22 11:37:39 +05:30
Adhiraj Singh
57d6ab62a1 feat: use message receipt on MD 2022-01-22 11:37:26 +05:30