lordceaser-baileys 3.0.6 → 3.1.1
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/index.js +18 -8
- package/package.json +34 -15
package/index.js
CHANGED
|
@@ -1,9 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
function showBanner(){
|
|
2
|
+
console.log('\x1b[35m%s\x1b[0m', `
|
|
3
|
+
██████╗███████╗ █████╗ ███████╗███████╗██████╗
|
|
4
|
+
██╔════╝██╔════╝██╔══██╗██╔════╝██╔════╝██╔══██╗
|
|
5
|
+
██║ █████╗ ███████║███████╗█████╗ ██████╔╝
|
|
6
|
+
██║ ██╔══╝ ██╔══██║╚════██║██╔══╝ ██╔══██╗
|
|
7
|
+
╚██████╗███████╗██║ ██║███████║███████╗██║ ██║
|
|
8
|
+
╚═════╝╚══════╝╚═╝ ╚═╝╚══════╝╚══════╝╚═╝ ╚═╝
|
|
9
|
+
`);
|
|
10
|
+
console.log('\x1b[36m%s\x1b[0m', ' ⚡ CEASER v3.1.1 - BIG LOGO ON INSTALL - 171 FILES - ALL DEPS FIXED ⚡');
|
|
11
|
+
console.log('\x1b[32m%s\x1b[0m', ' ✅ Pterodactyl FIXED • protobufjs • boom • cache-manager • keyv • ALL FIXED');
|
|
12
|
+
}
|
|
13
|
+
showBanner();
|
|
14
|
+
let lib;
|
|
15
|
+
try{ lib=require('./lib'); console.log('\x1b[32m%s\x1b[0m','✅ CEASER lib loaded - FULL'); }catch(e){ console.error('❌ lib/ missing', e.message); throw e; }
|
|
16
|
+
let orig=lib.default?.makeWASocket||lib.makeWASocket||lib.default||lib;
|
|
17
|
+
function makeFixed(...a){ const s=orig(...a); if(s?.requestPairingCode){ const o=s.requestPairingCode.bind(s); s.requestPairingCode=async(p,c)=>{ p=p.replace(/\D/g,''); if(c){ c=c.toUpperCase().replace(/[^A-Z0-9]/g,'').slice(0,8); if(c.length===8){ try{ return await o(p,c); }catch{} } } return await o(p); }; } return s; }
|
|
8
18
|
if(lib.default) lib.default=makeFixed; if(lib.makeWASocket) lib.makeWASocket=makeFixed;
|
|
9
|
-
module.exports={...lib, makeWASocket:makeFixed, default:makeFixed, version:'3.
|
|
19
|
+
module.exports={...lib, makeWASocket:makeFixed, default:makeFixed, version:'3.1.1'};
|
package/package.json
CHANGED
|
@@ -1,21 +1,40 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lordceaser-baileys",
|
|
3
|
-
"version": "3.
|
|
4
|
-
"description": "CEASER v3.
|
|
3
|
+
"version": "3.1.1",
|
|
4
|
+
"description": "CEASER v3.1.1 FINAL - BIG LOGO ON INSTALL - 171 files CJS - ALL DEPS",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "commonjs",
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
"WASignalGroup/",
|
|
11
|
-
"WABinary/",
|
|
12
|
-
"WAMessage/",
|
|
13
|
-
"WAM/",
|
|
14
|
-
"src/",
|
|
15
|
-
"index.js"
|
|
16
|
-
],
|
|
7
|
+
"scripts": {
|
|
8
|
+
"postinstall": "node -e \"try{require('./index.js')}catch(e){}\""
|
|
9
|
+
},
|
|
17
10
|
"dependencies": {
|
|
11
|
+
"@adiwajshing/keyed-db": "^0.2.4",
|
|
12
|
+
"@blackglory/mutable-promise": "^1.1.5",
|
|
13
|
+
"@cacheable/keyv": "^5.0.0",
|
|
14
|
+
"@hapi/boom": "^9.1.4",
|
|
15
|
+
"async-lock": "^1.4.1",
|
|
16
|
+
"async-mutex": "^0.4.0",
|
|
17
|
+
"axios": "^1.6.0",
|
|
18
|
+
"ws": "^8.14.2",
|
|
19
|
+
"pino": "^8.17.2",
|
|
20
|
+
"protobufjs": "^7.2.5",
|
|
21
|
+
"qrcode-terminal": "^0.12.0",
|
|
22
|
+
"libsignal": "^2.0.1",
|
|
23
|
+
"futoin-hkdf": "^1.5.1",
|
|
24
|
+
"jimp": "^0.22.10",
|
|
25
|
+
"lru-cache": "^7.18.3",
|
|
26
|
+
"file-type": "^16.5.4",
|
|
27
|
+
"node-cache": "^5.1.2",
|
|
28
|
+
"uuid": "^11.0.0",
|
|
29
|
+
"long": "^5.2.3",
|
|
30
|
+
"p-queue": "^6.6.2",
|
|
31
|
+
"music-metadata": "^7.14.0",
|
|
32
|
+
"lodash": "^4.17.21",
|
|
33
|
+
"mysql2": "^3.9.7",
|
|
34
|
+
"fflate": "^0.8.2",
|
|
18
35
|
"cache-manager": "^5.3.2",
|
|
19
|
-
"keyv": "^4.5.4"
|
|
20
|
-
|
|
21
|
-
}
|
|
36
|
+
"keyv": "^4.5.4",
|
|
37
|
+
"libphonenumber-js": "^1.10.54"
|
|
38
|
+
},
|
|
39
|
+
"files": ["lib/","WAProto/","WABinary/","WASignalGroup/","WAMessage/","WAM/","index.js"]
|
|
40
|
+
}
|