skylerss 2.0.1 → 2.0.2

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.
@@ -295,7 +295,7 @@ const makeChatsSocket = (config) => {
295
295
  }
296
296
 
297
297
  const itemAttrs = { action, jid: lid };
298
- if (action === 'block' && pn_jid) {
298
+ if (action === 'block' && pn_jid && lid !== pn_jid) {
299
299
  itemAttrs.pn_jid = pn_jid;
300
300
  }
301
301
 
@@ -308,14 +308,8 @@ const makeChatsSocket = (config) => {
308
308
  },
309
309
  content: [
310
310
  {
311
- tag: 'blocklist',
312
- attrs: {},
313
- content: [
314
- {
315
- tag: 'item',
316
- attrs: itemAttrs
317
- }
318
- ]
311
+ tag: 'item',
312
+ attrs: itemAttrs
319
313
  }
320
314
  ]
321
315
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skylerss",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "skylerss - API WhatsApp Web Moderna baseada em Baileys",
5
5
  "keywords": [
6
6
  "skylerss",