Commit Graph

198 Commits

Author SHA1 Message Date
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
Wender Teixeira 5af1295c46 Update baileys-version.json 2024-05-20 19:35:09 -03:00
arthur simas d91967aa1c Revert "fix: inefficient method of extracting url from text (#741)" (#748)
* Revert "fix: inefficient method of extracting url from text (#741)"

This reverts commit f5c1affc4d.

* fix: link preview should follow redirects

* fix: allow link preview of URLs with @ sign

---------

Co-authored-by: Ezequiel Moraes <ezequielmoraesdev@gmail.com>
2024-04-29 10:44:42 +03:00
Davidson Gomes 495bb6775a fix: old_version in mobile connection (#722)
* mobile version

* mobile version

* mobile version
2024-04-28 14:02:41 +03:00
Ezequiel Moraes f5c1affc4d fix: inefficient method of extracting url from text (#741)
* fix: inefficient method of extracting url from text
This fixes the thumbnail error when submitting a
Google Maps link.

* fix: link preview with redirects
2024-04-28 13:48:25 +03:00
Pokoke c17198e1d0 Change the default browser to fix pairing code 2024-01-28 23:29:25 +07:00
Alex Sandro 18990f874f feat: Add max msg retry count (#572) 2024-01-19 18:01:20 +02:00
github-actions[bot] acd0321a53 chore: updated proto/version to v2.2403.2 (#288)
Co-authored-by: edgardmessias <edgardmessias@users.noreply.github.com>
2024-01-19 18:00:54 +02:00
ugurgungezerler 6b4d91737f feat: auto version hash (#290)
* feat: auto version hash

* sort imports

---------

Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2024-01-19 18:00:45 +02:00
brhenrique 93d5fea30d fix downloadMediaMessage crash with ptv messages 2023-08-30 19:30:47 -03:00
Samuel Scheit 49ab16f592 fix: registration + add captcha support (#227)
* fix: registration + update mobile version

* feat: add captcha support for registration

* fix: jid protocol address missing device

* fix: linting errors
2023-08-10 12:15:12 +03:00
allburov a6bc59f3f0 fix: Use new useragent and token for mobile 2023-07-23 18:47:01 +07:00
github-actions[bot] a84f75ef2a feat: Whatsapp v2.2329.9 proto/version change (#169)
Co-authored-by: edgardmessias <edgardmessias@users.noreply.github.com>
2023-07-18 10:29:48 -03:00
Mohammad Maaz 0aaa0086f9 fix: adjusted default keepAliveIntervalMs (#233)
Co-authored-by: sudomaaz <mohammad.maaz@lovebonito.com>
2023-07-13 21:08:53 -03:00
github-actions[bot] 43bd2341b4 chore: updated proto/version to v2.2325.3
Co-authored-by: edgardmessias <edgardmessias@users.noreply.github.com>
2023-06-17 18:18:18 -03:00
github-actions[bot] 63575e9b85 fix: updated proto/version to v2.2323.4 (#96)
Co-authored-by: edgardmessias <edgardmessias@users.noreply.github.com>
2023-06-07 11:22:19 -03:00
RzkGnz 534b1ea778 feat: update baileys-version.json to 2.2322.15 (#91)
Co-authored-by: Edgard Lorraine Messias <edgardmessias@gmail.com>
2023-06-05 11:54:51 -03:00
SamuelScheit 5c5b23ec85 feat: add md-msg-hist to MEDIA_PATH_MAP 2023-05-26 14:13:39 +02:00
SamuelScheit ef673f62ca feat: native-mobile-api 2023-04-20 13:01:11 +02:00
Adhiraj Singh fe1d0649b5 feat: add signal repository + tests 2023-03-18 12:25:47 +05:30
Adhiraj Singh 74bd2f57a2 chore: update version 2023-02-28 11:23:27 +05:30
Adhiraj Singh 090c916f9f feat: define DEFAULT_CACHE_TTLS 2023-02-21 11:44:11 +05:30
Adhiraj Singh 2f7334407f chore: update proto + version 2022-11-13 12:23:11 +05:30
Adhiraj Singh b2aa51a13d feat: add custom patchMsg function + remove patch for btns 2022-11-12 19:31:11 +05:30
Adhiraj Singh a58b73fba5 feat: allow ignoring jids 2022-11-11 09:31:49 +05:30
Adhiraj Singh 4aadc9dc6c fix: add option for appStateMacVerification 2022-11-08 22:33:53 +05:30
Adhiraj Singh f1635e2de7 chore: update URL regex 2022-10-24 15:48:58 +05:30
Adhiraj Singh 8a17b37672 chore: update version 2022-10-23 15:28:03 +05:30
Adhiraj Singh 1ad65c5473 chore: update version 2022-10-18 09:38:48 +05:30
Adhiraj Singh d0330d1863 refactor!: cleaner message history sync
This is a breaking change,
1. three events (chats.set, contacts.set, messages.set) are now just one `messaging-history.set` event
2. no need to debounce for app state sync
3. added a new "conditional" chat update to allow for correct app state sync despite not having the chat available on hand
2022-09-29 16:32:57 +05:30
Adhiraj Singh 116b30dff0 feat: expose axios options 2022-09-19 17:25:54 +05:30
Adhiraj Singh e7f6838fa4 chore: remove legacy code 2022-09-19 14:59:35 +05:30
Adhiraj Singh f0bdb12e56 feat: generate high quality thumbs on link preview 2022-09-15 18:40:22 +05:30
Adhiraj Singh 3a891e071e feat: map all WA media types 2022-09-15 15:09:51 +05:30
Adhiraj Singh 765dcc1d1f fix: upload for product 2022-09-02 20:10:13 +05:30
bluej4ker 9e581f59cb update WA version 2022-09-02 13:10:23 +05:30
Adhiraj Singh 19484e5cfc fix: fire init queries toggle 2022-08-12 09:05:58 +05:30
LUA b528d7a82f chore: update version
updated to latest version.
2022-08-02 11:56:43 +05:30
Adhiraj Singh a4208a4bf6 fix: exclude emails from URL gen 2022-08-02 08:38:10 +05:30
LUA 9c83cd96d2 chore: update version
updated to latest version.
2022-07-30 14:13:08 +05:30
Adhiraj Singh d04718e27a feat: add desktop + full history sync opts 2022-07-26 13:30:01 +05:30
LUA 54a3bae581 chore: update version (#1941)
updated to latest version.
2022-07-24 10:16:32 +05:30
LUA 3c15e21021 chore: update version (#1934)
updated to latest version.
https://web.whatsapp.com/check-update?version=1&platform=web
2022-07-21 08:41:56 +05:30
Adhiraj Singh 40a1e268aa feat: add "strictNullChecks" 2022-07-09 10:20:07 +05:30
LUA 7426b7aa2f chore: update version (#1883)
https://web.whatsapp.com/check-update?version=1&platform=web
updated to latest version.
2022-07-09 09:56:36 +05:30
Adhiraj Singh 189b740ea6 chore: remove "treatCiphertextMessagesAsReal" flag
!BREAKING_CHANGE

This was generally a poor design decision on my part to add something like this -- primarily because it could increment the chat unread counter a 100 times for a single message
2022-07-04 11:38:17 +05:30
LUA aade0a20b2 chore: update version (#1774)
https://web.whatsapp.com/check-update?version=1&platform=web
updated to latest version.
2022-06-22 10:40:53 +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 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 0df94e9feb chore: update version 2022-05-28 15:02:01 +05:30