@anncic-api/cache 3.4.49 → 3.4.51

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_0x24665a=a0_0x4365;(function(_0x1793ff,_0x16735b){const _0x200df8=a0_0x4365,_0x76e1c2=_0x1793ff();while(!![]){try{const _0x9908c8=-parseInt(_0x200df8(0x104))/0x1+parseInt(_0x200df8(0x106))/0x2+-parseInt(_0x200df8(0x110))/0x3+-parseInt(_0x200df8(0x10f))/0x4+parseInt(_0x200df8(0x112))/0x5+-parseInt(_0x200df8(0x114))/0x6+parseInt(_0x200df8(0x107))/0x7;if(_0x9908c8===_0x16735b)break;else _0x76e1c2['push'](_0x76e1c2['shift']());}catch(_0x492dbb){_0x76e1c2['push'](_0x76e1c2['shift']());}}}(a0_0x5cb8,0x93184));const a0_0x98f76c=(function(){let _0x31ff47=!![];return function(_0x13bd2d,_0x11b503){const _0x35a34d=_0x31ff47?function(){const _0x19c2d6=a0_0x4365;if(_0x11b503){const _0x3d0aa5=_0x11b503[_0x19c2d6(0x105)](_0x13bd2d,arguments);return _0x11b503=null,_0x3d0aa5;}}:function(){};return _0x31ff47=![],_0x35a34d;};}()),a0_0x4cb1f5=a0_0x98f76c(this,function(){const _0xe0376e=a0_0x4365;return a0_0x4cb1f5[_0xe0376e(0x102)]()[_0xe0376e(0x10d)](_0xe0376e(0x117))[_0xe0376e(0x102)]()[_0xe0376e(0x108)](a0_0x4cb1f5)[_0xe0376e(0x10d)](_0xe0376e(0x117));});a0_0x4cb1f5();function a0_0x4365(_0x5e1531,_0x5106cf){const _0x25f6d=a0_0x5cb8();return a0_0x4365=function(_0x4cb1f5,_0x98f76c){_0x4cb1f5=_0x4cb1f5-0x102;let _0x5cb851=_0x25f6d[_0x4cb1f5];return _0x5cb851;},a0_0x4365(_0x5e1531,_0x5106cf);}'use strict';Object[a0_0x24665a(0x103)](exports,a0_0x24665a(0x111),{'value':!![]});function a0_0x5cb8(){const _0x35471f=['toString','defineProperty','851132MRYCpY','apply','1318086HzGSUP','20564264kwvRUq','constructor','cache-manager-ioredis','default','/runtime/.cache','name','search','env','3385340rPDGYT','1457772Tzwlor','__esModule','1204850hBTqAZ','appDir','6311244aLplhc','memory','cache-manager-fs-hash','(((.+)+)+)+$'];a0_0x5cb8=function(){return _0x35471f;};return a0_0x5cb8();}const fsStore=require(a0_0x24665a(0x116)),redisStore=require(a0_0x24665a(0x109));exports[a0_0x24665a(0x10a)]=_0x175501=>{const _0x5a4499=a0_0x24665a;return{'cache':{'default':'file','stores':{'file':{'store':fsStore,'options':{'ttl':0xed4e00,'subdirs':![],'path':_0x175501[_0x5a4499(0x113)]+_0x5a4499(0x10b)+((_0x175501===null||_0x175501===void 0x0?void 0x0:_0x175501[_0x5a4499(0x10e)])?'-'+_0x175501[_0x5a4499(0x10e)]:'')}},'redis':{'store':redisStore,'options':{'port':0x18eb,'host':'127.0.0.1','password':'','ttl':0xed4e00,'keyPrefix':_0x175501[_0x5a4499(0x10c)]+':'+((_0x175501===null||_0x175501===void 0x0?void 0x0:_0x175501['env'])?_0x175501['env']+':':'')}},'memory':{'store':_0x5a4499(0x115),'options':{'max':0x64,'ttl':0xed4e00}}}}};};
1
+ function a0_0x4e7f(){const _0x137fcc=['8093835XsfJxb','constructor','82955QQPQqY','48765uTVjwa','default','name','apply','1833635qzqoEK','toString','file','608520vVclMc','127.0.0.1','cache-manager-ioredis','3050257skuQlt','defineProperty','7172200bIkCyR','(((.+)+)+)+$','12pjWThx','__esModule','cache-manager-fs-hash','env','search','208CbMQNO','appDir'];a0_0x4e7f=function(){return _0x137fcc;};return a0_0x4e7f();}const a0_0x1a65b0=a0_0x2a33;(function(_0x4aa304,_0x409c42){const _0x4a923a=a0_0x2a33,_0x12ac99=_0x4aa304();while(!![]){try{const _0x5236b8=-parseInt(_0x4a923a(0xf8))/0x1+parseInt(_0x4a923a(0xe8))/0x2+parseInt(_0x4a923a(0xf9))/0x3*(parseInt(_0x4a923a(0xf4))/0x4)+parseInt(_0x4a923a(0xfd))/0x5+parseInt(_0x4a923a(0xef))/0x6*(parseInt(_0x4a923a(0xeb))/0x7)+-parseInt(_0x4a923a(0xed))/0x8+-parseInt(_0x4a923a(0xf6))/0x9;if(_0x5236b8===_0x409c42)break;else _0x12ac99['push'](_0x12ac99['shift']());}catch(_0x17d161){_0x12ac99['push'](_0x12ac99['shift']());}}}(a0_0x4e7f,0x7c41a));const a0_0x260848=(function(){let _0x35fedd=!![];return function(_0x72ce2e,_0x2e8d2a){const _0x20412d=_0x35fedd?function(){const _0x5e596e=a0_0x2a33;if(_0x2e8d2a){const _0xc86050=_0x2e8d2a[_0x5e596e(0xfc)](_0x72ce2e,arguments);return _0x2e8d2a=null,_0xc86050;}}:function(){};return _0x35fedd=![],_0x20412d;};}()),a0_0x265143=a0_0x260848(this,function(){const _0xb587ac=a0_0x2a33;return a0_0x265143[_0xb587ac(0xfe)]()[_0xb587ac(0xf3)](_0xb587ac(0xee))[_0xb587ac(0xfe)]()[_0xb587ac(0xf7)](a0_0x265143)[_0xb587ac(0xf3)](_0xb587ac(0xee));});a0_0x265143();'use strict';function a0_0x2a33(_0x230598,_0x263309){const _0x4bf795=a0_0x4e7f();return a0_0x2a33=function(_0x265143,_0x260848){_0x265143=_0x265143-0xe8;let _0x4e7f79=_0x4bf795[_0x265143];return _0x4e7f79;},a0_0x2a33(_0x230598,_0x263309);}Object[a0_0x1a65b0(0xec)](exports,a0_0x1a65b0(0xf0),{'value':!![]});const fsStore=require(a0_0x1a65b0(0xf1)),redisStore=require(a0_0x1a65b0(0xea));exports[a0_0x1a65b0(0xfa)]=_0x2d826d=>{const _0x494053=a0_0x1a65b0;return{'cache':{'default':_0x494053(0xff),'stores':{'file':{'store':fsStore,'options':{'ttl':0xed4e00,'subdirs':![],'path':_0x2d826d[_0x494053(0xf5)]+'/runtime/.cache'+((_0x2d826d===null||_0x2d826d===void 0x0?void 0x0:_0x2d826d['env'])?'-'+_0x2d826d['env']:'')}},'redis':{'store':redisStore,'options':{'port':0x18eb,'host':_0x494053(0xe9),'password':'','ttl':0xed4e00,'keyPrefix':_0x2d826d[_0x494053(0xfb)]+':'+((_0x2d826d===null||_0x2d826d===void 0x0?void 0x0:_0x2d826d[_0x494053(0xf2)])?_0x2d826d[_0x494053(0xf2)]+':':'')}},'memory':{'store':'memory','options':{'max':0x64,'ttl':0xed4e00}}}}};};
@@ -1 +1 @@
1
- var a1_0x3e0f9c=a1_0x294e;(function(_0x77875c,_0x57fd21){var _0x2ad9b0=a1_0x294e,_0x1b9db0=_0x77875c();while(!![]){try{var _0x9a9187=parseInt(_0x2ad9b0(0xa0))/0x1+-parseInt(_0x2ad9b0(0xa1))/0x2*(parseInt(_0x2ad9b0(0x99))/0x3)+-parseInt(_0x2ad9b0(0xaf))/0x4+-parseInt(_0x2ad9b0(0xa7))/0x5+-parseInt(_0x2ad9b0(0xa3))/0x6*(-parseInt(_0x2ad9b0(0xad))/0x7)+parseInt(_0x2ad9b0(0xb0))/0x8+parseInt(_0x2ad9b0(0xab))/0x9*(parseInt(_0x2ad9b0(0x9c))/0xa);if(_0x9a9187===_0x57fd21)break;else _0x1b9db0['push'](_0x1b9db0['shift']());}catch(_0x44ea5c){_0x1b9db0['push'](_0x1b9db0['shift']());}}}(a1_0x4dbf,0x93557));var a1_0x1c92e7=(function(){var _0x555e2f=!![];return function(_0x57d907,_0xa59ff5){var _0x865a2d=_0x555e2f?function(){var _0x22a897=a1_0x294e;if(_0xa59ff5){var _0x554cc1=_0xa59ff5[_0x22a897(0xae)](_0x57d907,arguments);return _0xa59ff5=null,_0x554cc1;}}:function(){};return _0x555e2f=![],_0x865a2d;};}()),a1_0x12e092=a1_0x1c92e7(this,function(){var _0x579466=a1_0x294e;return a1_0x12e092[_0x579466(0xa5)]()[_0x579466(0xac)](_0x579466(0x9d))[_0x579466(0xa5)]()['constructor'](a1_0x12e092)['search'](_0x579466(0x9d));});a1_0x12e092();function a1_0x294e(_0x237344,_0x2bd391){var _0x239480=a1_0x4dbf();return a1_0x294e=function(_0x12e092,_0x1c92e7){_0x12e092=_0x12e092-0x98;var _0x4dbf07=_0x239480[_0x12e092];return _0x4dbf07;},a1_0x294e(_0x237344,_0x2bd391);}function a1_0x4dbf(){var _0x4dab70=['341826vBNpPf','CustomConfiguration','toString','@midwayjs/core','842915QAPGGw','function','decorate','Configuration','4113uRwdnw','search','119mdsJIq','apply','4482808IJuxMV','8793216JmVrql','getOwnPropertyDescriptor','62751LQNruR','./config/config.default','__esModule','18110DlUTvU','(((.+)+)+)+$','defineProperty','__decorate','1494fFEdbO','96NJBTGp','length'];a1_0x4dbf=function(){return _0x4dab70;};return a1_0x4dbf();}'use strict';var __decorate=this&&this[a1_0x3e0f9c(0x9f)]||function(_0x1ae2ce,_0x8f4b1f,_0x416756,_0xef2422){var _0x8e4942=a1_0x3e0f9c,_0x12e826=arguments[_0x8e4942(0xa2)],_0xae29eb=_0x12e826<0x3?_0x8f4b1f:_0xef2422===null?_0xef2422=Object[_0x8e4942(0x98)](_0x8f4b1f,_0x416756):_0xef2422,_0x3c676c;if(typeof Reflect==='object'&&typeof Reflect['decorate']===_0x8e4942(0xa8))_0xae29eb=Reflect[_0x8e4942(0xa9)](_0x1ae2ce,_0x8f4b1f,_0x416756,_0xef2422);else{for(var _0x393be4=_0x1ae2ce[_0x8e4942(0xa2)]-0x1;_0x393be4>=0x0;_0x393be4--)if(_0x3c676c=_0x1ae2ce[_0x393be4])_0xae29eb=(_0x12e826<0x3?_0x3c676c(_0xae29eb):_0x12e826>0x3?_0x3c676c(_0x8f4b1f,_0x416756,_0xae29eb):_0x3c676c(_0x8f4b1f,_0x416756))||_0xae29eb;}return _0x12e826>0x3&&_0xae29eb&&Object[_0x8e4942(0x9e)](_0x8f4b1f,_0x416756,_0xae29eb),_0xae29eb;};Object['defineProperty'](exports,a1_0x3e0f9c(0x9b),{'value':!![]}),exports[a1_0x3e0f9c(0xa4)]=void 0x0;const core_1=require(a1_0x3e0f9c(0xa6)),ConfigDefault=require(a1_0x3e0f9c(0x9a));let CustomConfiguration=class CustomConfiguration{};exports[a1_0x3e0f9c(0xa4)]=CustomConfiguration,exports['CustomConfiguration']=CustomConfiguration=__decorate([(0x0,core_1[a1_0x3e0f9c(0xaa)])({'conflictCheck':![],'namespace':'anncic-api:cache','importConfigs':[{'default':ConfigDefault}]})],CustomConfiguration);
1
+ var a1_0x496c91=a1_0x305a;(function(_0x4ec168,_0x2c3538){var _0x18ed23=a1_0x305a,_0x4e899b=_0x4ec168();while(!![]){try{var _0xb75112=-parseInt(_0x18ed23(0x11a))/0x1*(parseInt(_0x18ed23(0x110))/0x2)+-parseInt(_0x18ed23(0x117))/0x3+-parseInt(_0x18ed23(0x10f))/0x4+-parseInt(_0x18ed23(0x11f))/0x5*(parseInt(_0x18ed23(0x10b))/0x6)+parseInt(_0x18ed23(0x109))/0x7*(-parseInt(_0x18ed23(0x111))/0x8)+parseInt(_0x18ed23(0x118))/0x9*(parseInt(_0x18ed23(0x119))/0xa)+parseInt(_0x18ed23(0x116))/0xb;if(_0xb75112===_0x2c3538)break;else _0x4e899b['push'](_0x4e899b['shift']());}catch(_0x429073){_0x4e899b['push'](_0x4e899b['shift']());}}}(a1_0x5ec8,0x4bde4));var a1_0x544019=(function(){var _0x2f23d7=!![];return function(_0x3362c6,_0x2d00df){var _0x4d524a=_0x2f23d7?function(){var _0x32fc31=a1_0x305a;if(_0x2d00df){var _0x2cd626=_0x2d00df[_0x32fc31(0x10e)](_0x3362c6,arguments);return _0x2d00df=null,_0x2cd626;}}:function(){};return _0x2f23d7=![],_0x4d524a;};}()),a1_0x467a4c=a1_0x544019(this,function(){var _0x105e21=a1_0x305a;return a1_0x467a4c[_0x105e21(0x114)]()[_0x105e21(0x11b)](_0x105e21(0x11e))[_0x105e21(0x114)]()[_0x105e21(0x112)](a1_0x467a4c)[_0x105e21(0x11b)](_0x105e21(0x11e));});a1_0x467a4c();'use strict';var __decorate=this&&this['__decorate']||function(_0x8ec0f6,_0x4f5e82,_0x7d2fdd,_0x37ccbc){var _0x30f14b=a1_0x305a,_0x44bcf4=arguments['length'],_0x1d9ac4=_0x44bcf4<0x3?_0x4f5e82:_0x37ccbc===null?_0x37ccbc=Object[_0x30f14b(0x11c)](_0x4f5e82,_0x7d2fdd):_0x37ccbc,_0x5a7199;if(typeof Reflect===_0x30f14b(0x10a)&&typeof Reflect[_0x30f14b(0x115)]===_0x30f14b(0x11d))_0x1d9ac4=Reflect['decorate'](_0x8ec0f6,_0x4f5e82,_0x7d2fdd,_0x37ccbc);else{for(var _0x427a49=_0x8ec0f6[_0x30f14b(0x120)]-0x1;_0x427a49>=0x0;_0x427a49--)if(_0x5a7199=_0x8ec0f6[_0x427a49])_0x1d9ac4=(_0x44bcf4<0x3?_0x5a7199(_0x1d9ac4):_0x44bcf4>0x3?_0x5a7199(_0x4f5e82,_0x7d2fdd,_0x1d9ac4):_0x5a7199(_0x4f5e82,_0x7d2fdd))||_0x1d9ac4;}return _0x44bcf4>0x3&&_0x1d9ac4&&Object[_0x30f14b(0x123)](_0x4f5e82,_0x7d2fdd,_0x1d9ac4),_0x1d9ac4;};function a1_0x305a(_0x2f7191,_0x1bfe99){var _0x10efbc=a1_0x5ec8();return a1_0x305a=function(_0x467a4c,_0x544019){_0x467a4c=_0x467a4c-0x109;var _0x5ec802=_0x10efbc[_0x467a4c];return _0x5ec802;},a1_0x305a(_0x2f7191,_0x1bfe99);}Object[a1_0x496c91(0x123)](exports,a1_0x496c91(0x121),{'value':!![]}),exports[a1_0x496c91(0x10d)]=void 0x0;const core_1=require(a1_0x496c91(0x122)),ConfigDefault=require(a1_0x496c91(0x113));let CustomConfiguration=class CustomConfiguration{};function a1_0x5ec8(){var _0x45686a=['392sUznAv','constructor','./config/config.default','toString','decorate','22269830FQhyFG','1801401RtkcNH','193518RmazDm','40wSJNiB','1BJIKmH','search','getOwnPropertyDescriptor','function','(((.+)+)+)+$','6915ayLLDi','length','__esModule','@midwayjs/core','defineProperty','Configuration','21427yhOCjK','object','786LoZnQr','anncic-api:cache','CustomConfiguration','apply','1751248Bppqmz','860682wrEDpW'];a1_0x5ec8=function(){return _0x45686a;};return a1_0x5ec8();}exports[a1_0x496c91(0x10d)]=CustomConfiguration,exports['CustomConfiguration']=CustomConfiguration=__decorate([(0x0,core_1[a1_0x496c91(0x124)])({'conflictCheck':![],'namespace':a1_0x496c91(0x10c),'importConfigs':[{'default':ConfigDefault}]})],CustomConfiguration);
@@ -1 +1 @@
1
- const a2_0x390e46=a2_0x5e74;(function(_0x5d24c1,_0x2fa0ce){const _0x2a574a=a2_0x5e74,_0x1611a6=_0x5d24c1();while(!![]){try{const _0x315c6e=-parseInt(_0x2a574a(0x126))/0x1+-parseInt(_0x2a574a(0x122))/0x2+-parseInt(_0x2a574a(0x12d))/0x3*(-parseInt(_0x2a574a(0x12b))/0x4)+parseInt(_0x2a574a(0x139))/0x5+parseInt(_0x2a574a(0x124))/0x6+parseInt(_0x2a574a(0x12c))/0x7*(parseInt(_0x2a574a(0x13a))/0x8)+-parseInt(_0x2a574a(0x138))/0x9;if(_0x315c6e===_0x2fa0ce)break;else _0x1611a6['push'](_0x1611a6['shift']());}catch(_0x1baaee){_0x1611a6['push'](_0x1611a6['shift']());}}}(a2_0x10a3,0xe4d92));const a2_0xd99196=(function(){let _0x1a005c=!![];return function(_0x58549d,_0x2f0066){const _0xfdc375=_0x1a005c?function(){const _0x26b227=a2_0x5e74;if(_0x2f0066){const _0x3c8938=_0x2f0066[_0x26b227(0x12f)](_0x58549d,arguments);return _0x2f0066=null,_0x3c8938;}}:function(){};return _0x1a005c=![],_0xfdc375;};}()),a2_0x1957be=a2_0xd99196(this,function(){const _0x21d043=a2_0x5e74;return a2_0x1957be[_0x21d043(0x12a)]()[_0x21d043(0x136)](_0x21d043(0x127))['toString']()[_0x21d043(0x12e)](a2_0x1957be)[_0x21d043(0x136)]('(((.+)+)+)+$');});a2_0x1957be();function a2_0x5e74(_0x29c02,_0x530c3b){const _0x3b7553=a2_0x10a3();return a2_0x5e74=function(_0x1957be,_0xd99196){_0x1957be=_0x1957be-0x120;let _0x10a329=_0x3b7553[_0x1957be];return _0x10a329;},a2_0x5e74(_0x29c02,_0x530c3b);}'use strict';Object['defineProperty'](exports,a2_0x390e46(0x131),{'value':!![]}),exports[a2_0x390e46(0x123)]=Cache;function a2_0x10a3(){const _0xc34140=['39rxSIFp','constructor','apply','set','__esModule','get','value','../service/CacheService','app','search','Method::Decorator','24008031uvbqgN','7225605ISvHqq','255056ZTYTod','use','@midwayjs/core','2181500itXPuW','Cache','11108634NFEAeu','crypto-js','354418VCBfyb','(((.+)+)+)+$','stringify','getApplicationContext','toString','117724uItXui','301RJOjJO'];a2_0x10a3=function(){return _0xc34140;};return a2_0x10a3();}const crypto_js_1=require(a2_0x390e46(0x125)),CacheService_1=require(a2_0x390e46(0x134)),core_1=require(a2_0x390e46(0x121));function Cache(_0x24692f,_0x2489a4){return(_0x57fb03,_0x753c29,_0x41189a)=>{const _0xeb6238=a2_0x5e74,_0x250f2e=_0x41189a[_0xeb6238(0x133)];return _0x41189a[_0xeb6238(0x133)]=async function(..._0x141883){const _0x31f680=_0xeb6238;!_0x24692f&&(_0x24692f=(0x0,crypto_js_1['MD5'])(JSON[_0x31f680(0x128)](_0x141883))['toString']());let _0x3d14a4=await this[core_1['REQUEST_OBJ_CTX_KEY']][_0x31f680(0x135)][_0x31f680(0x129)]()['getAsync'](CacheService_1['CacheService']),_0x450d4b=await _0x3d14a4[_0x31f680(0x120)](_0x31f680(0x137))[_0x31f680(0x132)](_0x24692f);if(_0x450d4b)return JSON['parse'](_0x450d4b);else _0x450d4b=await _0x250f2e['apply'](this,[..._0x141883]),await _0x3d14a4[_0x31f680(0x120)](_0x31f680(0x137))[_0x31f680(0x130)](_0x24692f,JSON[_0x31f680(0x128)](_0x450d4b),_0x2489a4);return _0x450d4b;},_0x41189a;};}
1
+ const a2_0x131034=a2_0x168c;(function(_0x1b91ac,_0x40d3a1){const _0x453c6c=a2_0x168c,_0x2652de=_0x1b91ac();while(!![]){try{const _0x2bbed8=parseInt(_0x453c6c(0x1c2))/0x1+-parseInt(_0x453c6c(0x1c3))/0x2*(-parseInt(_0x453c6c(0x1d2))/0x3)+-parseInt(_0x453c6c(0x1cb))/0x4*(parseInt(_0x453c6c(0x1cc))/0x5)+-parseInt(_0x453c6c(0x1d5))/0x6+parseInt(_0x453c6c(0x1cd))/0x7+-parseInt(_0x453c6c(0x1bd))/0x8+parseInt(_0x453c6c(0x1bc))/0x9;if(_0x2bbed8===_0x40d3a1)break;else _0x2652de['push'](_0x2652de['shift']());}catch(_0x5047cd){_0x2652de['push'](_0x2652de['shift']());}}}(a2_0x1f97,0xa9974));const a2_0x2d9fe0=(function(){let _0x439c5e=!![];return function(_0x5657f3,_0x299497){const _0x452fb1=_0x439c5e?function(){const _0x596526=a2_0x168c;if(_0x299497){const _0x1f3593=_0x299497[_0x596526(0x1d3)](_0x5657f3,arguments);return _0x299497=null,_0x1f3593;}}:function(){};return _0x439c5e=![],_0x452fb1;};}()),a2_0x4e8f43=a2_0x2d9fe0(this,function(){const _0x32e659=a2_0x168c;return a2_0x4e8f43[_0x32e659(0x1cf)]()[_0x32e659(0x1c6)]('(((.+)+)+)+$')['toString']()[_0x32e659(0x1d1)](a2_0x4e8f43)[_0x32e659(0x1c6)]('(((.+)+)+)+$');});a2_0x4e8f43();function a2_0x1f97(){const _0x3837e8=['5376880rbiufm','Cache','getApplicationContext','get','parse','240562GLplRU','1992XpkDQa','@midwayjs/core','defineProperty','search','app','crypto-js','Method::Decorator','use','8ifUyYG','3286790vovGtm','9054311quKyhw','CacheService','toString','value','constructor','1068uiaxcJ','apply','REQUEST_OBJ_CTX_KEY','4161912GfTrcE','__esModule','stringify','set','13378599jtGunM'];a2_0x1f97=function(){return _0x3837e8;};return a2_0x1f97();}'use strict';Object[a2_0x131034(0x1c5)](exports,a2_0x131034(0x1d6),{'value':!![]}),exports[a2_0x131034(0x1be)]=Cache;const crypto_js_1=require(a2_0x131034(0x1c8)),CacheService_1=require('../service/CacheService'),core_1=require(a2_0x131034(0x1c4));function json_encode(_0x160abd){const _0x14e6a4=a2_0x131034;try{return JSON[_0x14e6a4(0x1d7)](_0x160abd);}catch(_0x4c3a40){return undefined;}}function a2_0x168c(_0x446902,_0x225f12){const _0x2b8db7=a2_0x1f97();return a2_0x168c=function(_0x4e8f43,_0x2d9fe0){_0x4e8f43=_0x4e8f43-0x1bb;let _0x1f979d=_0x2b8db7[_0x4e8f43];return _0x1f979d;},a2_0x168c(_0x446902,_0x225f12);}function Cache(_0x12bc2c,_0x8775b6){return(_0x277fbc,_0x38b143,_0x4b45ce)=>{const _0xf63d21=a2_0x168c,_0x582549=_0x4b45ce[_0xf63d21(0x1d0)];return _0x4b45ce['value']=async function(..._0x200310){const _0x5756cb=_0xf63d21;_0x12bc2c=(_0x12bc2c?''+_0x12bc2c:''+(_0x38b143||''))+'.'+(0x0,crypto_js_1['MD5'])(json_encode(_0x200310))[_0x5756cb(0x1cf)]();let _0x728d23=await this[core_1[_0x5756cb(0x1d4)]][_0x5756cb(0x1c7)][_0x5756cb(0x1bf)]()['getAsync'](CacheService_1[_0x5756cb(0x1ce)]),_0x44fe1a=await _0x728d23[_0x5756cb(0x1ca)](_0x5756cb(0x1c9))[_0x5756cb(0x1c0)](_0x12bc2c);if(_0x44fe1a)return JSON[_0x5756cb(0x1c1)](_0x44fe1a);else _0x44fe1a=await _0x582549['apply'](this,[..._0x200310]),await _0x728d23[_0x5756cb(0x1ca)](_0x5756cb(0x1c9))[_0x5756cb(0x1bb)](_0x12bc2c,JSON['stringify'](_0x44fe1a),_0x8775b6);return _0x44fe1a;},_0x4b45ce;};}
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- var a3_0xb0fbdf=a3_0x2f9d;(function(_0x1843ca,_0x43bb16){var _0x44cc21=a3_0x2f9d,_0x4e3fea=_0x1843ca();while(!![]){try{var _0x1cc474=parseInt(_0x44cc21(0xfe))/0x1*(-parseInt(_0x44cc21(0x114))/0x2)+parseInt(_0x44cc21(0x111))/0x3+parseInt(_0x44cc21(0x10b))/0x4*(parseInt(_0x44cc21(0x110))/0x5)+parseInt(_0x44cc21(0x105))/0x6*(parseInt(_0x44cc21(0x10e))/0x7)+parseInt(_0x44cc21(0xff))/0x8+parseInt(_0x44cc21(0x100))/0x9*(-parseInt(_0x44cc21(0xfd))/0xa)+-parseInt(_0x44cc21(0x10f))/0xb*(-parseInt(_0x44cc21(0x103))/0xc);if(_0x1cc474===_0x43bb16)break;else _0x4e3fea['push'](_0x4e3fea['shift']());}catch(_0x3457be){_0x4e3fea['push'](_0x4e3fea['shift']());}}}(a3_0x3c6c,0x5cff4));var a3_0x333ff4=(function(){var _0x316f11=!![];return function(_0x2c143d,_0x1dbd65){var _0x4ee2d3=_0x316f11?function(){var _0x27a772=a3_0x2f9d;if(_0x1dbd65){var _0x59163e=_0x1dbd65[_0x27a772(0xfc)](_0x2c143d,arguments);return _0x1dbd65=null,_0x59163e;}}:function(){};return _0x316f11=![],_0x4ee2d3;};}()),a3_0x39ddc6=a3_0x333ff4(this,function(){var _0x3be188=a3_0x2f9d;return a3_0x39ddc6[_0x3be188(0x107)]()[_0x3be188(0x101)](_0x3be188(0x10c))[_0x3be188(0x107)]()[_0x3be188(0x10a)](a3_0x39ddc6)[_0x3be188(0x101)]('(((.+)+)+)+$');});a3_0x39ddc6();'use strict';function a3_0x2f9d(_0x32484d,_0x1c1197){var _0x1f4345=a3_0x3c6c();return a3_0x2f9d=function(_0x39ddc6,_0x333ff4){_0x39ddc6=_0x39ddc6-0xfc;var _0x3c6c86=_0x1f4345[_0x39ddc6];return _0x3c6c86;},a3_0x2f9d(_0x32484d,_0x1c1197);}function a3_0x3c6c(){var _0x571acf=['apply','510bhJMZX','2tkzRcD','865592nlCHWo','124425kvohVN','search','Configuration','12irKBFX','./decorator/Cache','54IVnSzZ','Cache','toString','CustomConfiguration','__esModule','constructor','73608PxbopW','(((.+)+)+)+$','./service/CacheService','469301BhoKcp','1530199MTFimY','85PvGJSM','792480RRHAAZ','defineProperty','CacheService','341698UFutGs','./configuration'];a3_0x3c6c=function(){return _0x571acf;};return a3_0x3c6c();}Object[a3_0xb0fbdf(0x112)](exports,a3_0xb0fbdf(0x109),{'value':!![]}),exports[a3_0xb0fbdf(0x113)]=exports['Cache']=exports[a3_0xb0fbdf(0x102)]=void 0x0;var configuration_1=require(a3_0xb0fbdf(0x115));Object[a3_0xb0fbdf(0x112)](exports,a3_0xb0fbdf(0x102),{'enumerable':!![],'get':function(){var _0x39a045=a3_0xb0fbdf;return configuration_1[_0x39a045(0x108)];}});var Cache_1=require(a3_0xb0fbdf(0x104));Object[a3_0xb0fbdf(0x112)](exports,a3_0xb0fbdf(0x106),{'enumerable':!![],'get':function(){var _0x202079=a3_0xb0fbdf;return Cache_1[_0x202079(0x106)];}});var CacheService_1=require(a3_0xb0fbdf(0x10d));Object[a3_0xb0fbdf(0x112)](exports,a3_0xb0fbdf(0x113),{'enumerable':!![],'get':function(){var _0x37de44=a3_0xb0fbdf;return CacheService_1[_0x37de44(0x113)];}});
1
+ var a3_0x30f59d=a3_0x4f91;(function(_0x367be0,_0xb6269f){var _0x335d91=a3_0x4f91,_0x3014ab=_0x367be0();while(!![]){try{var _0xe5113=-parseInt(_0x335d91(0x123))/0x1+parseInt(_0x335d91(0x126))/0x2+parseInt(_0x335d91(0x117))/0x3*(-parseInt(_0x335d91(0x111))/0x4)+-parseInt(_0x335d91(0x121))/0x5*(parseInt(_0x335d91(0x125))/0x6)+-parseInt(_0x335d91(0x11b))/0x7+-parseInt(_0x335d91(0x112))/0x8*(-parseInt(_0x335d91(0x127))/0x9)+parseInt(_0x335d91(0x11d))/0xa*(parseInt(_0x335d91(0x119))/0xb);if(_0xe5113===_0xb6269f)break;else _0x3014ab['push'](_0x3014ab['shift']());}catch(_0x4b7c39){_0x3014ab['push'](_0x3014ab['shift']());}}}(a3_0x5d7f,0xb7ff4));var a3_0x4fc8b5=(function(){var _0x13fc3d=!![];return function(_0x43947e,_0x1e4a4c){var _0x41fc12=_0x13fc3d?function(){var _0x4a2100=a3_0x4f91;if(_0x1e4a4c){var _0x8e9dde=_0x1e4a4c[_0x4a2100(0x114)](_0x43947e,arguments);return _0x1e4a4c=null,_0x8e9dde;}}:function(){};return _0x13fc3d=![],_0x41fc12;};}()),a3_0x3b5fe1=a3_0x4fc8b5(this,function(){var _0x369666=a3_0x4f91;return a3_0x3b5fe1[_0x369666(0x122)]()[_0x369666(0x118)]('(((.+)+)+)+$')[_0x369666(0x122)]()[_0x369666(0x124)](a3_0x3b5fe1)[_0x369666(0x118)](_0x369666(0x113));});a3_0x3b5fe1();'use strict';Object['defineProperty'](exports,a3_0x30f59d(0x11e),{'value':!![]}),exports['CacheService']=exports[a3_0x30f59d(0x128)]=exports[a3_0x30f59d(0x116)]=void 0x0;var configuration_1=require(a3_0x30f59d(0x120));Object['defineProperty'](exports,'Configuration',{'enumerable':!![],'get':function(){var _0xe64643=a3_0x30f59d;return configuration_1[_0xe64643(0x115)];}});function a3_0x4f91(_0x378c87,_0x189cb5){var _0x49f112=a3_0x5d7f();return a3_0x4f91=function(_0x3b5fe1,_0x4fc8b5){_0x3b5fe1=_0x3b5fe1-0x111;var _0x5d7f4b=_0x49f112[_0x3b5fe1];return _0x5d7f4b;},a3_0x4f91(_0x378c87,_0x189cb5);}var Cache_1=require(a3_0x30f59d(0x11a));Object['defineProperty'](exports,a3_0x30f59d(0x128),{'enumerable':!![],'get':function(){var _0x4724f7=a3_0x30f59d;return Cache_1[_0x4724f7(0x128)];}});function a3_0x5d7f(){var _0x577c03=['CustomConfiguration','Configuration','60eLsFfu','search','2521893KGWdBn','./decorator/Cache','3915681hzqtVI','./service/CacheService','30mpejeS','__esModule','CacheService','./configuration','20WPGIwu','toString','114739ZxbugC','constructor','586260nqbzph','142138XJpKKV','3239181WBuwUo','Cache','75976xqyXnB','32pbVfqT','(((.+)+)+)+$','apply'];a3_0x5d7f=function(){return _0x577c03;};return a3_0x5d7f();}var CacheService_1=require(a3_0x30f59d(0x11c));Object['defineProperty'](exports,a3_0x30f59d(0x11f),{'enumerable':!![],'get':function(){return CacheService_1['CacheService'];}});
@@ -1 +1 @@
1
- var a4_0x45ec1f=a4_0x8b29;(function(_0xd6f475,_0x46adfd){var _0x9e9c14=a4_0x8b29,_0x239582=_0xd6f475();while(!![]){try{var _0x2a5222=parseInt(_0x9e9c14(0x15d))/0x1+parseInt(_0x9e9c14(0x13e))/0x2*(-parseInt(_0x9e9c14(0x150))/0x3)+parseInt(_0x9e9c14(0x145))/0x4+parseInt(_0x9e9c14(0x14d))/0x5+parseInt(_0x9e9c14(0x13f))/0x6*(parseInt(_0x9e9c14(0x15f))/0x7)+-parseInt(_0x9e9c14(0x140))/0x8*(-parseInt(_0x9e9c14(0x147))/0x9)+-parseInt(_0x9e9c14(0x155))/0xa;if(_0x2a5222===_0x46adfd)break;else _0x239582['push'](_0x239582['shift']());}catch(_0x530a7b){_0x239582['push'](_0x239582['shift']());}}}(a4_0x31c2,0x200de));var a4_0x3c85e5=(function(){var _0x50bdf7=!![];return function(_0x2b9591,_0x4174d6){var _0xfc2d5e=_0x50bdf7?function(){var _0x530300=a4_0x8b29;if(_0x4174d6){var _0x590224=_0x4174d6[_0x530300(0x153)](_0x2b9591,arguments);return _0x4174d6=null,_0x590224;}}:function(){};return _0x50bdf7=![],_0xfc2d5e;};}()),a4_0x3de179=a4_0x3c85e5(this,function(){var _0x3b3569=a4_0x8b29;return a4_0x3de179[_0x3b3569(0x137)]()[_0x3b3569(0x13b)](_0x3b3569(0x13d))['toString']()[_0x3b3569(0x14f)](a4_0x3de179)['search']('(((.+)+)+)+$');});a4_0x3de179();'use strict';var __decorate=this&&this[a4_0x45ec1f(0x15a)]||function(_0x118a23,_0x346dff,_0x41d063,_0x5bba44){var _0x300ca2=a4_0x45ec1f,_0x1cafb7=arguments[_0x300ca2(0x15c)],_0x1e3661=_0x1cafb7<0x3?_0x346dff:_0x5bba44===null?_0x5bba44=Object[_0x300ca2(0x134)](_0x346dff,_0x41d063):_0x5bba44,_0x137682;if(typeof Reflect==='object'&&typeof Reflect[_0x300ca2(0x141)]===_0x300ca2(0x154))_0x1e3661=Reflect[_0x300ca2(0x141)](_0x118a23,_0x346dff,_0x41d063,_0x5bba44);else{for(var _0x2b1a22=_0x118a23['length']-0x1;_0x2b1a22>=0x0;_0x2b1a22--)if(_0x137682=_0x118a23[_0x2b1a22])_0x1e3661=(_0x1cafb7<0x3?_0x137682(_0x1e3661):_0x1cafb7>0x3?_0x137682(_0x346dff,_0x41d063,_0x1e3661):_0x137682(_0x346dff,_0x41d063))||_0x1e3661;}return _0x1cafb7>0x3&&_0x1e3661&&Object['defineProperty'](_0x346dff,_0x41d063,_0x1e3661),_0x1e3661;},__metadata=this&&this[a4_0x45ec1f(0x15b)]||function(_0x1b2314,_0x54a280){var _0x3d5a1d=a4_0x45ec1f;if(typeof Reflect==='object'&&typeof Reflect[_0x3d5a1d(0x146)]===_0x3d5a1d(0x154))return Reflect[_0x3d5a1d(0x146)](_0x1b2314,_0x54a280);};Object['defineProperty'](exports,a4_0x45ec1f(0x143),{'value':!![]}),exports['Cache']=exports[a4_0x45ec1f(0x15e)]=void 0x0;const cacheManager=require('cache-manager'),core_1=require(a4_0x45ec1f(0x157));function a4_0x8b29(_0x2850d5,_0x356503){var _0x24608f=a4_0x31c2();return a4_0x8b29=function(_0x3de179,_0x3c85e5){_0x3de179=_0x3de179-0x133;var _0x31c2b4=_0x24608f[_0x3de179];return _0x31c2b4;},a4_0x8b29(_0x2850d5,_0x356503);}let CacheService=class CacheService{constructor(){var _0x4475dc=a4_0x45ec1f;this['cache']=undefined,this[_0x4475dc(0x144)]=new Map();}[a4_0x45ec1f(0x138)](_0x254e0d){var _0x2332b7=a4_0x45ec1f,_0x2e6b71,_0xd0bff0;if(!this[_0x2332b7(0x152)]){const _0x79c208=((_0x2e6b71=this['config']['stores'])===null||_0x2e6b71===void 0x0?void 0x0:_0x2e6b71[(_0xd0bff0=this[_0x2332b7(0x133)])===null||_0xd0bff0===void 0x0?void 0x0:_0xd0bff0[_0x2332b7(0x13a)]])||this[_0x2332b7(0x133)][_0x2332b7(0x156)]['file'];this[_0x2332b7(0x152)]=cacheManager['caching']({..._0x79c208[_0x2332b7(0x148)],'store':_0x79c208[_0x2332b7(0x136)]});}return!this[_0x2332b7(0x144)][_0x2332b7(0x160)](_0x254e0d)&&this[_0x2332b7(0x144)][_0x2332b7(0x159)](_0x254e0d,new Cache(_0x254e0d,this['cache'])),this[_0x2332b7(0x144)][_0x2332b7(0x149)](_0x254e0d);}async['reset'](){var _0x57f91b=a4_0x45ec1f;return await this[_0x57f91b(0x152)]['reset']();}};function a4_0x31c2(){var _0x51bf6c=['getOwnPropertyDescriptor','Scope','store','toString','use','prototype','default','search','Cache','(((.+)+)+)+$','21980zhyzJH','310380zMRHab','13896aIIXXF','decorate','hget','__esModule','clients','402584IwdXAu','metadata','981vbXejv','options','get','Provide','Singleton','Config','1305925gJZtBW','prefix','constructor','36GZXJYk','del','cache','apply','function','3867430ViYOTX','stores','@midwayjs/core','hset','set','__decorate','__metadata','length','47023rdYguV','CacheService','7jHOPZz','has','config'];a4_0x31c2=function(){return _0x51bf6c;};return a4_0x31c2();}exports[a4_0x45ec1f(0x15e)]=CacheService,__decorate([(0x0,core_1[a4_0x45ec1f(0x14c)])(a4_0x45ec1f(0x152)),__metadata('design:type',Object)],CacheService[a4_0x45ec1f(0x139)],a4_0x45ec1f(0x133),void 0x0),exports['CacheService']=CacheService=__decorate([(0x0,core_1[a4_0x45ec1f(0x14a)])(),(0x0,core_1[a4_0x45ec1f(0x135)])(core_1['ScopeEnum'][a4_0x45ec1f(0x14b)])],CacheService);class Cache{constructor(_0x569912,_0x131bc4){var _0x461aac=a4_0x45ec1f;this[_0x461aac(0x152)]=_0x131bc4,this[_0x461aac(0x14e)]=_0x569912;}async[a4_0x45ec1f(0x151)](_0x34dd55){var _0x9a7c21=a4_0x45ec1f;return await this[_0x9a7c21(0x152)][_0x9a7c21(0x151)](this[_0x9a7c21(0x14e)]+':'+_0x34dd55);}async[a4_0x45ec1f(0x159)](_0x49ce48,_0x2bb54c,_0x472b04){var _0x880989=a4_0x45ec1f;return await this[_0x880989(0x152)]['set'](this[_0x880989(0x14e)]+':'+_0x49ce48,_0x2bb54c,_0x472b04);}async[a4_0x45ec1f(0x149)](_0x24d038,_0x4f08b2){return new Promise((_0x497c3c,_0x2ab0f3)=>{var _0x32f8a9=a4_0x8b29;this[_0x32f8a9(0x152)][_0x32f8a9(0x149)](this['prefix']+':'+_0x24d038,(_0x249c85,_0x23607a)=>{_0x249c85?_0x2ab0f3(_0x249c85):_0x497c3c(_0x23607a||_0x4f08b2);});});}async['hdel'](_0x1fceb2,_0x4fba85){var _0x1e5460=a4_0x45ec1f;return await this[_0x1e5460(0x151)](_0x1fceb2+'#'+_0x4fba85);}async[a4_0x45ec1f(0x158)](_0x4265e1,_0x19b6f6,_0x2d58c0,_0x141d4){var _0x1417e5=a4_0x45ec1f;return await this[_0x1417e5(0x159)](_0x4265e1+'#'+_0x19b6f6,_0x2d58c0,_0x141d4);}async[a4_0x45ec1f(0x142)](_0x548801,_0x1388b0,_0xa0ed14){var _0x35bb8b=a4_0x45ec1f;return await this[_0x35bb8b(0x149)](_0x548801+'#'+_0x1388b0,_0xa0ed14);}}exports[a4_0x45ec1f(0x13c)]=Cache;
1
+ var a4_0x29c083=a4_0x3a11;function a4_0x3a11(_0x47409e,_0x1d1d5d){var _0x32e25=a4_0x5f2f();return a4_0x3a11=function(_0xec50ea,_0x3a5f95){_0xec50ea=_0xec50ea-0xd9;var _0x5f2f09=_0x32e25[_0xec50ea];return _0x5f2f09;},a4_0x3a11(_0x47409e,_0x1d1d5d);}(function(_0x4d721f,_0xc6a607){var _0xadfc22=a4_0x3a11,_0x5d75a0=_0x4d721f();while(!![]){try{var _0x242dfd=-parseInt(_0xadfc22(0xe5))/0x1+parseInt(_0xadfc22(0xdf))/0x2+-parseInt(_0xadfc22(0xff))/0x3*(parseInt(_0xadfc22(0xfa))/0x4)+-parseInt(_0xadfc22(0xf9))/0x5+parseInt(_0xadfc22(0xf2))/0x6+parseInt(_0xadfc22(0xfe))/0x7+parseInt(_0xadfc22(0x101))/0x8*(parseInt(_0xadfc22(0xe1))/0x9);if(_0x242dfd===_0xc6a607)break;else _0x5d75a0['push'](_0x5d75a0['shift']());}catch(_0x5a31fe){_0x5d75a0['push'](_0x5d75a0['shift']());}}}(a4_0x5f2f,0x9e35a));var a4_0x3a5f95=(function(){var _0xedc2dd=!![];return function(_0x416646,_0x374519){var _0x49976d=_0xedc2dd?function(){var _0x591efd=a4_0x3a11;if(_0x374519){var _0x4857c9=_0x374519[_0x591efd(0xfb)](_0x416646,arguments);return _0x374519=null,_0x4857c9;}}:function(){};return _0xedc2dd=![],_0x49976d;};}()),a4_0xec50ea=a4_0x3a5f95(this,function(){var _0x1ce085=a4_0x3a11;return a4_0xec50ea[_0x1ce085(0xdd)]()[_0x1ce085(0xfc)](_0x1ce085(0xdc))[_0x1ce085(0xdd)]()[_0x1ce085(0xf8)](a4_0xec50ea)[_0x1ce085(0xfc)]('(((.+)+)+)+$');});a4_0xec50ea();'use strict';function a4_0x5f2f(){var _0x44a943=['has','getOwnPropertyDescriptor','hget','options','store','defineProperty','(((.+)+)+)+$','toString','ScopeEnum','725688EQwWGo','file','279OhclSL','__esModule','prefix','set','1240739ZOfTZN','Cache','function','cache','default','design:type','clients','decorate','del','Config','use','cache-manager','@midwayjs/core','5164644DokeXY','caching','object','reset','hset','metadata','constructor','4236255UQMKve','4748ETItUP','apply','search','config','6812736EfYjhI','693hWuWux','Provide','209896oUWFEh','get','stores','CacheService','length'];a4_0x5f2f=function(){return _0x44a943;};return a4_0x5f2f();}var __decorate=this&&this['__decorate']||function(_0x3facc3,_0x1a1c3a,_0x22e150,_0x11b7be){var _0x4cf222=a4_0x3a11,_0x41c3d2=arguments[_0x4cf222(0x105)],_0x1bb86c=_0x41c3d2<0x3?_0x1a1c3a:_0x11b7be===null?_0x11b7be=Object[_0x4cf222(0x107)](_0x1a1c3a,_0x22e150):_0x11b7be,_0x6d1a7c;if(typeof Reflect===_0x4cf222(0xf4)&&typeof Reflect[_0x4cf222(0xec)]===_0x4cf222(0xe7))_0x1bb86c=Reflect[_0x4cf222(0xec)](_0x3facc3,_0x1a1c3a,_0x22e150,_0x11b7be);else{for(var _0x4d019e=_0x3facc3['length']-0x1;_0x4d019e>=0x0;_0x4d019e--)if(_0x6d1a7c=_0x3facc3[_0x4d019e])_0x1bb86c=(_0x41c3d2<0x3?_0x6d1a7c(_0x1bb86c):_0x41c3d2>0x3?_0x6d1a7c(_0x1a1c3a,_0x22e150,_0x1bb86c):_0x6d1a7c(_0x1a1c3a,_0x22e150))||_0x1bb86c;}return _0x41c3d2>0x3&&_0x1bb86c&&Object['defineProperty'](_0x1a1c3a,_0x22e150,_0x1bb86c),_0x1bb86c;},__metadata=this&&this['__metadata']||function(_0x7c0bf2,_0x55d8ca){var _0x3f9845=a4_0x3a11;if(typeof Reflect===_0x3f9845(0xf4)&&typeof Reflect[_0x3f9845(0xf7)]===_0x3f9845(0xe7))return Reflect[_0x3f9845(0xf7)](_0x7c0bf2,_0x55d8ca);};Object[a4_0x29c083(0xdb)](exports,a4_0x29c083(0xe2),{'value':!![]}),exports[a4_0x29c083(0xe6)]=exports[a4_0x29c083(0x104)]=void 0x0;const cacheManager=require(a4_0x29c083(0xf0)),core_1=require(a4_0x29c083(0xf1));let CacheService=class CacheService{constructor(){var _0x337cde=a4_0x29c083;this[_0x337cde(0xe8)]=undefined,this[_0x337cde(0xeb)]=new Map();}[a4_0x29c083(0xef)](_0x2e46c9){var _0x4a4722=a4_0x29c083,_0x1cc866,_0x5809a3;if(!this[_0x4a4722(0xe8)]){const _0x44a347=((_0x1cc866=this['config'][_0x4a4722(0x103)])===null||_0x1cc866===void 0x0?void 0x0:_0x1cc866[(_0x5809a3=this[_0x4a4722(0xfd)])===null||_0x5809a3===void 0x0?void 0x0:_0x5809a3[_0x4a4722(0xe9)]])||this[_0x4a4722(0xfd)]['stores'][_0x4a4722(0xe0)];this['cache']=cacheManager[_0x4a4722(0xf3)]({..._0x44a347[_0x4a4722(0xd9)],'store':_0x44a347[_0x4a4722(0xda)]});}return!this['clients'][_0x4a4722(0x106)](_0x2e46c9)&&this[_0x4a4722(0xeb)][_0x4a4722(0xe4)](_0x2e46c9,new Cache(_0x2e46c9,this[_0x4a4722(0xe8)])),this['clients']['get'](_0x2e46c9);}async[a4_0x29c083(0xf5)](){var _0x28f271=a4_0x29c083;return await this[_0x28f271(0xe8)][_0x28f271(0xf5)]();}};exports[a4_0x29c083(0x104)]=CacheService,__decorate([(0x0,core_1[a4_0x29c083(0xee)])('cache'),__metadata(a4_0x29c083(0xea),Object)],CacheService['prototype'],a4_0x29c083(0xfd),void 0x0),exports['CacheService']=CacheService=__decorate([(0x0,core_1[a4_0x29c083(0x100)])(),(0x0,core_1['Scope'])(core_1[a4_0x29c083(0xde)]['Singleton'])],CacheService);class Cache{constructor(_0x307a99,_0x450dc3){var _0x19242f=a4_0x29c083;this[_0x19242f(0xe8)]=_0x450dc3,this['prefix']=_0x307a99;}async[a4_0x29c083(0xed)](_0x163256){var _0x47cc0a=a4_0x29c083;return await this[_0x47cc0a(0xe8)][_0x47cc0a(0xed)](this[_0x47cc0a(0xe3)]+':'+_0x163256);}async[a4_0x29c083(0xe4)](_0x100418,_0x2aed58,_0x1f6e48){var _0x5e2920=a4_0x29c083;return await this[_0x5e2920(0xe8)][_0x5e2920(0xe4)](this['prefix']+':'+_0x100418,_0x2aed58,_0x1f6e48);}async[a4_0x29c083(0x102)](_0x3b7348,_0x322331){return new Promise((_0x14df5a,_0x32fbfc)=>{var _0x5c52e0=a4_0x3a11;this[_0x5c52e0(0xe8)][_0x5c52e0(0x102)](this['prefix']+':'+_0x3b7348,(_0x2fc272,_0x51f819)=>{_0x2fc272?_0x32fbfc(_0x2fc272):_0x14df5a(_0x51f819||_0x322331);});});}async['hdel'](_0x9c522a,_0x27487f){var _0x57feba=a4_0x29c083;return await this[_0x57feba(0xed)](_0x9c522a+'#'+_0x27487f);}async[a4_0x29c083(0xf6)](_0x1840ff,_0x420040,_0x3a3d18,_0x3ed38){return await this['set'](_0x1840ff+'#'+_0x420040,_0x3a3d18,_0x3ed38);}async[a4_0x29c083(0x108)](_0x43e82f,_0x2c38c1,_0xf91a1d){var _0x5f558f=a4_0x29c083;return await this[_0x5f558f(0x102)](_0x43e82f+'#'+_0x2c38c1,_0xf91a1d);}}exports[a4_0x29c083(0xe6)]=Cache;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anncic-api/cache",
3
- "version": "3.4.49",
3
+ "version": "3.4.51",
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.5.4"
25
25
  },
26
- "gitHead": "b74b86e5d39b4c250d37503382786a104e9015e8"
26
+ "gitHead": "af85e33129fdd9c9f5028b6f12ad31676e4e1ae0"
27
27
  }