@itznomo/baileys 0.0.3 → 0.0.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itznomo/baileys",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
4
  "description": "All-in-one WhatsApp Web API for Node.js: buttons, lists, native flow, carousel, widgets, AI rich messages, calls, payments, command router and more",
5
5
  "keywords": ["whatsapp", "baileys", "whatsapp-bot", "buttons", "carousel", "native-flow", "calls", "automation"],
6
6
  "author": "Anuhas Bandara <anuhazdev@gmail.com>",
@@ -897,7 +897,7 @@ const getUserAgent = config => ({
897
897
  appVersion: { primary: config.version[0], secondary: config.version[1], tertiary: config.version[2] },
898
898
  platform: config.browser[1].toLocaleLowerCase().includes('android')
899
899
  ? proto.ClientPayload.UserAgent.Platform.ANDROID
900
- : proto.ClientPayload.UserAgent.Platform.WEB,
900
+ : proto.ClientPayload.UserAgent.Platform.MACOS,
901
901
  releaseChannel: proto.ClientPayload.UserAgent.ReleaseChannel.RELEASE,
902
902
  osVersion: '0.1',
903
903
  device: 'Desktop',