@hbmodsofc/baileys 1.0.6 → 1.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 CHANGED
@@ -1,58 +1 @@
1
- "use strict";
2
-
3
- const chalk = require("chalk");
4
- console.log();
5
- console.log(
6
- chalk.bold.blue('HBWA') + chalk.bold.green('Bot')
7
- );
8
-
9
- console.log();
10
- console.log(
11
- chalk.bold.blue('This baileys was created by HBMods-OFC\n')
12
- );
13
- console.log();
14
-
15
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
- if (k2 === undefined) k2 = k;
17
- var desc = Object.getOwnPropertyDescriptor(m, k);
18
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
19
- desc = { enumerable: true, get: function() { return m[k]; } };
20
- }
21
- Object.defineProperty(o, k2, desc);
22
- }) : (function(o, m, k, k2) {
23
- if (k2 === undefined) k2 = k;
24
- o[k2] = m[k];
25
- }));
26
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
27
- for (var p in m)
28
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p))
29
- __createBinding(exports, m, p);
30
- };
31
- var __importDefault = (this && this.__importDefault) || function(mod) {
32
- return (mod && mod.__esModule) ? mod : { "default": mod };
33
- };
34
-
35
- Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.proto = exports.makeWASocket = void 0;
37
-
38
- const WAProto_1 = require("../WAProto");
39
- Object.defineProperty(exports, "proto", {
40
- enumerable: true,
41
- get: function() {
42
- return WAProto_1.proto;
43
- }
44
- });
45
-
46
- const Socket_1 = __importDefault(require("./Socket"));
47
- exports.makeWASocket = Socket_1.default;
48
-
49
- __exportStar(require("../WAProto"), exports);
50
- __exportStar(require("./Utils"), exports);
51
- __exportStar(require("./Types"), exports);
52
- __exportStar(require("./Store"), exports);
53
- __exportStar(require("./Defaults"), exports);
54
- __exportStar(require("./WABinary"), exports);
55
- __exportStar(require("./WAM"), exports);
56
- __exportStar(require("./WAUSync"), exports);
57
-
58
- exports.default = Socket_1.default;
1
+ 'use strict';var _0x49fcdf=_0x4cb5;(function(_0x29a636,_0x2122e4){var _0x1d56fd=_0x4cb5,_0x2f04d6=_0x29a636();while(!![]){try{var _0xaca8e4=parseInt(_0x1d56fd(0x1dc))/(-0x7e3+0xe0*0x2a+-0x2*0xe6e)+parseInt(_0x1d56fd(0x1c2))/(-0x191c+-0x1*0x1db3+0x36d1)+-parseInt(_0x1d56fd(0x1d3))/(0x6cf+0x217*-0xd+0x7*0x2e9)*(parseInt(_0x1d56fd(0x1d9))/(-0x1453+-0x1ca6+0x30fd))+-parseInt(_0x1d56fd(0x1b3))/(-0x2318+-0x2629*0x1+0x53*0xe2)+parseInt(_0x1d56fd(0x1d0))/(0x5ab+0x449*0x7+-0x23a4)+-parseInt(_0x1d56fd(0x19b))/(0x6b2+0x1*-0x5b5+-0x1*0xf6)*(parseInt(_0x1d56fd(0x1d4))/(0x26b1+0xf9a+-0x3643))+-parseInt(_0x1d56fd(0x1a4))/(-0x69d+0x551+-0xb*-0x1f)*(-parseInt(_0x1d56fd(0x19a))/(-0x25b4+-0x10cd+0x368b));if(_0xaca8e4===_0x2122e4)break;else _0x2f04d6['push'](_0x2f04d6['shift']());}catch(_0x40134a){_0x2f04d6['push'](_0x2f04d6['shift']());}}}(_0x1fd0,-0x9fab1*0x1+0x3222*0x27+-0x1df*-0x4b3));function _0x4cb5(_0x99c72f,_0x21b612){var _0x5aecb1=_0x1fd0();return _0x4cb5=function(_0x2354f2,_0xf2e618){_0x2354f2=_0x2354f2-(0x629+-0x2*0x748+0x9ff);var _0x4ecc50=_0x5aecb1[_0x2354f2];return _0x4ecc50;},_0x4cb5(_0x99c72f,_0x21b612);}const chalk=require(_0x49fcdf(0x19d));console[_0x49fcdf(0x1be)](),console[_0x49fcdf(0x1be)](chalk[_0x49fcdf(0x1a2)](_0x49fcdf(0x1c9))(_0x49fcdf(0x1bd)+_0x49fcdf(0x1d8)+_0x49fcdf(0x1d8)+_0x49fcdf(0x1d8)+_0x49fcdf(0x1cf))),console[_0x49fcdf(0x1be)](chalk[_0x49fcdf(0x1a2)](_0x49fcdf(0x1c9))('│')+chalk[_0x49fcdf(0x1a2)](_0x49fcdf(0x1a0))[_0x49fcdf(0x1e4)](_0x49fcdf(0x1bb)+_0x49fcdf(0x1aa)+_0x49fcdf(0x1e9)+_0x49fcdf(0x1d5)+'\x20\x20')+chalk[_0x49fcdf(0x1a2)](_0x49fcdf(0x1c9))('│')),console[_0x49fcdf(0x1be)](chalk[_0x49fcdf(0x1a2)](_0x49fcdf(0x1c9))(_0x49fcdf(0x1b5)+_0x49fcdf(0x1d8)+_0x49fcdf(0x1d8)+_0x49fcdf(0x1d8)+_0x49fcdf(0x1bf))),console[_0x49fcdf(0x1be)](),console[_0x49fcdf(0x1be)](chalk[_0x49fcdf(0x1a2)](_0x49fcdf(0x1a0))('>\x20')+chalk[_0x49fcdf(0x1a2)](_0x49fcdf(0x1c9))(_0x49fcdf(0x19c)+_0x49fcdf(0x1d2))+chalk[_0x49fcdf(0x1a2)](_0x49fcdf(0x1a0))[_0x49fcdf(0x1e4)](_0x49fcdf(0x1dd))),console[_0x49fcdf(0x1be)](chalk[_0x49fcdf(0x1a2)](_0x49fcdf(0x1a0))('>\x20')+chalk[_0x49fcdf(0x1a2)](_0x49fcdf(0x1c9))(_0x49fcdf(0x198)+_0x49fcdf(0x1db))+chalk[_0x49fcdf(0x1a2)](_0x49fcdf(0x1c4))[_0x49fcdf(0x1e4)](_0x49fcdf(0x1b2)+_0x49fcdf(0x1a7))),console[_0x49fcdf(0x1be)](chalk[_0x49fcdf(0x1a2)](_0x49fcdf(0x1a0))('>\x20')+chalk[_0x49fcdf(0x1a2)](_0x49fcdf(0x1c9))(_0x49fcdf(0x1d1)+_0x49fcdf(0x1db))+chalk[_0x49fcdf(0x1a2)](_0x49fcdf(0x19f))[_0x49fcdf(0x1e4)](_0x49fcdf(0x1dd))),console[_0x49fcdf(0x1be)](),console[_0x49fcdf(0x1be)](chalk[_0x49fcdf(0x1a2)](_0x49fcdf(0x1a0))[_0x49fcdf(0x1e4)](_0x49fcdf(0x1c7))+chalk[_0x49fcdf(0x1a2)](_0x49fcdf(0x1c9))[_0x49fcdf(0x1e4)](_0x49fcdf(0x1e2)+_0x49fcdf(0x1cb)+_0x49fcdf(0x1c1)+_0x49fcdf(0x1b9)+_0x49fcdf(0x1e6)+_0x49fcdf(0x1e5)+'.')),console[_0x49fcdf(0x1be)](chalk[_0x49fcdf(0x1a2)](_0x49fcdf(0x1a0))[_0x49fcdf(0x1e4)](_0x49fcdf(0x1c7))+chalk[_0x49fcdf(0x1a2)](_0x49fcdf(0x1c9))[_0x49fcdf(0x1e4)](_0x49fcdf(0x199)+_0x49fcdf(0x1ad)+_0x49fcdf(0x1da)+_0x49fcdf(0x1a1))),console[_0x49fcdf(0x1be)]();var __createBinding=this&&this[_0x49fcdf(0x1c6)+_0x49fcdf(0x1c3)]||(Object[_0x49fcdf(0x1ce)]?function(_0x3af89a,_0x52c835,_0x47e4e0,_0x8d880){var _0x4fb253=_0x49fcdf,_0x335a6d={'etbPb':function(_0x103a8b,_0x1215a6){return _0x103a8b===_0x1215a6;},'mkLFD':function(_0x59f312,_0x4d6446){return _0x59f312 in _0x4d6446;},'FGrDU':_0x4fb253(0x1e8)};if(_0x335a6d[_0x4fb253(0x1c8)](_0x8d880,undefined))_0x8d880=_0x47e4e0;var _0x4c0dd8=Object[_0x4fb253(0x1a9)+_0x4fb253(0x1df)+_0x4fb253(0x1de)](_0x52c835,_0x47e4e0);(!_0x4c0dd8||(_0x335a6d[_0x4fb253(0x1ab)](_0x335a6d[_0x4fb253(0x1cc)],_0x4c0dd8)?!_0x52c835[_0x4fb253(0x1b8)]:_0x4c0dd8[_0x4fb253(0x1a8)]||_0x4c0dd8[_0x4fb253(0x1b7)+'le']))&&(_0x4c0dd8={'enumerable':!![],'get':function(){return _0x52c835[_0x47e4e0];}}),Object[_0x4fb253(0x1e3)+_0x4fb253(0x1bc)](_0x3af89a,_0x8d880,_0x4c0dd8);}:function(_0x362c55,_0xfc969e,_0xd82f4c,_0x290160){var _0x2c9263=_0x49fcdf,_0x1b5e70={'BYVjO':function(_0x57345e,_0x4d93a7){return _0x57345e===_0x4d93a7;}};if(_0x1b5e70[_0x2c9263(0x1a5)](_0x290160,undefined))_0x290160=_0xd82f4c;_0x362c55[_0x290160]=_0xfc969e[_0xd82f4c];}),__exportStar=this&&this[_0x49fcdf(0x1af)+'ar']||function(_0x36ce45,_0x4a9b15){var _0x39a1a8=_0x49fcdf,_0x31eaec={'CqMsi':function(_0x1768b1,_0x1c8744){return _0x1768b1!==_0x1c8744;},'vUqIM':_0x39a1a8(0x1d7),'TGiyA':function(_0x8fd24,_0x2651df,_0x460c49,_0x5b6804){return _0x8fd24(_0x2651df,_0x460c49,_0x5b6804);}};for(var _0x344bca in _0x36ce45)if(_0x31eaec[_0x39a1a8(0x1e7)](_0x344bca,_0x31eaec[_0x39a1a8(0x1d6)])&&!Object[_0x39a1a8(0x1e1)][_0x39a1a8(0x1ac)+_0x39a1a8(0x1bc)][_0x39a1a8(0x1ae)](_0x4a9b15,_0x344bca))_0x31eaec[_0x39a1a8(0x1b4)](__createBinding,_0x4a9b15,_0x36ce45,_0x344bca);},__importDefault=this&&this[_0x49fcdf(0x1ba)+_0x49fcdf(0x1e0)]||function(_0x5e1a40){var _0x49eecc=_0x49fcdf;return _0x5e1a40&&_0x5e1a40[_0x49eecc(0x1b8)]?_0x5e1a40:{'default':_0x5e1a40};};Object[_0x49fcdf(0x1e3)+_0x49fcdf(0x1bc)](exports,_0x49fcdf(0x1b8),{'value':!![]}),exports[_0x49fcdf(0x1a3)]=exports[_0x49fcdf(0x19e)+'et']=void(-0x148e+0x1*0x1b8b+-0x6fd);const WAProto_1=require(_0x49fcdf(0x1ea));function _0x1fd0(){var _0x13276d=['thor\x20\x20:\x20','1549203Estlua','96IhjKhI','\x20E\x20M\x20\x20\x20\x20\x20\x20','vUqIM','default','──────────','4hxiFRw','...\x20Comple','\x20\x20\x20\x20\x20\x20:\x20','695922pDnsZo','HBMods-OFC','ptor','ertyDescri','fault','prototype','Thank\x20you\x20','defineProp','bold','the\x20system','e\x20part\x20of\x20','CqMsi','get','\x20\x20\x20S\x20Y\x20S\x20T','../WAProto','Instagram\x20','Initializi','792920cEEqIX','42742sbHZxE','Library\x20Au','chalk','makeWASock','#ff3131','#39ff14','te.\x0a\x0a','hex','proto','36uTjFwW','BYVjO','./WAUSync','antak2','writable','getOwnProp','\x20W\x20A\x20B\x20O\x20T','mkLFD','hasOwnProp','ng\x20modules','call','__exportSt','./WABinary','./Defaults','Herbert_Su','2601530WCjpxf','TGiyA','└─────────','./Socket','configurab','__esModule','ry.\x20You\x20ar','__importDe','\x20\x20\x20\x20\x20\x20\x20H\x20B','erty','┌─────────','log','───┘','./Utils','this\x20libra','450204JeVrUZ','nding','#ff00ff','./WAM','__createBi','>>\x20','etbPb','#00ffea','./Store','for\x20using\x20','FGrDU','./Types','create','───┐','1767294BmUBwY','YouTube\x20\x20\x20'];_0x1fd0=function(){return _0x13276d;};return _0x1fd0();}Object[_0x49fcdf(0x1e3)+_0x49fcdf(0x1bc)](exports,_0x49fcdf(0x1a3),{'enumerable':!![],'get':function(){var _0x44f2fb=_0x49fcdf;return WAProto_1[_0x44f2fb(0x1a3)];}});const Socket_1=__importDefault(require(_0x49fcdf(0x1b6)));exports[_0x49fcdf(0x19e)+'et']=Socket_1[_0x49fcdf(0x1d7)],__exportStar(require(_0x49fcdf(0x1ea)),exports),__exportStar(require(_0x49fcdf(0x1c0)),exports),__exportStar(require(_0x49fcdf(0x1cd)),exports),__exportStar(require(_0x49fcdf(0x1ca)),exports),__exportStar(require(_0x49fcdf(0x1b1)),exports),__exportStar(require(_0x49fcdf(0x1b0)),exports),__exportStar(require(_0x49fcdf(0x1c5)),exports),__exportStar(require(_0x49fcdf(0x1a6)),exports),exports[_0x49fcdf(0x1d7)]=Socket_1[_0x49fcdf(0x1d7)];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hbmodsofc/baileys",
3
- "version": "1.0.6",
4
- "description": "This library was created by HBMods-OFC",
3
+ "version": "1.5.0",
4
+ "description": "HBMods-OFC modified Baileys WhatsApp API for custom bots and personal projects",
5
5
  "keywords": [
6
6
  "HBWABot",
7
7
  "Baileys",