Commit Graph

1645 Commits

Author SHA1 Message Date
João Lucas de Oliveira Lopes 482db6edc5 refactor: migrate WASignalGroup to TypeScript and remove deprecated files (#1320)
* refactor: migrate WASignalGroup to TypeScript and remove deprecated files

* chore: remove WASignalGroup JavaScript files from package.json

* refactor: update SenderKeyStore and SenderKeyStateStructure interfaces to export and add deserialize method. Fix types

* chore: lint issue

* refactor: improve constructor type checking and getSeed method in SenderChainKey

* refactor: update key handling to use Buffer for improved consistency

* signal: consistent naming and dir structure + add some missing types

* fix: lint issues

---------

Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2025-06-21 18:02:15 +03:00
Borewit f404147736 Use parseFile for audio file paths instead of converting to stream (#1529)
When extracting duration from an audio file provided as a file path,
use music-metadata's parseFile method instead of manually creating a
read stream and using parseStream.

parseFile utilizes random access, which can significantly improve
performance over streaming in many cases. However, actual speed gains
depend on the file format and the structure of tag headers.

Co-authored-by: Borewit <Borewit@users.noreply.github.com>
2025-06-20 13:11:29 +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
Gustavo Quadri cf514fa8d7 Fix Removed Reactions Events: Emit a Socket Event in "messages.reaction" (#1371)
* fix: emit event with empty reactions

* chore: fix lint

---------

Co-authored-by: Cassio Santos <cassio@economicros.com.br>
2025-06-18 08:30:19 -03:00
Wender Teixeira e2ce275949 fix: reading qr code with hosted connection (#1520)
* chore: change version web

* fix: enhance pairing response validation and adjust HMAC handling for hosted devices
2025-06-18 08:10:22 -03:00
devlikeapro b8464d3665 Add lid to Contact - contact sync, history sync, group participants (#1472) 2025-06-18 08:08:09 -03:00
Cassio Santos 6b4dce897d feat: add lid to message key (#1510)
* feat: add lid to message key

* chore: review suggestion
2025-06-11 08:39:19 -03:00
Nurutomo 99bbafeae5 feat: extra metadata on groupMetadata (#1374) 2025-06-10 08:25:08 -03:00
canove ae0de94307 chore: fix format 2025-05-28 22:44:21 -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
Cassio Santos 7288a4a89e Merge pull request #1349 from AliAryanTech/patch-1
usync: status-protocol being undefined
2025-05-24 09:06:26 -03:00
canove 07014d02c1 chore: update proto 2025-05-21 12:18:08 -03:00
Nandhika Prayoga fc7b23ec0f Look up isNodeFromMe for fromMe when attribute type is sender 2025-05-16 12:16:11 +00:00
Cassio Santos 24a268d095 Merge pull request #1386 from WhiskeySockets/fix-memory-blow-on-sending-media
fix: memory blow on large files sending through URL
2025-05-16 08:49:45 -03:00
Cassio Santos 2cdbd7fc01 Merge pull request #1422 from vinikjkkj/fix-pairing
fix pairing code not working
2025-05-15 13:32:01 -03:00
vinikjkkj fe3dbc81a5 fix pairing code not working 2025-05-15 13:27:15 -03:00
canove feecb6d8ee Merge branch 'master' of https://github.com/WhiskeySockets/Baileys into fix-eslint-prettier-editorconfig-rules 2025-05-14 07:40:05 -03:00
canove fb83e4799d chore: remove unused variables 2025-05-13 18:35:29 -03:00
Skid d5f34f46c3 more consistent addressingMode 2025-05-11 13:27:49 -06:00
Skid c8345c4ee7 more consistent addressingMode 2025-05-11 13:26:34 -06:00
canove fa706d0b50 chore: format everything 2025-05-06 12:10:19 -03:00
canove f58a38fde9 fix: allow media upload retries 2025-05-06 08:06:05 -03:00
canove 8cc8b44724 chore: lint 2025-05-05 21:33:35 -03:00
canove 53c77dd11c chore: lint 2025-05-05 21:20:25 -03:00
canove bff86ed4c1 fix: memory blow on large files sending through URL 2025-05-05 21:11:40 -03:00
Cassio Santos a85251250d Merge pull request #1381 from vai-projetos/consistently-messageId
refactor(messageId): update all remaining usages to v2 format consist…
2025-05-05 19:42:32 -03:00
Cassio Santos 5ee939418c Merge pull request #1368 from WhiskeySockets/fix-catch-unhandled-timeout-error 2025-05-01 11:55:56 -03:00
w3nder dfe8bb3283 refactor(messageId): update all remaining usages to v2 format consistently 2025-04-30 00:59:19 -03:00
canove a4338fac12 fix: send message to lid groups 2025-04-25 07:39:29 -03:00
Cassio Santos 397ad46c68 Merge pull request #1364 from WhiskeySockets/fix-receipt-meta-ia-messages
fix: proper send receipt to Meta Ia
2025-04-24 16:54:51 -03:00
Cassio Santos 66ad0134cb Merge pull request #1365 from WhiskeySockets/send-message-to-lid-groups
fix: send message to LID addressing_mode groups
2025-04-24 14:58:49 -03:00
canove 6d4ce2cb18 chore: avoid unhandled promise timeout errors 2025-04-24 13:38:43 -03:00
canove 2dbfb085d5 chore: avoid unhandled promise timeout errors 2025-04-24 13:38:00 -03:00
canove 2382fb8723 chore: avoid unhandled promise timeout errors 2025-04-24 13:37:03 -03:00
canove 9149e58f78 chore: remove log 2025-04-23 16:04:26 -03:00
canove 53d6e3a8d5 fix: send message to LID addressing_mode groups 2025-04-23 10:17:30 -03:00
canove 21c5b4c713 chore: lint 2025-04-23 10:07:37 -03:00
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
Alι Aryαɴ 10751483ef core: PR health 2025-04-19 02:43:10 +05:00
Alι Aryαɴ e3078f30c8 fix: content being undefined 2025-04-11 03:32:58 +05:00
Rajeh Taher c037f68c2d socket: include lid in onWhatsApp response 2025-04-09 20:17:53 +03:00
Rajeh Taher 642bfd825a usync: add lid protocol 2025-04-09 20:17:53 +03:00
Rajeh Taher 1ab7f9b561 usync: add bot profile protocol to query class 2025-04-09 20:17:53 +03:00
AstroX11 ae5a7d14c3 fix: makeCacheableSignalKeyStore logger optional (#1332) 2025-04-09 02:52:20 +03:00
João Lucas de Oliveira Lopes c2cf49cd68 refactor: remove unused dependencies and clean up type exports (#1319) 2025-04-09 02:51:33 +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