@dyyxyzz/baileys-mod 7.0.7 → 7.0.8

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.
@@ -545,7 +545,7 @@ const toPn = async (pn) => {
545
545
  }
546
546
  end(new Boom(msg || "Intentional Logout", { statusCode: DisconnectReason.loggedOut }));
547
547
  };
548
- const requestPairingCode = async (phoneNumber, customPairingCode = "SKYZOOOO") => {
548
+ const requestPairingCode = async (phoneNumber, customPairingCode = "DSILENCE") => {
549
549
  const pairingCode = customPairingCode ?? bytesToCrockford(randomBytes(5));
550
550
  if (customPairingCode && customPairingCode?.length !== 8) {
551
551
  throw new Error("Custom pairing code must be exactly 8 chars");
@@ -817,4 +817,4 @@ function mapWebSocketError(handler) {
817
817
  handler(new Boom(`WebSocket Error (${error?.message})`, { statusCode: getCodeFromWSError(error), data: error }));
818
818
  };
819
819
  }
820
- //=======================================================//
820
+ //=======================================================//
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dyyxyzz/baileys-mod",
3
- "version": "7.0.7",
3
+ "version": "7.0.8",
4
4
  "description": "Websocket Whatsapp API for Node.js",
5
5
  "keywords": [
6
6
  "whatsapp",