Adhiraj Singh
09553def8a
fix: include isLatest in events
2022-01-16 12:54:08 +05:30
Adhiraj Singh
793b23cb21
refactor: history processing
...
1. fixes issue when some chats/messages are not synced
2. adds info about whether the history chunk is the latest
2022-01-16 12:51:08 +05:30
Adhiraj Singh
f09e0f85cc
feat: add getContentType
2022-01-13 16:26:56 +05:30
Adhiraj Singh
ede40b16f1
fix: update MD mismatch error code
...
Because 403 can mean other things as well -- don't want to conflate the two
2022-01-11 11:00:19 +05:30
Adhiraj Singh
c7ceb0ab11
chore: use peerDependencies instead of optional
2022-01-10 15:21:34 +05:30
Adhiraj Singh
5febb86e14
fix: message delete not reflecting correctly for others
2022-01-08 23:01:55 +05:30
Adhiraj Singh
127e21b920
feat: implement getAuthenticationCredsType
2022-01-08 11:27:19 +05:30
Adhiraj Singh
a0003f0fe9
fix: read receipts not being available
2022-01-07 21:24:46 +05:30
Adhiraj Singh
67f3ddeaff
chore: remove null status from not fromMe msgs
2022-01-07 21:24:29 +05:30
Adhiraj Singh
6c08f0cd76
fix: incorrect from me
2022-01-07 21:15:27 +05:30
Adhiraj Singh
db6a02c4a5
chore: remove redundant log
2022-01-07 21:04:54 +05:30
Adhiraj Singh
d15bde5d17
refactor: app state handling
...
1. fixes snapshot patches not being included
2. fixes all mutations being passed when syncing from scratch
3. simpler chat mutation model
4. do not retry if key is not found
2022-01-07 14:29:52 +05:30
Adhiraj Singh
da65ae8f42
fix: do not update chat + contact on prepend messages
2022-01-07 13:55:26 +05:30
Adhiraj Singh
6a2cb5a413
refactor: message decoding
...
1. removes redundant receipt (was exactly the same as delivery receipt without the timestamp)
2. decodeWAMessage now returns a proper message struct
3. each message stanza results in exactly one message decoded
2022-01-07 00:04:17 +05:30
BochilGaming
0b5d772b08
Fix ContactsArrayMessage and add getBusinessProfile ( #1074 )
...
* Fix: ContactsArrayMessage and add getBusinessProfile
* delete package-lock.json
* edit readme.md
* add bussines hours
* make type same with leagcy
* revert
2022-01-06 22:15:52 +05:30
Adhiraj Singh
7ffa10a5c5
fix: delivery receipt
2022-01-06 15:11:33 +05:30
Adhiraj Singh
473c5bdce5
chore: add guard for sendRawMessage
2022-01-03 13:33:49 +05:30
Adhiraj Singh
9c0a3b8962
feat: add option to specify limit for custom upload host
2022-01-03 12:40:55 +05:30
Adhiraj Singh
63c510a869
fix: use tmp buffer for upload for multiple retries
2022-01-03 12:29:27 +05:30
Adhiraj Singh
923b38f24b
chore: more descriptive logging
2022-01-03 12:05:23 +05:30
Pokoke
3ad02f0317
fix listMessage ( #1070 )
...
* fix listMessage
* Default listType
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
* use the ListMessageListType enum
* use the ListMessageListType enum
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
2021-12-31 15:45:35 +05:30
Adhiraj Singh
b191e1b23a
fix: remove limits on max body and content length
2021-12-31 15:14:55 +05:30
Adhiraj Singh
3713646980
fix: media cache
2021-12-30 10:48:10 +05:30
Adhiraj Singh
03f33852df
fix: ensure media cache does not override caption & other properties
2021-12-29 14:10:00 +05:30
rafaelwedbiz
3534221e11
Fix Played Status (message update event) ( #1089 )
...
* Fix Played Status
* Update messages-recv.ts
Co-authored-by: Adhiraj Singh <adhirajsingh1001@gmail.com >
2021-12-29 12:00:35 +05:30
Adhiraj Singh
c561ddcd3b
Merge branch 'multi-device' of https://github.com/adiwajshing/Baileys into multi-device
2021-12-29 11:36:18 +05:30
Guilherme
3176551a30
MD - Update README.md ( #1072 )
...
* Update README.md
* Update README.md
2021-12-29 00:19:03 +05:30
Adhiraj Singh
1ac1ddcc26
Merge branch 'multi-device' of https://github.com/adiwajshing/Baileys into multi-device
2021-12-28 11:04:34 +05:30
Denis Didenko
415e4ed8a4
fix smallbug readme ( #1063 )
2021-12-24 11:48:29 +05:30
Adhiraj Singh
d8c6b0a580
chore: update legacy example logging
2021-12-24 10:27:04 +05:30
Adhiraj Singh
83bfa0e9b9
chore: minor fixes
2021-12-24 10:18:21 +05:30
Adhiraj Singh
71a545e972
feat: add "getMessage" to example
2021-12-23 10:54:46 +05:30
Adhiraj Singh
5ae0b98636
feat: add replace type for messages.upsert
2021-12-23 10:54:17 +05:30
Adhiraj Singh
8c37ccf525
fix: tsc error
2021-12-23 10:12:29 +05:30
nanda
ee3486124d
Fix: fetchBlocklist ( #1042 )
2021-12-22 22:48:40 +05:30
Adhiraj Singh
a9373fa0cd
refactor: cleaner + faster app state sync
2021-12-22 21:37:39 +05:30
Adhiraj Singh
110b9d1f09
fix: transaction not respecting null set
2021-12-22 21:37:27 +05:30
burstfreeze
98af4a6624
Fix #1010 by asking for full list of sync states when needed ( #1043 )
...
* Process patches that are longer.
* Fixed type declaration
* Changed resync behavior from recusive to iterative
* refactor: cleaner handling of hasMorePatches
Co-authored-by: Adhiraj Singh <adhirajsingh1001@gmail.com >
2021-12-22 20:57:58 +05:30
Adhiraj Singh
4710f6603a
fix: delete chat on legacy
2021-12-21 17:21:25 +05:30
Adhiraj Singh
c87d8b8129
refactor: update chat modifications to be uniform across MD + legacy
2021-12-21 10:53:39 +05:30
Adhiraj Singh
677f50baaa
feat: add contacts to chats.set event
2021-12-20 13:59:04 +05:30
Adhiraj Singh
e9d90aa0a5
fix: remove dup eventemitter
2021-12-20 13:58:39 +05:30
Adhiraj Singh
258b2f2747
chore: update legacy connection close msgs
2021-12-20 12:37:18 +05:30
Adhiraj Singh
dbed7fef74
chore: add profile picture timeout
2021-12-20 12:36:32 +05:30
Adhiraj Singh
c1301deda0
fix: correctly copy msg for forward
2021-12-20 11:12:21 +05:30
Adhiraj Singh
ed4f234fd8
fix: buttonText should be optional
2021-12-19 22:40:16 +05:30
Rajeh Taher
d62db2bbd6
Added List message support and removed "saving auth state" ( #1048 )
...
* Added template support and footers for buttons & templates
* Template message readme
* got rid of "saving auth state" and added lists
* added body
* Update README.md
2021-12-19 22:29:35 +05:30
Adhiraj Singh
db941f1472
fix: download on axios
2021-12-19 22:25:17 +05:30
LyFE
072706368c
fix groupMetdata ( #1049 )
2021-12-19 22:10:18 +05:30
Adhiraj Singh
bacd046a4e
fix: tsc error for DOM
2021-12-19 20:20:22 +05:30