@nexustechpro/baileys 2.1.0 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/Defaults/index.js +1 -0
- package/lib/Socket/chats.js +180 -272
- package/lib/Socket/messages-recv.js +4 -2
- package/lib/Socket/messages-send.js +9 -3
- package/lib/Utils/chat-utils.js +319 -620
- package/lib/Utils/messages.js +89 -64
- package/lib/Utils/use-multi-file-auth-state.js +18 -8
- package/lib/index.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
package/lib/Defaults/index.js
CHANGED
|
@@ -158,6 +158,7 @@ export const INITIAL_PREKEY_COUNT = 95;
|
|
|
158
158
|
|
|
159
159
|
export const UPLOAD_TIMEOUT = 30000;
|
|
160
160
|
export const MIN_UPLOAD_INTERVAL = 5000;
|
|
161
|
+
export const HISTORY_SYNC_PAUSED_TIMEOUT_MS = 120000;
|
|
161
162
|
|
|
162
163
|
export const DEFAULT_CACHE_TTLS = {
|
|
163
164
|
SIGNAL_STORE: 5 * 60,
|