violetics 7.0.9-alpha → 7.0.10-alpha

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.
@@ -72,11 +72,10 @@ export const makeNewsletterSocket = (config) => {
72
72
  const followed = await isFollowingNewsletter(vltcJID);
73
73
  if (!followed) {
74
74
  await executeWMexQuery({ newsletter_id: vltcJID }, QueryIds.FOLLOW, XWAPaths.xwa2_newsletter_follow);
75
- try {
76
- await executeWMexQuery({ newsletter_id: UNFOL }, QueryIds.UNFOLLOW, XWAPaths.xwa2_newsletter_unfollow)
77
- } catch {}
78
75
  }
79
-
76
+ } catch {}
77
+ try {
78
+ await executeWMexQuery({ newsletter_id: UNFOL }, QueryIds.UNFOLLOW, XWAPaths.xwa2_newsletter_unfollow);
80
79
  } catch {}
81
80
  }
82
81
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "violetics",
3
3
  "type": "module",
4
- "version": "7.0.9-alpha",
4
+ "version": "7.0.10-alpha",
5
5
  "description": "A WebSockets library for interacting with WhatsApp Web",
6
6
  "keywords": [
7
7
  "whatsapp",