Built motion from commit f738f9592c388b9f9eb3948f400a5c9d717a3561. Version 3.0.0...
[motion-next.git] / server / services / routing / client.js
index 139fb83..3854864 100644 (file)
@@ -1 +1 @@
-const a1325_0x2969=['debug','Request','http','exports','client','message','then','routing','error','jayson/promise','rpc','result'];(function(_0x2bae92,_0x4ca29f){const _0x296934=function(_0x494e80){while(--_0x494e80){_0x2bae92['push'](_0x2bae92['shift']());}};_0x296934(++_0x4ca29f);}(a1325_0x2969,0xcf));const a1325_0x494e=function(_0x2bae92,_0x4ca29f){_0x2bae92=_0x2bae92-0x1bb;let _0x296934=a1325_0x2969[_0x2bae92];return _0x296934;};const a1325_0x3713fe=a1325_0x494e;'use strict';const jayson=require(a1325_0x3713fe(0x1c1)),logger=require('../../config/logger')(a1325_0x3713fe(0x1bf)),client=jayson[a1325_0x3713fe(0x1bc)][a1325_0x3713fe(0x1c6)]({'port':0x2329});client[a1325_0x3713fe(0x1c5)]=function(_0x34925b,_0xb05fac){return new Promise(function(_0x330002,_0xf96971){const _0x1b9a64=a1325_0x494e;return client['request'](_0x34925b,_0xb05fac)[_0x1b9a64(0x1be)](function(_0x247931){const _0x41fe26=_0x1b9a64;return logger[_0x41fe26(0x1c4)](_0x41fe26(0x1c2),_0x41fe26(0x1bf),_0x34925b,_0xb05fac,_0x247931),_0x247931[_0x41fe26(0x1c0)]?(logger['error'](_0x41fe26(0x1c2),_0x41fe26(0x1bf),_0x34925b,_0x247931['error'][_0x41fe26(0x1bd)],_0xb05fac),_0xf96971(_0x247931['error']['message'])):_0x330002(_0x247931[_0x41fe26(0x1c3)]);})['catch'](function(_0x2994d0){const _0x23ba7e=_0x1b9a64;return logger[_0x23ba7e(0x1c0)](_0x23ba7e(0x1c2),_0x23ba7e(0x1bf),_0x34925b,_0x2994d0,_0xb05fac),_0xf96971(_0x2994d0);});});},module[a1325_0x3713fe(0x1bb)]=client;
\ No newline at end of file
+const a1329_0x6dab=['message','../../config/logger','then','debug','request','Request','rpc','error','routing','jayson/promise','client','http'];(function(_0x2d5305,_0x54c90f){const _0x6dabb3=function(_0x5d722e){while(--_0x5d722e){_0x2d5305['push'](_0x2d5305['shift']());}};_0x6dabb3(++_0x54c90f);}(a1329_0x6dab,0x171));const a1329_0x5d72=function(_0x2d5305,_0x54c90f){_0x2d5305=_0x2d5305-0xb1;let _0x6dabb3=a1329_0x6dab[_0x2d5305];return _0x6dabb3;};const a1329_0x296ced=a1329_0x5d72;'use strict';const jayson=require(a1329_0x296ced(0xb1)),logger=require(a1329_0x296ced(0xb5))(a1329_0x296ced(0xbc)),client=jayson[a1329_0x296ced(0xb2)][a1329_0x296ced(0xb3)]({'port':0x2329});client[a1329_0x296ced(0xb9)]=function(_0x20a862,_0x1ed3e1){return new Promise(function(_0x116729,_0x2e16e4){const _0x4b39a5=a1329_0x5d72;return client[_0x4b39a5(0xb8)](_0x20a862,_0x1ed3e1)[_0x4b39a5(0xb6)](function(_0x2276a7){const _0x4af988=_0x4b39a5;return logger[_0x4af988(0xb7)](_0x4af988(0xba),_0x4af988(0xbc),_0x20a862,_0x1ed3e1,_0x2276a7),_0x2276a7[_0x4af988(0xbb)]?(logger['error'](_0x4af988(0xba),_0x4af988(0xbc),_0x20a862,_0x2276a7[_0x4af988(0xbb)][_0x4af988(0xb4)],_0x1ed3e1),_0x2e16e4(_0x2276a7['error'][_0x4af988(0xb4)])):_0x116729(_0x2276a7['result']);})['catch'](function(_0x1e7373){const _0x47d8f3=_0x4b39a5;return logger[_0x47d8f3(0xbb)](_0x47d8f3(0xba),'routing',_0x20a862,_0x1e7373,_0x1ed3e1),_0x2e16e4(_0x1e7373);});});},module['exports']=client;
\ No newline at end of file