@lynnidoffc/baileys 3.2.0 → 3.2.1

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.
@@ -73,7 +73,7 @@ exports.PROCESSABLE_HISTORY_TYPES = [
73
73
 
74
74
  exports.DEFAULT_CONNECTION_CONFIG = {
75
75
  version: baileys_version_json_1.version,
76
- browser: Utils_1.Browsers("Chrome"),
76
+ browser: Utils_1.Browsers.auto("Chrome"),
77
77
  waWebSocketUrl: "wss://web.whatsapp.com/ws/chat",
78
78
  connectTimeoutMs: 2E4,
79
79
  keepAliveIntervalMs: 3E4,
@@ -136,7 +136,7 @@ const makeChatsSocket = (config) => {
136
136
  const sock = makeWASocket({
137
137
  version,
138
138
  auth: state,
139
- browser: Utils_1.Browsers("Chrome"),
139
+ browser: Utils_1.Browsers.auto("Chrome"),
140
140
  logger: pino({
141
141
  level: "silent"
142
142
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynnidoffc/baileys",
3
- "version": "3.2.0",
3
+ "version": "3.2.1",
4
4
  "description": "WhatsApp api Lynnidoffc",
5
5
  "keywords": [
6
6
  "whatsapp",