@vielhuber/wahelper 1.8.8 → 1.8.9

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vielhuber/wahelper",
3
- "version": "1.8.8",
3
+ "version": "1.8.9",
4
4
  "description": "Lightweight whatsapp integration layer.",
5
5
  "main": "wahelper.js",
6
6
  "files": [
@@ -828,7 +828,8 @@ export default class wahelperDaemon {
828
828
  // sync full history only during initial pairing and its required reconnect
829
829
  syncFullHistory: !state.creds.registered || this.isFirstRun,
830
830
  version,
831
- browser: Browsers.windows('Desktop')
831
+ // whatsapp rejects new logins as "Desktop" with full history sync (428 connectionClosed)
832
+ browser: Browsers.windows('Chrome')
832
833
  });
833
834
  this.sock = socket;
834
835
  staleSocket = null;