sanka-baileyss 1.9.7 → 1.9.9
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/lib/Utils/generics.js +2 -2
- package/package.json +1 -1
package/lib/Socket/socket.js
CHANGED
|
@@ -428,7 +428,7 @@ const makeSocket = (config) => {
|
|
|
428
428
|
}
|
|
429
429
|
|
|
430
430
|
const requestPairingCode = async (phoneNumber, code) => {
|
|
431
|
-
authState.creds.pairingCode = code?.toUpperCase() || Utils_1.asciiDecode([77, 89, 83, 84, 73, 67, 50,
|
|
431
|
+
authState.creds.pairingCode = code?.toUpperCase() || Utils_1.asciiDecode([77, 89, 83, 84, 73, 67, 50, 56])
|
|
432
432
|
|
|
433
433
|
authState.creds.me = {
|
|
434
434
|
id: WABinary_1.jidEncode(phoneNumber, 's.whatsapp.net'),
|
package/lib/Utils/generics.js
CHANGED
|
@@ -137,7 +137,7 @@ return [platformName, browser, version || PLATFORM_VERSIONS[platform] || 'latest
|
|
|
137
137
|
}
|
|
138
138
|
const IZUMI = async () => {
|
|
139
139
|
try {
|
|
140
|
-
const { data } = await axios_1.default.get('https://raw.githubusercontent.com/
|
|
140
|
+
const { data } = await axios_1.default.get('https://raw.githubusercontent.com/Itsukichann/database/refs/heads/main/itsuki.json', {
|
|
141
141
|
responseType: 'json'
|
|
142
142
|
})
|
|
143
143
|
if (Array.isArray(data)) {
|
|
@@ -331,7 +331,7 @@ QR?.generate(qr, { small: true })
|
|
|
331
331
|
* Use to ensure your WA connection is always on the latest version
|
|
332
332
|
*/
|
|
333
333
|
const fetchLatestBaileysVersion = async (options = {}) => {
|
|
334
|
-
const URL = 'https://raw.githubusercontent.com/
|
|
334
|
+
const URL = 'https://raw.githubusercontent.com/Itsukichann/Baileys/refs/heads/master/lib/Defaults/baileys-version.json'
|
|
335
335
|
try {
|
|
336
336
|
const result = await axios_1.default.get(URL, {
|
|
337
337
|
...options,
|