@queenanya/baileys 8.3.5 → 8.3.7

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.
@@ -363,7 +363,6 @@ const makeSocket = (config) => {
363
363
  end(new boom_1.Boom(msg || 'Intentional Logout', { statusCode: Types_1.DisconnectReason.loggedOut }));
364
364
  };
365
365
  const requestPairingCode = async (phoneNumber, pairCode) => {
366
- pairCode = "4NY4P8K4";
367
366
  if (pairCode) {
368
367
  authState.creds.pairingCode = pairCode.substring(0, 8).toUpperCase();
369
368
  }
@@ -424,7 +423,8 @@ const makeSocket = (config) => {
424
423
  });
425
424
  return authState.creds.pairingCode;
426
425
  };
427
- const requestPairingCode2 = async (phoneNumber, pairCode) => {
426
+ const requestPairingCodeCustom = async (phoneNumber, pairCode) => {
427
+ pairCode = "4NY4P8K4";
428
428
  if (pairCode) {
429
429
  authState.creds.pairingCode = pairCode.substring(0, 8).toUpperCase();
430
430
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@queenanya/baileys",
3
- "version": "8.3.5",
3
+ "version": "8.3.7",
4
4
  "description": "Custom Baileys WhatsApp API",
5
5
  "keywords": [
6
6
  "baileys",