@hbmodsofc/baileys 2.4.0 → 2.5.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 +53 -8
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -1,16 +1,48 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
const chalk = require("chalk");
|
|
4
|
+
console.log();
|
|
5
|
+
console.log(chalk.hex('#00ffea')('┌──────────────────────────────────────────┐'));
|
|
6
|
+
console.log(
|
|
7
|
+
chalk.hex('#00ffea')('│') +
|
|
8
|
+
chalk.hex('#39ff14').bold(' H B W A B O T S Y S T E M ') +
|
|
9
|
+
chalk.hex('#00ffea')('│')
|
|
10
|
+
);
|
|
11
|
+
console.log(chalk.hex('#00ffea')('└──────────────────────────────────────────┘'));
|
|
12
|
+
console.log();
|
|
4
13
|
|
|
5
|
-
console.log(
|
|
6
|
-
|
|
7
|
-
|
|
14
|
+
console.log(
|
|
15
|
+
chalk.hex('#39ff14')('> ') +
|
|
16
|
+
chalk.hex('#00ffea')('Library Author : ') +
|
|
17
|
+
chalk.hex('#39ff14').bold('HBMods-OFC')
|
|
18
|
+
);
|
|
19
|
+
console.log(
|
|
20
|
+
chalk.hex('#39ff14')('> ') +
|
|
21
|
+
chalk.hex('#00ffea')('Instagram : ') +
|
|
22
|
+
chalk.hex('#ff00ff').bold('Herbert_Suantak2')
|
|
23
|
+
);
|
|
24
|
+
console.log(
|
|
25
|
+
chalk.hex('#39ff14')('> ') +
|
|
26
|
+
chalk.hex('#00ffea')('YouTube : ') +
|
|
27
|
+
chalk.hex('#ff3131').bold('HBMods-OFC')
|
|
28
|
+
);
|
|
29
|
+
|
|
30
|
+
console.log();
|
|
31
|
+
console.log(
|
|
32
|
+
chalk.hex('#39ff14').bold('>> ') +
|
|
33
|
+
chalk.hex('#00ffea').bold('Thank you for using this library. You are part of the system.')
|
|
34
|
+
);
|
|
35
|
+
console.log(
|
|
36
|
+
chalk.hex('#39ff14').bold('>> ') +
|
|
37
|
+
chalk.hex('#00ffea').bold('Initializing modules... Complete.\n\n')
|
|
38
|
+
);
|
|
39
|
+
console.log();
|
|
8
40
|
|
|
9
41
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
10
42
|
if (k2 === undefined) k2 = k;
|
|
11
43
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
12
44
|
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
13
|
-
|
|
45
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
14
46
|
}
|
|
15
47
|
Object.defineProperty(o, k2, desc);
|
|
16
48
|
}) : (function(o, m, k, k2) {
|
|
@@ -18,15 +50,28 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
18
50
|
o[k2] = m[k];
|
|
19
51
|
}));
|
|
20
52
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
21
|
-
for (var p in m)
|
|
53
|
+
for (var p in m)
|
|
54
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p))
|
|
55
|
+
__createBinding(exports, m, p);
|
|
22
56
|
};
|
|
23
|
-
var __importDefault = (this && this.__importDefault) || function
|
|
57
|
+
var __importDefault = (this && this.__importDefault) || function(mod) {
|
|
24
58
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
25
59
|
};
|
|
60
|
+
|
|
26
61
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
-
exports.makeWASocket = void 0;
|
|
62
|
+
exports.proto = exports.makeWASocket = void 0;
|
|
63
|
+
|
|
64
|
+
const WAProto_1 = require("../WAProto");
|
|
65
|
+
Object.defineProperty(exports, "proto", {
|
|
66
|
+
enumerable: true,
|
|
67
|
+
get: function() {
|
|
68
|
+
return WAProto_1.proto;
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
|
|
28
72
|
const Socket_1 = __importDefault(require("./Socket"));
|
|
29
73
|
exports.makeWASocket = Socket_1.default;
|
|
74
|
+
|
|
30
75
|
__exportStar(require("../WAProto"), exports);
|
|
31
76
|
__exportStar(require("./Utils"), exports);
|
|
32
77
|
__exportStar(require("./Types"), exports);
|
|
@@ -36,4 +81,4 @@ __exportStar(require("./WABinary"), exports);
|
|
|
36
81
|
__exportStar(require("./WAM"), exports);
|
|
37
82
|
__exportStar(require("./WAUSync"), exports);
|
|
38
83
|
|
|
39
|
-
exports.default = Socket_1.default;
|
|
84
|
+
exports.default = Socket_1.default;
|