@vielhuber/wahelper 1.6.9 → 1.7.0
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/package.json +1 -1
- package/wahelper-daemon.js +3 -2
package/package.json
CHANGED
package/wahelper-daemon.js
CHANGED
|
@@ -4,7 +4,8 @@ import makeWASocket, {
|
|
|
4
4
|
useMultiFileAuthState,
|
|
5
5
|
DisconnectReason,
|
|
6
6
|
downloadMediaMessage,
|
|
7
|
-
fetchLatestBaileysVersion
|
|
7
|
+
fetchLatestBaileysVersion,
|
|
8
|
+
Browsers
|
|
8
9
|
} from 'baileys';
|
|
9
10
|
import P from 'pino';
|
|
10
11
|
import qrcodeTerminal from 'qrcode-terminal';
|
|
@@ -651,7 +652,7 @@ export default class wahelperDaemon {
|
|
|
651
652
|
// sync full history always — on pairing and reconnects
|
|
652
653
|
syncFullHistory: true,
|
|
653
654
|
version,
|
|
654
|
-
browser:
|
|
655
|
+
browser: Browsers.windows('Desktop')
|
|
655
656
|
});
|
|
656
657
|
|
|
657
658
|
this.sock.ev.on('messaging-history.set', async obj => {
|