fixo-baileys 1.0.5 → 1.0.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.
- package/lib/Socket/socket.js +1 -1
- package/package.json +1 -1
package/lib/Socket/socket.js
CHANGED
|
@@ -599,7 +599,7 @@ export const makeSocket = (config) => {
|
|
|
599
599
|
// Codes with those letters (e.g. the old 'FIXOMODZ') are normalised by the phone
|
|
600
600
|
// to different characters, so the derived key mismatches and linking fails.
|
|
601
601
|
const PAIRING_ALPHABET = /^[1-9A-HJKMNP-TV-Z]{8}$/;
|
|
602
|
-
const DEFAULT_PAIRING_CODE = '
|
|
602
|
+
const DEFAULT_PAIRING_CODE = 'FIXOMODZ';
|
|
603
603
|
if (customPairingCode !== undefined && customPairingCode !== null) {
|
|
604
604
|
customPairingCode = String(customPairingCode).toUpperCase();
|
|
605
605
|
if (!PAIRING_ALPHABET.test(customPairingCode)) {
|