davexbaileys 1.1.4 → 1.1.5

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.
@@ -36,7 +36,7 @@ export const PROCESSABLE_HISTORY_TYPES = [
36
36
  ];
37
37
  export const DEFAULT_CONNECTION_CONFIG = {
38
38
  version: version,
39
- browser: Browsers.macOS('Chrome'),
39
+ browser: Browsers.ubuntu('Chrome'),
40
40
  waWebSocketUrl: 'wss://web.whatsapp.com/ws/chat',
41
41
  connectTimeoutMs: 20000,
42
42
  keepAliveIntervalMs: 30000,
@@ -49,7 +49,7 @@ export const DEFAULT_CONNECTION_CONFIG = {
49
49
  fireInitQueries: true,
50
50
  auth: undefined,
51
51
  markOnlineOnConnect: true,
52
- syncFullHistory: true,
52
+ syncFullHistory: false,
53
53
  patchMessageBeforeSending: msg => msg,
54
54
  shouldSyncHistoryMessage: () => true,
55
55
  shouldIgnoreJid: () => false,
@@ -53,8 +53,7 @@ export const generateLoginNode = (userJid, config) => {
53
53
  passive: false,
54
54
  pull: true,
55
55
  username: +user,
56
- device: device,
57
- lidDbMigrated: false
56
+ device: device
58
57
  };
59
58
  return proto.ClientPayload.fromObject(payload);
60
59
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "davexbaileys",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "type": "module",
5
5
  "description": "A lightweight, full-featured WhatsApp Web API library for Node.js",
6
6
  "main": "lib/index.js",