Commit Graph

57 Commits

Author SHA1 Message Date
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
Rajeh Taher
18ac07df8e lint: 0 warnings left 2024-10-14 05:15:10 +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
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
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
Ashary Vermaysha
3fc5d4b803 feat: add option for Windows browser (#303) 2024-01-19 18:00:18 +02:00
Alessandro Autiero
c506182035 Finished requestPairingCode 2023-07-16 20:14:17 +02:00
Alessandro Autiero
f498e1e56c Added requestPairingCode method and handler
Fixed typo (trimUndefineds)
Added bytesToCrockford
Replaced advSecretKey with advKeyPair
Added pairingCode prop
Fixed formatting
Added pairing code example
2023-07-16 18:44:17 +02:00
Codeboss
2c76713565 feat: Add waveforms to voice messages (#180)
Co-authored-by: Edgard <edgardmessias@gmail.com>
2023-07-13 21:08:11 -03:00
SamuelScheit
6ecc5a8757 fix: socket options 2023-05-12 18:02:41 +02:00
Samuel Rodrigues Almeida Costa
89c1d6e1e1 Update fetchLatestBaileysVersion
It was pointing to the old repository
2023-04-30 12:30:30 +02:00
Adhiraj Singh
fe1d0649b5 feat: add signal repository + tests 2023-03-18 12:25:47 +05:30
Adhiraj Singh
bda2bb4717 feat: allow meId in getKeyAuthor 2023-03-02 18:46:07 +05:30
Adhiraj Singh
cd42881201 feat: allow messageSecret as param to poll create 2023-03-02 17:42:34 +05:30
Adhiraj Singh
34f8f60d31 chore: lint 2023-02-21 11:49:59 +05:30
Adhiraj Singh
b2c1cfbf9c fix: timeout send call 2023-02-01 14:33:14 +05:30
Adhiraj Singh
c24ffc1bed feat: better mapping for WS errors 2023-01-17 22:01:51 +05:30
Adhiraj Singh
d0330d1863 refactor!: cleaner message history sync
This is a breaking change,
1. three events (chats.set, contacts.set, messages.set) are now just one `messaging-history.set` event
2. no need to debounce for app state sync
3. added a new "conditional" chat update to allow for correct app state sync despite not having the chat available on hand
2022-09-29 16:32:57 +05:30
Adhiraj Singh
28afa96cb9 chore: make arg optional in fetchLatestBaileysVersion 2022-09-20 12:15:33 +05:30
Adhiraj Singh
116b30dff0 feat: expose axios options 2022-09-19 17:25:54 +05:30
Adhiraj Singh
e7f6838fa4 chore: remove legacy code 2022-09-19 14:59:35 +05:30
Adhiraj Singh
c5917364ba chore: add stronger lint rules 2022-08-18 10:37:40 +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
34f2095263 feat: add check WA business account 2022-07-27 12:45:25 +05:30
Adhiraj Singh
40a1e268aa feat: add "strictNullChecks" 2022-07-09 10:20:07 +05:30
✬Ravindu Manoj✬ ✓
f13bd1fdab whatsapp web version (#1868)
* whatsapp web version

* whatsapp web version

* function for fetch latest whatsapp web version

* whatsapp web version
2022-07-06 12:08:46 +05:30
Adhiraj Singh
6c4f63237f fix: better WS error map 2022-06-20 15:18:04 +05:30
Adhiraj Singh
23acc1fb39 feat: extract code from WS error 2022-06-16 20:43:51 +05:30
Adhiraj Singh
5cb71ac862 feat: more accurately handle app state sync 2022-06-11 12:02:08 +05:30
Adhiraj Singh
f2ef5ff1d4 refactor: create generic "bindWaitForEvent" for baileys event emitter 2022-06-01 13:01:26 +05:30
Adhiraj Singh
ae4aa67950 feat: handle call events 2022-05-09 15:00:53 +05:30
Adhiraj Singh
fd9daf8ad3 refactor: remove redundant stream:error handling 2022-04-25 13:27:25 +05:30
Adhiraj Singh
211a899ed4 feat: handle stream:errors more gracefully 2022-04-25 09:11:03 +05:30
Adhiraj Singh
5e41d3d284 chore: use 16 bit integer for tag 2022-04-23 12:45:27 +05:30
Adhiraj Singh
a4ae3526de fix: use new registrationId function 2022-04-16 20:53:42 +05:30
Adhiraj Singh
b4fd010b36 refactor: use modified legacy bin XML parser instead of "WABinary" 2022-04-13 16:23:28 +05:30
Adhiraj Singh
7fe4e58a11 refactor: remove useless "encodeInt" function 2022-04-12 19:22:16 +05:30
Adhiraj Singh
37178547ba fix: better registration ID 2022-04-12 19:02:30 +05:30
Adhiraj Singh
f4da9af5d3 chore: use only numbers in message tag 2022-04-12 17:04:24 +05:30
Adhiraj Singh
0a331ceab3 fix: toNumber 2022-03-29 20:22:50 +05:30
Adhiraj Singh
ab9b232838 refactor: move processMessage out of socket 2022-03-29 14:04:14 +05:30
Adhiraj Singh
f83ee95abb chore: update browser versions 2022-03-21 23:30:35 +05:30
Adhiraj Singh
de7d1002a9 lint: stricter linting rules 2022-03-01 16:32:14 +05:30
Adhiraj Singh
c00c3da313 fix: BufferJSON failing with empty string 2022-03-01 16:30:11 +05:30
Adhiraj Singh
75582e4541 feat: add WA Web version auto fetch 2022-02-20 19:43:15 +05:30
Adhiraj Singh
8f11f0be76 chore: add linting 2022-01-19 15:54:02 +05:30
Adhiraj Singh
83bfa0e9b9 chore: minor fixes 2021-12-24 10:18:21 +05:30