Adhiraj Singh
7a80bc1b92
Detect new login
2020-11-14 14:12:04 +05:30
Adhiraj Singh
6d02d405a7
Major redo with respect to chats/contacts -- read desc
...
Waiting for chats & contacts is hella unreliable, so I've put them as events
1. receive chats via the `chats-received` event. If new chats are found, the flag for that is sent as well
2. receive contacts via the `contacts-received` event
3. When WA sends older messages, the `chats-update` or `chat-update` event is triggered
4. Baileys keeps track of all the changed conversations between connects
Connects almost always take less than 10 seconds!
2020-11-13 23:15:16 +05:30
Adhiraj Singh
69da12c33c
handle tags via EventEmitter + replace 'intermediate-close' with 'ws-close'
2020-10-30 17:42:45 +05:30
Adhiraj Singh
57c46e3122
regen QR call rejectPending
2020-10-28 22:20:55 +05:30
Adhiraj Singh
51672150e4
More reliable debounced timeouts
2020-10-23 14:21:15 +05:30
Adhiraj Singh
f1e5f3c3b5
minor connect change
2020-10-15 17:52:54 +05:30
Adhiraj Singh
28cf354f43
Added connection-validated
2020-10-15 17:11:21 +05:30
Adhiraj Singh
e2d5fb1a25
More accurate phone connection detection
2020-10-15 16:50:52 +05:30
Adhiraj Singh
6c000ab093
Added logger, handled checksum fail
2020-10-12 20:32:32 +05:30
Adhiraj Singh
210b467b68
Close before terminate + update presence on message receive
2020-10-11 23:08:48 +05:30
Adhiraj
0d13a15904
Handle updating of credentials
2020-10-02 14:19:04 +05:30
Adhiraj
3a878ae193
Updates
...
- removed timeout, use maxIdleTimeMs
- made messages a keyedDB to better utitlize message cache
- possible fix for group ID bug
2020-09-27 13:51:36 +05:30
Adhiraj
b7de86afce
Idle timeout
2020-09-18 16:22:57 +05:30
Adhiraj
d9d494ce2a
First QR scan bug fix
2020-09-09 14:22:29 +05:30
Adhiraj
16ef8a617e
updated connect & message sending
2020-09-07 20:08:43 +05:30
Adhiraj
0af9f8fbe4
More reliable connect with automatic retries + default connect options
2020-08-31 14:39:21 +05:30
Adhiraj
828be7f240
renamed user.id to user.jid
2020-08-28 20:22:35 +05:30
Adhiraj
890fb726f1
Changes
...
- Separated message-status-update & message-update
- Removed contact storage & waiting for contacts. General connect speed should improve by 10%-20%
- Added `contacts-received` event
2020-08-28 20:01:48 +05:30
Adhiraj
68b64b9707
Added reconnect mechanism
2020-08-25 00:26:47 +05:30
Adhiraj
ea36aabb6c
better connections
2020-08-22 17:46:41 +05:30
Adhiraj
95d2567e76
Initial V3.0
2020-08-19 14:19:30 +05:30
Adhiraj
002d304041
Got rid of WAClient, deprecated code. Prep for V3
...
Layered classes based on hierarchy as well.
2020-08-16 17:51:29 +05:30