@hbmodsofc/baileys 1.7.6 → 1.7.8

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.
@@ -1,10 +1,10 @@
1
1
  const major = parseInt(process.versions.node.split('.')[0], 10);
2
2
 
3
- if (major < 22) {
3
+ if (major < 20) {
4
4
  console.error(
5
- `\n❌ This package requires Node.js 22+ to run reliably.\n` +
5
+ `\n❌ This package requires Node.js 20+ to run reliably.\n` +
6
6
  ` You are using Node.js ${process.versions.node}.\n` +
7
- ` Please upgrade to Node.js 22+ to proceed.\n`
7
+ ` Please upgrade to Node.js 20+ to proceed.\n`
8
8
  );
9
9
  process.exit(1);
10
- }
10
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hbmodsofc/baileys",
3
- "version": "1.7.6",
3
+ "version": "1.7.8",
4
4
  "description": "HBMods-OFC modified Baileys WhatsApp API for custom bots and personal projects",
5
5
  "keywords": [
6
6
  "HBWABot",
@@ -46,6 +46,8 @@
46
46
  "libsignal": "npm:@shennmine/libsignal-node",
47
47
  "lru-cache": "^11.1.0",
48
48
  "music-metadata": "^11.7.0",
49
+ "node-cache": "^5.1.2",
50
+ "node-fetch": "^2.6.1",
49
51
  "pino": "^9.6",
50
52
  "protobufjs": "^7.2.4",
51
53
  "ws": "^8.13.0"