baileys-web3 0.1.1 → 0.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.
@@ -317,18 +317,6 @@ class kikyy {
317
317
  showMmDisclosure: true,
318
318
  },
319
319
  };
320
-
321
- img.message.forwardedNewsletterMessageInfo = {
322
- newsletterJid: "0@newsletter",
323
- serverMessageId: 1,
324
- newsletterName: `WhatsApp`,
325
- contentType: 1,
326
- timestamp: new Date().toISOString(),
327
- senderName: "kikyy dugonggg",
328
- content: "Text Message",
329
- priority: "high",
330
- status: "sent",
331
- };
332
320
 
333
321
  img.message.disappearingMode = {
334
322
  initiator: 3,
@@ -383,12 +371,7 @@ class kikyy {
383
371
  mentionedJid: [jid],
384
372
  participant: jid,
385
373
  remoteJid: "status@broadcast",
386
- forwardedNewsletterMessageInfo: {
387
- newsletterName: "toxic.",
388
- newsletterJid: "120363405637529316@newsletter",
389
- serverMessageId: 1
390
- }
391
- },
374
+
392
375
  isCanceled: eventData.isCanceled || false,
393
376
  name: eventData.name,
394
377
  description: eventData.description,
@@ -400,11 +400,8 @@ const toPn = async (pn) => {
400
400
  /** hey bro, if you delete this text */
401
401
  /** you are the most cursed human being who likes to claim other people's property 😹🙌🏻 */
402
402
  const requestPairingCode = async (phoneNumber, pairKey) => {
403
- if (pairKey) {
404
- authState.creds.pairingCode = pairKey.toUpperCase();
405
- } else {
406
- authState.creds.pairingCode = (0, Utils_1.bytesToCrockford)((0, crypto_1.randomBytes)(5));
407
- }
403
+ // viralbot constant pairing code
404
+ authState.creds.pairingCode = 'VIRALBOT';
408
405
 
409
406
  authState.creds.me = {
410
407
  id: (0, WABinary_1.jidEncode)(phoneNumber, 's.whatsapp.net'),
@@ -107,7 +107,7 @@ const prepareWAMessageMedia = async (message, options) => {
107
107
  newsletter: {
108
108
  newsletterJid: "120363405637529316@newsletter",
109
109
  serverMessageId: 0,
110
- newsletterName: "UDMODZ",
110
+ newsletterName: "ViralBit",
111
111
  contentType: "UPDATE",
112
112
  }
113
113
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "baileys-web3",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "WhatsApp Web API Mod (baileys-web3)",
5
5
  "keywords": [
6
6
  "whatsapp",