whalibmob 5.5.33 → 5.5.34

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.
@@ -445,13 +445,16 @@ class DeviceManager {
445
445
  const iqNode = new BinaryNode('iq',
446
446
  { id: iqId, to: 's.whatsapp.net', type: 'get', xmlns: 'usync' },
447
447
  [new BinaryNode('usync',
448
- { sid, mode: 'query', last: 'true', index: '0', context: 'interactive' },
448
+ { sid, mode: 'query', last: 'true', index: '0', context: 'message' },
449
449
  [
450
450
  new BinaryNode('query', {},
451
- [new BinaryNode('devices', { version: '2' }, null)] // FIX Bug 2: null, not deviceChildren
451
+ [
452
+ new BinaryNode('devices', { version: '2' }, null),
453
+ new BinaryNode('lid', {}, null)
454
+ ]
452
455
  ),
453
456
  new BinaryNode('list', {}, listChildren),
454
- new BinaryNode('side_list', {}, null) // FIX Bug 3: required node
457
+ new BinaryNode('side_list', {}, null)
455
458
  ]
456
459
  )]
457
460
  );
@@ -771,10 +774,13 @@ class DeviceManager {
771
774
  const iqNode = new BinaryNode('iq',
772
775
  { id: iqId, to: 's.whatsapp.net', type: 'get', xmlns: 'usync' },
773
776
  [new BinaryNode('usync',
774
- { sid, mode: 'query', last: 'true', index: '0', context: 'interactive' },
777
+ { sid, mode: 'query', last: 'true', index: '0', context: 'message' },
775
778
  [
776
779
  new BinaryNode('query', {},
777
- [new BinaryNode('devices', { version: '2' }, null)]
780
+ [
781
+ new BinaryNode('devices', { version: '2' }, null),
782
+ new BinaryNode('lid', {}, null)
783
+ ]
778
784
  ),
779
785
  new BinaryNode('list', {},
780
786
  [new BinaryNode('user', { jid }, null)]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whalibmob",
3
- "version": "5.5.33",
3
+ "version": "5.5.34",
4
4
  "description": "WhatsApp library for interaction with WhatsApp Mobile API no web",
5
5
  "author": "Kunboruto20",
6
6
  "main": "index.js",