@skyzopedia/baileys-mod 4.0.3 → 5.0.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.
- package/lib/index.js +3 -18
- package/package.json +1 -2
package/lib/index.js
CHANGED
|
@@ -1,24 +1,9 @@
|
|
|
1
1
|
//=======================================================//
|
|
2
2
|
|
|
3
|
-
let chalk;
|
|
4
|
-
|
|
5
|
-
try {
|
|
6
|
-
chalk = (await import('chalk')).default;
|
|
7
|
-
} catch {
|
|
8
|
-
try {
|
|
9
|
-
chalk = require('chalk');
|
|
10
|
-
} catch {
|
|
11
|
-
chalk = {
|
|
12
|
-
white: (x) => x,
|
|
13
|
-
blue: (x) => x
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
3
|
console.log();
|
|
19
|
-
console.log(
|
|
20
|
-
console.log(
|
|
21
|
-
console.log(
|
|
4
|
+
console.log("## Baileys Mod by Skyzopedia");
|
|
5
|
+
console.log("• https://t.me/Xskycode");
|
|
6
|
+
console.log("• https://whatsapp.com/channel/0029Vb6gF6kGU3BM8hcDW322");
|
|
22
7
|
console.log();
|
|
23
8
|
|
|
24
9
|
import makeWASocket from "./Socket/index.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyzopedia/baileys-mod",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "Websocket Whatsapp API for Node.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"whatsapp",
|
|
@@ -43,7 +43,6 @@
|
|
|
43
43
|
"moment-timezone": "*",
|
|
44
44
|
"music-metadata": "*",
|
|
45
45
|
"cache-manager": "*",
|
|
46
|
-
"chalk": "^4.1.2",
|
|
47
46
|
"async-mutex": "*",
|
|
48
47
|
"@hapi/boom": "*",
|
|
49
48
|
"pbjs": "^0.0.14",
|