Built motion from commit be44e1e4d16f8b29d243415b03d27262d8601e0e. Version 3.0.0...
[motion-next.git] / server / services / email / client.js
index a28c31b..4627794 100644 (file)
@@ -1 +1 @@
-const a1149_0x166a=['error','catch','routing','client','Request','request','debug','message','result','rpc'];(function(_0x34375c,_0x166a18){const _0x371176=function(_0x822c4c){while(--_0x822c4c){_0x34375c['push'](_0x34375c['shift']());}};_0x371176(++_0x166a18);}(a1149_0x166a,0x16b));const a1149_0x3711=function(_0x34375c,_0x166a18){_0x34375c=_0x34375c-0x0;let _0x371176=a1149_0x166a[_0x34375c];return _0x371176;};const _0x147971=a1149_0x3711;'use strict';const jayson=require('jayson/promise'),logger=require('../../config/logger')(_0x147971('0x9')),client=jayson[_0x147971('0x0')]['http']({'port':0x2329});client[_0x147971('0x1')]=function(_0x822c4c,_0x365805){return new Promise(function(_0x33f8ab,_0x55293a){const _0x372c64=a1149_0x3711;return client[_0x372c64('0x2')](_0x822c4c,_0x365805)['then'](function(_0x22cbf4){const _0xe96ac9=_0x372c64;return logger[_0xe96ac9('0x3')]('rpc','routing',_0x822c4c,_0x365805,_0x22cbf4),_0x22cbf4['error']?(logger[_0xe96ac9('0x7')](_0xe96ac9('0x6'),_0xe96ac9('0x9'),_0x822c4c,_0x22cbf4[_0xe96ac9('0x7')][_0xe96ac9('0x4')],_0x365805),_0x55293a(_0x22cbf4[_0xe96ac9('0x7')][_0xe96ac9('0x4')])):_0x33f8ab(_0x22cbf4[_0xe96ac9('0x5')]);})[_0x372c64('0x8')](function(_0x3cfd54){const _0x558cfe=_0x372c64;return logger[_0x558cfe('0x7')]('rpc',_0x558cfe('0x9'),_0x822c4c,_0x3cfd54,_0x365805),_0x55293a(_0x3cfd54);});});},module['exports']=client;
\ No newline at end of file
+const a1149_0x2dce=['rpc','client','error','routing','message','result','Request','request','catch','jayson/promise','../../config/logger','debug'];(function(_0x5ef171,_0x2dce62){const _0x67ee3=function(_0x22519f){while(--_0x22519f){_0x5ef171['push'](_0x5ef171['shift']());}};_0x67ee3(++_0x2dce62);}(a1149_0x2dce,0x177));const a1149_0x67ee=function(_0x5ef171,_0x2dce62){_0x5ef171=_0x5ef171-0x0;let _0x67ee3=a1149_0x2dce[_0x5ef171];return _0x67ee3;};const _0x2f1088=a1149_0x67ee;'use strict';const jayson=require(_0x2f1088('0x6')),logger=require(_0x2f1088('0x7'))(_0x2f1088('0x0')),client=jayson[_0x2f1088('0xa')]['http']({'port':0x2329});client[_0x2f1088('0x3')]=function(_0x22519f,_0x2d52a2){return new Promise(function(_0x59bc4c,_0x16a021){const _0x30e9f2=a1149_0x67ee;return client[_0x30e9f2('0x4')](_0x22519f,_0x2d52a2)['then'](function(_0x2abb0b){const _0x15e18f=_0x30e9f2;return logger[_0x15e18f('0x8')](_0x15e18f('0x9'),_0x15e18f('0x0'),_0x22519f,_0x2d52a2,_0x2abb0b),_0x2abb0b['error']?(logger[_0x15e18f('0xb')](_0x15e18f('0x9'),_0x15e18f('0x0'),_0x22519f,_0x2abb0b[_0x15e18f('0xb')]['message'],_0x2d52a2),_0x16a021(_0x2abb0b['error'][_0x15e18f('0x1')])):_0x59bc4c(_0x2abb0b[_0x15e18f('0x2')]);})[_0x30e9f2('0x5')](function(_0x21b2cd){const _0x1236ed=_0x30e9f2;return logger['error'](_0x1236ed('0x9'),_0x1236ed('0x0'),_0x22519f,_0x21b2cd,_0x2d52a2),_0x16a021(_0x21b2cd);});});},module['exports']=client;
\ No newline at end of file