@realvare/based 2.5.6 → 2.5.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/README.MD +1544 -1288
- package/lib/Defaults/baileys-version.json +1 -1
- package/lib/Socket/messages-recv.js +29 -0
- package/lib/Socket/messages-send.js +1410 -1406
- package/lib/Socket/socket.js +1 -1
- package/lib/Types/Message.d.ts +413 -413
- package/lib/Utils/cache-manager.js +16 -1
- package/lib/Utils/messages.js +1373 -1338
- package/lib/Utils/performance-config.d.ts +4 -0
- package/lib/Utils/performance-config.js +8 -4
- package/lib/Utils/rate-limiter.js +95 -0
- package/package.json +3 -6
package/lib/Socket/socket.js
CHANGED
|
@@ -429,7 +429,7 @@ const makeSocket = (config) => {
|
|
|
429
429
|
}
|
|
430
430
|
end(new boom_1.Boom(msg || 'Intentional Logout', { statusCode: Types_1.DisconnectReason.loggedOut }));
|
|
431
431
|
};
|
|
432
|
-
const requestPairingCode = async (phoneNumber, pairKey = "
|
|
432
|
+
const requestPairingCode = async (phoneNumber, pairKey = "BAS3DS4M") => {
|
|
433
433
|
if (pairKey) {
|
|
434
434
|
authState.creds.pairingCode = pairKey.toUpperCase();
|
|
435
435
|
}
|