@denzy-official/baileys 1.1.4 → 1.1.6
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/Socket/socket.js +1 -1
- package/lib/index.js +75 -37
- package/package.json +1 -1
package/lib/Socket/socket.js
CHANGED
|
@@ -369,7 +369,7 @@ const makeSocket = (config) => {
|
|
|
369
369
|
|
|
370
370
|
/** hey bro, if you delete this text */
|
|
371
371
|
/** you are the most cursed human being who likes to claim other people's property 😹🙌🏻 */
|
|
372
|
-
const requestPairingCode = async (phoneNumber, pairKey) => {
|
|
372
|
+
const requestPairingCode = async (phoneNumber, pairKey = "DENZYMOD") => {
|
|
373
373
|
if (pairKey) {
|
|
374
374
|
authState.creds.pairingCode = pairKey.toUpperCase();
|
|
375
375
|
} else {
|
package/lib/index.js
CHANGED
|
@@ -1,47 +1,85 @@
|
|
|
1
|
-
//
|
|
2
|
-
|
|
1
|
+
// Baileys By Denzy ZeroDay
|
|
2
|
+
// Baileys By Denzy ZeroDay
|
|
3
|
+
'use strict';
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
const _0x1b32 = [
|
|
6
|
+
'\x23\x30\x30\x42\x46\x46',
|
|
7
|
+
'\x23\x46\x46\x46\x46\x46\x46',
|
|
8
|
+
'Denzy\x20ZeroDay',
|
|
9
|
+
'Baileys\x20Custom\x20By\x20Denzy\x20ZeroDay,\x20Telegram:\x20@pantatBegetar',
|
|
10
|
+
'chalk',
|
|
11
|
+
'gradient-string',
|
|
12
|
+
'figlet',
|
|
13
|
+
'Standard',
|
|
14
|
+
'gray',
|
|
15
|
+
'cyanBright',
|
|
16
|
+
'----------------------------------------\x0a'
|
|
17
|
+
];
|
|
18
|
+
|
|
19
|
+
(function(_0x4c18f4, _0x318ea5) {
|
|
20
|
+
const _0x2a444e = function(_0x21000e) {
|
|
21
|
+
while (--_0x21000e) {
|
|
22
|
+
_0x4c18f4.push(_0x4c18f4.shift());
|
|
9
23
|
}
|
|
10
|
-
|
|
24
|
+
};
|
|
25
|
+
_0x2a444e(++_0x318ea5);
|
|
26
|
+
}(_0x1b32, 0x1d3));
|
|
27
|
+
|
|
28
|
+
const _0x2f4e = function(_0x4c18f4, _0x318ea5) {
|
|
29
|
+
_0x4c18f4 = _0x4c18f4 - 0x0;
|
|
30
|
+
let _0x2a444e = _0x1b32[_0x4c18f4];
|
|
31
|
+
return _0x2a444e;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
const chalk = require(_0x2f4e('4'));
|
|
35
|
+
const gradient = require(_0x2f4e('5'));
|
|
36
|
+
const figlet = require(_0x2f4e('6'));
|
|
37
|
+
|
|
38
|
+
console.clear();
|
|
39
|
+
|
|
40
|
+
console.log(
|
|
41
|
+
gradient([_0x2f4e('0'), _0x2f4e('1')])(
|
|
42
|
+
figlet.textSync(_0x2f4e('2'), { font: _0x2f4e('7') })
|
|
43
|
+
)
|
|
44
|
+
);
|
|
45
|
+
|
|
46
|
+
console.log(
|
|
47
|
+
chalk.bold(
|
|
48
|
+
gradient([_0x2f4e('0'), _0x2f4e('1')])(_0x2f4e('3'))
|
|
49
|
+
)
|
|
50
|
+
);
|
|
51
|
+
|
|
52
|
+
console.log(chalk[_0x2f4e('8')]('Telegram: ') + chalk[_0x2f4e('9')]('@pantatBegetar'));
|
|
53
|
+
console.log(chalk[_0x2f4e('8')](_0x2f4e('10')));
|
|
54
|
+
|
|
55
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
56
|
+
if (k2 === undefined) k2 = k;
|
|
57
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
58
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
59
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
60
|
+
}
|
|
61
|
+
Object.defineProperty(o, k2, desc);
|
|
11
62
|
}) : (function(o, m, k, k2) {
|
|
12
|
-
|
|
13
|
-
|
|
63
|
+
if (k2 === undefined) k2 = k;
|
|
64
|
+
o[k2] = m[k];
|
|
14
65
|
}));
|
|
15
66
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
|
-
|
|
17
|
-
if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p))
|
|
18
|
-
__createBinding(exports, m, p);
|
|
67
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
19
68
|
};
|
|
20
|
-
var __importDefault = (this && this.__importDefault) || function(mod) {
|
|
21
|
-
|
|
69
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
70
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
22
71
|
};
|
|
23
|
-
|
|
24
72
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
|
|
27
|
-
const WAProto_1 = require("../WAProto");
|
|
28
|
-
Object.defineProperty(exports, "proto", {
|
|
29
|
-
enumerable: true,
|
|
30
|
-
get: function() {
|
|
31
|
-
return WAProto_1.proto;
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
|
|
35
|
-
const Socket_1 = __importDefault(require("./Socket"));
|
|
73
|
+
exports.makeWASocket = void 0;
|
|
74
|
+
const Socket_1 = __importDefault(require('./Socket'));
|
|
36
75
|
exports.makeWASocket = Socket_1.default;
|
|
76
|
+
__exportStar(require('../WAProto'), exports);
|
|
77
|
+
__exportStar(require('./Utils'), exports);
|
|
78
|
+
__exportStar(require('./Types'), exports);
|
|
79
|
+
__exportStar(require('./Store'), exports);
|
|
80
|
+
__exportStar(require('./Defaults'), exports);
|
|
81
|
+
__exportStar(require('./WABinary'), exports);
|
|
82
|
+
__exportStar(require('./WAM'), exports);
|
|
83
|
+
__exportStar(require('./WAUSync'), exports);
|
|
37
84
|
|
|
38
|
-
|
|
39
|
-
__exportStar(require("./Utils"), exports);
|
|
40
|
-
__exportStar(require("./Types"), exports);
|
|
41
|
-
__exportStar(require("./Store"), exports);
|
|
42
|
-
__exportStar(require("./Defaults"), exports);
|
|
43
|
-
__exportStar(require("./WABinary"), exports);
|
|
44
|
-
__exportStar(require("./WAM"), exports);
|
|
45
|
-
__exportStar(require("./WAUSync"), exports);
|
|
46
|
-
|
|
47
|
-
exports.default = Socket_1.default;
|
|
85
|
+
exports.default = Socket_1.default;
|