Commit Graph

1865 Commits

Author SHA1 Message Date
vinikjkkj
fe3dbc81a5 fix pairing code not working 2025-05-15 13:27:15 -03:00
João Lucas de Oliveira Lopes
a4aad45343 chore: update package.json to include TypeScript and JavaScript files from WAProto directory (#1321) 2025-04-09 02:53:47 +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
Nurutomo
d5dc758874 fix #1331 (#1334)
* fix for groups

* lint: fix linting

* messages-send: jids checking
2025-04-02 13:26:04 +03:00
Rajeh Taher
f19ffa7cca messages-send: rigid checks on per-jid patch (fixes peer messages)
Peer messages were causing an error here since they are only sent to the device (no otherJids)
2025-03-20 01:22:50 +02:00
Rajeh Taher
c96be39829 messages-recv: stopgap to prevent errors from msmsg (Meta AI) 2025-03-19 00:45:43 +02:00
Rajeh Taher
f56cb4f945 wabinary: check for bot jid 2025-03-19 00:45:15 +02:00
Rajeh Taher
98ecd2a653 usync, chat: get bot profile info and get bot list 2025-03-19 00:44:53 +02:00
Rajeh Taher
add437047a readme: link to new guide 2025-03-18 01:43:49 +02:00
Rajeh Taher
b41a6a1694 github: remove docs generation workflow 2025-03-18 00:58:24 +02:00
Rajeh Taher
2fdabb7f38 docs: downgrade markdown gen to prevent incompatibility 2025-03-18 00:57:23 +02:00
Rajeh Taher
8a54c81b94 Merge remote-tracking branch 'origin/master' 2025-03-18 00:54:13 +02:00
Rajeh Taher
d202241a6f docs: generate markdown 2025-03-18 00:54:07 +02:00
João Lucas de Oliveira Lopes
88e9cfa4e3 refactor: replace async-lock with async-mutex (#1304)
Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2025-03-15 00:45:30 +02:00
Rajeh Taher
63cc75d78e docs: fix docs generation 2025-03-14 23:55:42 +02:00
Rajeh Taher
b7a9f7bd67 chats: stop using getMessage to decrypt poll votes
The new expected behavior is to decrypt the new votes yourself like in the Example.ts file
2025-03-14 23:40:33 +02:00
Rajeh Taher
a29138758c socket, binary, usync: fix linting 2025-03-14 23:38:53 +02:00
AstroX11
aa0579d12d adjustment(remove non existentant exports) (#1305) 2025-03-10 23:33:40 +02:00
Rajeh Taher
64d09c70b4 store: remove built-in store 2025-03-10 17:35:46 +02: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
e1aadc5546 feat: add per-jid patching
This does not work in groups
2025-03-10 14:51:13 +02:00
Rajeh Taher
40b8cc5383 package: add async-mutex dep
This will allow us to clear Baileys of any race conditions on async workflows
2025-03-09 01:28:21 +02:00
Rajeh Taher
bb291ca6ed package: update deps, audio-decode peer
Also removed libphonenumber-js library for efficiency
2025-03-08 23:55:01 +02:00
Rajeh Taher
af372f855e readme: cleanup 2025-03-06 21:55:21 +02:00
Rajeh Taher
76235c5e0d Merge remote-tracking branch 'origin/master' 2025-03-06 21:06:29 +02:00
Rajeh Taher
f92291bb8e crypto: improve older Node version and browser compatibility 2025-03-06 21:01:26 +02:00
Rajeh Taher
e7772a8e9a package: missing field for node ver validation 2025-03-06 07:14:18 +02:00
Rajeh Taher
b44804dbc0 readme: final 2025-03-06 04:45:27 +02:00
Rajeh Taher
7c052c6621 readme update 2025-03-06 04:39:08 +02:00
Rajeh Taher
daade2a2b9 defaults: remove dead file 2025-03-06 04:26:12 +02:00
Rajeh Taher
396297c897 package!: set new Node version minimum
breaking change
2025-03-06 04:24:04 +02:00
Rajeh Taher
99142aac96 proto: update manually to 2.3000.1020608496 2025-03-06 04:22:17 +02:00
github-actions[bot]
9a175a6a08 chore(release): v6.7.16 2025-03-04 03:07:01 +00:00
Rajeh Taher
ce2820a590 package: revert version tag 2025-03-04 05:04:23 +02:00
github-actions[bot]
93b60dede5 chore(release): vv6.17.16 2025-03-04 02:32:44 +00:00
ShellTear
92fef229bf Merge pull request #1287 from WhiskeySockets/SheIITear-patch-1
fix(sync): complete unfinished async implementation
2025-03-04 04:11:01 +02:00
ShellTear
4a90ea4688 fix lint 2025-03-04 04:08:09 +02:00
ShellTear
fccca8ab30 fix(sync): complete unfinished async implementation
Added 'await' to callers of 'makeLtHashGenerator.finish' to handle its Promise return after 'lt-hash.ts' was made asynchronous  by replacing old sync hkdf implementation.

Fixes #1286
2025-03-04 04:05:52 +02:00
github-actions[bot]
2ecaaea153 chore(release): v6.7.15 2025-03-02 10:11:31 +00:00
M Ilham Ari Pahmi
af17232611 fix: resolve DataView constructor error in lt-hash (#1279) 2025-03-02 12:08:43 +02:00
github-actions[bot]
7466a8facb chore(release): v6.7.14 2025-03-01 16:37:54 +00:00
João Lucas de Oliveira Lopes
8083754621 refactor: turn hkdf functions to async and remove extra deps (#1272)
* refactor: remove futoin-hkdf dependency and update hkdf implementation

* refactor: use crypto subtle and update functions to async

---------

Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2025-03-01 18:31:48 +02:00
Claudemir Todo Bom
e6f98c3902 update pino dependency - fix #1249 (#1250)
Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2025-03-01 18:31:30 +02:00
contato.mateusfr@gmail.com
21f8431e61 Dependency Inversion for Logger (#1153)
* feat: interface "ILogger" created
feat: interface "ILogger" used instead of pino logger
feat: "PinoLoggerAdapter" created to implement "ILogger" interface

* feat: PinoLoggerAdapter removed
feat: ILogger mapping the features we're using from pino

* fix: sort imports

---------

Co-authored-by: Mateus Franchini de Freitas <contato.mateusfr@outlook.com>
Co-authored-by: Mateus Franchini de Freitas <mfranchini@domtec.com.br>
Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2025-03-01 18:30:51 +02:00
Rajeh Taher
447e648958 --no-edit 2025-03-01 18:30:09 +02:00
Rajeh Taher
49eeb7556d socket,utils: fix imports 2025-03-01 18:26:20 +02:00
Matheus Alves
ae60f3fe62 feat: add last message in chat.update event if is real message (#1203) 2025-03-01 18:21:22 +02:00
Bob
1d88166613 Feat: Block messages from unknown numbers (#1071)
* Update Chat.ts

* Update chats.ts

* lint

* lint

* lint
2025-03-01 18:20:22 +02:00