Commit Graph

119 Commits

Author SHA1 Message Date
Gustavo Quadri 8f21a67e4a fix: sync pre-keys on socket start and add specific pre-key error approach (#1663)
* fix: sync prekeys when storage mismatch

* fix: verify if current pre-key exists instead of matching

* add: pre-keys error specific approach

* fix: lint

* fix: lint
2025-09-07 14:11:50 +03:00
vini 50fc83b008 feat(business): change profile/cover photo and manage quick replies (#1724) 2025-09-07 14:08:26 +03:00
vini 084761dc31 feat: eventMessage sending / call link creation (#1677) 2025-09-07 14:08:18 +03:00
João Lucas de Oliveira Lopes 8d2cdbcf98 Fix regression import attribute (#1642)
* Revert "Replace deprecated assert with import attributes syntax (#1619)"

This reverts commit f61221f73a.

* fix: update import syntax for bailey's version JSON
2025-07-29 10:20:02 -03:00
steflsd f61221f73a Replace deprecated assert with import attributes syntax (#1619)
* replace assert with

* assert with

* more ts way for version

* fix: remove JSON import assert syntax for Node.js compatibility

- Replace JSON imports with generated .js imports
- Fixes compatibility between Node.js versions (assert vs with syntax)
- Maintains same functionality while avoiding syntax issues
2025-07-27 00:59:54 +03:00
Rajeh Taher 8dc852ee89 proto: fix proto generation, tsc: fix node imports of compiled code 2025-07-19 23:16:35 +03:00
João Lucas de Oliveira Lopes f8a538eee2 chore: update whatsapp version, tokens and increment dict version (#1366)
* chore: update whatsapp version, tokens and increment dict version

* revert: baileys version bump
2025-06-18 11:55:11 -03:00
canove eb6c6c8ba9 Merge branch 'master' of https://github.com/WhiskeySockets/Baileys into fix-eslint-prettier-editorconfig-rules 2025-05-28 22:42:28 -03:00
Wender Teixeira 73704064a0 chore: change version web (#1473) 2025-05-28 11:11:38 +03:00
canove 07014d02c1 chore: update proto 2025-05-21 12:18:08 -03:00
canove fa706d0b50 chore: format everything 2025-05-06 12:10:19 -03:00
Rajeh Taher 1c2af09b03 socket,config: deprecate printQRInTerminal option
This was done to reduce dependencies
2025-03-10 15:08:50 +02:00
Rajeh Taher daade2a2b9 defaults: remove dead file 2025-03-06 04:26:12 +02:00
Rajeh Taher 99142aac96 proto: update manually to 2.3000.1020608496 2025-03-06 04:22:17 +02:00
Claudemir Todo Bom da26cf5285 Fix link preview being generated for email addresses (#1231)
* link-preview: only match https urls without auth info

* fix regex to find url on strings - fix #1230
2025-03-01 18:15:33 +02:00
Rajeh Taher 40ebf669dd socket: potential fixes to the 66 id issues 2025-01-30 20:44:18 +02:00
Rajeh Taher 5f12b8dd58 Update Baileys version 2024-10-22 10:26:55 +03:00
Rajeh Taher 18ac07df8e lint: 0 warnings left 2024-10-14 05:15:10 +03:00
Rajeh Taher 61a0ff3178 mobile: deprecation. 2024-10-14 03:56:32 +03:00
Rajeh Taher d6f7f7dd24 chore: update baileys version 2.3000.1015901307 2024-08-23 01:24:26 +03:00
Bob 2dc1afa4ff Fix: cachedGroupMetadata (#846)
* Update Socket.ts

* Update Message.ts

* Update messages-send.ts

* Update index.ts

* Update messages-send.ts

* Update messages-send.ts

* Update messages-send.ts

* Update messages-send.ts

* Update Message.ts

* Update Socket.ts

* Update messages-send.ts

* Update messages-send.ts

---------

Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2024-08-14 12:08:36 +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
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