baileyz 1.0.9 → 1.1.0

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/lib/index.js +37 -9
  2. package/package.json +8 -8
package/lib/index.js CHANGED
@@ -2,15 +2,43 @@
2
2
 
3
3
  const chalk = require("chalk");
4
4
 
5
- console.log(chalk.magentaBright.bold("\n" + "╔══════════════════════════════════════════════╗" + "\n"));
6
- console.log(chalk.magentaBright.bold("║" + chalk.whiteBright(" ✨ DanuZz Baileyz ✨ ") + "║" + "\n"));
7
- console.log(chalk.magentaBright.bold("╚══════════════════════════════════════════════╝" + "\n"));
8
- console.log(chalk.whiteBright(" Hi, thank you for using my modified Baileys ^-^ "));
9
- console.log(chalk.cyan("Developer: ") + chalk.greenBright("@DanuZz"));
10
- console.log(chalk.gray("═" + "═".repeat(50) + "═\n"));
11
- const latestUpdate = new Date("2026-01-23");
12
- console.log(chalk.yellowBright("🆕 Latest update: ") + chalk.whiteBright(latestUpdate.toLocaleDateString()));
13
- console.log(chalk.gray("═" + "═".repeat(50) + "═\n"));
5
+ const rainbow = (text) => {
6
+ const colors = [
7
+ chalk.redBright,
8
+ chalk.yellowBright,
9
+ chalk.greenBright,
10
+ chalk.cyanBright,
11
+ chalk.blueBright,
12
+ chalk.magentaBright
13
+ ];
14
+ return text
15
+ .split("")
16
+ .map((char, i) => colors[i % colors.length](char))
17
+ .join("");
18
+ };
19
+
20
+ console.log(chalk.magentaBright.bold("\n╔══════════════════════════════════════════════╗"));
21
+ console.log(
22
+ chalk.magentaBright.bold("║") +
23
+ rainbow(" ✨ DanuZz Baileyz ✨ ") +
24
+ chalk.magentaBright.bold("║")
25
+ );
26
+ console.log(chalk.magentaBright.bold("╚══════════════════════════════════════════════╝\n"));
27
+
28
+ console.log(rainbow(" Hi, thank you for using my modified Baileys ^-^ \n"));
29
+
30
+ console.log(chalk.cyanBright("👨‍💻 Developer: ") + chalk.greenBright.bold("@DanuZz"));
31
+ console.log(chalk.gray("═".repeat(54)));
32
+
33
+ const latestUpdate = new Date("2026-03-25");
34
+ console.log(
35
+ chalk.yellowBright("🆕 Latest update: ") +
36
+ chalk.whiteBright(latestUpdate.toLocaleDateString())
37
+ );
38
+
39
+ console.log(chalk.gray("═".repeat(54) + "\n"));
40
+
41
+ console.log(rainbow(" 🚀 Enjoy the features & stay connected! 🚀 \n"));
14
42
 
15
43
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
44
  if (k2 === undefined) k2 = k;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "baileyz",
3
- "version": "1.0.9",
3
+ "version": "1.1.0",
4
4
  "description": "WhatsApp Web API Library Modification By DanuZz",
5
5
  "keywords": [
6
6
  "whatsapp",
@@ -11,8 +11,8 @@
11
11
  "whatsapp-group",
12
12
  "whatsapp-bot",
13
13
  "automation",
14
- "js-whatsapp",
15
- "whatsapp-api",
14
+ "js-whatsapp",
15
+ "whatsapp-api",
16
16
  "baileys-mod",
17
17
  "botwa",
18
18
  "danuzz"
@@ -47,8 +47,8 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@adiwajshing/keyed-db": "^0.2.4",
50
- "@hapi/boom": "^9.1.3",
51
50
  "@cacheable/node-cache": "^1.4.0",
51
+ "@hapi/boom": "^9.1.3",
52
52
  "async-mutex": "^0.5.0",
53
53
  "audio-decode": "^2.1.3",
54
54
  "axios": "^1.3.3",
@@ -56,8 +56,8 @@
56
56
  "chalk": "^4.1.2",
57
57
  "futoin-hkdf": "^1.5.1",
58
58
  "libphonenumber-js": "^1.10.20",
59
+ "libsignal": "npm:@dnuzi/libsignal-node",
59
60
  "lodash": "^4.17.21",
60
- "libsignal": "npm:@shennmine/libsignal-node",
61
61
  "music-metadata": "^7.12.3",
62
62
  "node-cache": "^5.1.2",
63
63
  "node-fetch": "^2.6.1",
@@ -74,9 +74,10 @@
74
74
  "@types/sharp": "^0.29.4",
75
75
  "@types/ws": "^8.0.0",
76
76
  "conventional-changelog-cli": "^2.2.2",
77
- "eslint": "^8.0.0",
77
+ "eslint": "^10.1.0",
78
78
  "jest": "^27.0.6",
79
79
  "jimp": "^0.16.1",
80
+ "json": "^11.0.0",
80
81
  "link-preview-js": "^3.0.0",
81
82
  "open": "^8.4.2",
82
83
  "qrcode-terminal": "^0.12.0",
@@ -85,8 +86,7 @@
85
86
  "ts-jest": "^27.0.3",
86
87
  "ts-node": "^10.8.1",
87
88
  "typedoc": "^0.24.7",
88
- "typescript": "^4.6.4",
89
- "json": "^11.0.0"
89
+ "typescript": "^4.6.4"
90
90
  },
91
91
  "peerDependencies": {
92
92
  "jimp": "^0.16.1",