Borewit
df303c8d43
Update to music-metadata from version 7.12.3 to 11.3.0 ( #1355 )
...
Co-authored-by: Borewit <borewit@users.noreply.github.com >
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
2025-07-17 14:25:28 +03:00
Rajeh Taher
787aed88b8
project: Move to ESM Modules
2025-07-17 13:54:17 +03:00
vini
19124426b2
[feat]: add/edit/remove contacts ( #1172 )
...
* add/edit/remove contacts
* use proto type in contact action
---------
Co-authored-by: canove <cassio@economicros.com.br >
2025-07-09 22:01:20 +03:00
vini
31cb8d78a6
fix: remove static jimp import ( #1592 )
2025-07-09 11:50:52 -03:00
DevAstro
3cdb0f4dd9
Bump Jimp && Sharp ( #1575 )
...
* Bump Jimp && Sharp
Upgrade and use the latest version of jimp and sharp libraries
* lint
2025-07-05 23:58:57 +03:00
Rajeh Taher
719a57b275
Added message range to the clear chat action ( #1534 )
...
* chat-utils: Added message range to the clear chat action
* Chat: add field to type (thanks @Kiss from discord)
* Update src/Utils/chat-utils.ts
2025-07-05 23:58:44 +03:00
João Lucas de Oliveira Lopes
92b4c68de0
fix: Handle data: URIs in getStream to prevent server crash ( #1524 )
2025-07-04 19:25:19 -03:00
fwidjaja94
34188a3a22
fix: remove chat attribute deletions in history.ts ( #1590 )
2025-07-04 17:29:04 -03:00
Cassio Santos
9b5afc8c6b
fix: add lid sutff to message.key type ( #1586 )
...
* fix: add lid sutff to message.key type
* feat: add view once information to msg key
2025-07-03 17:08:58 -03:00
João Lucas de Oliveira Lopes
8391c02e0b
[READY FOR MERGE] Implement newsletter ( #1532 )
...
* feat: implement basic newsletter functionality with socket integration and event handling
* feat: enhance media handling for newsletters with raw media upload support
* feat: working updatePicture, removePicure, adminCount, mute, Unmute
* fix: fetchMessages
* chore: cleanup
* fix: update newsletter metadata path and query ID for consistency. newsletterMetadata works now
* chore: enhance newsletter metadata parsing and error handling
* fix: correct DELETE QueryId value in Newsletter.ts
* chore: split mex stuffs to own file
* chore: remove as any
2025-06-30 23:22:09 -03:00
devlikeapro
5ffb19120d
Show poll on the sender device ( #1567 )
...
fix #675
2025-06-30 16:15:11 -03:00
DevAstro
a4b96ed37e
[READY FOR MERGE] Add support for custom profile picture dimensions ( #1563 )
...
* Add support for custom profile picture dimensions
The updateProfilePicture and generateProfilePicture functions now accept an optional dimensions parameter, allowing custom width and height for profile pictures. This provides more flexibility for image resizing beyond the default 640x640 size.
* minor corrections
Replaces 'w' and 'h' with 'width' and 'height' in profile picture related functions for improved clarity and consistency.
* fix lint
2025-06-30 16:04:37 -03:00
João Lucas de Oliveira Lopes
591c98f3e6
fix: validate media URL before downloading content from message ( #1560 )
2025-06-30 16:02:40 -03:00
Alι Aryαɴ
42112ac389
chore: add participantPn to WAMessageKey ( #1540 )
2025-06-25 09:35:56 -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
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
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
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
fb83e4799d
chore: remove unused variables
2025-05-13 18:35:29 -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
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
w3nder
dfe8bb3283
refactor(messageId): update all remaining usages to v2 format consistently
2025-04-30 00:59:19 -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
AstroX11
ae5a7d14c3
fix: makeCacheableSignalKeyStore logger optional ( #1332 )
2025-04-09 02:52:20 +03: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
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