lordceaser-baileys 2.0.49 → 2.0.50

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 CHANGED
@@ -1,7 +1,6 @@
1
- console.log('\x1b[36m ⚡ CEASER v2.0.49 FINAL - ALL DEPS FIXED ⚡\x1b[0m');
2
- let lib=require('./lib'); console.log('\x1b[32m✅ lib loaded\x1b[0m');
1
+ console.log('\x1b[32m ⚡ CEASER v2.0.50 FINAL - ALL DEPS FIXED ⚡\x1b[0m');
2
+ let lib=require('./lib');
3
3
  const orig=lib.default||lib.makeWASocket||lib;
4
- function patch(s){ if(!s||s._p) return s; const o=s.sendMessage.bind(s); s.sendMessage=async(j,c,op)=>o(j,c,op); s._p=true; return s; }
5
- function makeFixed(...a){ return patch(orig(...a)) }
6
- if(lib.default) lib.default=makeFixed; if(lib.makeWASocket) lib.makeWASocket=makeFixed;
7
- module.exports={...lib, makeWASocket: makeFixed, default: makeFixed, version:'2.0.49'};
4
+ function makeFixed(...a){ const s=orig(...a); const o=s.sendMessage.bind(s); s.sendMessage=(j,c,op)=>o(j,c,op); return s; }
5
+ module.exports={...lib, makeWASocket: makeFixed, default: makeFixed, version:'2.0.50'};
6
+ console.log('✅ lordceaser-baileys v2.0.50 loaded');
package/package.json CHANGED
@@ -1,33 +1,33 @@
1
1
  {
2
2
  "name": "lordceaser-baileys",
3
- "version": "2.0.49",
4
- "description": "CEASER v2.0.49 FINAL - Pterodactyl fixed - 6.7.8 CJS - ALL deps",
3
+ "version": "2.0.50",
5
4
  "main": "index.js",
6
5
  "type": "commonjs",
7
6
  "files": ["lib/","WAProto/","WASignalGroup/","WABinary/","WAM/","index.js"],
8
7
  "dependencies": {
9
8
  "@adiwajshing/keyed-db": "^0.2.4",
10
- "@cacheable/node-cache": "^1.1.4",
11
9
  "@hapi/boom": "^9.1.4",
10
+ "async-lock": "^1.4.1",
12
11
  "async-mutex": "^0.4.0",
13
12
  "axios": "^1.6.0",
14
- "cache-manager": "^3.6.3",
15
- "fflate": "^0.8.2",
13
+ "ws": "^8.14.2",
14
+ "pino": "^8.17.2",
15
+ "protobufjs": "^7.2.5",
16
+ "qrcode-terminal": "^0.12.0",
17
+ "libsignal": "^2.0.1",
16
18
  "futoin-hkdf": "^1.5.1",
17
19
  "jimp": "^0.22.10",
18
- "libsignal": "^2.0.1",
19
- "long": "^5.2.3",
20
20
  "lru-cache": "^7.18.3",
21
- "music-metadata": "^7.14.0",
21
+ "file-type": "^16.5.4",
22
+ "node-cache": "^5.1.2",
23
+ "uuid": "^11.0.0",
24
+ "long": "^5.2.3",
22
25
  "p-queue": "^6.6.2",
23
- "pino": "^8.17.2",
24
- "protobufjs": "^7.2.5",
25
- "ws": "^8.14.2",
26
- "qrcode-terminal": "^0.12.0",
26
+ "music-metadata": "^7.14.0",
27
27
  "lodash": "^4.17.21",
28
28
  "mysql2": "^3.9.7",
29
- "node-cache": "^5.1.2",
30
- "file-type": "^16.5.4",
31
- "uuid": "^9.0.0"
29
+ "fflate": "^0.8.2",
30
+ "cache-manager": "^3.6.3",
31
+ "@cacheable/node-cache": "^1.1.4"
32
32
  }
33
33
  }
@@ -1,4 +0,0 @@
1
- yarn pbjs -t static-module -w commonjs -o ./WAProto/index.js ./WAProto/WAProto.proto;
2
- yarn pbts -o ./WAProto/index.d.ts ./WAProto/index.js;
3
-
4
- #protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_opt=env=node,useOptionals=true,forceLong=long --ts_proto_out=. ./src/Binary/WAMessage.proto;