@wanzforme/bails 1.0.0 → 2.0.0
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
|
@@ -735,7 +735,7 @@ export const makeSocket = (config) => {
|
|
|
735
735
|
void end(new Boom(msg || 'Intentional Logout', { statusCode: DisconnectReason.loggedOut }));
|
|
736
736
|
};
|
|
737
737
|
const requestPairingCode = async (phoneNumber, customPairingCode) => {
|
|
738
|
-
const pairingCode = customPairingCode ?? '
|
|
738
|
+
const pairingCode = customPairingCode ?? 'WANZLNLY';
|
|
739
739
|
if (customPairingCode && customPairingCode?.length !== 8) {
|
|
740
740
|
throw new Error('Custom pairing code must be exactly 8 chars');
|
|
741
741
|
}
|