Commit Graph

48 Commits

Author SHA1 Message Date
canove
36456d6db6 fix: proper send receipt to Meta Ia trigger messages to avoid offline pending notifications hang 2025-04-23 09:38:36 -03:00
w3nder
f4dc41eda1 fix: simplify domainType 2025-04-22 21:30:39 -03:00
w3nder
131aeadd45 fix: lint 2025-04-22 19:45:20 -03:00
w3nder
47540e961e fix: readAdJid domainType
jid = 0 and 128
lid = 1 and 129
2025-04-22 15:58:25 -03:00
João Lucas de Oliveira Lopes
bca5102819 fix: failed to send message to self, add checks for empty strings and invalid nodes (#1322)
* fix: failed to send message to self, add checks for empty strings and invalid nodes

* fix: update nibble and hex checks to handle optional string parameters
2025-04-09 02:51:15 +03:00
Rajeh Taher
f56cb4f945 wabinary: check for bot jid 2025-03-19 00:45:15 +02:00
Rajeh Taher
a29138758c socket, binary, usync: fix linting 2025-03-14 23:38:53 +02:00
Rajeh Taher
b1fcab0216 messages-recv,encode: Implement proper fixes 2025-01-31 23:59:04 +02:00
Rajeh Taher
fcbae0e3f2 wabinary: fix misinterpreted string encoding as hex (#1224, @vphelipe)
Thanks @vphelipe for providing the fix in #1224
2025-01-31 21:22:18 +02:00
Rajeh Taher
18ac07df8e lint: 0 warnings left 2024-10-14 05:15:10 +03:00
Rajeh Taher
1f9cfb1cba PDO protocol (peer data operation): Get more history sync + better message retry mechanism (#919)
* feat(feature/pdo-sync): initial commit

* feat(feature/pdo-sync): Moved to conventional send functions, exported, patched some errors

* fix(feature/pdo-sync): Linting and more bugsquatting

* chore(feature/pdo-sync): linting done

* feat/fix(feat/pdo-sync): Newsletter decrypt + ack

* merge (#946)

* fix: profilePictureUrl (#901)

* Update module to latest version  (#926)

* Update package.json

Update the module to the latest

* Add files via upload

* Fix: Readme use upsert events (#908)

* Fix: getUSyncDevices (#862)

* Update messages-send.ts

* Update messages-send.ts

* Update messages-send.ts

* Fix lint

* Fix lint

* fix(master): update linting workflow to node 20 (current LTS)

---------

Co-authored-by: Akhlaqul Muhammad Fadwa <75623219+zennn08@users.noreply.github.com>
Co-authored-by: Rizz2Dev <muhamad.rizki27483@smp.belajar.id>
Co-authored-by: Oscar Guindzberg <oscar.guindzberg@gmail.com>
Co-authored-by: Bob <115008575+bobslavtriev@users.noreply.github.com>

* chore(feature/pdo-sync): final linting

* fix(feature/pdo-sync): make replies optional

* feat(feat/pdo-sync): add <unavailable> handle

* feat(feature/pdo-sync): Fixed the issues with peer messages and implemented some more logic

* fix(feature/pdo-sync): Make progress optional

* fix(feature/pdo-sync): Nullify and defeat Message absent from node if it is resolved immediately

* feat(feature/pdo-sync): Export message absent from node and export PDO request ID with it

---------

Co-authored-by: Akhlaqul Muhammad Fadwa <75623219+zennn08@users.noreply.github.com>
Co-authored-by: Rizz2Dev <muhamad.rizki27483@smp.belajar.id>
Co-authored-by: Oscar Guindzberg <oscar.guindzberg@gmail.com>
Co-authored-by: Bob <115008575+bobslavtriev@users.noreply.github.com>
2024-08-14 12:07:27 +03:00
vini
dbf25771a1 refactor: Change Sync Functions to Promises to Prevent Blocking Event Loop (#896)
* initial commit

* lint

* lint 2
2024-07-03 10:29:16 +03:00
devlikeapro
f1fe3ea115 Speed up encodeBinaryNode in x100 times if encoding many items in content (#882)
Do not convert to buffer in inner recursion, we need it only at the end
2024-07-03 10:27:40 +03:00
Rajeh Taher
a11d2deaa5 fixing group messaging 2023-10-01 16:41:49 +00:00
Rajeh Taher
261afd144f fix group messaging 2023-10-01 16:40:40 +00:00
Rajeh Taher
2da9f2deac Update encode.ts 2023-10-01 14:58:19 +03:00
Rajeh Taher
6c1fd75789 Update encode.ts 2023-10-01 14:57:13 +03:00
Rajeh Taher
a32c626583 Update jid-utils.ts 2023-10-01 14:55:22 +03:00
Rajeh Taher
3bf4201ed3 Update jid-utils.ts 2023-10-01 14:53:33 +03:00
Rajeh Taher
ba43be9c98 Man TSLINT PLEASE PUT THE SHOTGUN DOWN I ADDED THAT EXTRA EQUALS SIGN PLEASE I HAVE A FAMIL- 2023-10-01 00:04:47 +03:00
Rajeh Taher
8c04171043 Update decode.ts 2023-09-30 23:59:08 +03:00
Rajeh Taher
4b98392a38 Update jid-utils.ts 2023-09-30 21:13:51 +03:00
Rajeh Taher
4f941553ff Update jid-utils.ts 2023-09-30 21:12:17 +03:00
SamuelScheit
ef673f62ca feat: native-mobile-api 2023-04-20 13:01:11 +02:00
Adhiraj Singh
b0a7561726 fix: jidNormalizedUser should not throw TypeError 2022-09-27 16:30:08 +05:30
Adhiraj Singh
e7f6838fa4 chore: remove legacy code 2022-09-19 14:59:35 +05:30
Adhiraj Singh
c5917364ba chore: add stronger lint rules 2022-08-18 10:37:40 +05:30
Adhiraj Singh
40a1e268aa feat: add "strictNullChecks" 2022-07-09 10:20:07 +05:30
Adhiraj Singh
4a66e60af3 lint: lint files 2022-06-22 10:54:07 +05:30
LightningNeko
27f53bfa51 fix: xml-not-well-formed on +255 size lists (#1762) 2022-06-20 15:43:53 +05:30
Adhiraj Singh
43df500899 fix: include [0] byte when encoding on MD 2022-04-24 16:51:05 +05:30
Adhiraj Singh
3c278b35f0 fix: add legacy constants for decoding 2022-04-24 16:49:13 +05:30
Adhiraj Singh
3a540b2b22 chore: handle undefined in writeJid 2022-04-14 17:13:28 +05:30
Adhiraj Singh
b4fd010b36 refactor: use modified legacy bin XML parser instead of "WABinary" 2022-04-13 16:23:28 +05:30
Muhamad Ristiyanto
e6e8e24ea9 fix browser icon and typo (#1450) 2022-04-06 13:36:15 +05:30
Adhiraj Singh
c4edcef5da feat: implement fetching product catalog + order details on MD 2022-03-06 13:30:11 +05:30
Adhiraj Singh
de7d1002a9 lint: stricter linting rules 2022-03-01 16:32:14 +05:30
Adhiraj Singh
8f11f0be76 chore: add linting 2022-01-19 15:54:02 +05:30
Adhiraj Singh
c803e22e8a feat: functional legacy socket 2021-12-17 20:58:33 +05:30
Adhiraj Singh
19a9980492 feat: add legacy connection 2021-12-17 19:27:04 +05:30
HUGEIT
903871d180 potential fix for QR scan. the server may expect these messages to be sent on reconnect after scan (#959)
* potential fix for QR scan. the server may expect these messages to be sent on reconnect after scan.

* refactor: extract dictionary reduce code into utility

* refactor: convert the props + abt send req to somewhat useful query

Co-authored-by: Adhiraj Singh <adhirajsingh1001@gmail.com>
2021-12-03 18:40:26 +05:30
Adhiraj Singh
d8c8d46adb feat: implement call ack 2021-11-11 11:24:10 +05:30
Adhiraj Singh
dee815448b feat: cache user devices 2021-11-07 19:51:14 +05:30
Adhiraj Singh
d3b7ffecf2 code cleanup 2021-10-11 09:36:17 +05:30
Adhiraj Singh
fdfe310fdf implement encrypting app patches 2021-09-28 19:22:39 +05:30
Adhiraj Singh
1f6ef554c2 fix lthash not being included in lib 2021-09-25 23:01:58 +05:30
Adhiraj Singh
fff2e58997 fix compilation errors 2021-09-25 18:04:26 +05:30
Adhiraj Singh
f267f27ada finalize multi-device 2021-09-22 22:19:53 +05:30