flowscale 1.0.7 → 1.0.8
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/build/index.js +1 -0
- package/build/types.js +1 -0
- package/package.json +5 -4
- package/dist-obfuscated/index.js +0 -1
- package/dist-obfuscated/types.js +0 -1
package/build/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';function a0_0x56ab(_0x304635,_0x30b74b){const _0x104788=a0_0x1047();return a0_0x56ab=function(_0x56ab12,_0x592549){_0x56ab12=_0x56ab12-0xf8;let _0x55655d=_0x104788[_0x56ab12];return _0x55655d;},a0_0x56ab(_0x304635,_0x30b74b);}const a0_0x242d13=a0_0x56ab;(function(_0x122b9d,_0x387eba){const _0x4e6e09=a0_0x56ab,_0x1a8675=_0x122b9d();while(!![]){try{const _0x3bfe44=parseInt(_0x4e6e09(0x12e))/0x1*(parseInt(_0x4e6e09(0x111))/0x2)+parseInt(_0x4e6e09(0x125))/0x3*(parseInt(_0x4e6e09(0x118))/0x4)+parseInt(_0x4e6e09(0x135))/0x5+parseInt(_0x4e6e09(0x112))/0x6+-parseInt(_0x4e6e09(0x117))/0x7*(parseInt(_0x4e6e09(0x12a))/0x8)+parseInt(_0x4e6e09(0x105))/0x9*(parseInt(_0x4e6e09(0x116))/0xa)+parseInt(_0x4e6e09(0x13a))/0xb*(-parseInt(_0x4e6e09(0x11b))/0xc);if(_0x3bfe44===_0x387eba)break;else _0x1a8675['push'](_0x1a8675['shift']());}catch(_0x2e868a){_0x1a8675['push'](_0x1a8675['shift']());}}}(a0_0x1047,0x49bb8));var __importDefault=this&&this['__importDefault']||function(_0xb12f49){return _0xb12f49&&_0xb12f49['__esModule']?_0xb12f49:{'default':_0xb12f49};};function a0_0x1047(){const _0x1b7ecc=['61332cvXYTF','2530068fWSvPl','checkHealth','/api/v1/runs/','__esModule','130oPgpIg','7XPsHOG','2041404XigVzt','stringify','PlAHY','422124xEaGen','string','isArray','baseUrl','X-API-KEY','hasOwnProperty','ReadStream','apiKey','status','data','3tGBHSl','getRuns','Run\x20Timeout','No\x20response\x20received\x20from\x20API\x20server','isAxiosError','3087128cSszaz','/api/v1/runs','Error:\x20','use','9IizKzG','basename','YjsZt','executeWorkflow','error','defineProperty','/cancel','1545935ksmQMH','appendFormData','\x20-\x20','FlowscaleAPI','statusText','407lCGVsk','cancelRun','handleError','eMCkA','OWvdA','create','axios','form-data','/api/v1/runs?workflow_id=','/api/v1/runs/output','isBuffer','/api/v1/comfy/health','interceptors','client','osFIt','aJOiB','326934JZKdua','get','API\x20Error:\x20','getRun','append','post','path','request','headers','createReadStream','default','response'];a0_0x1047=function(){return _0x1b7ecc;};return a0_0x1047();}Object[a0_0x242d13(0x133)](exports,a0_0x242d13(0x115),{'value':!![]}),exports[a0_0x242d13(0x138)]=void 0x0;const axios_1=__importDefault(require(a0_0x242d13(0xfb))),form_data_1=__importDefault(require(a0_0x242d13(0xfc))),fs_1=__importDefault(require('fs')),path_1=__importDefault(require(a0_0x242d13(0x10b)));class FlowscaleAPI{constructor(_0x4619f1,_0x44c752){const _0x335b9e=a0_0x242d13;this[_0x335b9e(0x122)]=_0x4619f1,this[_0x335b9e(0x11e)]=_0x44c752,this['client']=axios_1[_0x335b9e(0x10f)][_0x335b9e(0xfa)]({'baseURL':this[_0x335b9e(0x11e)]}),this['client'][_0x335b9e(0x101)]['request'][_0x335b9e(0x12d)](_0x3673d7=>{const _0x1e4c1a=_0x335b9e;return!_0x3673d7[_0x1e4c1a(0x10d)]&&(_0x3673d7[_0x1e4c1a(0x10d)]={}),_0x3673d7['headers'][_0x1e4c1a(0x11f)]=this['apiKey'],_0x3673d7;});}async[a0_0x242d13(0x113)](){const _0x2cda0a=a0_0x242d13,_0x102c76={'OWvdA':_0x2cda0a(0x100)};try{const _0x14fc8a=await this[_0x2cda0a(0x102)][_0x2cda0a(0x106)](_0x102c76[_0x2cda0a(0xf9)]);return _0x14fc8a[_0x2cda0a(0x124)];}catch(_0x2a5311){this[_0x2cda0a(0x13c)](_0x2a5311);}}async['getQueue'](){const _0x33547b=a0_0x242d13;try{const _0x4a4655=await this[_0x33547b(0x102)][_0x33547b(0x106)]('/api/v1/comfy/queue');return _0x4a4655[_0x33547b(0x124)];}catch(_0x168926){this[_0x33547b(0x13c)](_0x168926);}}async[a0_0x242d13(0x131)](_0x3cf925,_0x4b789e,_0x3b185b){const _0x2841e1=a0_0x242d13,_0x118067={'aJOiB':function(_0x24b137,_0x5efa1f){return _0x24b137(_0x5efa1f);}};try{const _0x1e6155=new form_data_1[(_0x2841e1(0x10f))]();for(const _0x4abe5f in _0x4b789e){if(_0x4b789e[_0x2841e1(0x120)](_0x4abe5f)){const _0x2596cb=_0x4b789e[_0x4abe5f];Array[_0x2841e1(0x11d)](_0x2596cb)?_0x2596cb['forEach'](_0x3f5d21=>{const _0x1cd027=_0x2841e1;this[_0x1cd027(0x136)](_0x1e6155,_0x4abe5f,_0x3f5d21);}):this['appendFormData'](_0x1e6155,_0x4abe5f,_0x2596cb);}}const _0x157d7b={..._0x1e6155['getHeaders'](),'X-API-KEY':this[_0x2841e1(0x122)]},_0x343417=_0x2841e1(0xfd)+encodeURIComponent(_0x3cf925)+(_0x3b185b?'&group_id='+_0x118067[_0x2841e1(0x104)](encodeURIComponent,_0x3b185b):''),_0x56aec9=await this[_0x2841e1(0x102)][_0x2841e1(0x10a)](_0x343417,_0x1e6155,{'headers':_0x157d7b});return _0x56aec9[_0x2841e1(0x124)];}catch(_0x25cd3b){this[_0x2841e1(0x13c)](_0x25cd3b);}}async['getOutput'](_0x543277){const _0x238629=a0_0x242d13,_0x45b407={'PlAHY':_0x238629(0xfe),'osFIt':function(_0x31fc31,_0x4c591d){return _0x31fc31===_0x4c591d;},'GKVTK':function(_0x588459,_0x7a21c8){return _0x588459===_0x7a21c8;},'YjsZt':_0x238629(0x127)};try{const _0x1f80ca=await this['client'][_0x238629(0x106)](_0x45b407[_0x238629(0x11a)],{'params':{'filename':_0x543277}});if(_0x1f80ca['status']===0xcc)return null;return _0x1f80ca[_0x238629(0x124)];}catch(_0x3d0228){const _0xca8dda=_0x3d0228;if(_0xca8dda[_0x238629(0x110)]&&_0x45b407[_0x238629(0x103)](_0xca8dda['response']['status'],0xcc))return null;else{if(_0xca8dda[_0x238629(0x110)]&&_0x45b407['GKVTK'](_0xca8dda[_0x238629(0x110)][_0x238629(0x123)],0x198))throw new Error(_0x45b407[_0x238629(0x130)]);else this[_0x238629(0x13c)](_0x3d0228);}}}async[a0_0x242d13(0x13b)](_0x1ee2ad){const _0x2cea4a=a0_0x242d13;try{const _0x2d4d52=await this[_0x2cea4a(0x102)][_0x2cea4a(0x10a)]('/api/v1/runs/'+encodeURIComponent(_0x1ee2ad)+_0x2cea4a(0x134));return _0x2d4d52[_0x2cea4a(0x124)];}catch(_0x567812){this[_0x2cea4a(0x13c)](_0x567812);}}async[a0_0x242d13(0x108)](_0x2b0b5e){const _0x537c78=a0_0x242d13;try{const _0x57d741=await this[_0x537c78(0x102)]['get'](_0x537c78(0x114)+encodeURIComponent(_0x2b0b5e));return _0x57d741[_0x537c78(0x124)];}catch(_0xded411){this['handleError'](_0xded411);}}async[a0_0x242d13(0x126)](_0x2b600e){const _0x553e90=a0_0x242d13,_0x3fe654={'Pvalo':_0x553e90(0x12b)};try{const _0x26570c=await this['client'][_0x553e90(0x106)](_0x3fe654['Pvalo'],{'params':{'group_id':_0x2b600e}});return _0x26570c[_0x553e90(0x124)];}catch(_0x3fe2e0){this[_0x553e90(0x13c)](_0x3fe2e0);}}['appendFormData'](_0x394a5c,_0x48e6df,_0x3851e2){const _0x5bf3a4=a0_0x242d13,_0x450cc3={'nWIsq':function(_0x504022,_0x32b2f5){return _0x504022 instanceof _0x32b2f5;},'eMCkA':function(_0xa49107,_0x2b0274){return _0xa49107===_0x2b0274;}};if(_0x450cc3['nWIsq'](_0x3851e2,fs_1[_0x5bf3a4(0x10f)][_0x5bf3a4(0x121)]))_0x394a5c[_0x5bf3a4(0x109)](_0x48e6df,_0x3851e2);else{if(Buffer[_0x5bf3a4(0xff)](_0x3851e2))_0x394a5c['append'](_0x48e6df,_0x3851e2,{'filename':_0x48e6df+'.dat'});else{if(_0x450cc3[_0x5bf3a4(0xf8)](typeof _0x3851e2,_0x5bf3a4(0x11c))&&fs_1[_0x5bf3a4(0x10f)]['existsSync'](_0x3851e2)){const _0x407b5b=path_1[_0x5bf3a4(0x10f)][_0x5bf3a4(0x12f)](_0x3851e2);_0x394a5c[_0x5bf3a4(0x109)](_0x48e6df,fs_1[_0x5bf3a4(0x10f)][_0x5bf3a4(0x10e)](_0x3851e2),_0x407b5b);}else _0x394a5c['append'](_0x48e6df,_0x3851e2);}}}['handleError'](_0x3fce25){const _0x36f292=a0_0x242d13;if(axios_1[_0x36f292(0x10f)][_0x36f292(0x129)](_0x3fce25)){if(_0x3fce25[_0x36f292(0x110)])throw new Error(_0x36f292(0x107)+_0x3fce25['response']['status']+'\x20'+_0x3fce25['response'][_0x36f292(0x139)]+_0x36f292(0x137)+JSON[_0x36f292(0x119)](_0x3fce25[_0x36f292(0x110)][_0x36f292(0x124)]));else{if(_0x3fce25[_0x36f292(0x10c)])throw new Error(_0x36f292(0x128));}}console[_0x36f292(0x132)](_0x3fce25);throw new Error(_0x36f292(0x12c)+_0x3fce25['message']);}}exports[a0_0x242d13(0x138)]=FlowscaleAPI;
|
package/build/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';function a1_0x5948(_0x17cd04,_0x391904){var _0xdbbfe1=a1_0xdbbf();return a1_0x5948=function(_0x5948eb,_0x1a6e86){_0x5948eb=_0x5948eb-0x12b;var _0x26d497=_0xdbbfe1[_0x5948eb];return _0x26d497;},a1_0x5948(_0x17cd04,_0x391904);}var a1_0x3ff81b=a1_0x5948;(function(_0x529f50,_0x3e50cc){var _0x3c8042=a1_0x5948,_0xf376ef=_0x529f50();while(!![]){try{var _0x59c2de=parseInt(_0x3c8042(0x131))/0x1+parseInt(_0x3c8042(0x137))/0x2*(-parseInt(_0x3c8042(0x12c))/0x3)+-parseInt(_0x3c8042(0x133))/0x4*(parseInt(_0x3c8042(0x136))/0x5)+parseInt(_0x3c8042(0x132))/0x6*(-parseInt(_0x3c8042(0x130))/0x7)+-parseInt(_0x3c8042(0x12d))/0x8*(parseInt(_0x3c8042(0x12f))/0x9)+parseInt(_0x3c8042(0x135))/0xa+parseInt(_0x3c8042(0x134))/0xb*(parseInt(_0x3c8042(0x12e))/0xc);if(_0x59c2de===_0x3e50cc)break;else _0xf376ef['push'](_0xf376ef['shift']());}catch(_0x4fdd5f){_0xf376ef['push'](_0xf376ef['shift']());}}}(a1_0xdbbf,0xa11ea));Object['defineProperty'](exports,a1_0x3ff81b(0x12b),{'value':!![]});function a1_0xdbbf(){var _0xa7a013=['5604rGyFye','270GeGuNM','6650vzQXJy','985933vCqgqD','3918aCWCiO','24ZPRVNq','46937aoNFXy','5565990llDvqh','485065Qtcbin','2242054bMYDOJ','__esModule','3hboQKI','147152JWfvTF'];a1_0xdbbf=function(){return _0xa7a013;};return a1_0xdbbf();}
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "flowscale",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"description": "An NPM library for communicating with the Flowscale APIs",
|
|
5
|
-
"main": "
|
|
6
|
-
"files": ["
|
|
5
|
+
"main": "build/index.js",
|
|
6
|
+
"files": ["build/**/*"],
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
8
|
"keywords": [
|
|
9
9
|
"flowscale",
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
],
|
|
14
14
|
"scripts": {
|
|
15
15
|
"build": "tsc",
|
|
16
|
-
"test": "echo \"No tests yet\""
|
|
16
|
+
"test": "echo \"No tests yet\"",
|
|
17
|
+
"obfuscate": "javascript-obfuscator dist --output build --compact true --control-flow-flattening true"
|
|
17
18
|
},
|
|
18
19
|
"author": "flowscale",
|
|
19
20
|
"license": "MIT",
|
package/dist-obfuscated/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
'use strict';function a0_0x2c3f(){const _0x5ae3b8=['Yyzss','get','headers','Run\x20Timeout','\x20-\x20','1968771nRFwHZ','API\x20Error:\x20','default','hasOwnProperty','59462wZEeUP','1095VqxWNG','getRun','jTvtR','271856IQZONi','X-API-KEY','FlowscaleAPI','cancelRun','data','getOutput','nwUsD','handleError','status','tXPAZ','/api/v1/runs/','/cancel','client','dpFes','createReadStream','/api/v1/runs?workflow_id=','No\x20response\x20received\x20from\x20API\x20server','6312195GieJLc','isAxiosError','message','/api/v1/comfy/health','getQueue','__esModule','getHeaders','baseUrl','uquRU','skyHf','5755452hIlWbJ','.dat','executeWorkflow','/api/v1/runs/output','1gjXQkV','154MVURDK','use','isArray','14084tsZJoH','TDtmu','error','request','/api/v1/runs','isBuffer','post','zZplm','stringify','defineProperty','Error:\x20','80CkkuJw','apiKey','create','response','cZsim','2117533dkBKmB','appendFormData','append','existsSync','nSmbM'];a0_0x2c3f=function(){return _0x5ae3b8;};return a0_0x2c3f();}const a0_0x35b18c=a0_0x5c70;(function(_0x4bec67,_0x3c49c6){const _0x356c37=a0_0x5c70,_0x46799c=_0x4bec67();while(!![]){try{const _0x909514=-parseInt(_0x356c37(0x166))/0x1*(parseInt(_0x356c37(0x143))/0x2)+-parseInt(_0x356c37(0x184))/0x3+-parseInt(_0x356c37(0x16a))/0x4*(parseInt(_0x356c37(0x144))/0x5)+-parseInt(_0x356c37(0x162))/0x6+parseInt(_0x356c37(0x167))/0x7*(parseInt(_0x356c37(0x147))/0x8)+parseInt(_0x356c37(0x158))/0x9+parseInt(_0x356c37(0x175))/0xa*(parseInt(_0x356c37(0x17a))/0xb);if(_0x909514===_0x3c49c6)break;else _0x46799c['push'](_0x46799c['shift']());}catch(_0x38b978){_0x46799c['push'](_0x46799c['shift']());}}}(a0_0x2c3f,0x8bcee));function a0_0x5c70(_0x44d713,_0x335e62){const _0x2c3fb9=a0_0x2c3f();return a0_0x5c70=function(_0x5c703e,_0x4ce512){_0x5c703e=_0x5c703e-0x142;let _0x3e2826=_0x2c3fb9[_0x5c703e];return _0x3e2826;},a0_0x5c70(_0x44d713,_0x335e62);}var __importDefault=this&&this['__importDefault']||function(_0x9aec98){const _0x3fccef=a0_0x5c70;return _0x9aec98&&_0x9aec98[_0x3fccef(0x15d)]?_0x9aec98:{'default':_0x9aec98};};Object[a0_0x35b18c(0x173)](exports,a0_0x35b18c(0x15d),{'value':!![]}),exports[a0_0x35b18c(0x149)]=void 0x0;const axios_1=__importDefault(require('axios')),form_data_1=__importDefault(require('form-data')),fs_1=__importDefault(require('fs')),path_1=__importDefault(require('path'));class FlowscaleAPI{constructor(_0x5cdc14,_0x31f387){const _0x858f8d=a0_0x35b18c;this[_0x858f8d(0x176)]=_0x5cdc14,this[_0x858f8d(0x15f)]=_0x31f387,this[_0x858f8d(0x153)]=axios_1[_0x858f8d(0x186)][_0x858f8d(0x177)]({'baseURL':this[_0x858f8d(0x15f)]}),this[_0x858f8d(0x153)]['interceptors'][_0x858f8d(0x16d)][_0x858f8d(0x168)](_0x9e8d0f=>{const _0x10e4a3=_0x858f8d;return!_0x9e8d0f[_0x10e4a3(0x181)]&&(_0x9e8d0f[_0x10e4a3(0x181)]={}),_0x9e8d0f['headers'][_0x10e4a3(0x148)]=this[_0x10e4a3(0x176)],_0x9e8d0f;});}async['checkHealth'](){const _0x5f4c19=a0_0x35b18c,_0x3160df={'TDtmu':_0x5f4c19(0x15b)};try{const _0xd1de54=await this[_0x5f4c19(0x153)][_0x5f4c19(0x180)](_0x3160df[_0x5f4c19(0x16b)]);return _0xd1de54[_0x5f4c19(0x14b)];}catch(_0x3df155){this['handleError'](_0x3df155);}}async[a0_0x35b18c(0x15c)](){const _0x5cb8c3=a0_0x35b18c,_0x2d102c={'cZsim':'/api/v1/comfy/queue'};try{const _0x39763a=await this[_0x5cb8c3(0x153)][_0x5cb8c3(0x180)](_0x2d102c[_0x5cb8c3(0x179)]);return _0x39763a[_0x5cb8c3(0x14b)];}catch(_0x3fb223){this[_0x5cb8c3(0x14e)](_0x3fb223);}}async[a0_0x35b18c(0x164)](_0x483cc4,_0x210861,_0x5cbf01){const _0x22ac9d=a0_0x35b18c,_0x1eae5c={'Yyzss':function(_0x2abfd4,_0x355dc8){return _0x2abfd4(_0x355dc8);}};try{const _0x5c9d74=new form_data_1['default']();for(const _0x1b882f in _0x210861){if(_0x210861[_0x22ac9d(0x142)](_0x1b882f)){const _0x16b55c=_0x210861[_0x1b882f];Array[_0x22ac9d(0x169)](_0x16b55c)?_0x16b55c['forEach'](_0x4cc2a0=>{const _0x2e5745=_0x22ac9d;this[_0x2e5745(0x17b)](_0x5c9d74,_0x1b882f,_0x4cc2a0);}):this['appendFormData'](_0x5c9d74,_0x1b882f,_0x16b55c);}}const _0x2e6b81={..._0x5c9d74[_0x22ac9d(0x15e)](),'X-API-KEY':this[_0x22ac9d(0x176)]},_0x5b4e81=_0x22ac9d(0x156)+_0x1eae5c[_0x22ac9d(0x17f)](encodeURIComponent,_0x483cc4)+(_0x5cbf01?'&group_id='+_0x1eae5c['Yyzss'](encodeURIComponent,_0x5cbf01):''),_0x86eca9=await this['client'][_0x22ac9d(0x170)](_0x5b4e81,_0x5c9d74,{'headers':_0x2e6b81});return _0x86eca9[_0x22ac9d(0x14b)];}catch(_0x175944){this[_0x22ac9d(0x14e)](_0x175944);}}async[a0_0x35b18c(0x14c)](_0x5de6f0){const _0x241468=a0_0x35b18c,_0x4737e9={'plDVr':_0x241468(0x165),'tXPAZ':function(_0x3fb5c6,_0x185131){return _0x3fb5c6===_0x185131;},'dpFes':function(_0x4e00d2,_0x56ce96){return _0x4e00d2===_0x56ce96;},'jTvtR':function(_0x49da5c,_0x9ef3db){return _0x49da5c===_0x9ef3db;},'uquRU':_0x241468(0x182)};try{const _0x58c620=await this['client'][_0x241468(0x180)](_0x4737e9['plDVr'],{'params':{'filename':_0x5de6f0}});if(_0x4737e9[_0x241468(0x150)](_0x58c620[_0x241468(0x14f)],0xcc))return null;return _0x58c620[_0x241468(0x14b)];}catch(_0x412181){const _0x4c182c=_0x412181;if(_0x4c182c[_0x241468(0x178)]&&_0x4737e9[_0x241468(0x154)](_0x4c182c[_0x241468(0x178)]['status'],0xcc))return null;else{if(_0x4c182c['response']&&_0x4737e9[_0x241468(0x146)](_0x4c182c[_0x241468(0x178)][_0x241468(0x14f)],0x198))throw new Error(_0x4737e9[_0x241468(0x160)]);else this['handleError'](_0x412181);}}}async[a0_0x35b18c(0x14a)](_0x293f6d){const _0x12dcd6=a0_0x35b18c,_0x4e3119={'nwUsD':function(_0x34c1f9,_0x1363f3){return _0x34c1f9(_0x1363f3);}};try{const _0x4fe444=await this['client']['post']('/api/v1/runs/'+_0x4e3119[_0x12dcd6(0x14d)](encodeURIComponent,_0x293f6d)+_0x12dcd6(0x152));return _0x4fe444[_0x12dcd6(0x14b)];}catch(_0x2412f6){this[_0x12dcd6(0x14e)](_0x2412f6);}}async[a0_0x35b18c(0x145)](_0x22ca05){const _0x1315e6=a0_0x35b18c,_0x3124e4={'nSmbM':function(_0x3cb723,_0x84e9d4){return _0x3cb723(_0x84e9d4);}};try{const _0x22aba9=await this[_0x1315e6(0x153)][_0x1315e6(0x180)](_0x1315e6(0x151)+_0x3124e4[_0x1315e6(0x17e)](encodeURIComponent,_0x22ca05));return _0x22aba9[_0x1315e6(0x14b)];}catch(_0x2f3dd4){this[_0x1315e6(0x14e)](_0x2f3dd4);}}async['getRuns'](_0x1e637f){const _0xe984bf=a0_0x35b18c;try{const _0xc8bf4c=await this[_0xe984bf(0x153)]['get'](_0xe984bf(0x16e),{'params':{'group_id':_0x1e637f}});return _0xc8bf4c[_0xe984bf(0x14b)];}catch(_0x3e1e34){this[_0xe984bf(0x14e)](_0x3e1e34);}}[a0_0x35b18c(0x17b)](_0x2f89ff,_0x16a41f,_0x24b86f){const _0x3a2ac4=a0_0x35b18c,_0x1e414a={'NXiOD':function(_0x5f4421,_0x330bdf){return _0x5f4421 instanceof _0x330bdf;},'zZplm':function(_0x46b652,_0x49b0c9){return _0x46b652===_0x49b0c9;},'iOmse':'string'};if(_0x1e414a['NXiOD'](_0x24b86f,fs_1[_0x3a2ac4(0x186)]['ReadStream']))_0x2f89ff[_0x3a2ac4(0x17c)](_0x16a41f,_0x24b86f);else{if(Buffer[_0x3a2ac4(0x16f)](_0x24b86f))_0x2f89ff['append'](_0x16a41f,_0x24b86f,{'filename':_0x16a41f+_0x3a2ac4(0x163)});else{if(_0x1e414a[_0x3a2ac4(0x171)](typeof _0x24b86f,_0x1e414a['iOmse'])&&fs_1[_0x3a2ac4(0x186)][_0x3a2ac4(0x17d)](_0x24b86f)){const _0x15b19d=path_1['default']['basename'](_0x24b86f);_0x2f89ff[_0x3a2ac4(0x17c)](_0x16a41f,fs_1[_0x3a2ac4(0x186)][_0x3a2ac4(0x155)](_0x24b86f),_0x15b19d);}else _0x2f89ff[_0x3a2ac4(0x17c)](_0x16a41f,_0x24b86f);}}}['handleError'](_0x1f8f9f){const _0x3aa9b3=a0_0x35b18c,_0x3f80d9={'skyHf':_0x3aa9b3(0x157)};if(axios_1[_0x3aa9b3(0x186)][_0x3aa9b3(0x159)](_0x1f8f9f)){if(_0x1f8f9f[_0x3aa9b3(0x178)])throw new Error(_0x3aa9b3(0x185)+_0x1f8f9f[_0x3aa9b3(0x178)][_0x3aa9b3(0x14f)]+'\x20'+_0x1f8f9f[_0x3aa9b3(0x178)]['statusText']+_0x3aa9b3(0x183)+JSON[_0x3aa9b3(0x172)](_0x1f8f9f['response'][_0x3aa9b3(0x14b)]));else{if(_0x1f8f9f[_0x3aa9b3(0x16d)])throw new Error(_0x3f80d9[_0x3aa9b3(0x161)]);}}console[_0x3aa9b3(0x16c)](_0x1f8f9f);throw new Error(_0x3aa9b3(0x174)+_0x1f8f9f[_0x3aa9b3(0x15a)]);}}exports[a0_0x35b18c(0x149)]=FlowscaleAPI;
|
package/dist-obfuscated/types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
'use strict';function a1_0xa1ed(_0x17a46e,_0x3bd021){var _0x3e5cf0=a1_0x3e5c();return a1_0xa1ed=function(_0xa1ed8c,_0x4dd556){_0xa1ed8c=_0xa1ed8c-0x1bf;var _0x4076fa=_0x3e5cf0[_0xa1ed8c];return _0x4076fa;},a1_0xa1ed(_0x17a46e,_0x3bd021);}var a1_0x2c427d=a1_0xa1ed;(function(_0x4587cb,_0x504664){var _0x271151=a1_0xa1ed,_0x2a6f45=_0x4587cb();while(!![]){try{var _0xf27bb7=parseInt(_0x271151(0x1c3))/0x1*(-parseInt(_0x271151(0x1c1))/0x2)+parseInt(_0x271151(0x1c7))/0x3+-parseInt(_0x271151(0x1c4))/0x4+parseInt(_0x271151(0x1c9))/0x5*(-parseInt(_0x271151(0x1bf))/0x6)+parseInt(_0x271151(0x1c5))/0x7*(-parseInt(_0x271151(0x1c8))/0x8)+-parseInt(_0x271151(0x1c2))/0x9+parseInt(_0x271151(0x1c0))/0xa;if(_0xf27bb7===_0x504664)break;else _0x2a6f45['push'](_0x2a6f45['shift']());}catch(_0x596787){_0x2a6f45['push'](_0x2a6f45['shift']());}}}(a1_0x3e5c,0x58cf9));Object[a1_0x2c427d(0x1c6)](exports,a1_0x2c427d(0x1ca),{'value':!![]});function a1_0x3e5c(){var _0x5620ea=['1494830tYSeiQ','__esModule','6ajnxQm','13895840RyAzlp','342334rfCCqu','759987iQaGQv','1ibLEkY','1766248TCRExc','7xvyvtm','defineProperty','528948qLBUdJ','1647944UhkTav'];a1_0x3e5c=function(){return _0x5620ea;};return a1_0x3e5c();}
|