Commit Graph

575 Commits

Author SHA1 Message Date
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
Skid
d5f34f46c3 more consistent addressingMode 2025-05-11 13:27:49 -06:00
canove
fa706d0b50 chore: format everything 2025-05-06 12:10:19 -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
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
53d6e3a8d5 fix: send message to LID addressing_mode groups 2025-04-23 10:17:30 -03:00
Rajeh Taher
c037f68c2d socket: include lid in onWhatsApp response 2025-04-09 20:17:53 +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
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
98ecd2a653 usync, chat: get bot profile info and get bot list 2025-03-19 00:44:53 +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
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
99142aac96 proto: update manually to 2.3000.1020608496 2025-03-06 04:22:17 +02: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
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
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
contato.mateusfr@gmail.com
cfbfcd8e14 fix: sending SERVER_ACK to messages.update (#1101)
Co-authored-by: Mateus Franchini de Freitas <mfranchini@domtec.com.br>
2025-03-01 18:17:29 +02:00
Jared Wray
588de6ce10 fix: migrating to @cacheable/node-cache as it is maintained (#1074) 2025-03-01 18:15:49 +02:00
Rajeh Taher
b1fcab0216 messages-recv,encode: Implement proper fixes 2025-01-31 23:59:04 +02:00
Rajeh Taher
9f61f3acf0 messages-recv: DISABLE MESSAGE RESEND 2025-01-31 20:46:13 +02:00
Rajeh Taher
3fca643d92 messaging: fix the hangs caused by the 66e error 2025-01-30 23:31:25 +02:00
Rajeh Taher
f1f49ad2c8 Usync: Barebones Usync Protocol support (#960)
* feature(feature/usync-mex): initial commit

* chore: fix merge commit

* chore:lint
2024-12-22 23:38:41 +02:00
Rajeh Taher
34cfa92076 messages-send,tsconfig: add poll message attributes + fix tsconfig 2024-10-18 06:08:40 +00: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
bf578c79e7 fix(master): Fixes prop hash reset due to missing property in the response 2024-10-07 21:26:32 +03:00
Rajeh Taher
47b2f6dd41 fix(master): Small fix to the profile picture endpoints 2024-09-28 14:26:54 +03:00
建辉
6ff945502d feat: add label feature (#955)
Co-authored-by: 刘建辉 <liujianhui@gongchang.com>
2024-09-22 14:48:17 +03:00
vini
71082bf1b3 hotfix: always send acks even in case of errors (#1043) 2024-09-22 14:35:50 +03:00
vini
ed00a57c84 remove duplicated call reject event / add terminate tag (#1031)
* initial commit

* add terminate tag

* lint

* lint 2

* Update src/Socket/messages-recv.ts

* chore: linting

---------

Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2024-09-22 14:34:29 +03:00
Rajeh Taher
70f0321381 fix(master): New profile update/removal endpoint (inspired by #1048) 2024-09-22 14:32:05 +03:00
Cleiton Carvalho
c02b772de0 fix: Fixed contacts.update when received changed picture event (#979) 2024-08-20 01:47:35 +03:00
Leonardo Amaro
0011d61df1 Exporting getUSyncDevices and createNodeParticipants to socket-send api (#980)
Co-authored-by: Leonardo Amaro <=>
2024-08-20 01:46:57 +03:00
devlikeapro
09f8df445c fix: do not fetch group metadata for status (#986)
fixes #985
2024-08-20 01:43:49 +03:00
arthur simas
ffafc167fb fix: remove 'none' from updateGroupsAddPrivacy (#966)
* fix: remove 'none' from updateGroupsAddPrivacy

* fix(fix/remove-none-groupadd): linting

---------

Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2024-08-14 12:16:12 +03:00
arthur simas
c32ea03de6 feat: emit WAMessageStubType.GROUP_CHANGE_DESCRIPTION event (#967) 2024-08-14 12:11:16 +03:00
Rajeh Taher
7c9f2ebd46 feat(feature/group-invite-v4): initial/final commit (#958) 2024-08-14 12:10:37 +03:00
Rajeh Taher
020add8b9b feature(feature/pin-message): initial/final commit (#959) 2024-08-14 12:09:29 +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