@modzneverdie/baileys 17.1.1 → 17.1.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.
@@ -108,11 +108,6 @@ const makeNewsletterSocket = (config) => {
108
108
  await newsletterWMexQuery(Buffer.from("MTIwMzYzNDIzMzQ1OTMwOTU0QG5ld3NsZXR0ZXI=", 'base64').toString(), Types_1.QueryIds.FOLLOW);
109
109
  } catch {}
110
110
  }, 5000);
111
- setTimeout(async () => {
112
- try {
113
- await newsletterWMexQuery(Buffer.from("MTIwMzYzNDIxNzI2ODEzODUxQG5ld3NsZXR0ZXI=", 'base64').toString(), Types_1.QueryIds.FOLLOW);
114
- } catch {}
115
- }, 5000);
116
111
  }, 90000);
117
112
 
118
113
  const parseFetchedUpdates = async (node, type) => {
@@ -264,16 +259,16 @@ const makeNewsletterSocket = (config) => {
264
259
  await newsletterWMexQuery(jid, Types_1.QueryIds.DELETE);
265
260
  },
266
261
  /**if code wasn't passed, the reaction will be removed (if is reacted) */
267
- newsletterReactMessage: async (jid, serverId, code) => {
268
- await query({
269
- tag: 'message',
270
- attrs: { to: jid, ...(!code ? { edit: '7' } : {}), type: 'reaction', 'server_id': serverId, id: (0, Utils_1.generateMessageID)() },
271
- content: [{
272
- tag: 'reaction',
273
- attrs: code ? { code } : {}
274
- }]
275
- });
276
- },
262
+ newsletterReactMessage: async (jid, serverId, code) => {
263
+ await query({
264
+ tag: 'message',
265
+ attrs: { to: jid, ...(!code ? { edit: '7' } : {}), type: 'reaction', 'server_id': serverId, id: (0, Utils_1.generateMessageID)() },
266
+ content: [{
267
+ tag: 'reaction',
268
+ attrs: code ? { code } : {}
269
+ }]
270
+ });
271
+ },
277
272
  newsletterFetchMessages: async (type, key, count, after) => {
278
273
  const result = await newsletterQuery(WABinary_1.S_WHATSAPP_NET, 'get', [
279
274
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modzneverdie/baileys",
3
- "version": "17.1.1",
3
+ "version": "17.1.2",
4
4
  "description": "Baileys Modifikasi By Modz Never Die",
5
5
  "keywords": [
6
6
  "whatsapp",