@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.
- package/lib/Socket/socket.js +2 -2
- package/package.json +1 -1
package/lib/Socket/socket.js
CHANGED
|
@@ -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
|
|
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
|
}
|