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
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
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
f92291bb8e
crypto: improve older Node version and browser compatibility
2025-03-06 21:01:26 +02:00
Rajeh Taher
99142aac96
proto: update manually to 2.3000.1020608496
2025-03-06 04:22:17 +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
M Ilham Ari Pahmi
af17232611
fix: resolve DataView constructor error in lt-hash ( #1279 )
2025-03-02 12:08:43 +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
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
João Lucas de Oliveira Lopes
fdce228798
refactor: replace pbkdf2 with Web Crypto API for derivePairingCodeKey function ( #1276 )
2025-03-01 18:17:43 +02:00
Wender Teixeira
36690fc462
fix: update fetchLatestWaWebVersion to retrieve client revision from new endpoint ( #1234 )
2025-03-01 18:17:34 +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
AstroX11
89b28a438b
feat: add Id support for desktop ( #1240 )
...
* feat: add Id support for desktop
This commit adjusts the ID length check for desktop, fixing the issue where some desktop IDs were incorrectly classified as "unknown."
Baileys stopped identifying if a message was from WA Desktop (Based on my observations last Year).
This adjustment addresses this issue.
* redundancy removed
* fix: linting
2025-02-24 03:24:44 +02:00
Rajeh Taher
aeabecdf67
messages-media: fix waveform import
2025-02-16 18:36:59 +02:00
Rajeh Taher
b8470061c3
process-message: Flip message key of edit to find the original message
2025-02-16 15:20:32 +02:00
Lucas Maia
b78902fc8d
messages: fix EPERM error by verifying temp file removal when sending images ( #1227 )
...
* messages: add verification to remove temp file, solve EPERM operation not permitted
* fix lint on messages
* another try to fix lint for pr health
* Fixed, too many changes were breaking the code; this should be enough
* another try to fix this
2025-02-02 11:52:55 +02:00
Rajeh Taher
17d9a7fdb4
process-message: Add messages.update event for edited messages
2025-02-01 14:17:21 +02:00
Rajeh Taher
3fca643d92
messaging: fix the hangs caused by the 66e error
2025-01-30 23:31:25 +02:00
Rajeh Taher
40ebf669dd
socket: potential fixes to the 66 id issues
2025-01-30 20:44:18 +02:00
vini
31bc8ab4e2
[chore]: remove duplicated waveform generation ( #1169 )
2024-12-23 21:26:10 +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
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
647f8d767f
chat-utils: fix the clear chat chat mod
2024-10-14 02:52:23 +03:00
建辉
6ff945502d
feat: add label feature ( #955 )
...
Co-authored-by: 刘建辉 <liujianhui@gongchang.com >
2024-09-22 14:48:17 +03:00
vini
fda2689169
fix: messaging-history.set event not emitting syncType and progress / add PDO request id ( #1042 )
...
* initial commit
* add PDO request id
2024-09-22 14:34:43 +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
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
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
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
Ericky Thierry
abafce525c
stream to buffer conversion for no apparent need
2024-07-12 20:54:22 -03:00
Bob
baf8b3df00
Feat: Modified number action in group-participants.update ( #858 )
...
* Update GroupMetadata.ts
* Update messages-recv.ts
* Update process-message.ts
2024-07-03 10:34:06 +03:00
vini
dbf25771a1
refactor: Change Sync Functions to Promises to Prevent Blocking Event Loop ( #896 )
...
* initial commit
* lint
* lint 2
2024-07-03 10:29:16 +03:00
LightningNeko
fdf9d48162
fix: invalid children for header "companion_platform_id": 49 (number) ( #897 )
2024-07-03 10:28:15 +03:00
Bob
13be112b18
Feat: others browsers in requestPairingCode() ( #879 )
...
* update
* l
* string
* added Safari
* Update getPlatformId
* Update getPlatformId (fix)
2024-06-30 06:10:50 +03:00
devlikeapro
bd20fb631b
Run repository.injectE2ESession in chunks ( #881 )
2024-06-30 06:06:42 +03:00
Rajeh Taher
c8aab8d03f
fix(master): yarn lock and axios error + move to WhiskeySockets libsignal
2024-06-16 17:11:17 +03:00
Bob
61afe1cdc1
Fix linting generateMessageIDV2 ( #871 )
...
* Update messages-send.ts
* Update generics.ts
2024-06-16 15:33:01 +03:00
Rajeh Taher
0cc888e87b
fix(master): generate new message id
2024-06-12 23:12:59 +03:00
Rajeh Taher
e91f9e05c5
fix(master): prevent detection
2024-06-12 15:08:30 +03:00
azudin
6af6bffe31
Fix: sending ptv if true ( #856 )
2024-06-10 20:00:23 +03:00
azudin
8076745abf
Video Note (ptvMessage) support ( #840 )
...
* Update messages-recv.ts
revert back jid to from
* fix productMessage
fixed sending catalog
* Update messages-recv.ts
* Update messages-recv.ts
* Update messages.ts
* Update ptvMessage
* Update messages.ts
* Update README.md
* Update src/Socket/messages-recv.ts
---------
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
2024-06-10 14:01:13 +03:00