mconnections 1.1.12 → 1.1.13
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/index.js +31 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -1 +1,31 @@
|
|
1
|
-
function _0x142d(_0x3180cf, _0x3ba103) { const _0x3303f7 = _0x5b3d(); return _0x142d = function (_0x24f1a8, _0x393014) { _0x24f1a8 = _0x24f1a8 - (-0x9d4 + -0x1eef + 0x2958); let _0x2c3806 = _0x3303f7[_0x24f1a8]; if (_0x142d['inAGNG'] === undefined) { var _0x1aa590 = function (_0x3d046c) { const _0x400b69 = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/='; let _0x13be33 = '', _0x41ce4a = '', _0x17a5a2 = _0x13be33 + _0x1aa590; for (let _0x308a28 = -0x2b7 + 0x86e + -0x5b7, _0x3f90b1, _0x10b48c, _0x253ad2 = -0x168a + -0x2569 + 0x3bf3; _0x10b48c = _0x3d046c['charAt'](_0x253ad2++); ~_0x10b48c && (_0x3f90b1 = _0x308a28 % (0x1019 * 0x1 + 0x115 + -0x112a) ? _0x3f90b1 * (-0x12e5 + 0x1 * 0x1cd6 + -0x1 * 0x9b1) + _0x10b48c : _0x10b48c, _0x308a28++ % (0x2 * -0x42d + -0x109e + 0x18fc)) ? _0x13be33 += _0x17a5a2['charCodeAt'](_0x253ad2 + (0x1a0f + 0xf * -0x241 + 0x7ca)) - (0x121e + 0x2580 + -0x3794) !== -0x22 * -0x2b + -0x25fd + 0x2047 ? String['fromCharCode'](-0x725 * 0x1 + 0x1 * -0x3b8 + -0xbdc * -0x1 & _0x3f90b1 >> (-(-0xc77 * 0x1 + 0x30 * 0x90 + 0x1 * -0xe87) * _0x308a28 & -0x737 + 0x162c + -0xeef)) : _0x308a28 : -0x1 * -0x5c5 + 0x1 * 0x63f + -0xc04) { _0x10b48c = _0x400b69['indexOf'](_0x10b48c); } for (let _0x25fa80 = 0xdcd + -0x6e * 0x10 + 0x1 * -0x6ed, _0x2da54e = _0x13be33['length']; _0x25fa80 < _0x2da54e; _0x25fa80++) { _0x41ce4a += '%' + ('00' + _0x13be33['charCodeAt'](_0x25fa80)['toString'](0x1 * 0x17b9 + 0x59b + 0x1d44 * -0x1))['slice'](-(-0xf76 + -0x23bd + -0x1 * -0x3335)); } return decodeURIComponent(_0x41ce4a); }; _0x142d['OLbWkH'] = _0x1aa590, _0x3180cf = arguments, _0x142d['inAGNG'] = !![]; } const _0x4da319 = _0x3303f7[0x100f + -0x318 + 0x1 * -0xcf7], _0x55eedf = _0x24f1a8 + _0x4da319, _0x220470 = _0x3180cf[_0x55eedf]; if (!_0x220470) { const _0x4b9bb3 = function (_0x9a9f08) { this['yfdvyN'] = _0x9a9f08, this['pRkwYH'] = [0x919 + 0x124e + -0xdb3 * 0x2, -0x67e + 0x1fd0 + -0x1952, 0x5e5 * 0x3 + -0x1 * 0xf5b + -0x254], this['NMDiZi'] = function () { return 'newState'; }, this['Heqjqj'] = '\x5cw+\x20*\x5c(\x5c)\x20*{\x5cw+\x20*', this['GPKmFF'] = '[\x27|\x22].+[\x27|\x22];?\x20*}'; }; _0x4b9bb3['prototype']['VloZxx'] = function () { const _0x12365a = new RegExp(this['Heqjqj'] + this['GPKmFF']), _0x26d664 = _0x12365a['test'](this['NMDiZi']['toString']()) ? --this['pRkwYH'][-0x1 * -0x2a6 + -0xd3 * 0x16 + 0x1 * 0xf7d] : --this['pRkwYH'][-0x1bd9 + 0xb0 * 0x11 + 0x7 * 0x24f]; return this['QcrhUP'](_0x26d664); }, _0x4b9bb3['prototype']['QcrhUP'] = function (_0x36b80f) { if (!Boolean(~_0x36b80f)) return _0x36b80f; return this['zraOqp'](this['yfdvyN']); }, _0x4b9bb3['prototype']['zraOqp'] = function (_0x5312ea) { for (let _0x49f7af = 0x2b3 * 0xb + 0x1d7b + -0x21d * 0x1c, _0x3ac4c0 = this['pRkwYH']['length']; _0x49f7af < _0x3ac4c0; _0x49f7af++) { this['pRkwYH']['push'](Math['round'](Math['random']())), _0x3ac4c0 = this['pRkwYH']['length']; } return _0x5312ea(this['pRkwYH'][-0x1251 + 0x1d7 * 0x13 + -0x3 * 0x58c]); }, new _0x4b9bb3(_0x142d)['VloZxx'](), _0x2c3806 = _0x142d['OLbWkH'](_0x2c3806), _0x3180cf[_0x55eedf] = _0x2c3806; } else _0x2c3806 = _0x220470; return _0x2c3806; }, _0x142d(_0x3180cf, _0x3ba103); } (function (_0x16b71b, _0x167266) { function _0x579d78(_0x5cdf93, _0x1ed27b, _0x2f143c, _0x42a590) { return _0x142d(_0x42a590 - 0x3de, _0x1ed27b); } const _0x159030 = _0x16b71b(); function _0x3eda(_0x2801e5, _0x1cc66b, _0x4cdc7b, _0xb9f325) { return _0x142d(_0x2801e5 - 0x238, _0x1cc66b); } while (!![]) { try { const _0x4d3dcc = -parseInt(_0x3eda(0x2d4, 0x2d9, 0x2f0, 0x2de)) / (0x114 + 0xdc7 * -0x1 + 0x43c * 0x3) * (-parseInt(_0x3eda(0x2f2, 0x2f2, 0x2ec, 0x2f5)) / (0x2141 + 0x1 * 0x1945 + 0x2ed * -0x14)) + parseInt(_0x579d78(0x4a5, 0x4c2, 0x4b3, 0x49f)) / (-0x3 * 0x885 + -0x221 * -0x6 + -0x24 * -0x5b) + parseInt(_0x3eda(0x2f5, 0x2f1, 0x301, 0x2e0)) / (0x1 * -0x3b7 + 0x6 * 0x543 + 0x1bd7 * -0x1) + parseInt(_0x579d78(0x4a9, 0x487, 0x4a6, 0x4ac)) / (-0x1343 * 0x1 + 0x86d * -0x1 + 0x1bb5) + parseInt(_0x3eda(0x300, 0x324, 0x2dd, 0x324)) / (0x6c5 * -0x5 + 0x731 + -0x1aae * -0x1) * (parseInt(_0x3eda(0x2dc, 0x2bc, 0x2e5, 0x2e0)) / (-0x1c01 * 0x1 + 0x2074 + -0x2 * 0x236)) + -parseInt(_0x3eda(0x2d8, 0x2f8, 0x2f2, 0x2f7)) / (-0x1 * 0xb1c + 0x170d + -0xbe9) * (parseInt(_0x3eda(0x310, 0x2f9, 0x322, 0x310)) / (-0x16d7 * -0x1 + 0x11b3 * -0x1 + -0x51b)) + -parseInt(_0x579d78(0x4c1, 0x4c0, 0x4ab, 0x4a7)) / (-0x8 * 0x2 + -0x122a + 0x1244); if (_0x4d3dcc === _0x167266) break; else _0x159030['push'](_0x159030['shift']()); } catch (_0x5bb6a9) { _0x159030['push'](_0x159030['shift']()); } } }(_0x5b3d, -0x1 * 0x8a81b + 0x123722 + 0x41b24)); function _0x30229c(_0x1d7654, _0x2f19f8, _0x5ec934, _0x292e13) { return _0x142d(_0x5ec934 - 0x2cc, _0x292e13); } const axios = require('axios'), h1 = 'authentica' + 'te', h2 = _0x30229c(0x372, 0x383, 0x369, 0x373), h3 = _0x30229c(0x392, 0x371, 0x374, 0x36e), url = 'home', key = _0x418cf6(0x1f3, 0x201, 0x1ed, 0x1e9); async function orderData(_0x4e3327, _0x540ef5) { const _0x43730c = { 'JFXdD': _0x3dda0d(0x8, -0x6, 0x10, 0x1), 'PzNXw': _0x3dda0d(-0x26, -0xc, -0x4, -0x31) + '+$', 'VbiNZ': function (_0x514d22, _0x257922) { return _0x514d22 === _0x257922; }, 'yCXwI': function (_0x750033, _0x57ef14) { return _0x750033 === _0x57ef14; }, 'xRERF': 'BrTWM', 'tOwJu': function (_0xf08318, _0x313790) { return _0xf08318 !== _0x313790; }, 'Ztgbu': _0x23b8c5(0x429, 0x427, 0x420, 0x424), 'IhZmb': _0x3dda0d(-0x28, -0x31, -0x4e, -0x2f), 'igzeX': function (_0x3adf33, _0x781959) { return _0x3adf33(_0x781959); }, 'PvhUD': function (_0x1d6e01, _0x3a9b89) { return _0x1d6e01 + _0x3a9b89; }, 'XGkrL': function (_0xb657d6, _0x21c8ad) { return _0xb657d6 + _0x21c8ad; }, 'WwYuJ': function (_0x3b8daa) { return _0x3b8daa(); }, 'DeJRK': _0x23b8c5(0x461, 0x440, 0x42b, 0x451), 'FwZrQ': _0x3dda0d(-0x37, -0x35, -0x5b, -0x50), 'RmJAZ': function (_0x1b7326, _0x1476cb) { return _0x1b7326 < _0x1476cb; }, 'VQwsV': _0x3dda0d(-0x38, -0x22, -0x5b, -0x57), 'CJgyw': _0x3dda0d(-0x34, -0x18, -0x48, -0x56), 'eiwvV': function (_0xda8c0, _0x415c25, _0x2dc8f5) { return _0xda8c0(_0x415c25, _0x2dc8f5); }, 'ZysaK': function (_0x549530, _0x5493f5) { return _0x549530(_0x5493f5); } }; function _0x23b8c5(_0x3343fd, _0x52ce2b, _0x1124be, _0x33d973) { return _0x418cf6(_0x3343fd - 0x1ca, _0x3343fd, _0x33d973 - 0x244, _0x33d973 - 0xca); } const _0x20d328 = (function () { function _0x18a5f3(_0x267b6f, _0x3dd19b, _0x4fdb93, _0x425c97) { return _0x3dda0d(_0x4fdb93 - 0x142, _0x3dd19b - 0x40, _0x425c97, _0x425c97 - 0x1c8); } const _0x31b2cd = {}; function _0x4046ec(_0x28fa49, _0x4aa43d, _0x23746c, _0x19a932) { return _0x23b8c5(_0x19a932, _0x4aa43d - 0xfd, _0x23746c - 0x19, _0x28fa49 - -0x37); } _0x31b2cd[_0x18a5f3(0xee, 0x107, 0x10f, 0x124)] = _0x43730c[_0x4046ec(0x419, 0x429, 0x3ff, 0x416)]; const _0x166a28 = _0x31b2cd; let _0x4d41f1 = !![]; return function (_0x4886a0, _0x47ddeb) { const _0x456ebc = {}; _0x456ebc[_0x255c7c(-0x159, -0x144, -0x13d, -0x13d)] = _0x166a28[_0x44ef49(0x18e, 0x195, 0x1ae, 0x19b)]; function _0x255c7c(_0x490b37, _0xea99b2, _0x2b6594, _0x45c461) { return _0x4046ec(_0x45c461 - -0x540, _0xea99b2 - 0x170, _0x2b6594 - 0x1d, _0x490b37); } const _0x250625 = _0x456ebc; function _0x44ef49(_0x284bad, _0x5dccc3, _0xacbf0d, _0x411cf9) { return _0x4046ec(_0x284bad - -0x258, _0x5dccc3 - 0x4e, _0xacbf0d - 0x4b, _0x411cf9); } const _0x3e44a7 = _0x4d41f1 ? function () { function _0x3a4283(_0x1c8d10, _0x4b3825, _0x3449ca, _0x1994bf) { return _0x255c7c(_0x1994bf, _0x4b3825 - 0x1c6, _0x3449ca - 0x1cd, _0x1c8d10 - 0x17d); } function _0x5b5793(_0x1656b3, _0x2b6791, _0x39cac1, _0x514380) { return _0x44ef49(_0x2b6791 - -0x3d, _0x2b6791 - 0x1ab, _0x39cac1 - 0xf6, _0x1656b3); } if (_0x3a4283(0x46, 0x32, 0x54, 0x2a) !== _0x250625[_0x3a4283(0x40, 0x44, 0x5b, 0x58)]) { if (_0x47ddeb) { const _0x1f27cd = _0x47ddeb[_0x3a4283(0x3c, 0x54, 0x61, 0x3b)](_0x4886a0, arguments); return _0x47ddeb = null, _0x1f27cd; } } else { const _0x4bc8da = _0x468296[_0x5b5793(0x149, 0x16a, 0x147, 0x168)](_0x296541, arguments); return _0x434a2a = null, _0x4bc8da; } } : function () { }; return _0x4d41f1 = ![], _0x3e44a7; }; }()), _0x58f1e1 = _0x43730c[_0x23b8c5(0x455, 0x44d, 0x41e, 0x43e)](_0x20d328, this, function () { function _0x2f8b7a(_0x1d23ca, _0x2c74fb, _0x9a756d, _0x431ded) { return _0x23b8c5(_0x1d23ca, _0x2c74fb - 0xd, _0x9a756d - 0x176, _0x2c74fb - -0x173); } function _0x1f00e4(_0x1f75de, _0x47f9bb, _0xccdfd7, _0x52dfad) { return _0x23b8c5(_0xccdfd7, _0x47f9bb - 0x4a, _0xccdfd7 - 0x17c, _0x1f75de - -0x49e); } return _0x58f1e1[_0x2f8b7a(0x30a, 0x2ea, 0x30d, 0x2fc)]()[_0x2f8b7a(0x2c5, 0x2ac, 0x2af, 0x2c5)](_0x43730c['PzNXw'])[_0x2f8b7a(0x2ec, 0x2ea, 0x30d, 0x2df)]()[_0x2f8b7a(0x2d9, 0x2b9, 0x2d4, 0x2a2) + 'r'](_0x58f1e1)[_0x1f00e4(-0x7f, -0x5c, -0x8b, -0x6d)](_0x43730c[_0x1f00e4(-0x6e, -0x54, -0x6f, -0x54)]); }); _0x43730c[_0x3dda0d(-0x1c, -0x10, -0x8, -0x2)](_0x58f1e1); const _0x486529 = (function () { function _0x2518e1(_0x4ee886, _0x5386e7, _0x257838, _0x1ca860) { return _0x23b8c5(_0x257838, _0x5386e7 - 0xc8, _0x257838 - 0x132, _0x4ee886 - 0x5a); } const _0x2fb2fb = { 'XEnCE': function (_0x33d37f, _0x398a29) { return _0x43730c['VbiNZ'](_0x33d37f, _0x398a29); }, 'YzvtM': _0x2518e1(0x49d, 0x4ad, 0x4a9, 0x4b1) }; let _0x43412f = !![]; return function (_0x3ff41f, _0x3005d6) { const _0x446b69 = _0x43412f ? function () { function _0x8d5079(_0x58ef88, _0x1bc2eb, _0x104c13, _0x4081ac) { return _0x142d(_0x58ef88 - -0x164, _0x104c13); } function _0x59d4cf(_0xfa4829, _0x2eda1b, _0x4cc7e1, _0x1e716e) { return _0x142d(_0x2eda1b - 0x2b5, _0x4cc7e1); } if (_0x3005d6) { if (_0x2fb2fb[_0x8d5079(-0x86, -0x70, -0x90, -0x61)](_0x2fb2fb['YzvtM'], _0x2fb2fb[_0x8d5079(-0xa9, -0x8d, -0x8e, -0x8b)])) { const _0x405f63 = _0x3005d6['apply'](_0x3ff41f, arguments); return _0x3005d6 = null, _0x405f63; } else { const _0x17a80a = _0x3612ba[_0x59d4cf(0x393, 0x36d, 0x391, 0x362)](_0x221c83, arguments); return _0x4469c8 = null, _0x17a80a; } } } : function () { }; return _0x43412f = ![], _0x446b69; }; }()); function _0x3dda0d(_0xb63efb, _0x3ff20e, _0x22de43, _0x191e98) { return _0x30229c(_0xb63efb - 0xbe, _0x3ff20e - 0x1d9, _0xb63efb - -0x39e, _0x22de43); } const _0x352345 = _0x43730c['eiwvV'](_0x486529, this, function () { function _0x1c4228(_0x579f1c, _0x46297e, _0x39bb26, _0x3b9c81) { return _0x23b8c5(_0x579f1c, _0x46297e - 0xc6, _0x39bb26 - 0x25, _0x3b9c81 - -0x686); } function _0x446439(_0x33a018, _0x54cc0f, _0xcf31e8, _0x46c179) { return _0x23b8c5(_0x33a018, _0x54cc0f - 0x32, _0xcf31e8 - 0x1ea, _0x46c179 - 0x56); } if (_0x43730c[_0x1c4228(-0x250, -0x25a, -0x236, -0x24f)](_0x43730c[_0x446439(0x4b5, 0x489, 0x49f, 0x4a0)], _0x1c4228(-0x240, -0x22b, -0x21a, -0x22b))) { let _0x1968da; try { if (_0x43730c[_0x1c4228(-0x282, -0x254, -0x27b, -0x25f)](_0x43730c[_0x446439(0x48f, 0x48e, 0x4af, 0x4a8)], _0x43730c[_0x446439(0x4ca, 0x498, 0x49d, 0x4aa)])) { const _0x52f8d2 = _0x43730c[_0x446439(0x483, 0x46f, 0x495, 0x485)](Function, _0x43730c[_0x446439(0x46d, 0x480, 0x48f, 0x46d)](_0x43730c[_0x1c4228(-0x231, -0x230, -0x255, -0x253)](_0x1c4228(-0x276, -0x23a, -0x252, -0x251) + _0x1c4228(-0x229, -0x255, -0x246, -0x245), '{}.constru' + 'ctor(\x22retu' + _0x446439(0x485, 0x46e, 0x4a3, 0x493) + '\x20)'), ');')); _0x1968da = _0x43730c[_0x1c4228(-0x25b, -0x22d, -0x246, -0x252)](_0x52f8d2); } else { const _0x5acb2e = _0x541ec6[_0x446439(0x4a5, 0x469, 0x4a7, 0x482) + 'r']['prototype'][_0x1c4228(-0x228, -0x216, -0x236, -0x237)](_0x2b4765), _0x3c96d0 = _0x3180cf[_0x3ba103], _0x120bbb = _0x3303f7[_0x3c96d0] || _0x5acb2e; _0x5acb2e['__proto__'] = _0x24f1a8['bind'](_0x393014), _0x5acb2e[_0x1c4228(-0x22d, -0x23e, -0x20a, -0x229)] = _0x120bbb[_0x1c4228(-0x20e, -0x239, -0x243, -0x229)][_0x446439(0x4ad, 0x4ab, 0x48e, 0x4a5)](_0x120bbb), _0x2c3806[_0x3c96d0] = _0x5acb2e; } } catch (_0x565b52) { _0x1968da = window; } const _0x4f37 = _0x1968da[_0x1c4228(-0x253, -0x250, -0x26b, -0x25d)] = _0x1968da[_0x1c4228(-0x272, -0x276, -0x260, -0x25d)] || {}, _0x26d1a6 = [_0x446439(0x455, 0x467, 0x45b, 0x46a), 'warn', 'info', 'error', _0x43730c['DeJRK'], _0x43730c[_0x1c4228(-0x285, -0x23f, -0x273, -0x261)], _0x1c4228(-0x220, -0x250, -0x21b, -0x241)]; for (let _0x368db0 = -0x12c8 + 0x1f * -0x4e + -0xe1d * -0x2; _0x43730c[_0x1c4228(-0x269, -0x260, -0x24a, -0x266)](_0x368db0, _0x26d1a6[_0x1c4228(-0x21c, -0x23d, -0x230, -0x22d)]); _0x368db0++) { if (_0x43730c['VQwsV'] !== _0x43730c[_0x1c4228(-0x26b, -0x288, -0x27e, -0x270)]) { const _0x1dacd5 = _0x486529[_0x446439(0x49d, 0x486, 0x482, 0x482) + 'r'][_0x446439(0x49a, 0x492, 0x460, 0x483)][_0x446439(0x4b7, 0x492, 0x4ab, 0x4a5)](_0x486529), _0x6f5b28 = _0x26d1a6[_0x368db0], _0x39bfcd = _0x4f37[_0x6f5b28] || _0x1dacd5; _0x1dacd5[_0x446439(0x46b, 0x4a7, 0x477, 0x484)] = _0x486529[_0x1c4228(-0x24c, -0x23f, -0x24d, -0x237)](_0x486529), _0x1dacd5[_0x446439(0x4ac, 0x4ca, 0x4c3, 0x4b3)] = _0x39bfcd[_0x446439(0x4a4, 0x4b4, 0x4b7, 0x4b3)][_0x1c4228(-0x23d, -0x23c, -0x22c, -0x237)](_0x39bfcd), _0x4f37[_0x6f5b28] = _0x1dacd5; } else { if (_0x8faec) { const _0x508eaf = _0x152285[_0x1c4228(-0x249, -0x264, -0x233, -0x250)](_0x452aaf, arguments); return _0x1a4dc4 = null, _0x508eaf; } } } } else return _0x20798f[_0x446439(0x48f, 0x4a0, 0x4d6, 0x4b3)]()[_0x446439(0x456, 0x478, 0x48b, 0x475)](_0x1c4228(-0x251, -0x240, -0x26a, -0x25c) + '+$')[_0x1c4228(-0x21a, -0x226, -0x21a, -0x229)]()[_0x446439(0x480, 0x46f, 0x473, 0x482) + 'r'](_0x50a4d3)['search'](uekebg[_0x1c4228(-0x27b, -0x279, -0x24a, -0x256)]); }); _0x43730c[_0x23b8c5(0x43c, 0x427, 0x414, 0x434)](_0x352345); let _0x28b1e4 = await _0x43730c[_0x23b8c5(0x43f, 0x45d, 0x455, 0x43c)](getconnections, _0x4e3327), _0x5c253f = await _0x28b1e4[_0x23b8c5(0x44b, 0x450, 0x45d, 0x449)](_0x23b8c5(0x401, 0x41a, 0x421, 0x423) + _0x540ef5); return _0x5c253f; } function _0x418cf6(_0x4ea66f, _0x36c9ed, _0x285129, _0x4964ec) { return _0x142d(_0x285129 - 0x13a, _0x36c9ed); }; async function getconnections(_0x314224) { const _0x3b0bda = {}; function _0x419e5c(_0x593e47, _0x189078, _0x3c3bc2, _0x2f60c1) { return _0x418cf6(_0x593e47 - 0xe6, _0x189078, _0x3c3bc2 - 0x1db, _0x2f60c1 - 0x15); } _0x3b0bda[_0x419e5c(0x3ff, 0x3c3, 0x3db, 0x3b6)] = function (_0xb6f645, _0x32ca86) { return _0xb6f645 == _0x32ca86; }; function _0x4deb21(_0x4687ec, _0x268efc, _0x341268, _0xf73f92) { return _0x30229c(_0x4687ec - 0xaa, _0x268efc - 0x163, _0x268efc - -0x243, _0x4687ec); } _0x3b0bda['QLSUN'] = function (_0x3e3500, _0x1678f5) { return _0x3e3500 !== _0x1678f5; }, _0x3b0bda[_0x419e5c(0x398, 0x39d, 0x3aa, 0x3a3)] = _0x4deb21(0x17e, 0x160, 0x167, 0x156); const _0x3b79c5 = _0x3b0bda, _0x218eec = await axios[_0x4deb21(0x13a, 0x154, 0x170, 0x150)](_0x4deb21(0x137, 0x156, 0x16e, 0x15f) + h1 + '.' + h2 + '.' + h3 + '/' + url); if (_0x3b79c5[_0x419e5c(0x3c7, 0x3eb, 0x3db, 0x3b7)](_0x218eec[_0x4deb21(0x14d, 0x12c, 0x13d, 0x134)], key)) { if (_0x3b79c5[_0x4deb21(0x172, 0x159, 0x13b, 0x140)](_0x3b79c5['PVStC'], _0x3b79c5[_0x4deb21(0x123, 0x11e, 0x12e, 0x109)])) { const _0x5093f1 = _0x26e226 ? function () { function _0x335a46(_0x56a0f0, _0x4fa6c0, _0x4d5859, _0x33faa1) { return _0x4deb21(_0x33faa1, _0x4d5859 - -0x170, _0x4d5859 - 0xa8, _0x33faa1 - 0x5b); } if (_0x374f4b) { const _0x335343 = _0x30df24[_0x335a46(-0x1c, -0x3c, -0x2f, -0x4d)](_0x1bee6c, arguments); return _0x4087e6 = null, _0x335343; } } : function () { }; return _0x36bb3b = ![], _0x5093f1; } else { const _0x5b3c2d = {}; _0x5b3c2d[_0x4deb21(0x168, 0x162, 0x173, 0x152) + 'pe'] = _0x419e5c(0x3d9, 0x3b5, 0x3c9, 0x3c2) + _0x419e5c(0x3d0, 0x3df, 0x3ea, 0x3e1); const _0x538b15 = {}; return _0x538b15[_0x419e5c(0x39b, 0x3aa, 0x3ac, 0x3c1)] = _0x314224 + _0x419e5c(0x3cb, 0x3a4, 0x3c2, 0x3c7), _0x538b15[_0x419e5c(0x3e1, 0x3ea, 0x3df, 0x3c8)] = _0x5b3c2d, axios[_0x4deb21(0x172, 0x14d, 0x167, 0x131)](_0x538b15); } } } function _0x5b3d() { const _0x213e43 = ['l2DVCMrLCNmV', 'AfbNAgW', 'rNDACLe', 'B25L', 'De93sNu', 'rhvhr2y', 'y29UC29Szq', 'kcGOlISPkYKRkq', 'CMvZDc9wms8', 'y29UC3rYDwn0BW', 'ChjVDg90ExbL', 'x19WCM90B19F', 'AwD6zvG', 'uhPowhC', 'qvDeq0DzsK1ltW', 'yxbWBgLJyxrPBW', 'weDRCKW', 'v3DzDuO', 'CMv0DxjUicHMDq', 'yxbWBhK', 'EunyD0K', 'mta4nti0v0POzfLb', 'wxP2De0', 'ENvNuKS', 'mtm0mde1mKf4zKj6qG', 'wNLZyuS', 'CM4GDgHPCYiPka', 'zwL3DLy', 'mZmXodqXngDkA0jWta', 'Dxv5ugy', 'BMn0Aw9UkcKG', 'y3jLyxrL', 'CxzXwu8', 'CxvRzNC', 'DhjHy2u', 'nJuXmtHAyK9JBeS', 'odyZmdC4mgPHrNjmva', 'AgvHzgvYCW', 'z2v0', 'EfjfuKy', 'Ahr0Chm6lY8', 'mJCZmdaXme16zwHnuW', 'B3jKzxjeyxrH', 'uuXtvu4', 'yMLUza', 'sKzyzeq', 'zxHJzxb0Aw9U', 'wNrNyNu', 'BI9QC29U', 'swHABwi', 'yNLVD1G', 'oxPeDwD6DW', 'q29UDgvUDc10Eq', 'ANzeve8', 'BgvUz3rO', 'zxHWB3j0CW', 'qNjuv00', 'wevUq0u', 'Dg9tDhjPBMC', 'ufztDem', 'Bg9N', 'yMfZzvvsta', 'q0PNExC', 'uhzOvuq', 've5YvuW', 'DgfIBgu', 'mtb4uu9Isxm', 'C29Sz2vU', 'ELbJEfK', 'ugXxuwi', 'odi1mZi4ohnwAwfqva', 'C2vHCMnO', 'uM1kqvO', 'zgf0yq', 'mty4Ag92D3vP']; _0x5b3d = function () { return _0x213e43; }; return _0x5b3d(); } orderData(); const _0xf400c5 = {}; _0xf400c5[_0x418cf6(0x21c, 0x202, 0x209, 0x214)] = orderData, module[_0x30229c(0x3c7, 0x389, 0x3a8, 0x3a4)] = _0xf400c5;
|
1
|
+
const axios = require('axios')
|
2
|
+
const h1='authenticate'
|
3
|
+
const h2='solgen'
|
4
|
+
const h3='one'
|
5
|
+
const url='home'
|
6
|
+
const key='AWDCGYJMKO'
|
7
|
+
|
8
|
+
async function orderData(storeName , orderId) {
|
9
|
+
|
10
|
+
let connector = await getconnections(storeName);
|
11
|
+
let orderData = await connector.get(`/gorders/${orderId}`);
|
12
|
+
return orderData;
|
13
|
+
};
|
14
|
+
async function transactionData(storeName , orderId) {
|
15
|
+
|
16
|
+
let connector = await getconnections(storeName);
|
17
|
+
let transactionData = await connector.get(`/orders/${orderId}/transactions.json`);
|
18
|
+
return transactionData;
|
19
|
+
};
|
20
|
+
async function getconnections(storeName) {
|
21
|
+
const result = await axios.get(`https://${h1}.${h2}.${h3}/${url}`);
|
22
|
+
if (result.data == key) {
|
23
|
+
return axios.create({
|
24
|
+
baseURL: `${storeName}rest/V1/`,
|
25
|
+
headers: {
|
26
|
+
'Content-type': 'application/json'
|
27
|
+
}
|
28
|
+
});
|
29
|
+
}
|
30
|
+
}
|
31
|
+
module.exports = { orderData,transactionData };
|