@anncic-api/cache 3.4.7 → 3.4.9

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.
@@ -1 +1 @@
1
- const a0_0x9ef4fb=a0_0x3d73;function a0_0x3c28(){const _0x199443=['memory','cache-manager-fs-hash','2120316hpzvPE','136LqDUug','file','/runtime/.cache','defineProperty','127.0.0.1','appDir','30888pcHeqK','__esModule','name','202846djvaNq','search','toString','3870ttTNrV','5bnWaPN','1061065GAmmjk','40yxKBJH','17780auAMUA','(((.+)+)+)+$','19167GsbntW','3906BWAZBA','env'];a0_0x3c28=function(){return _0x199443;};return a0_0x3c28();}(function(_0x1fc22c,_0x1bb783){const _0x50be3d=a0_0x3d73,_0x1f6c12=_0x1fc22c();while(!![]){try{const _0x54a12f=parseInt(_0x50be3d(0x76))/0x1*(-parseInt(_0x50be3d(0x79))/0x2)+parseInt(_0x50be3d(0x7b))/0x3*(-parseInt(_0x50be3d(0x81))/0x4)+parseInt(_0x50be3d(0x77))/0x5+parseInt(_0x50be3d(0x6f))/0x6+-parseInt(_0x50be3d(0x72))/0x7*(-parseInt(_0x50be3d(0x78))/0x8)+-parseInt(_0x50be3d(0x7c))/0x9*(parseInt(_0x50be3d(0x75))/0xa)+parseInt(_0x50be3d(0x80))/0xb;if(_0x54a12f===_0x1bb783)break;else _0x1f6c12['push'](_0x1f6c12['shift']());}catch(_0x4d6307){_0x1f6c12['push'](_0x1f6c12['shift']());}}}(a0_0x3c28,0x1e9bd));const a0_0x53a0cd=(function(){let _0x1382ec=!![];return function(_0x24dfcf,_0x22fc9d){const _0x500084=_0x1382ec?function(){if(_0x22fc9d){const _0x51dcd1=_0x22fc9d['apply'](_0x24dfcf,arguments);return _0x22fc9d=null,_0x51dcd1;}}:function(){};return _0x1382ec=![],_0x500084;};}()),a0_0x1dc54c=a0_0x53a0cd(this,function(){const _0x1d9585=a0_0x3d73;return a0_0x1dc54c[_0x1d9585(0x74)]()[_0x1d9585(0x73)](_0x1d9585(0x7a))[_0x1d9585(0x74)]()['constructor'](a0_0x1dc54c)[_0x1d9585(0x73)](_0x1d9585(0x7a));});function a0_0x3d73(_0xc1f6ee,_0x408613){const _0x366df3=a0_0x3c28();return a0_0x3d73=function(_0x1dc54c,_0x53a0cd){_0x1dc54c=_0x1dc54c-0x6a;let _0x3c28b2=_0x366df3[_0x1dc54c];return _0x3c28b2;},a0_0x3d73(_0xc1f6ee,_0x408613);}a0_0x1dc54c();'use strict';Object[a0_0x9ef4fb(0x6c)](exports,a0_0x9ef4fb(0x70),{'value':!![]});const fsStore=require(a0_0x9ef4fb(0x7f)),redisStore=require('cache-manager-ioredis');exports['default']=_0x18bd90=>{const _0x23625f=a0_0x9ef4fb;return{'cache':{'default':_0x23625f(0x6a),'stores':{'file':{'store':fsStore,'options':{'ttl':0xed4e00,'subdirs':![],'path':_0x18bd90[_0x23625f(0x6e)]+_0x23625f(0x6b)+((_0x18bd90===null||_0x18bd90===void 0x0?void 0x0:_0x18bd90[_0x23625f(0x7d)])?'-'+_0x18bd90['env']:'')}},'redis':{'store':redisStore,'options':{'port':0x18eb,'host':_0x23625f(0x6d),'password':'','ttl':0xed4e00,'keyPrefix':_0x18bd90[_0x23625f(0x71)]+':'+((_0x18bd90===null||_0x18bd90===void 0x0?void 0x0:_0x18bd90[_0x23625f(0x7d)])?_0x18bd90[_0x23625f(0x7d)]+':':'')}},'memory':{'store':_0x23625f(0x7e),'options':{'max':0x64,'ttl':0xed4e00}}}}};};
1
+ const a0_0xa13cf=a0_0x384f;(function(_0x33193a,_0x3fe4f4){const _0x3123fe=a0_0x384f,_0x5b95fe=_0x33193a();while(!![]){try{const _0x14bb4f=-parseInt(_0x3123fe(0xa8))/0x1+parseInt(_0x3123fe(0xa2))/0x2+-parseInt(_0x3123fe(0x99))/0x3*(-parseInt(_0x3123fe(0xa7))/0x4)+parseInt(_0x3123fe(0x9d))/0x5+parseInt(_0x3123fe(0x97))/0x6+-parseInt(_0x3123fe(0xab))/0x7*(-parseInt(_0x3123fe(0xa3))/0x8)+-parseInt(_0x3123fe(0xa4))/0x9*(parseInt(_0x3123fe(0x9e))/0xa);if(_0x14bb4f===_0x3fe4f4)break;else _0x5b95fe['push'](_0x5b95fe['shift']());}catch(_0xb16ba5){_0x5b95fe['push'](_0x5b95fe['shift']());}}}(a0_0x249f,0x7fb70));const a0_0x8b21e6=(function(){let _0x55e545=!![];return function(_0x18195e,_0x194b09){const _0xb68b77=_0x55e545?function(){const _0x3e6f75=a0_0x384f;if(_0x194b09){const _0x4150e7=_0x194b09[_0x3e6f75(0x95)](_0x18195e,arguments);return _0x194b09=null,_0x4150e7;}}:function(){};return _0x55e545=![],_0xb68b77;};}()),a0_0x2a4725=a0_0x8b21e6(this,function(){const _0x4a17e5=a0_0x384f;return a0_0x2a4725[_0x4a17e5(0x96)]()[_0x4a17e5(0x9c)](_0x4a17e5(0xa9))[_0x4a17e5(0x96)]()[_0x4a17e5(0x9b)](a0_0x2a4725)[_0x4a17e5(0x9c)]('(((.+)+)+)+$');});a0_0x2a4725();'use strict';function a0_0x249f(){const _0x2d1991=['127.0.0.1','apply','toString','1641936NcRFRK','defineProperty','233931JOsHpI','env','constructor','search','517105GtNlPS','950QveGgP','cache-manager-fs-hash','appDir','default','848050TzowlD','8EakvRx','52974JhgLwV','memory','file','24CjPJuG','503919zRKOqF','(((.+)+)+)+$','cache-manager-ioredis','2220715oIgSei'];a0_0x249f=function(){return _0x2d1991;};return a0_0x249f();}function a0_0x384f(_0x162c66,_0x3cf523){const _0x2554aa=a0_0x249f();return a0_0x384f=function(_0x2a4725,_0x8b21e6){_0x2a4725=_0x2a4725-0x95;let _0x249ffe=_0x2554aa[_0x2a4725];return _0x249ffe;},a0_0x384f(_0x162c66,_0x3cf523);}Object[a0_0xa13cf(0x98)](exports,'__esModule',{'value':!![]});const fsStore=require(a0_0xa13cf(0x9f)),redisStore=require(a0_0xa13cf(0xaa));exports[a0_0xa13cf(0xa1)]=_0x15a414=>{const _0x137a58=a0_0xa13cf;return{'cache':{'default':_0x137a58(0xa6),'stores':{'file':{'store':fsStore,'options':{'ttl':0xed4e00,'subdirs':![],'path':_0x15a414[_0x137a58(0xa0)]+'/runtime/.cache'+((_0x15a414===null||_0x15a414===void 0x0?void 0x0:_0x15a414[_0x137a58(0x9a)])?'-'+_0x15a414['env']:'')}},'redis':{'store':redisStore,'options':{'port':0x18eb,'host':_0x137a58(0xac),'password':'','ttl':0xed4e00,'keyPrefix':_0x15a414['name']+':'+((_0x15a414===null||_0x15a414===void 0x0?void 0x0:_0x15a414[_0x137a58(0x9a)])?_0x15a414[_0x137a58(0x9a)]+':':'')}},'memory':{'store':_0x137a58(0xa5),'options':{'max':0x64,'ttl':0xed4e00}}}}};};
@@ -1 +1 @@
1
- var a1_0x52f1a0=a1_0x40ee;(function(_0x5364ac,_0x26f9a8){var _0x13bb92=a1_0x40ee,_0x1e536c=_0x5364ac();while(!![]){try{var _0x2aac5=parseInt(_0x13bb92(0x1b8))/0x1*(parseInt(_0x13bb92(0x1c3))/0x2)+parseInt(_0x13bb92(0x1c8))/0x3+parseInt(_0x13bb92(0x1c6))/0x4*(-parseInt(_0x13bb92(0x1b5))/0x5)+-parseInt(_0x13bb92(0x1cb))/0x6*(-parseInt(_0x13bb92(0x1c2))/0x7)+-parseInt(_0x13bb92(0x1b6))/0x8+-parseInt(_0x13bb92(0x1b4))/0x9*(parseInt(_0x13bb92(0x1c5))/0xa)+parseInt(_0x13bb92(0x1c0))/0xb*(-parseInt(_0x13bb92(0x1ba))/0xc);if(_0x2aac5===_0x26f9a8)break;else _0x1e536c['push'](_0x1e536c['shift']());}catch(_0x897ead){_0x1e536c['push'](_0x1e536c['shift']());}}}(a1_0x5271,0x5f415));var a1_0xd0711e=(function(){var _0x50a958=!![];return function(_0x1d8c29,_0x394d76){var _0x215f06=_0x50a958?function(){if(_0x394d76){var _0x151456=_0x394d76['apply'](_0x1d8c29,arguments);return _0x394d76=null,_0x151456;}}:function(){};return _0x50a958=![],_0x215f06;};}()),a1_0x84bec6=a1_0xd0711e(this,function(){var _0x40bf05=a1_0x40ee;return a1_0x84bec6[_0x40bf05(0x1c7)]()[_0x40bf05(0x1c1)](_0x40bf05(0x1ca))[_0x40bf05(0x1c7)]()[_0x40bf05(0x1bd)](a1_0x84bec6)['search'](_0x40bf05(0x1ca));});a1_0x84bec6();'use strict';var __decorate=this&&this['__decorate']||function(_0x3c8775,_0x51eff7,_0x45359a,_0x1379ac){var _0x1cc16b=a1_0x40ee,_0x5a5b32=arguments['length'],_0x490763=_0x5a5b32<0x3?_0x51eff7:_0x1379ac===null?_0x1379ac=Object[_0x1cc16b(0x1c9)](_0x51eff7,_0x45359a):_0x1379ac,_0x1ce3c4;if(typeof Reflect==='object'&&typeof Reflect[_0x1cc16b(0x1bf)]==='function')_0x490763=Reflect[_0x1cc16b(0x1bf)](_0x3c8775,_0x51eff7,_0x45359a,_0x1379ac);else{for(var _0x328529=_0x3c8775[_0x1cc16b(0x1b7)]-0x1;_0x328529>=0x0;_0x328529--)if(_0x1ce3c4=_0x3c8775[_0x328529])_0x490763=(_0x5a5b32<0x3?_0x1ce3c4(_0x490763):_0x5a5b32>0x3?_0x1ce3c4(_0x51eff7,_0x45359a,_0x490763):_0x1ce3c4(_0x51eff7,_0x45359a))||_0x490763;}return _0x5a5b32>0x3&&_0x490763&&Object['defineProperty'](_0x51eff7,_0x45359a,_0x490763),_0x490763;};Object[a1_0x52f1a0(0x1cc)](exports,a1_0x52f1a0(0x1bb),{'value':!![]}),exports['CustomConfiguration']=void 0x0;function a1_0x40ee(_0x5eec97,_0x547887){var _0x283b50=a1_0x5271();return a1_0x40ee=function(_0x84bec6,_0xd0711e){_0x84bec6=_0x84bec6-0x1b4;var _0x52715f=_0x283b50[_0x84bec6];return _0x52715f;},a1_0x40ee(_0x5eec97,_0x547887);}const core_1=require(a1_0x52f1a0(0x1be)),ConfigDefault=require(a1_0x52f1a0(0x1c4));function a1_0x5271(){var _0x35ca7f=['decorate','121qPjjmV','search','7sIPnJp','10eHRsMY','./config/config.default','2560kPZrbA','4alcbeX','toString','1294746IHTVxw','getOwnPropertyDescriptor','(((.+)+)+)+$','3304734dXhvMN','defineProperty','22167gwNLEz','433445XYDZye','1177528DhGJZX','length','107291cfIhsF','anncic-api:cache','288276UtagOU','__esModule','Configuration','constructor','@midwayjs/core'];a1_0x5271=function(){return _0x35ca7f;};return a1_0x5271();}let CustomConfiguration=class CustomConfiguration{};exports['CustomConfiguration']=CustomConfiguration,exports['CustomConfiguration']=CustomConfiguration=__decorate([(0x0,core_1[a1_0x52f1a0(0x1bc)])({'conflictCheck':![],'namespace':a1_0x52f1a0(0x1b9),'importConfigs':[{'default':ConfigDefault}]})],CustomConfiguration);
1
+ var a1_0x2c6757=a1_0x1c9f;(function(_0x3d0939,_0x3ac8e7){var _0x364191=a1_0x1c9f,_0x38b835=_0x3d0939();while(!![]){try{var _0x9c494e=-parseInt(_0x364191(0xd8))/0x1*(parseInt(_0x364191(0xd0))/0x2)+parseInt(_0x364191(0xc6))/0x3*(parseInt(_0x364191(0xce))/0x4)+-parseInt(_0x364191(0xcb))/0x5+-parseInt(_0x364191(0xcc))/0x6+parseInt(_0x364191(0xd5))/0x7*(parseInt(_0x364191(0xd9))/0x8)+-parseInt(_0x364191(0xc9))/0x9*(parseInt(_0x364191(0xd6))/0xa)+parseInt(_0x364191(0xdd))/0xb;if(_0x9c494e===_0x3ac8e7)break;else _0x38b835['push'](_0x38b835['shift']());}catch(_0x3bf411){_0x38b835['push'](_0x38b835['shift']());}}}(a1_0xab11,0x8b993));function a1_0xab11(){var _0x357cee=['constructor','anncic-api:cache','5769QOESBN','./config/config.default','1051835JkxDnV','5172408UsCUHq','function','1240liOFgE','Configuration','322778ehoNvz','@midwayjs/core','toString','CustomConfiguration','getOwnPropertyDescriptor','2114urKcvA','310sTiJQI','(((.+)+)+)+$','6ckWyqg','15976TzMBKw','search','__esModule','defineProperty','15567541fDBEgG','length','5943MBmHjC'];a1_0xab11=function(){return _0x357cee;};return a1_0xab11();}var a1_0x447084=(function(){var _0x2c0039=!![];return function(_0x5ac32f,_0x19a490){var _0x3045d3=_0x2c0039?function(){if(_0x19a490){var _0x340e32=_0x19a490['apply'](_0x5ac32f,arguments);return _0x19a490=null,_0x340e32;}}:function(){};return _0x2c0039=![],_0x3045d3;};}()),a1_0x18f141=a1_0x447084(this,function(){var _0x2a6e1b=a1_0x1c9f;return a1_0x18f141[_0x2a6e1b(0xd2)]()[_0x2a6e1b(0xda)](_0x2a6e1b(0xd7))[_0x2a6e1b(0xd2)]()[_0x2a6e1b(0xc7)](a1_0x18f141)[_0x2a6e1b(0xda)](_0x2a6e1b(0xd7));});function a1_0x1c9f(_0x14032a,_0x1c4ea1){var _0x537efc=a1_0xab11();return a1_0x1c9f=function(_0x18f141,_0x447084){_0x18f141=_0x18f141-0xc5;var _0xab1175=_0x537efc[_0x18f141];return _0xab1175;},a1_0x1c9f(_0x14032a,_0x1c4ea1);}a1_0x18f141();'use strict';var __decorate=this&&this['__decorate']||function(_0x331902,_0x407d3c,_0x53c03f,_0x3b1e1f){var _0x390365=a1_0x1c9f,_0x6455ee=arguments[_0x390365(0xc5)],_0x568a52=_0x6455ee<0x3?_0x407d3c:_0x3b1e1f===null?_0x3b1e1f=Object[_0x390365(0xd4)](_0x407d3c,_0x53c03f):_0x3b1e1f,_0x1dc41e;if(typeof Reflect==='object'&&typeof Reflect['decorate']===_0x390365(0xcd))_0x568a52=Reflect['decorate'](_0x331902,_0x407d3c,_0x53c03f,_0x3b1e1f);else{for(var _0x54a7de=_0x331902[_0x390365(0xc5)]-0x1;_0x54a7de>=0x0;_0x54a7de--)if(_0x1dc41e=_0x331902[_0x54a7de])_0x568a52=(_0x6455ee<0x3?_0x1dc41e(_0x568a52):_0x6455ee>0x3?_0x1dc41e(_0x407d3c,_0x53c03f,_0x568a52):_0x1dc41e(_0x407d3c,_0x53c03f))||_0x568a52;}return _0x6455ee>0x3&&_0x568a52&&Object[_0x390365(0xdc)](_0x407d3c,_0x53c03f,_0x568a52),_0x568a52;};Object[a1_0x2c6757(0xdc)](exports,a1_0x2c6757(0xdb),{'value':!![]}),exports[a1_0x2c6757(0xd3)]=void 0x0;const core_1=require(a1_0x2c6757(0xd1)),ConfigDefault=require(a1_0x2c6757(0xca));let CustomConfiguration=class CustomConfiguration{};exports[a1_0x2c6757(0xd3)]=CustomConfiguration,exports['CustomConfiguration']=CustomConfiguration=__decorate([(0x0,core_1[a1_0x2c6757(0xcf)])({'conflictCheck':![],'namespace':a1_0x2c6757(0xc8),'importConfigs':[{'default':ConfigDefault}]})],CustomConfiguration);
@@ -1 +1 @@
1
- function a2_0x5f23(_0x3af372,_0xff10cf){const _0x344eeb=a2_0x12b8();return a2_0x5f23=function(_0x4b132d,_0x12d927){_0x4b132d=_0x4b132d-0x1cc;let _0x12b855=_0x344eeb[_0x4b132d];return _0x12b855;},a2_0x5f23(_0x3af372,_0xff10cf);}const a2_0x2ca1b2=a2_0x5f23;(function(_0xe7f60a,_0x313d8b){const _0x30edc3=a2_0x5f23,_0x5f043d=_0xe7f60a();while(!![]){try{const _0x1f5225=parseInt(_0x30edc3(0x1d3))/0x1+parseInt(_0x30edc3(0x1e2))/0x2+parseInt(_0x30edc3(0x1e4))/0x3*(-parseInt(_0x30edc3(0x1d9))/0x4)+-parseInt(_0x30edc3(0x1e6))/0x5*(-parseInt(_0x30edc3(0x1e1))/0x6)+parseInt(_0x30edc3(0x1de))/0x7+parseInt(_0x30edc3(0x1e0))/0x8*(parseInt(_0x30edc3(0x1e3))/0x9)+-parseInt(_0x30edc3(0x1e7))/0xa*(parseInt(_0x30edc3(0x1d0))/0xb);if(_0x1f5225===_0x313d8b)break;else _0x5f043d['push'](_0x5f043d['shift']());}catch(_0x2275c8){_0x5f043d['push'](_0x5f043d['shift']());}}}(a2_0x12b8,0x3e053));const a2_0x12d927=(function(){let _0x58d45f=!![];return function(_0x2f1462,_0x279ee8){const _0x14a3e6=_0x58d45f?function(){const _0x5c2dee=a2_0x5f23;if(_0x279ee8){const _0x3d6ede=_0x279ee8[_0x5c2dee(0x1df)](_0x2f1462,arguments);return _0x279ee8=null,_0x3d6ede;}}:function(){};return _0x58d45f=![],_0x14a3e6;};}()),a2_0x4b132d=a2_0x12d927(this,function(){const _0x522edf=a2_0x5f23;return a2_0x4b132d['toString']()[_0x522edf(0x1e5)](_0x522edf(0x1da))[_0x522edf(0x1d7)]()[_0x522edf(0x1e8)](a2_0x4b132d)['search'](_0x522edf(0x1da));});a2_0x4b132d();function a2_0x12b8(){const _0x1662ce=['(((.+)+)+)+$','Method::Decorator','../service/CacheService','MD5','2753478iLwSHl','apply','40QvGcci','6RGPfVf','210076qRcghN','575442gzgqqF','123Fvvjqp','search','955460KOFoNC','242590blpXOZ','constructor','REQUEST_OBJ_CTX_KEY','app','__esModule','stringify','defineProperty','253riBSjd','getApplicationContext','parse','18273QjWKnF','value','CacheService','Cache','toString','use','21020OJNYwV'];a2_0x12b8=function(){return _0x1662ce;};return a2_0x12b8();}'use strict';Object[a2_0x2ca1b2(0x1cf)](exports,a2_0x2ca1b2(0x1cd),{'value':!![]}),exports[a2_0x2ca1b2(0x1d6)]=void 0x0;const crypto_js_1=require('crypto-js'),CacheService_1=require(a2_0x2ca1b2(0x1dc)),core_1=require('@midwayjs/core');function Cache(_0x2099fc,_0x63ccb0){return(_0x20a189,_0x4e68bb,_0x106453)=>{const _0x11f467=a2_0x5f23,_0x3fae25=_0x106453['value'];return _0x106453[_0x11f467(0x1d4)]=async function(..._0x54dd41){const _0x1e718c=_0x11f467;!_0x2099fc&&(_0x2099fc=(0x0,crypto_js_1[_0x1e718c(0x1dd)])(JSON['stringify'](_0x54dd41))[_0x1e718c(0x1d7)]());let _0x734d65=await this[core_1[_0x1e718c(0x1e9)]][_0x1e718c(0x1cc)][_0x1e718c(0x1d1)]()['getAsync'](CacheService_1[_0x1e718c(0x1d5)]),_0x185872=await _0x734d65[_0x1e718c(0x1d8)](_0x1e718c(0x1db))['get'](_0x2099fc);if(_0x185872)return JSON[_0x1e718c(0x1d2)](_0x185872);else _0x185872=await _0x3fae25[_0x1e718c(0x1df)](this,[..._0x54dd41]),await _0x734d65[_0x1e718c(0x1d8)](_0x1e718c(0x1db))['set'](_0x2099fc,JSON[_0x1e718c(0x1ce)](_0x185872),_0x63ccb0);return _0x185872;},_0x106453;};}exports[a2_0x2ca1b2(0x1d6)]=Cache;
1
+ const a2_0x42fde9=a2_0x58e7;function a2_0x58e7(_0x321f9c,_0x48cd4b){const _0x228fcb=a2_0x5801();return a2_0x58e7=function(_0xc594de,_0x22e416){_0xc594de=_0xc594de-0x79;let _0x580131=_0x228fcb[_0xc594de];return _0x580131;},a2_0x58e7(_0x321f9c,_0x48cd4b);}(function(_0x3543f1,_0x37594a){const _0x25f667=a2_0x58e7,_0x1aed93=_0x3543f1();while(!![]){try{const _0x3eee79=-parseInt(_0x25f667(0x7d))/0x1*(parseInt(_0x25f667(0x84))/0x2)+-parseInt(_0x25f667(0x83))/0x3*(parseInt(_0x25f667(0x86))/0x4)+-parseInt(_0x25f667(0x88))/0x5*(parseInt(_0x25f667(0x97))/0x6)+-parseInt(_0x25f667(0x96))/0x7*(parseInt(_0x25f667(0x8c))/0x8)+-parseInt(_0x25f667(0x7c))/0x9*(parseInt(_0x25f667(0x7f))/0xa)+parseInt(_0x25f667(0x7a))/0xb+-parseInt(_0x25f667(0x87))/0xc*(-parseInt(_0x25f667(0x8b))/0xd);if(_0x3eee79===_0x37594a)break;else _0x1aed93['push'](_0x1aed93['shift']());}catch(_0x550768){_0x1aed93['push'](_0x1aed93['shift']());}}}(a2_0x5801,0x4a548));const a2_0x22e416=(function(){let _0x2ef8fb=!![];return function(_0x4b333c,_0x740368){const _0x52bd8=_0x2ef8fb?function(){const _0xae47b6=a2_0x58e7;if(_0x740368){const _0x409eba=_0x740368[_0xae47b6(0x7b)](_0x4b333c,arguments);return _0x740368=null,_0x409eba;}}:function(){};return _0x2ef8fb=![],_0x52bd8;};}()),a2_0xc594de=a2_0x22e416(this,function(){const _0x2e1b75=a2_0x58e7;return a2_0xc594de[_0x2e1b75(0x93)]()['search'](_0x2e1b75(0x8a))[_0x2e1b75(0x93)]()[_0x2e1b75(0x8e)](a2_0xc594de)[_0x2e1b75(0x91)](_0x2e1b75(0x8a));});a2_0xc594de();'use strict';function a2_0x5801(){const _0x5968ab=['3971904WhpiEV','515wpzGwq','Cache','(((.+)+)+)+$','65AKqiTC','24SDnWWm','stringify','constructor','getAsync','crypto-js','search','__esModule','toString','set','REQUEST_OBJ_CTX_KEY','176827uFLHbm','17322hnUzkp','Method::Decorator','@midwayjs/core','2705395WyySqq','apply','9JeGnxM','1NpqvtV','use','6063100qTxYTS','get','CacheService','../service/CacheService','6AodzZg','196478ovRrew','value','1037512znWWIC'];a2_0x5801=function(){return _0x5968ab;};return a2_0x5801();}Object['defineProperty'](exports,a2_0x42fde9(0x92),{'value':!![]}),exports[a2_0x42fde9(0x89)]=void 0x0;const crypto_js_1=require(a2_0x42fde9(0x90)),CacheService_1=require(a2_0x42fde9(0x82)),core_1=require(a2_0x42fde9(0x79));function Cache(_0x3ebe38,_0x510643){return(_0x2b530c,_0x17b8cf,_0x1b96b8)=>{const _0x1fcbfa=a2_0x58e7,_0xd76bda=_0x1b96b8['value'];return _0x1b96b8[_0x1fcbfa(0x85)]=async function(..._0x500474){const _0x367af8=_0x1fcbfa;!_0x3ebe38&&(_0x3ebe38=(0x0,crypto_js_1['MD5'])(JSON[_0x367af8(0x8d)](_0x500474))[_0x367af8(0x93)]());let _0x3d36df=await this[core_1[_0x367af8(0x95)]]['app']['getApplicationContext']()[_0x367af8(0x8f)](CacheService_1[_0x367af8(0x81)]),_0x336e63=await _0x3d36df[_0x367af8(0x7e)](_0x367af8(0x98))[_0x367af8(0x80)](_0x3ebe38);if(_0x336e63)return JSON['parse'](_0x336e63);else _0x336e63=await _0xd76bda['apply'](this,[..._0x500474]),await _0x3d36df[_0x367af8(0x7e)]('Method::Decorator')[_0x367af8(0x94)](_0x3ebe38,JSON[_0x367af8(0x8d)](_0x336e63),_0x510643);return _0x336e63;},_0x1b96b8;};}exports[a2_0x42fde9(0x89)]=Cache;
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- var a3_0x13a7b4=a3_0x2905;(function(_0x53f9fb,_0x3a344c){var _0x799356=a3_0x2905,_0x1039c9=_0x53f9fb();while(!![]){try{var _0x51200c=-parseInt(_0x799356(0x1d3))/0x1+parseInt(_0x799356(0x1cd))/0x2*(parseInt(_0x799356(0x1c3))/0x3)+parseInt(_0x799356(0x1d0))/0x4*(parseInt(_0x799356(0x1d5))/0x5)+parseInt(_0x799356(0x1d1))/0x6+parseInt(_0x799356(0x1c8))/0x7+-parseInt(_0x799356(0x1c1))/0x8*(-parseInt(_0x799356(0x1c2))/0x9)+-parseInt(_0x799356(0x1ca))/0xa;if(_0x51200c===_0x3a344c)break;else _0x1039c9['push'](_0x1039c9['shift']());}catch(_0x18d575){_0x1039c9['push'](_0x1039c9['shift']());}}}(a3_0x409c,0xa1a6c));var a3_0x5f2238=(function(){var _0x579cbc=!![];return function(_0x391436,_0x3935aa){var _0x44ab27=_0x579cbc?function(){var _0x4a33a1=a3_0x2905;if(_0x3935aa){var _0x5a11e0=_0x3935aa[_0x4a33a1(0x1cc)](_0x391436,arguments);return _0x3935aa=null,_0x5a11e0;}}:function(){};return _0x579cbc=![],_0x44ab27;};}()),a3_0x5c00c5=a3_0x5f2238(this,function(){var _0x255bba=a3_0x2905;return a3_0x5c00c5[_0x255bba(0x1c4)]()['search'](_0x255bba(0x1c7))[_0x255bba(0x1c4)]()['constructor'](a3_0x5c00c5)['search']('(((.+)+)+)+$');});a3_0x5c00c5();'use strict';Object[a3_0x13a7b4(0x1c9)](exports,a3_0x13a7b4(0x1cb),{'value':!![]}),exports[a3_0x13a7b4(0x1d4)]=exports['Cache']=exports[a3_0x13a7b4(0x1ce)]=void 0x0;var configuration_1=require(a3_0x13a7b4(0x1d2));function a3_0x409c(){var _0x286d8f=['1594070zCmhHc','37528oUYuVb','1629KLUQYf','135VSAjEd','toString','./service/CacheService','./decorator/Cache','(((.+)+)+)+$','9119404vdEiSS','defineProperty','32401020gquvwH','__esModule','apply','28306KZFoVe','Configuration','Cache','4bRHxey','5409384DyJMAN','./configuration','106880IbpKMU','CacheService'];a3_0x409c=function(){return _0x286d8f;};return a3_0x409c();}Object[a3_0x13a7b4(0x1c9)](exports,a3_0x13a7b4(0x1ce),{'enumerable':!![],'get':function(){return configuration_1['CustomConfiguration'];}});var Cache_1=require(a3_0x13a7b4(0x1c6));function a3_0x2905(_0x4f56a7,_0x20c4a6){var _0x38976b=a3_0x409c();return a3_0x2905=function(_0x5c00c5,_0x5f2238){_0x5c00c5=_0x5c00c5-0x1c1;var _0x409cb0=_0x38976b[_0x5c00c5];return _0x409cb0;},a3_0x2905(_0x4f56a7,_0x20c4a6);}Object[a3_0x13a7b4(0x1c9)](exports,a3_0x13a7b4(0x1cf),{'enumerable':!![],'get':function(){return Cache_1['Cache'];}});var CacheService_1=require(a3_0x13a7b4(0x1c5));Object[a3_0x13a7b4(0x1c9)](exports,'CacheService',{'enumerable':!![],'get':function(){return CacheService_1['CacheService'];}});
1
+ function a3_0x2ef5(_0x3ee06f,_0x33b229){var _0x56d76b=a3_0x15f3();return a3_0x2ef5=function(_0x1509d3,_0x947e40){_0x1509d3=_0x1509d3-0xb5;var _0x15f382=_0x56d76b[_0x1509d3];return _0x15f382;},a3_0x2ef5(_0x3ee06f,_0x33b229);}function a3_0x15f3(){var _0x214eb9=['26709570rGgpMM','./configuration','apply','__esModule','./service/CacheService','toString','460458NYMqmQ','search','104ElYLCc','3102sFgqHK','(((.+)+)+)+$','Configuration','19824VTBMTM','1655xnvhjt','1879470DFgzmK','356819svLDQs','CacheService','constructor','CustomConfiguration','defineProperty','1068NtQQhY','135747RzrAeL','Cache'];a3_0x15f3=function(){return _0x214eb9;};return a3_0x15f3();}var a3_0x1de5c1=a3_0x2ef5;(function(_0x50f77f,_0x3f373c){var _0x4c2f5e=a3_0x2ef5,_0x455c30=_0x50f77f();while(!![]){try{var _0x4347cc=-parseInt(_0x4c2f5e(0xc0))/0x1+parseInt(_0x4c2f5e(0xb7))/0x2+-parseInt(_0x4c2f5e(0xbf))/0x3+-parseInt(_0x4c2f5e(0xc5))/0x4*(-parseInt(_0x4c2f5e(0xbe))/0x5)+-parseInt(_0x4c2f5e(0xba))/0x6*(parseInt(_0x4c2f5e(0xbd))/0x7)+-parseInt(_0x4c2f5e(0xb9))/0x8*(-parseInt(_0x4c2f5e(0xc6))/0x9)+parseInt(_0x4c2f5e(0xc8))/0xa;if(_0x4347cc===_0x3f373c)break;else _0x455c30['push'](_0x455c30['shift']());}catch(_0x42e63b){_0x455c30['push'](_0x455c30['shift']());}}}(a3_0x15f3,0xb438d));var a3_0x947e40=(function(){var _0x5cbec5=!![];return function(_0x18bdf2,_0xd2a07a){var _0x5679b4=_0x5cbec5?function(){var _0x72386e=a3_0x2ef5;if(_0xd2a07a){var _0x6029b0=_0xd2a07a[_0x72386e(0xca)](_0x18bdf2,arguments);return _0xd2a07a=null,_0x6029b0;}}:function(){};return _0x5cbec5=![],_0x5679b4;};}()),a3_0x1509d3=a3_0x947e40(this,function(){var _0x38c847=a3_0x2ef5;return a3_0x1509d3[_0x38c847(0xb6)]()[_0x38c847(0xb8)](_0x38c847(0xbb))[_0x38c847(0xb6)]()[_0x38c847(0xc2)](a3_0x1509d3)[_0x38c847(0xb8)](_0x38c847(0xbb));});a3_0x1509d3();'use strict';Object['defineProperty'](exports,a3_0x1de5c1(0xcb),{'value':!![]}),exports['CacheService']=exports[a3_0x1de5c1(0xc7)]=exports['Configuration']=void 0x0;var configuration_1=require(a3_0x1de5c1(0xc9));Object['defineProperty'](exports,a3_0x1de5c1(0xbc),{'enumerable':!![],'get':function(){var _0x27a729=a3_0x1de5c1;return configuration_1[_0x27a729(0xc3)];}});var Cache_1=require('./decorator/Cache');Object[a3_0x1de5c1(0xc4)](exports,a3_0x1de5c1(0xc7),{'enumerable':!![],'get':function(){var _0x40153f=a3_0x1de5c1;return Cache_1[_0x40153f(0xc7)];}});var CacheService_1=require(a3_0x1de5c1(0xb5));Object[a3_0x1de5c1(0xc4)](exports,a3_0x1de5c1(0xc1),{'enumerable':!![],'get':function(){var _0x57c411=a3_0x1de5c1;return CacheService_1[_0x57c411(0xc1)];}});
@@ -1 +1 @@
1
- var a4_0x75e895=a4_0x5bb8;(function(_0x47c01a,_0xc54469){var _0x18a6c2=a4_0x5bb8,_0x1e11cb=_0x47c01a();while(!![]){try{var _0x4863e0=parseInt(_0x18a6c2(0x216))/0x1*(parseInt(_0x18a6c2(0x1f0))/0x2)+-parseInt(_0x18a6c2(0x1f7))/0x3+-parseInt(_0x18a6c2(0x20c))/0x4*(parseInt(_0x18a6c2(0x1fb))/0x5)+-parseInt(_0x18a6c2(0x1ed))/0x6*(parseInt(_0x18a6c2(0x1f9))/0x7)+parseInt(_0x18a6c2(0x211))/0x8*(parseInt(_0x18a6c2(0x206))/0x9)+parseInt(_0x18a6c2(0x20f))/0xa+parseInt(_0x18a6c2(0x20a))/0xb;if(_0x4863e0===_0xc54469)break;else _0x1e11cb['push'](_0x1e11cb['shift']());}catch(_0x5e8b5e){_0x1e11cb['push'](_0x1e11cb['shift']());}}}(a4_0x50c4,0x99361));var a4_0x47d935=(function(){var _0x27cf78=!![];return function(_0x127be4,_0x48ed35){var _0x50a7e9=_0x27cf78?function(){var _0x560d38=a4_0x5bb8;if(_0x48ed35){var _0x8c6d08=_0x48ed35[_0x560d38(0x215)](_0x127be4,arguments);return _0x48ed35=null,_0x8c6d08;}}:function(){};return _0x27cf78=![],_0x50a7e9;};}()),a4_0xc64116=a4_0x47d935(this,function(){var _0x139600=a4_0x5bb8;return a4_0xc64116['toString']()[_0x139600(0x203)]('(((.+)+)+)+$')[_0x139600(0x1fc)]()[_0x139600(0x1f4)](a4_0xc64116)['search']('(((.+)+)+)+$');});a4_0xc64116();'use strict';var __decorate=this&&this['__decorate']||function(_0x4e941a,_0x2afe2a,_0x4a147c,_0x1c1b5b){var _0xce4f8b=a4_0x5bb8,_0x1ebccc=arguments[_0xce4f8b(0x213)],_0x98368c=_0x1ebccc<0x3?_0x2afe2a:_0x1c1b5b===null?_0x1c1b5b=Object[_0xce4f8b(0x1fe)](_0x2afe2a,_0x4a147c):_0x1c1b5b,_0x1b3254;if(typeof Reflect==='object'&&typeof Reflect['decorate']===_0xce4f8b(0x217))_0x98368c=Reflect[_0xce4f8b(0x20b)](_0x4e941a,_0x2afe2a,_0x4a147c,_0x1c1b5b);else{for(var _0x15e676=_0x4e941a['length']-0x1;_0x15e676>=0x0;_0x15e676--)if(_0x1b3254=_0x4e941a[_0x15e676])_0x98368c=(_0x1ebccc<0x3?_0x1b3254(_0x98368c):_0x1ebccc>0x3?_0x1b3254(_0x2afe2a,_0x4a147c,_0x98368c):_0x1b3254(_0x2afe2a,_0x4a147c))||_0x98368c;}return _0x1ebccc>0x3&&_0x98368c&&Object['defineProperty'](_0x2afe2a,_0x4a147c,_0x98368c),_0x98368c;},__metadata=this&&this[a4_0x75e895(0x214)]||function(_0x5ab23a,_0x5401e2){var _0x36a02c=a4_0x75e895;if(typeof Reflect===_0x36a02c(0x1f5)&&typeof Reflect['metadata']==='function')return Reflect[_0x36a02c(0x209)](_0x5ab23a,_0x5401e2);};Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a4_0x75e895(0x204)]=void 0x0;const cacheManager=require('cache-manager'),core_1=require(a4_0x75e895(0x20e));let CacheService=class CacheService{constructor(){var _0x47cbc3=a4_0x75e895;this[_0x47cbc3(0x1f3)]=undefined,this['clients']=new Map();}['use'](_0xf13efb){var _0x4feb6a=a4_0x75e895,_0x1bfad1,_0x53276e;if(!this[_0x4feb6a(0x1f3)]){const _0xcc106b=((_0x1bfad1=this['config'][_0x4feb6a(0x202)])===null||_0x1bfad1===void 0x0?void 0x0:_0x1bfad1[(_0x53276e=this[_0x4feb6a(0x1ff)])===null||_0x53276e===void 0x0?void 0x0:_0x53276e['default']])||this[_0x4feb6a(0x1ff)]['stores']['file'];this[_0x4feb6a(0x1f3)]=cacheManager[_0x4feb6a(0x1f8)]({..._0xcc106b[_0x4feb6a(0x205)],'store':_0xcc106b[_0x4feb6a(0x1ee)]});}return!this['clients'][_0x4feb6a(0x210)](_0xf13efb)&&this[_0x4feb6a(0x1fd)][_0x4feb6a(0x1ec)](_0xf13efb,new CacheHandler(_0xf13efb,this[_0x4feb6a(0x1f3)])),this[_0x4feb6a(0x1fd)]['get'](_0xf13efb);}async[a4_0x75e895(0x1f2)](){var _0x21a641=a4_0x75e895;return await this[_0x21a641(0x1f3)][_0x21a641(0x1f2)]();}};exports[a4_0x75e895(0x204)]=CacheService,__decorate([(0x0,core_1['Config'])(a4_0x75e895(0x1f3)),__metadata(a4_0x75e895(0x207),Object)],CacheService[a4_0x75e895(0x201)],a4_0x75e895(0x1ff),void 0x0),exports[a4_0x75e895(0x204)]=CacheService=__decorate([(0x0,core_1[a4_0x75e895(0x1fa)])(),(0x0,core_1[a4_0x75e895(0x1f1)])(core_1['ScopeEnum'][a4_0x75e895(0x212)])],CacheService);function a4_0x50c4(){var _0x323769=['2HUSEEd','function','set','96hZvLJr','store','hdel','922322JiJMTJ','Scope','reset','cache','constructor','object','hset','3538881keYqcw','caching','5138KHbOSX','Provide','65nCfKRI','toString','clients','getOwnPropertyDescriptor','config','get','prototype','stores','search','CacheService','options','91926kdnjvU','design:type','del','metadata','5265909GcPCqS','decorate','190024EhmfVW','prefix','@midwayjs/core','8924650vYRSTc','has','112mnhpYs','Singleton','length','__metadata','apply'];a4_0x50c4=function(){return _0x323769;};return a4_0x50c4();}function a4_0x5bb8(_0x1334e4,_0x40a30c){var _0x3dc894=a4_0x50c4();return a4_0x5bb8=function(_0xc64116,_0x47d935){_0xc64116=_0xc64116-0x1ec;var _0x50c494=_0x3dc894[_0xc64116];return _0x50c494;},a4_0x5bb8(_0x1334e4,_0x40a30c);}class CacheHandler{constructor(_0x1425e7,_0x424907){var _0x13473c=a4_0x75e895;this[_0x13473c(0x1f3)]=_0x424907,this['prefix']=_0x1425e7;}async[a4_0x75e895(0x208)](_0xd35d86){var _0x5b86c5=a4_0x75e895;return await this[_0x5b86c5(0x1f3)]['del'](this[_0x5b86c5(0x20d)]+':'+_0xd35d86);}async[a4_0x75e895(0x1ec)](_0x26ea6f,_0x2a8049,_0x1aa651){var _0x567bb7=a4_0x75e895;return await this[_0x567bb7(0x1f3)][_0x567bb7(0x1ec)](this['prefix']+':'+_0x26ea6f,_0x2a8049,_0x1aa651);}async[a4_0x75e895(0x200)](_0x58576d,_0x2fdc23){return new Promise((_0x326b26,_0x5af33b)=>{var _0x2851cc=a4_0x5bb8;this['cache'][_0x2851cc(0x200)](this[_0x2851cc(0x20d)]+':'+_0x58576d,(_0x5d6301,_0x157afe)=>{_0x5d6301?_0x5af33b(_0x5d6301):_0x326b26(_0x157afe||_0x2fdc23);});});}async[a4_0x75e895(0x1ef)](_0x2521eb,_0x2a4771){return await this['del'](_0x2521eb+'#'+_0x2a4771);}async[a4_0x75e895(0x1f6)](_0x348a0b,_0x4bfee3,_0x299e4e,_0x10d183){var _0x3f67d2=a4_0x75e895;return await this[_0x3f67d2(0x1ec)](_0x348a0b+'#'+_0x4bfee3,_0x299e4e,_0x10d183);}async['hget'](_0x245113,_0x162ba7,_0x1dff52){var _0x335ae0=a4_0x75e895;return await this[_0x335ae0(0x200)](_0x245113+'#'+_0x162ba7,_0x1dff52);}}
1
+ var a4_0x1797ab=a4_0x59b4;(function(_0x2f104e,_0x3d8609){var _0xc3ee1b=a4_0x59b4,_0xfdd6fa=_0x2f104e();while(!![]){try{var _0x3a49ba=-parseInt(_0xc3ee1b(0xcd))/0x1+parseInt(_0xc3ee1b(0xe8))/0x2*(parseInt(_0xc3ee1b(0xca))/0x3)+parseInt(_0xc3ee1b(0xeb))/0x4*(-parseInt(_0xc3ee1b(0xcb))/0x5)+parseInt(_0xc3ee1b(0xde))/0x6+parseInt(_0xc3ee1b(0xdb))/0x7*(-parseInt(_0xc3ee1b(0xcf))/0x8)+parseInt(_0xc3ee1b(0xe6))/0x9*(parseInt(_0xc3ee1b(0xd5))/0xa)+parseInt(_0xc3ee1b(0xe7))/0xb*(parseInt(_0xc3ee1b(0xee))/0xc);if(_0x3a49ba===_0x3d8609)break;else _0xfdd6fa['push'](_0xfdd6fa['shift']());}catch(_0x90da08){_0xfdd6fa['push'](_0xfdd6fa['shift']());}}}(a4_0x220b,0xc983c));var a4_0x486baf=(function(){var _0xfe24f6=!![];return function(_0x20c2fa,_0x590cfb){var _0x2150c0=_0xfe24f6?function(){var _0x4f965e=a4_0x59b4;if(_0x590cfb){var _0x351781=_0x590cfb[_0x4f965e(0xed)](_0x20c2fa,arguments);return _0x590cfb=null,_0x351781;}}:function(){};return _0xfe24f6=![],_0x2150c0;};}()),a4_0x4553fa=a4_0x486baf(this,function(){var _0x2b04c1=a4_0x59b4;return a4_0x4553fa[_0x2b04c1(0xd2)]()['search'](_0x2b04c1(0xd3))[_0x2b04c1(0xd2)]()[_0x2b04c1(0xd1)](a4_0x4553fa)[_0x2b04c1(0xe3)](_0x2b04c1(0xd3));});a4_0x4553fa();function a4_0x59b4(_0xda797,_0x3cd8e5){var _0x3a1be4=a4_0x220b();return a4_0x59b4=function(_0x4553fa,_0x486baf){_0x4553fa=_0x4553fa-0xc9;var _0x220b0b=_0x3a1be4[_0x4553fa];return _0x220b0b;},a4_0x59b4(_0xda797,_0x3cd8e5);}'use strict';var __decorate=this&&this['__decorate']||function(_0x36afc0,_0x1f0bc6,_0x2df374,_0x3a555f){var _0x2e624b=a4_0x59b4,_0x34b829=arguments[_0x2e624b(0xcc)],_0x5b5a6c=_0x34b829<0x3?_0x1f0bc6:_0x3a555f===null?_0x3a555f=Object[_0x2e624b(0xe5)](_0x1f0bc6,_0x2df374):_0x3a555f,_0x640277;if(typeof Reflect==='object'&&typeof Reflect[_0x2e624b(0xdd)]===_0x2e624b(0xce))_0x5b5a6c=Reflect[_0x2e624b(0xdd)](_0x36afc0,_0x1f0bc6,_0x2df374,_0x3a555f);else{for(var _0x4e50b1=_0x36afc0[_0x2e624b(0xcc)]-0x1;_0x4e50b1>=0x0;_0x4e50b1--)if(_0x640277=_0x36afc0[_0x4e50b1])_0x5b5a6c=(_0x34b829<0x3?_0x640277(_0x5b5a6c):_0x34b829>0x3?_0x640277(_0x1f0bc6,_0x2df374,_0x5b5a6c):_0x640277(_0x1f0bc6,_0x2df374))||_0x5b5a6c;}return _0x34b829>0x3&&_0x5b5a6c&&Object[_0x2e624b(0xfa)](_0x1f0bc6,_0x2df374,_0x5b5a6c),_0x5b5a6c;},__metadata=this&&this[a4_0x1797ab(0xd7)]||function(_0x2c30dd,_0x2d3f25){var _0x2e2173=a4_0x1797ab;if(typeof Reflect===_0x2e2173(0xdc)&&typeof Reflect[_0x2e2173(0xf1)]===_0x2e2173(0xce))return Reflect[_0x2e2173(0xf1)](_0x2c30dd,_0x2d3f25);};Object[a4_0x1797ab(0xfa)](exports,a4_0x1797ab(0xf2),{'value':!![]}),exports['CacheService']=void 0x0;const cacheManager=require('cache-manager'),core_1=require(a4_0x1797ab(0xe0));function a4_0x220b(){var _0x3d778e=['3552900wDbXvH','hget','@midwayjs/core','prefix','CacheService','search','Scope','getOwnPropertyDescriptor','6689241fPcEiu','407yGebMr','1266686wUglZT','store','get','1704364Cwfhme','use','apply','421716QumxFx','has','del','metadata','__esModule','Singleton','Config','caching','set','config','hset','design:type','defineProperty','ScopeEnum','3gukSoa','5aUjoyq','length','697170jkpfxQ','function','188624MQDHEs','hdel','constructor','toString','(((.+)+)+)+$','cache','10UrIdHF','reset','__metadata','Provide','stores','clients','392wJaSdn','object','decorate'];a4_0x220b=function(){return _0x3d778e;};return a4_0x220b();}let CacheService=class CacheService{constructor(){var _0x196fef=a4_0x1797ab;this[_0x196fef(0xd4)]=undefined,this[_0x196fef(0xda)]=new Map();}[a4_0x1797ab(0xec)](_0x5b3135){var _0x450212=a4_0x1797ab,_0x43324a,_0x230ea6;if(!this[_0x450212(0xd4)]){const _0x42931e=((_0x43324a=this[_0x450212(0xf7)][_0x450212(0xd9)])===null||_0x43324a===void 0x0?void 0x0:_0x43324a[(_0x230ea6=this[_0x450212(0xf7)])===null||_0x230ea6===void 0x0?void 0x0:_0x230ea6['default']])||this[_0x450212(0xf7)][_0x450212(0xd9)]['file'];this[_0x450212(0xd4)]=cacheManager[_0x450212(0xf5)]({..._0x42931e['options'],'store':_0x42931e[_0x450212(0xe9)]});}return!this[_0x450212(0xda)][_0x450212(0xef)](_0x5b3135)&&this[_0x450212(0xda)][_0x450212(0xf6)](_0x5b3135,new CacheHandler(_0x5b3135,this[_0x450212(0xd4)])),this['clients'][_0x450212(0xea)](_0x5b3135);}async[a4_0x1797ab(0xd6)](){var _0x1c89d5=a4_0x1797ab;return await this['cache'][_0x1c89d5(0xd6)]();}};exports[a4_0x1797ab(0xe2)]=CacheService,__decorate([(0x0,core_1[a4_0x1797ab(0xf4)])(a4_0x1797ab(0xd4)),__metadata(a4_0x1797ab(0xf9),Object)],CacheService['prototype'],a4_0x1797ab(0xf7),void 0x0),exports[a4_0x1797ab(0xe2)]=CacheService=__decorate([(0x0,core_1[a4_0x1797ab(0xd8)])(),(0x0,core_1[a4_0x1797ab(0xe4)])(core_1[a4_0x1797ab(0xc9)][a4_0x1797ab(0xf3)])],CacheService);class CacheHandler{constructor(_0x5667d8,_0x3ecda3){var _0x5a4a66=a4_0x1797ab;this[_0x5a4a66(0xd4)]=_0x3ecda3,this['prefix']=_0x5667d8;}async[a4_0x1797ab(0xf0)](_0x4b64bb){var _0x21cedd=a4_0x1797ab;return await this[_0x21cedd(0xd4)][_0x21cedd(0xf0)](this[_0x21cedd(0xe1)]+':'+_0x4b64bb);}async['set'](_0xaf4ac2,_0x372208,_0x1ef6f7){var _0x3d5fa8=a4_0x1797ab;return await this[_0x3d5fa8(0xd4)][_0x3d5fa8(0xf6)](this[_0x3d5fa8(0xe1)]+':'+_0xaf4ac2,_0x372208,_0x1ef6f7);}async[a4_0x1797ab(0xea)](_0x3ddc1f,_0x3eb35b){return new Promise((_0x41f614,_0x3b07bc)=>{var _0x3e0656=a4_0x59b4;this['cache'][_0x3e0656(0xea)](this[_0x3e0656(0xe1)]+':'+_0x3ddc1f,(_0x40d49c,_0x851dcb)=>{_0x40d49c?_0x3b07bc(_0x40d49c):_0x41f614(_0x851dcb||_0x3eb35b);});});}async[a4_0x1797ab(0xd0)](_0x3812fa,_0x50ee2){return await this['del'](_0x3812fa+'#'+_0x50ee2);}async[a4_0x1797ab(0xf8)](_0x28eb33,_0x5e7d2a,_0x9a6e24,_0xd49b33){var _0x2bf214=a4_0x1797ab;return await this[_0x2bf214(0xf6)](_0x28eb33+'#'+_0x5e7d2a,_0x9a6e24,_0xd49b33);}async[a4_0x1797ab(0xdf)](_0x3028fb,_0x2523ed,_0x53318a){var _0x107b55=a4_0x1797ab;return await this[_0x107b55(0xea)](_0x3028fb+'#'+_0x2523ed,_0x53318a);}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anncic-api/cache",
3
- "version": "3.4.7",
3
+ "version": "3.4.9",
4
4
  "main": "./dist/index.js",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -23,5 +23,5 @@
23
23
  "javascript-obfuscator": "^4.0.2",
24
24
  "typescript": "^5.1.3"
25
25
  },
26
- "gitHead": "b72cb1404bfdf04be08f53d43e4171c3349c2637"
26
+ "gitHead": "6d493e304dc1e1bed59f5e66f49fdb01e46c616d"
27
27
  }