Commit Graph

90 Commits

Author SHA1 Message Date
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
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
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
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
18ac07df8e lint: 0 warnings left 2024-10-14 05:15:10 +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
Rajeh Taher
35f6d75cf8 fix(fix/buttons-deprecation): initial/final commit (#956) 2024-08-14 12:07:12 +03:00
Rajeh Taher
e91501026c feat(feature/poll-v3): initial/final commit (#957) 2024-08-14 12:06:32 +03:00
Bob
27d42652d7 Fix: Broadcast option is not present in the message options (#762) 2024-05-06 17:42:01 +03:00
arthur simas
111601bc73 feat: add support to ptvMessage in sendMessage method (#738)
* add support to ptvMessage in sendMessage method

* fix(ptv-sendmessage): Eslint

---------

Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2024-04-28 14:00:49 +03:00
Rajeh Taher
7cc604a9b5 share, receive, request, all you want 2023-10-01 21:43:00 +00:00
Davidson Gomes
cba9827851 feat: Send Status (status@broadcast) {text, media, audio(with waveform)} (#249)
Co-authored-by: Davidson Gomes <contato@agenciadgcode.com>
2023-07-18 10:25:16 -03:00
Hisoka775
13c3b91852 feat: add contextInfo support 2023-06-15 20:02:39 -03:00
Rajeh Taher
66c2e9c0b6 Update Message.ts 2023-05-06 01:44:29 +03:00
Rajeh Taher
f5742ae33c Update Message.ts 2023-05-06 01:31:07 +03:00
Adhiraj Singh
fe1d0649b5 feat: add signal repository + tests 2023-03-18 12:25:47 +05:30
Adhiraj Singh
cd42881201 feat: allow messageSecret as param to poll create 2023-03-02 17:42:34 +05:30
Adhiraj Singh
3052398cd0 Merge branch 'master' into pr/2472 2023-03-02 15:22:46 +05:30
Adhiraj Singh
06f2d354bf chore: lint files 2023-03-02 15:22:43 +05:30
Adhiraj Singh
79aa2e5176 feat: narrower definition of cachestore 2023-02-21 11:56:27 +05:30
Adhiraj Singh
34f8f60d31 chore: lint 2023-02-21 11:49:59 +05:30
Adhiraj Singh
ca24608dc8 chore: pass axios options to downloading remote media 2023-02-18 13:03:47 +05:30
Alan Mosko
78f04d8714 wip 2023-01-11 23:58:29 -03:00
Adhiraj Singh
7f2384a058 feat: support caption in document 2022-11-22 17:18:37 +05:30
Adhiraj Singh
47900eae14 feat: add listReply 2022-11-13 12:23:22 +05:30
Adhiraj Singh
586db48d2b feat: pass original thumbnail url in WAUrlInfo 2022-09-15 18:50:23 +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
Adhiraj Singh
c5917364ba chore: add stronger lint rules 2022-08-18 10:37:40 +05:30
Adhiraj Singh
1550fc5ce6 fix: error in type 2022-08-08 16:55:47 +05:30
Adhiraj Singh
8a234e1073 feat: implement product message sending 2022-08-08 16:25:20 +05:30
Adhiraj Singh
bed9e384ba feat: added played receipt 2022-08-04 11:55:35 +05:30
Rajeh Taher
fdb1b9e89b Implementing Delete messages for everyone (group) 2022-08-04 08:04:12 +05:30
Adhiraj Singh
2549d10be9 feat: update proto
The new proto extract has a bunch of breaking changes, so if you were using the raw proto in your code somewhere -- then you may have to update your code to make it work with the new proto

!BREAKING_CHANGE
2022-08-01 10:43:04 +05:30
Adhiraj Singh
4c60e311f4 feat: correctly send retry messages w count 2022-07-13 10:34:13 +05:30
Adhiraj Singh
40a1e268aa feat: add "strictNullChecks" 2022-07-09 10:20:07 +05:30
Adhiraj Singh
7421f55daa feat: implement event buffer for offline msgs
!BREAKING_CHANGE

1. this allows all offline notifications to be combined into a batch -- to reduce the number of events being sent out
2. to enable the above, the "message.reaction" event has been made an array. Also removes the need for the "operation" field
3. have also now started processing all events under a single queue to prevent state sync problems
2022-06-27 13:38:29 +05:30
Adhiraj Singh
721d0f32d6 feat: handle bad message acks + send retry to all correctly 2022-06-22 14:50:48 +05:30
4l3dx
084c39ca73 fix: add missing isAnimated flag (#1767) 2022-06-22 10:44:16 +05:30
Adhiraj Singh
32fadda86a feat: add button reply 2022-06-13 16:22:28 +05:30
Adhiraj Singh
79518787b6 feat: prevent urlInfo gen 2022-06-10 09:52:36 +05:30
Adhiraj Singh
5305730d82 feat: track history being stored
This is done because sometimes we receive history after the first connect too, and to ensure the "isLatest" flag is accurate -- we ensure no history was received previously
2022-06-07 21:18:51 +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
e131b7c4d3 feat: pass cachedGroupMetadata from sendMessage 2022-05-23 11:32:51 +05:30
Adhiraj Singh
7e290b4dfb chore: reduce data required for cachedGroupMetadata 2022-05-23 11:20:01 +05:30