lordceaser-baileys 3.0.0 → 3.0.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.
Files changed (2) hide show
  1. package/index.js +7 -12
  2. package/package.json +9 -7
package/index.js CHANGED
@@ -7,13 +7,13 @@ function showBanner(){
7
7
  ╚██████╗███████╗██║ ██║███████║███████╗██║ ██║
8
8
  ╚═════╝╚══════╝╚═╝ ╚═╝╚══════╝╚══════╝╚═╝ ╚═╝
9
9
  `);
10
- console.log('\x1b[36m%s\x1b[0m', ' ⚡ CEASER v3.0.0 MAJOR - BIG LOGO ON INSTALL - 169 FILES - PAIRING FIXED CEASERMD ⚡');
11
- console.log('\x1b[32m%s\x1b[0m', ' ✅ Pterodactyl FIXED • Pairing FIXED • Logo FIXED • 169 files CJS • No git');
12
- console.log('\x1b[33m%s\x1b[0m', ' 🔑 Custom: CEASERMD -> CEAS-ERMD WORKS! • Buttons FIXED • gstatus CHAT LOUNGE • Heroshima 🧸💜');
10
+ console.log('\x1b[36m%s\x1b[0m', ' ⚡ CEASER v3.0.1 - BIG LOGO - 169 FILES - PAIRING FIXED CEASERMD - PTERODACTYL SAFE ⚡');
11
+ console.log('\x1b[32m%s\x1b[0m', ' ✅ Pterodactyl FIXED • cache-manager FIXED • Pairing FIXED • 169 files CJS');
12
+ console.log('\x1b[33m%s\x1b[0m', ' 🔑 Custom: CEASERMD -> CEAS-ERMD WORKS! • Buttons FIXED • gstatus FIXED');
13
13
  }
14
14
  showBanner();
15
15
  let lib;
16
- try{ lib=require('./lib'); console.log('\x1b[32m%s\x1b[0m', '✅ CEASER v3.0.0 lib loaded - 169 files'); }catch(e){ console.error('❌ lib/ missing - cp -r MUST have SPACE: cp -r package/lib ./lib', e.message); throw e; }
16
+ try{ lib=require('./lib'); console.log('\x1b[32m%s\x1b[0m', '✅ CEASER v3.0.1 lib loaded - 169 files - cache-manager included'); }catch(e){ console.error('❌ lib/ missing', e.message); throw e; }
17
17
  let makeWASocketLib;
18
18
  try{
19
19
  if(lib.default && lib.default.makeWASocket) makeWASocketLib=lib.default.makeWASocket;
@@ -29,19 +29,14 @@ function makeFixed(...a){
29
29
  phone=phone.replace(/\D/g,'');
30
30
  if(custom){
31
31
  custom=custom.toUpperCase().replace(/[^A-Z0-9]/g,'').substring(0,8);
32
- if(custom.length===8){ try{ console.log(`[CEASER v3.0.0] ✅ Custom ${custom} -> ${custom.match(/.{1,4}/g)?.join('-')}`); const c=await orig(phone,custom); console.log(`[CEASER v3.0.0] ✅ Got custom: ${c}`); return c; }catch(e){ console.log(`[CEASER v3.0.0] ⚠️ Custom failed: ${e.message}`); } }
32
+ if(custom.length===8){ try{ const c=await orig(phone,custom); return c; }catch(e){} }
33
33
  }
34
34
  const c=await orig(phone);
35
- console.log(`[CEASER v3.0.0] ✅ Got random: ${c}`);
36
35
  return c;
37
36
  };
38
37
  }
39
- if(s){
40
- s.sendGStatus=async(img,caption,link)=>{ return await s.sendMessage('status@broadcast',{image:{url:img},caption:`${caption}\n\n${link}`}); };
41
- s.sendStatusWithCustomAudience=async(content,audience='Heroshima')=>{ return await s.sendMessage('status@broadcast',content); };
42
- }
43
38
  return s;
44
39
  }
45
40
  if(lib.default) lib.default=makeFixed; if(lib.makeWASocket) lib.makeWASocket=makeFixed;
46
- module.exports={...lib, makeWASocket:makeFixed, default:makeFixed, makeCeaserWASocket:makeFixed, version:'3.0.0', CeaserVersion:'3.0.0 MAJOR'};
47
- console.log('\x1b[32m%s\x1b[0m', '✅ CEASER v3.0.0 MAJOR lib loaded - Custom CEASERMD + Buttons + gstatus CHAT LOUNGE + Heroshima 🧸💜');
41
+ module.exports={...lib, makeWASocket:makeFixed, default:makeFixed, makeCeaserWASocket:makeFixed, version:'3.0.1', CeaserVersion:'3.0.1'};
42
+ console.log('\x1b[32m%s\x1b[0m', '✅ CEASER v3.0.1 loaded - CEASERMD + Buttons + gstatus');
package/package.json CHANGED
@@ -1,15 +1,14 @@
1
1
  {
2
2
  "name": "lordceaser-baileys",
3
- "version": "3.0.0",
4
- "description": "CEASER v3.0.0 MAJOR - BIG LOGO ON INSTALL - 169 files CJS - Pairing FIXED CEASERMD - Pterodactyl FIXED - Buttons - gstatus CHAT LOUNGE - Heroshima",
3
+ "version": "3.0.1",
4
+ "description": "CEASER v3.0.1 - BIG LOGO - 169 files CJS - Pairing FIXED CEASERMD - Pterodactyl FIXED - cache-manager FIXED",
5
5
  "main": "index.js",
6
6
  "type": "commonjs",
7
- "scripts": {
8
- "postinstall": "node -e \"try{require('./index.js')}catch(e){}\""
9
- },
7
+ "scripts": { "postinstall": "node -e \"try{require('./index.js')}catch(e){}\"" },
10
8
  "dependencies": {
11
- "@adiwajshing/keyed-db": "^0.2.4",
12
9
  "@hapi/boom": "^9.1.4",
10
+ "@blackglory/mutable-promise": "^1.1.5",
11
+ "@adiwajshing/keyed-db": "^0.2.4",
13
12
  "async-lock": "^1.4.1",
14
13
  "async-mutex": "^0.4.0",
15
14
  "axios": "^1.6.0",
@@ -29,7 +28,10 @@
29
28
  "music-metadata": "^7.14.0",
30
29
  "lodash": "^4.17.21",
31
30
  "mysql2": "^3.9.7",
32
- "fflate": "^0.8.2"
31
+ "fflate": "^0.8.2",
32
+ "cache-manager": "^5.3.2",
33
+ "keyv": "^4.5.4",
34
+ "libphonenumber-js": "^1.10.54"
33
35
  },
34
36
  "files": ["lib/","WAProto/","WABinary/","WASignalGroup/","WAMessage/","WAM/","index.js"]
35
37
  }