@anncic-api/cache 2.1.8 → 2.1.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_0x375894=a0_0x6fd7;(function(_0x4ac961,_0x1448ed){const _0x2dfdba=a0_0x6fd7,_0x69dfec=_0x4ac961();while(!![]){try{const _0x36a835=-parseInt(_0x2dfdba(0x179))/0x1*(-parseInt(_0x2dfdba(0x170))/0x2)+-parseInt(_0x2dfdba(0x16e))/0x3+-parseInt(_0x2dfdba(0x173))/0x4+parseInt(_0x2dfdba(0x174))/0x5*(-parseInt(_0x2dfdba(0x17a))/0x6)+parseInt(_0x2dfdba(0x182))/0x7+-parseInt(_0x2dfdba(0x172))/0x8+parseInt(_0x2dfdba(0x17b))/0x9;if(_0x36a835===_0x1448ed)break;else _0x69dfec['push'](_0x69dfec['shift']());}catch(_0xc3231b){_0x69dfec['push'](_0x69dfec['shift']());}}}(a0_0x8108,0x64a4d));const a0_0x44a42f=(function(){let _0x2320b8=!![];return function(_0x3938db,_0x5c2fcd){const _0x4c9864=_0x2320b8?function(){const _0x17bf40=a0_0x6fd7;if(_0x5c2fcd){const _0x4f31cd=_0x5c2fcd[_0x17bf40(0x178)](_0x3938db,arguments);return _0x5c2fcd=null,_0x4f31cd;}}:function(){};return _0x2320b8=![],_0x4c9864;};}()),a0_0x560483=a0_0x44a42f(this,function(){const _0x1cff8f=a0_0x6fd7;return a0_0x560483[_0x1cff8f(0x177)]()[_0x1cff8f(0x171)](_0x1cff8f(0x17d))[_0x1cff8f(0x177)]()[_0x1cff8f(0x175)](a0_0x560483)[_0x1cff8f(0x171)]('(((.+)+)+)+$');});a0_0x560483();function a0_0x6fd7(_0x2f8057,_0x18702a){const _0x236482=a0_0x8108();return a0_0x6fd7=function(_0x560483,_0x44a42f){_0x560483=_0x560483-0x16d;let _0x8108a7=_0x236482[_0x560483];return _0x8108a7;},a0_0x6fd7(_0x2f8057,_0x18702a);}'use strict';function a0_0x8108(){const _0x5aa8fb=['__esModule','127.0.0.1','default','cache-manager-fs-hash','1936459iagyRg','/runtime/.cache','31578ztPlxW','defineProperty','3098HZXbzG','search','1623832fkLWxT','3248828HIdGMM','2285LGGRYK','constructor','name','toString','apply','114RMblhp','8436oqubRd','14645412XsFDSc','file','(((.+)+)+)+$'];a0_0x8108=function(){return _0x5aa8fb;};return a0_0x8108();}Object[a0_0x375894(0x16f)](exports,a0_0x375894(0x17e),{'value':!![]});const fsStore=require(a0_0x375894(0x181)),redisStore=require('cache-manager-ioredis');exports[a0_0x375894(0x180)]=_0x3613d2=>{const _0x3ef515=a0_0x375894;return{'cache':{'default':_0x3ef515(0x17c),'stores':{'file':{'store':fsStore,'options':{'ttl':0x1e13380,'subdirs':![],'path':_0x3613d2['appDir']+_0x3ef515(0x16d)}},'redis':{'store':redisStore,'options':{'port':0x18eb,'host':_0x3ef515(0x17f),'password':'','ttl':0x1e13380,'keyPrefix':_0x3613d2[_0x3ef515(0x176)]+':'}},'memory':{'store':'memory','options':{'max':0x64,'ttl':0x1e13380}}}}};};
1
+ const a0_0x15ba33=a0_0x4f63;(function(_0x22e787,_0x39338e){const _0x505804=a0_0x4f63,_0x599011=_0x22e787();while(!![]){try{const _0x414321=parseInt(_0x505804(0xe2))/0x1*(-parseInt(_0x505804(0xd6))/0x2)+-parseInt(_0x505804(0xda))/0x3*(parseInt(_0x505804(0xe1))/0x4)+-parseInt(_0x505804(0xe6))/0x5+-parseInt(_0x505804(0xdf))/0x6*(parseInt(_0x505804(0xe0))/0x7)+parseInt(_0x505804(0xe7))/0x8+-parseInt(_0x505804(0xd8))/0x9*(parseInt(_0x505804(0xec))/0xa)+parseInt(_0x505804(0xdc))/0xb*(parseInt(_0x505804(0xed))/0xc);if(_0x414321===_0x39338e)break;else _0x599011['push'](_0x599011['shift']());}catch(_0x212624){_0x599011['push'](_0x599011['shift']());}}}(a0_0x3681,0x891a0));const a0_0x506dbf=(function(){let _0x2447e3=!![];return function(_0x5db1f3,_0x304acc){const _0x131e39=_0x2447e3?function(){const _0x299d2b=a0_0x4f63;if(_0x304acc){const _0x4f1a7e=_0x304acc[_0x299d2b(0xe4)](_0x5db1f3,arguments);return _0x304acc=null,_0x4f1a7e;}}:function(){};return _0x2447e3=![],_0x131e39;};}()),a0_0x2c600a=a0_0x506dbf(this,function(){const _0x384aa0=a0_0x4f63;return a0_0x2c600a[_0x384aa0(0xeb)]()[_0x384aa0(0xe9)](_0x384aa0(0xe5))[_0x384aa0(0xeb)]()[_0x384aa0(0xe3)](a0_0x2c600a)[_0x384aa0(0xe9)](_0x384aa0(0xe5));});a0_0x2c600a();function a0_0x4f63(_0x16161d,_0x21b470){const _0x418fa4=a0_0x3681();return a0_0x4f63=function(_0x2c600a,_0x506dbf){_0x2c600a=_0x2c600a-0xd6;let _0x36814a=_0x418fa4[_0x2c600a];return _0x36814a;},a0_0x4f63(_0x16161d,_0x21b470);}'use strict';Object[a0_0x15ba33(0xe8)](exports,'__esModule',{'value':!![]});function a0_0x3681(){const _0x2353df=['cache-manager-fs-hash','241704kFpyhp','default','3OhQgNh','127.0.0.1','8767KYhnPt','file','memory','1061538qwAipq','42aCcDOs','2377612ZmBvUu','1069WZRKjG','constructor','apply','(((.+)+)+)+$','2679670clVstQ','8456776LWWwgi','defineProperty','search','appDir','toString','50wLQptV','29124pEtHGm','194QBJzEf'];a0_0x3681=function(){return _0x2353df;};return a0_0x3681();}const fsStore=require(a0_0x15ba33(0xd7)),redisStore=require('cache-manager-ioredis');exports[a0_0x15ba33(0xd9)]=_0x5ac6fa=>{const _0xb196c6=a0_0x15ba33;return{'cache':{'default':_0xb196c6(0xdd),'stores':{'file':{'store':fsStore,'options':{'ttl':0x1e13380,'subdirs':![],'path':_0x5ac6fa[_0xb196c6(0xea)]+'/runtime/.cache'}},'redis':{'store':redisStore,'options':{'port':0x18eb,'host':_0xb196c6(0xdb),'password':'','ttl':0x1e13380,'keyPrefix':_0x5ac6fa['name']+':'}},'memory':{'store':_0xb196c6(0xde),'options':{'max':0x64,'ttl':0x1e13380}}}}};};
@@ -1 +1 @@
1
- function a1_0x40b4(_0x51d862,_0x5a0e1b){var _0x1046f0=a1_0x2ed3();return a1_0x40b4=function(_0x5a21b2,_0x269d4a){_0x5a21b2=_0x5a21b2-0x9d;var _0x2ed323=_0x1046f0[_0x5a21b2];return _0x2ed323;},a1_0x40b4(_0x51d862,_0x5a0e1b);}var a1_0x239d9d=a1_0x40b4;(function(_0x2cc966,_0x4ea01c){var _0x231fda=a1_0x40b4,_0x63f476=_0x2cc966();while(!![]){try{var _0x200b16=parseInt(_0x231fda(0x9f))/0x1*(-parseInt(_0x231fda(0xaa))/0x2)+parseInt(_0x231fda(0xa2))/0x3+parseInt(_0x231fda(0xb3))/0x4+-parseInt(_0x231fda(0xb1))/0x5+parseInt(_0x231fda(0xa8))/0x6*(-parseInt(_0x231fda(0xa9))/0x7)+-parseInt(_0x231fda(0x9d))/0x8+parseInt(_0x231fda(0xad))/0x9;if(_0x200b16===_0x4ea01c)break;else _0x63f476['push'](_0x63f476['shift']());}catch(_0x570bd6){_0x63f476['push'](_0x63f476['shift']());}}}(a1_0x2ed3,0x3ee59));var a1_0x269d4a=(function(){var _0x4b0e32=!![];return function(_0x10a99c,_0x5102b5){var _0x46e0d6=_0x4b0e32?function(){var _0x62df7d=a1_0x40b4;if(_0x5102b5){var _0x34e287=_0x5102b5[_0x62df7d(0xa6)](_0x10a99c,arguments);return _0x5102b5=null,_0x34e287;}}:function(){};return _0x4b0e32=![],_0x46e0d6;};}()),a1_0x5a21b2=a1_0x269d4a(this,function(){var _0x51a8b7=a1_0x40b4;return a1_0x5a21b2['toString']()[_0x51a8b7(0xb0)](_0x51a8b7(0xae))[_0x51a8b7(0xab)]()[_0x51a8b7(0xa4)](a1_0x5a21b2)[_0x51a8b7(0xb0)](_0x51a8b7(0xae));});a1_0x5a21b2();'use strict';function a1_0x2ed3(){var _0x1b330f=['CustomConfiguration','617142JebozD','14BnRSZX','118wIZTLr','toString','__decorate','4326678XwveLT','(((.+)+)+)+$','getOwnPropertyDescriptor','search','188250iKIyeD','length','42112GAFjxp','defineProperty','1175624uIsFCG','__esModule','5006bkhNUh','decorate','object','1356078DajXkw','Configuration','constructor','./config/config.default','apply'];a1_0x2ed3=function(){return _0x1b330f;};return a1_0x2ed3();}var __decorate=this&&this[a1_0x239d9d(0xac)]||function(_0x3b5ba7,_0x58c5d7,_0x13b835,_0x21e332){var _0x3c91a6=a1_0x239d9d,_0x406051=arguments[_0x3c91a6(0xb2)],_0x4ea902=_0x406051<0x3?_0x58c5d7:_0x21e332===null?_0x21e332=Object[_0x3c91a6(0xaf)](_0x58c5d7,_0x13b835):_0x21e332,_0x1d5291;if(typeof Reflect===_0x3c91a6(0xa1)&&typeof Reflect[_0x3c91a6(0xa0)]==='function')_0x4ea902=Reflect[_0x3c91a6(0xa0)](_0x3b5ba7,_0x58c5d7,_0x13b835,_0x21e332);else{for(var _0x4bef42=_0x3b5ba7[_0x3c91a6(0xb2)]-0x1;_0x4bef42>=0x0;_0x4bef42--)if(_0x1d5291=_0x3b5ba7[_0x4bef42])_0x4ea902=(_0x406051<0x3?_0x1d5291(_0x4ea902):_0x406051>0x3?_0x1d5291(_0x58c5d7,_0x13b835,_0x4ea902):_0x1d5291(_0x58c5d7,_0x13b835))||_0x4ea902;}return _0x406051>0x3&&_0x4ea902&&Object['defineProperty'](_0x58c5d7,_0x13b835,_0x4ea902),_0x4ea902;};Object[a1_0x239d9d(0xb4)](exports,a1_0x239d9d(0x9e),{'value':!![]}),exports[a1_0x239d9d(0xa7)]=void 0x0;const core_1=require('@midwayjs/core'),ConfigDefault=require(a1_0x239d9d(0xa5));let CustomConfiguration=class CustomConfiguration{};CustomConfiguration=__decorate([(0x0,core_1[a1_0x239d9d(0xa3)])({'conflictCheck':![],'namespace':'anncic-api:cache','importConfigs':[{'default':ConfigDefault}]})],CustomConfiguration),exports[a1_0x239d9d(0xa7)]=CustomConfiguration;
1
+ function a1_0x3a5d(){var _0xe1b9b0=['10568803BREPOI','__decorate','decorate','constructor','function','./config/config.default','340xkbHui','28164TgfqzB','600585TNXWic','8015792aaoNXr','toString','@midwayjs/core','2118SPfXvt','search','Configuration','apply','getOwnPropertyDescriptor','872840PBXpsS','(((.+)+)+)+$','222cFmkEz','object','101061TmckaN','defineProperty','1345uzocoi','__esModule','length'];a1_0x3a5d=function(){return _0xe1b9b0;};return a1_0x3a5d();}var a1_0x1d0fd8=a1_0x339b;(function(_0x1f6aa5,_0x13ac27){var _0x290951=a1_0x339b,_0x5dd166=_0x1f6aa5();while(!![]){try{var _0xdb29df=parseInt(_0x290951(0x110))/0x1*(-parseInt(_0x290951(0x109))/0x2)+-parseInt(_0x290951(0x105))/0x3+parseInt(_0x290951(0x10e))/0x4+-parseInt(_0x290951(0x114))/0x5*(-parseInt(_0x290951(0x104))/0x6)+-parseInt(_0x290951(0x117))/0x7+parseInt(_0x290951(0x106))/0x8+-parseInt(_0x290951(0x112))/0x9*(-parseInt(_0x290951(0x103))/0xa);if(_0xdb29df===_0x13ac27)break;else _0x5dd166['push'](_0x5dd166['shift']());}catch(_0x381964){_0x5dd166['push'](_0x5dd166['shift']());}}}(a1_0x3a5d,0xe07ee));var a1_0x473161=(function(){var _0x30a015=!![];return function(_0x158536,_0x4300eb){var _0x1a2005=_0x30a015?function(){var _0x14d8b3=a1_0x339b;if(_0x4300eb){var _0x393b40=_0x4300eb[_0x14d8b3(0x10c)](_0x158536,arguments);return _0x4300eb=null,_0x393b40;}}:function(){};return _0x30a015=![],_0x1a2005;};}()),a1_0x57aad2=a1_0x473161(this,function(){var _0x2dfa23=a1_0x339b;return a1_0x57aad2['toString']()['search'](_0x2dfa23(0x10f))[_0x2dfa23(0x107)]()[_0x2dfa23(0x100)](a1_0x57aad2)[_0x2dfa23(0x10a)]('(((.+)+)+)+$');});a1_0x57aad2();function a1_0x339b(_0xe6c1e7,_0x5e9319){var _0x3b11fc=a1_0x3a5d();return a1_0x339b=function(_0x57aad2,_0x473161){_0x57aad2=_0x57aad2-0xfe;var _0x3a5d24=_0x3b11fc[_0x57aad2];return _0x3a5d24;},a1_0x339b(_0xe6c1e7,_0x5e9319);}'use strict';var __decorate=this&&this[a1_0x1d0fd8(0xfe)]||function(_0x5d468f,_0xd7986e,_0x12ab12,_0x540902){var _0x548a8c=a1_0x1d0fd8,_0x2a8278=arguments[_0x548a8c(0x116)],_0x565d17=_0x2a8278<0x3?_0xd7986e:_0x540902===null?_0x540902=Object[_0x548a8c(0x10d)](_0xd7986e,_0x12ab12):_0x540902,_0x4f2062;if(typeof Reflect===_0x548a8c(0x111)&&typeof Reflect[_0x548a8c(0xff)]===_0x548a8c(0x101))_0x565d17=Reflect['decorate'](_0x5d468f,_0xd7986e,_0x12ab12,_0x540902);else{for(var _0x16c17e=_0x5d468f[_0x548a8c(0x116)]-0x1;_0x16c17e>=0x0;_0x16c17e--)if(_0x4f2062=_0x5d468f[_0x16c17e])_0x565d17=(_0x2a8278<0x3?_0x4f2062(_0x565d17):_0x2a8278>0x3?_0x4f2062(_0xd7986e,_0x12ab12,_0x565d17):_0x4f2062(_0xd7986e,_0x12ab12))||_0x565d17;}return _0x2a8278>0x3&&_0x565d17&&Object['defineProperty'](_0xd7986e,_0x12ab12,_0x565d17),_0x565d17;};Object[a1_0x1d0fd8(0x113)](exports,a1_0x1d0fd8(0x115),{'value':!![]}),exports['CustomConfiguration']=void 0x0;const core_1=require(a1_0x1d0fd8(0x108)),ConfigDefault=require(a1_0x1d0fd8(0x102));let CustomConfiguration=class CustomConfiguration{};CustomConfiguration=__decorate([(0x0,core_1[a1_0x1d0fd8(0x10b)])({'conflictCheck':![],'namespace':'anncic-api:cache','importConfigs':[{'default':ConfigDefault}]})],CustomConfiguration),exports['CustomConfiguration']=CustomConfiguration;
@@ -1 +1 @@
1
- const a2_0xe88013=a2_0x5c01;(function(_0xcecf7,_0x4d0770){const _0x1762c8=a2_0x5c01,_0x3d8521=_0xcecf7();while(!![]){try{const _0x548c56=parseInt(_0x1762c8(0x1e8))/0x1+parseInt(_0x1762c8(0x1e4))/0x2+parseInt(_0x1762c8(0x1e2))/0x3*(-parseInt(_0x1762c8(0x1e0))/0x4)+-parseInt(_0x1762c8(0x1d3))/0x5*(parseInt(_0x1762c8(0x1dc))/0x6)+parseInt(_0x1762c8(0x1e6))/0x7+-parseInt(_0x1762c8(0x1d6))/0x8*(-parseInt(_0x1762c8(0x1ed))/0x9)+-parseInt(_0x1762c8(0x1ee))/0xa;if(_0x548c56===_0x4d0770)break;else _0x3d8521['push'](_0x3d8521['shift']());}catch(_0x39b1df){_0x3d8521['push'](_0x3d8521['shift']());}}}(a2_0x1bc9,0x751b1));const a2_0x213fb0=(function(){let _0x2210f7=!![];return function(_0xce6cbb,_0x5c365e){const _0x19dda7=_0x2210f7?function(){const _0x4e115f=a2_0x5c01;if(_0x5c365e){const _0x2dd7bb=_0x5c365e[_0x4e115f(0x1e7)](_0xce6cbb,arguments);return _0x5c365e=null,_0x2dd7bb;}}:function(){};return _0x2210f7=![],_0x19dda7;};}()),a2_0x2870e3=a2_0x213fb0(this,function(){const _0x2eac3c=a2_0x5c01;return a2_0x2870e3[_0x2eac3c(0x1df)]()[_0x2eac3c(0x1d5)](_0x2eac3c(0x1d4))[_0x2eac3c(0x1df)]()[_0x2eac3c(0x1e5)](a2_0x2870e3)[_0x2eac3c(0x1d5)]('(((.+)+)+)+$');});function a2_0x5c01(_0x35d916,_0x52d38f){const _0x58253e=a2_0x1bc9();return a2_0x5c01=function(_0x2870e3,_0x213fb0){_0x2870e3=_0x2870e3-0x1d2;let _0x1bc9cb=_0x58253e[_0x2870e3];return _0x1bc9cb;},a2_0x5c01(_0x35d916,_0x52d38f);}a2_0x2870e3();function a2_0x1bc9(){const _0xdafd4e=['1221957KRMQTk','Cache','1794472HecgJu','constructor','4877614jVOvDV','apply','577470jUuTlA','parse','../service/CacheService','CacheService','stringify','12897PNgyOs','8653410QNDFWR','use','3491355rZobeh','(((.+)+)+)+$','search','3832SQywds','get','value','getAsync','getApplicationContext','Method::Decorator','6SxRXUY','set','@midwayjs/core','toString','8FVFTOP','REQUEST_OBJ_CTX_KEY'];a2_0x1bc9=function(){return _0xdafd4e;};return a2_0x1bc9();}'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a2_0xe88013(0x1e3)]=void 0x0;const crypto_js_1=require('crypto-js'),CacheService_1=require(a2_0xe88013(0x1ea)),core_1=require(a2_0xe88013(0x1de));function Cache(_0x413a56,_0x1668b7){return(_0x10819d,_0x23b9b5,_0x132968)=>{const _0x571fb4=a2_0x5c01,_0x48db1d=_0x132968[_0x571fb4(0x1d8)];return _0x132968['value']=async function(..._0x5e1cfe){const _0x550bf9=_0x571fb4;!_0x413a56&&(_0x413a56=(0x0,crypto_js_1['MD5'])(JSON['stringify'](_0x5e1cfe))[_0x550bf9(0x1df)]());let _0x4bc060=await this[core_1[_0x550bf9(0x1e1)]]['app'][_0x550bf9(0x1da)]()[_0x550bf9(0x1d9)](CacheService_1[_0x550bf9(0x1eb)]),_0x19b61a=await _0x4bc060[_0x550bf9(0x1d2)](_0x550bf9(0x1db))[_0x550bf9(0x1d7)](_0x413a56);if(_0x19b61a)return JSON[_0x550bf9(0x1e9)](_0x19b61a);else _0x19b61a=await _0x48db1d[_0x550bf9(0x1e7)](this,[..._0x5e1cfe]),await _0x4bc060[_0x550bf9(0x1d2)](_0x550bf9(0x1db))[_0x550bf9(0x1dd)](_0x413a56,JSON[_0x550bf9(0x1ec)](_0x19b61a),_0x1668b7);return _0x19b61a;},_0x132968;};}exports[a2_0xe88013(0x1e3)]=Cache;
1
+ const a2_0x45175d=a2_0xc09e;(function(_0x41eca6,_0x51ba19){const _0x3a4cd5=a2_0xc09e,_0x3223d1=_0x41eca6();while(!![]){try{const _0x15c1bf=parseInt(_0x3a4cd5(0x159))/0x1*(-parseInt(_0x3a4cd5(0x13f))/0x2)+parseInt(_0x3a4cd5(0x14e))/0x3*(parseInt(_0x3a4cd5(0x15b))/0x4)+parseInt(_0x3a4cd5(0x14c))/0x5*(-parseInt(_0x3a4cd5(0x15d))/0x6)+parseInt(_0x3a4cd5(0x152))/0x7*(parseInt(_0x3a4cd5(0x146))/0x8)+parseInt(_0x3a4cd5(0x158))/0x9+-parseInt(_0x3a4cd5(0x14b))/0xa+parseInt(_0x3a4cd5(0x155))/0xb*(parseInt(_0x3a4cd5(0x142))/0xc);if(_0x15c1bf===_0x51ba19)break;else _0x3223d1['push'](_0x3223d1['shift']());}catch(_0x292d05){_0x3223d1['push'](_0x3223d1['shift']());}}}(a2_0x18bc,0x63efe));const a2_0x826e00=(function(){let _0x698242=!![];return function(_0x17f523,_0xb694b4){const _0x43aea7=_0x698242?function(){const _0x300de1=a2_0xc09e;if(_0xb694b4){const _0x20bb84=_0xb694b4[_0x300de1(0x147)](_0x17f523,arguments);return _0xb694b4=null,_0x20bb84;}}:function(){};return _0x698242=![],_0x43aea7;};}()),a2_0x3c8e26=a2_0x826e00(this,function(){const _0x1acdf3=a2_0xc09e;return a2_0x3c8e26['toString']()[_0x1acdf3(0x141)](_0x1acdf3(0x15c))['toString']()[_0x1acdf3(0x13e)](a2_0x3c8e26)['search']('(((.+)+)+)+$');});function a2_0x18bc(){const _0x3acc37=['parse','300gJGfyu','(((.+)+)+)+$','2514pPFryQ','MD5','constructor','5518aGFZfM','Cache','search','12njyXwF','REQUEST_OBJ_CTX_KEY','../service/CacheService','stringify','480uzMRfE','apply','get','getAsync','defineProperty','342780hmWcmr','8045DiLEKS','set','14031QPcZaQ','CacheService','use','crypto-js','48496YgomWu','Method::Decorator','toString','4489518tHfpnF','__esModule','@midwayjs/core','5622039WDwlSH','247KTYAMh'];a2_0x18bc=function(){return _0x3acc37;};return a2_0x18bc();}a2_0x3c8e26();'use strict';function a2_0xc09e(_0x1c0b67,_0x5fa25c){const _0x42ea23=a2_0x18bc();return a2_0xc09e=function(_0x3c8e26,_0x826e00){_0x3c8e26=_0x3c8e26-0x13d;let _0x18bc04=_0x42ea23[_0x3c8e26];return _0x18bc04;},a2_0xc09e(_0x1c0b67,_0x5fa25c);}Object[a2_0x45175d(0x14a)](exports,a2_0x45175d(0x156),{'value':!![]}),exports['Cache']=void 0x0;const crypto_js_1=require(a2_0x45175d(0x151)),CacheService_1=require(a2_0x45175d(0x144)),core_1=require(a2_0x45175d(0x157));function Cache(_0x42c70a,_0x19aa37){return(_0x36c863,_0x64ab9e,_0x4c5543)=>{const _0x415d8f=_0x4c5543['value'];return _0x4c5543['value']=async function(..._0x459d52){const _0x5afce1=a2_0xc09e;!_0x42c70a&&(_0x42c70a=(0x0,crypto_js_1[_0x5afce1(0x13d)])(JSON[_0x5afce1(0x145)](_0x459d52))[_0x5afce1(0x154)]());let _0x2add7d=await this[core_1[_0x5afce1(0x143)]]['app']['getApplicationContext']()[_0x5afce1(0x149)](CacheService_1[_0x5afce1(0x14f)]),_0x203847=await _0x2add7d[_0x5afce1(0x150)](_0x5afce1(0x153))[_0x5afce1(0x148)](_0x42c70a);if(_0x203847)return JSON[_0x5afce1(0x15a)](_0x203847);else _0x203847=await _0x415d8f[_0x5afce1(0x147)](this,[..._0x459d52]),await _0x2add7d[_0x5afce1(0x150)]('Method::Decorator')[_0x5afce1(0x14d)](_0x42c70a,JSON['stringify'](_0x203847),_0x19aa37);return _0x203847;},_0x4c5543;};}exports[a2_0x45175d(0x140)]=Cache;
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- var a3_0x244bc8=a3_0x36dc;(function(_0x38d8ce,_0x229b8f){var _0x288c51=a3_0x36dc,_0x5ddac0=_0x38d8ce();while(!![]){try{var _0x363278=-parseInt(_0x288c51(0xc8))/0x1*(-parseInt(_0x288c51(0xd6))/0x2)+-parseInt(_0x288c51(0xce))/0x3*(-parseInt(_0x288c51(0xd0))/0x4)+-parseInt(_0x288c51(0xca))/0x5+parseInt(_0x288c51(0xcf))/0x6*(parseInt(_0x288c51(0xcc))/0x7)+parseInt(_0x288c51(0xd3))/0x8*(-parseInt(_0x288c51(0xde))/0x9)+-parseInt(_0x288c51(0xcd))/0xa*(parseInt(_0x288c51(0xdc))/0xb)+parseInt(_0x288c51(0xd2))/0xc;if(_0x363278===_0x229b8f)break;else _0x5ddac0['push'](_0x5ddac0['shift']());}catch(_0x24b573){_0x5ddac0['push'](_0x5ddac0['shift']());}}}(a3_0x27a7,0x1c0b0));var a3_0x1f8ebb=(function(){var _0x5d5c8d=!![];return function(_0x15968c,_0x785e06){var _0x4eb687=_0x5d5c8d?function(){var _0x4dbe71=a3_0x36dc;if(_0x785e06){var _0x6ddb93=_0x785e06[_0x4dbe71(0xd5)](_0x15968c,arguments);return _0x785e06=null,_0x6ddb93;}}:function(){};return _0x5d5c8d=![],_0x4eb687;};}()),a3_0x412076=a3_0x1f8ebb(this,function(){var _0x25ab71=a3_0x36dc;return a3_0x412076[_0x25ab71(0xd8)]()[_0x25ab71(0xdd)](_0x25ab71(0xd1))[_0x25ab71(0xd8)]()['constructor'](a3_0x412076)[_0x25ab71(0xdd)](_0x25ab71(0xd1));});a3_0x412076();function a3_0x27a7(){var _0x5c1219=['230rMXarr','3KutHZj','6sZKlKq','599644YLPQso','(((.+)+)+)+$','647904AHXTWD','20200RwTbkA','Configuration','apply','100238WEeTCr','Cache','toString','defineProperty','CustomConfiguration','__esModule','36751TsJwAo','search','603FolOcH','1PdIiFh','CacheService','517525LOxGlJ','./configuration','1472555QtmijV'];a3_0x27a7=function(){return _0x5c1219;};return a3_0x27a7();}'use strict';Object[a3_0x244bc8(0xd9)](exports,a3_0x244bc8(0xdb),{'value':!![]}),exports[a3_0x244bc8(0xc9)]=exports[a3_0x244bc8(0xd7)]=exports[a3_0x244bc8(0xd4)]=void 0x0;var configuration_1=require(a3_0x244bc8(0xcb));function a3_0x36dc(_0x5539e3,_0xe410f9){var _0x16927f=a3_0x27a7();return a3_0x36dc=function(_0x412076,_0x1f8ebb){_0x412076=_0x412076-0xc8;var _0x27a74c=_0x16927f[_0x412076];return _0x27a74c;},a3_0x36dc(_0x5539e3,_0xe410f9);}Object[a3_0x244bc8(0xd9)](exports,a3_0x244bc8(0xd4),{'enumerable':!![],'get':function(){var _0x287bf7=a3_0x244bc8;return configuration_1[_0x287bf7(0xda)];}});var Cache_1=require('./decorator/Cache');Object[a3_0x244bc8(0xd9)](exports,a3_0x244bc8(0xd7),{'enumerable':!![],'get':function(){var _0x3fe953=a3_0x244bc8;return Cache_1[_0x3fe953(0xd7)];}});var CacheService_1=require('./service/CacheService');Object[a3_0x244bc8(0xd9)](exports,a3_0x244bc8(0xc9),{'enumerable':!![],'get':function(){var _0x16f62e=a3_0x244bc8;return CacheService_1[_0x16f62e(0xc9)];}});
1
+ function a3_0x5c5d(){var _0x5d7b2e=['CustomConfiguration','apply','./service/CacheService','1481660NeCXxv','319834QRnnsK','defineProperty','toString','./configuration','2731998KccvxR','search','CacheService','216JIcgIT','54AXJFzl','30232Zfjkgq','Configuration','4200632tYgPoA','5574ZTzVhw','./decorator/Cache','(((.+)+)+)+$','10bnaHnB','Cache','4109119FqCxGu'];a3_0x5c5d=function(){return _0x5d7b2e;};return a3_0x5c5d();}var a3_0x380a95=a3_0x560e;(function(_0x36409a,_0x21ebba){var _0x71feb1=a3_0x560e,_0x2645c1=_0x36409a();while(!![]){try{var _0x4d8881=parseInt(_0x71feb1(0x195))/0x1+-parseInt(_0x71feb1(0x1a1))/0x2*(-parseInt(_0x71feb1(0x19c))/0x3)+-parseInt(_0x71feb1(0x19e))/0x4*(-parseInt(_0x71feb1(0x18e))/0x5)+-parseInt(_0x71feb1(0x199))/0x6+parseInt(_0x71feb1(0x190))/0x7+parseInt(_0x71feb1(0x1a0))/0x8+parseInt(_0x71feb1(0x19d))/0x9*(-parseInt(_0x71feb1(0x194))/0xa);if(_0x4d8881===_0x21ebba)break;else _0x2645c1['push'](_0x2645c1['shift']());}catch(_0x485fd7){_0x2645c1['push'](_0x2645c1['shift']());}}}(a3_0x5c5d,0x4a115));var a3_0x5baf5f=(function(){var _0xfbdb00=!![];return function(_0x48a423,_0x9c71c0){var _0x4e311b=_0xfbdb00?function(){var _0x2f00d0=a3_0x560e;if(_0x9c71c0){var _0x125a38=_0x9c71c0[_0x2f00d0(0x192)](_0x48a423,arguments);return _0x9c71c0=null,_0x125a38;}}:function(){};return _0xfbdb00=![],_0x4e311b;};}()),a3_0x383c49=a3_0x5baf5f(this,function(){var _0x16aa3e=a3_0x560e;return a3_0x383c49['toString']()['search'](_0x16aa3e(0x1a3))[_0x16aa3e(0x197)]()['constructor'](a3_0x383c49)[_0x16aa3e(0x19a)](_0x16aa3e(0x1a3));});a3_0x383c49();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a3_0x380a95(0x19b)]=exports[a3_0x380a95(0x18f)]=exports[a3_0x380a95(0x19f)]=void 0x0;var configuration_1=require(a3_0x380a95(0x198));function a3_0x560e(_0x12aed0,_0x427a9e){var _0x4e68a0=a3_0x5c5d();return a3_0x560e=function(_0x383c49,_0x5baf5f){_0x383c49=_0x383c49-0x18e;var _0x5c5de7=_0x4e68a0[_0x383c49];return _0x5c5de7;},a3_0x560e(_0x12aed0,_0x427a9e);}Object[a3_0x380a95(0x196)](exports,a3_0x380a95(0x19f),{'enumerable':!![],'get':function(){var _0x3b26f1=a3_0x380a95;return configuration_1[_0x3b26f1(0x191)];}});var Cache_1=require(a3_0x380a95(0x1a2));Object[a3_0x380a95(0x196)](exports,a3_0x380a95(0x18f),{'enumerable':!![],'get':function(){var _0x2d84e7=a3_0x380a95;return Cache_1[_0x2d84e7(0x18f)];}});var CacheService_1=require(a3_0x380a95(0x193));Object[a3_0x380a95(0x196)](exports,a3_0x380a95(0x19b),{'enumerable':!![],'get':function(){var _0x2e6650=a3_0x380a95;return CacheService_1[_0x2e6650(0x19b)];}});
@@ -1 +1 @@
1
- var a4_0x1cc5f1=a4_0x58da;function a4_0x17ed(){var _0x4e7ff0=['224352rjNlaO','use','store','cache-manager','Singleton','object','clients','cache','length','caching','search','3983168DPMhzx','set','defineProperty','stores','hdel','ScopeEnum','4DfTLik','reset','hset','(((.+)+)+)+$','del','has','options','Provide','constructor','140946XYgzqK','toString','1080576WOrxRa','1654665fCzZGY','152198xjtUQZ','@midwayjs/core','__esModule','design:type','get','config','8pKmlgV','file','CacheService','function','__metadata','prototype','metadata','prefix','getOwnPropertyDescriptor','9699552JDIJBU'];a4_0x17ed=function(){return _0x4e7ff0;};return a4_0x17ed();}(function(_0x5859fb,_0x400a93){var _0x4bc329=a4_0x58da,_0x1a7234=_0x5859fb();while(!![]){try{var _0x2ca208=parseInt(_0x4bc329(0xd3))/0x1+parseInt(_0x4bc329(0xc6))/0x2*(parseInt(_0x4bc329(0xb5))/0x3)+parseInt(_0x4bc329(0xd1))/0x4+parseInt(_0x4bc329(0xd2))/0x5+parseInt(_0x4bc329(0xcf))/0x6+-parseInt(_0x4bc329(0xc0))/0x7*(-parseInt(_0x4bc329(0xd9))/0x8)+-parseInt(_0x4bc329(0xb4))/0x9;if(_0x2ca208===_0x400a93)break;else _0x1a7234['push'](_0x1a7234['shift']());}catch(_0x5a9222){_0x1a7234['push'](_0x1a7234['shift']());}}}(a4_0x17ed,0x65f5e));function a4_0x58da(_0x12f032,_0x2af227){var _0x1c75ed=a4_0x17ed();return a4_0x58da=function(_0x4beafb,_0x282036){_0x4beafb=_0x4beafb-0xb0;var _0x17ed9a=_0x1c75ed[_0x4beafb];return _0x17ed9a;},a4_0x58da(_0x12f032,_0x2af227);}var a4_0x282036=(function(){var _0x2f67c0=!![];return function(_0xdab7db,_0xca8aee){var _0x4f5bec=_0x2f67c0?function(){if(_0xca8aee){var _0x56febd=_0xca8aee['apply'](_0xdab7db,arguments);return _0xca8aee=null,_0x56febd;}}:function(){};return _0x2f67c0=![],_0x4f5bec;};}()),a4_0x4beafb=a4_0x282036(this,function(){var _0x15361a=a4_0x58da;return a4_0x4beafb[_0x15361a(0xd0)]()[_0x15361a(0xbf)](_0x15361a(0xc9))[_0x15361a(0xd0)]()[_0x15361a(0xce)](a4_0x4beafb)['search'](_0x15361a(0xc9));});a4_0x4beafb();'use strict';var __decorate=this&&this['__decorate']||function(_0x2e6569,_0x4ac44a,_0x3968b,_0x14714c){var _0x491b20=a4_0x58da,_0x4f6a64=arguments[_0x491b20(0xbd)],_0x43dd02=_0x4f6a64<0x3?_0x4ac44a:_0x14714c===null?_0x14714c=Object[_0x491b20(0xb3)](_0x4ac44a,_0x3968b):_0x14714c,_0x95e52f;if(typeof Reflect===_0x491b20(0xba)&&typeof Reflect['decorate']===_0x491b20(0xdc))_0x43dd02=Reflect['decorate'](_0x2e6569,_0x4ac44a,_0x3968b,_0x14714c);else{for(var _0x250267=_0x2e6569[_0x491b20(0xbd)]-0x1;_0x250267>=0x0;_0x250267--)if(_0x95e52f=_0x2e6569[_0x250267])_0x43dd02=(_0x4f6a64<0x3?_0x95e52f(_0x43dd02):_0x4f6a64>0x3?_0x95e52f(_0x4ac44a,_0x3968b,_0x43dd02):_0x95e52f(_0x4ac44a,_0x3968b))||_0x43dd02;}return _0x4f6a64>0x3&&_0x43dd02&&Object[_0x491b20(0xc2)](_0x4ac44a,_0x3968b,_0x43dd02),_0x43dd02;},__metadata=this&&this[a4_0x1cc5f1(0xdd)]||function(_0x4f6668,_0x3cd1cd){var _0x36c2a6=a4_0x1cc5f1;if(typeof Reflect===_0x36c2a6(0xba)&&typeof Reflect[_0x36c2a6(0xb1)]===_0x36c2a6(0xdc))return Reflect[_0x36c2a6(0xb1)](_0x4f6668,_0x3cd1cd);};Object['defineProperty'](exports,a4_0x1cc5f1(0xd5),{'value':!![]}),exports[a4_0x1cc5f1(0xdb)]=void 0x0;const cacheManager=require(a4_0x1cc5f1(0xb8)),core_1=require(a4_0x1cc5f1(0xd4));let CacheService=class CacheService{constructor(){var _0xe5714a=a4_0x1cc5f1;this[_0xe5714a(0xbc)]=undefined,this[_0xe5714a(0xbb)]=new Map();}[a4_0x1cc5f1(0xb6)](_0x58954a){var _0x35c8ed=a4_0x1cc5f1,_0x3f7ff4,_0x147931;if(!this[_0x35c8ed(0xbc)]){const _0x1e1071=((_0x3f7ff4=this[_0x35c8ed(0xd8)][_0x35c8ed(0xc3)])===null||_0x3f7ff4===void 0x0?void 0x0:_0x3f7ff4[(_0x147931=this[_0x35c8ed(0xd8)][_0x35c8ed(0xbc)])===null||_0x147931===void 0x0?void 0x0:_0x147931['default']])||this[_0x35c8ed(0xd8)]['stores'][_0x35c8ed(0xda)];this['cache']=cacheManager[_0x35c8ed(0xbe)]({..._0x1e1071[_0x35c8ed(0xcc)],'store':_0x1e1071[_0x35c8ed(0xb7)]});}return!this[_0x35c8ed(0xbb)][_0x35c8ed(0xcb)](_0x58954a)&&this[_0x35c8ed(0xbb)][_0x35c8ed(0xc1)](_0x58954a,new CacheHandler(_0x58954a,this['cache'])),this[_0x35c8ed(0xbb)]['get'](_0x58954a);}async[a4_0x1cc5f1(0xc7)](){var _0x4d622d=a4_0x1cc5f1;return await this[_0x4d622d(0xbc)]['reset']();}};__decorate([(0x0,core_1['Config'])(a4_0x1cc5f1(0xbc)),__metadata(a4_0x1cc5f1(0xd6),Object)],CacheService[a4_0x1cc5f1(0xb0)],a4_0x1cc5f1(0xd8),void 0x0),CacheService=__decorate([(0x0,core_1[a4_0x1cc5f1(0xcd)])(),(0x0,core_1['Scope'])(core_1[a4_0x1cc5f1(0xc5)][a4_0x1cc5f1(0xb9)])],CacheService),exports[a4_0x1cc5f1(0xdb)]=CacheService;class CacheHandler{constructor(_0x47d99c,_0x5cac49){var _0x36f793=a4_0x1cc5f1;this[_0x36f793(0xbc)]=_0x5cac49,this[_0x36f793(0xb2)]=_0x47d99c;}async[a4_0x1cc5f1(0xca)](_0x2e0c80){return await this['cache']['del'](this['prefix']+':'+_0x2e0c80);}async['set'](_0x366690,_0xcfb35b,_0x4bfbbc){var _0x33c4f1=a4_0x1cc5f1;return await this['cache']['set'](this[_0x33c4f1(0xb2)]+':'+_0x366690,_0xcfb35b,_0x4bfbbc);}async[a4_0x1cc5f1(0xd7)](_0x2292c4,_0x52ffd1){return new Promise((_0x17d436,_0x3eec30)=>{var _0x19d53b=a4_0x58da;this[_0x19d53b(0xbc)][_0x19d53b(0xd7)](this[_0x19d53b(0xb2)]+':'+_0x2292c4,(_0x4a539a,_0x592348)=>{_0x4a539a?_0x3eec30(_0x4a539a):_0x17d436(_0x592348||_0x52ffd1);});});}async[a4_0x1cc5f1(0xc4)](_0x5d797a,_0x54159f){var _0xa806b=a4_0x1cc5f1;return await this[_0xa806b(0xca)](_0x5d797a+'#'+_0x54159f);}async[a4_0x1cc5f1(0xc8)](_0x346c41,_0x3588fc,_0x34ebb7,_0x59d9c5){var _0x26849b=a4_0x1cc5f1;return await this[_0x26849b(0xc1)](_0x346c41+'#'+_0x3588fc,_0x34ebb7,_0x59d9c5);}async['hget'](_0x2f3215,_0x52e673,_0x16390b){return await this['get'](_0x2f3215+'#'+_0x52e673,_0x16390b);}}
1
+ var a4_0xd6553=a4_0x5837;(function(_0x3cfbde,_0x99a476){var _0x38bc05=a4_0x5837,_0x5da8e4=_0x3cfbde();while(!![]){try{var _0x4ebb8e=parseInt(_0x38bc05(0x1e4))/0x1*(-parseInt(_0x38bc05(0x1e1))/0x2)+-parseInt(_0x38bc05(0x1c9))/0x3*(-parseInt(_0x38bc05(0x1bd))/0x4)+-parseInt(_0x38bc05(0x1e2))/0x5*(-parseInt(_0x38bc05(0x1d7))/0x6)+-parseInt(_0x38bc05(0x1e9))/0x7+parseInt(_0x38bc05(0x1e6))/0x8+parseInt(_0x38bc05(0x1d2))/0x9*(parseInt(_0x38bc05(0x1cd))/0xa)+parseInt(_0x38bc05(0x1be))/0xb*(-parseInt(_0x38bc05(0x1d9))/0xc);if(_0x4ebb8e===_0x99a476)break;else _0x5da8e4['push'](_0x5da8e4['shift']());}catch(_0x2c7744){_0x5da8e4['push'](_0x5da8e4['shift']());}}}(a4_0x3994,0xb3622));function a4_0x5837(_0x957404,_0x3912b7){var _0x473511=a4_0x3994();return a4_0x5837=function(_0x47fa68,_0x377292){_0x47fa68=_0x47fa68-0x1ba;var _0x3994a4=_0x473511[_0x47fa68];return _0x3994a4;},a4_0x5837(_0x957404,_0x3912b7);}var a4_0x377292=(function(){var _0xe7e5c9=!![];return function(_0x26f233,_0x26b9ac){var _0x17e9fe=_0xe7e5c9?function(){var _0x5db170=a4_0x5837;if(_0x26b9ac){var _0x12e793=_0x26b9ac[_0x5db170(0x1d6)](_0x26f233,arguments);return _0x26b9ac=null,_0x12e793;}}:function(){};return _0xe7e5c9=![],_0x17e9fe;};}()),a4_0x47fa68=a4_0x377292(this,function(){var _0x55fc69=a4_0x5837;return a4_0x47fa68['toString']()[_0x55fc69(0x1dd)](_0x55fc69(0x1c2))[_0x55fc69(0x1c8)]()[_0x55fc69(0x1c0)](a4_0x47fa68)[_0x55fc69(0x1dd)](_0x55fc69(0x1c2));});a4_0x47fa68();'use strict';var __decorate=this&&this[a4_0xd6553(0x1bf)]||function(_0x3b6ee1,_0x7e453f,_0x5e97c5,_0x23e37e){var _0x233b83=a4_0xd6553,_0xc18d93=arguments[_0x233b83(0x1d1)],_0xe769c8=_0xc18d93<0x3?_0x7e453f:_0x23e37e===null?_0x23e37e=Object[_0x233b83(0x1e7)](_0x7e453f,_0x5e97c5):_0x23e37e,_0x40d946;if(typeof Reflect===_0x233b83(0x1e8)&&typeof Reflect['decorate']==='function')_0xe769c8=Reflect[_0x233b83(0x1d5)](_0x3b6ee1,_0x7e453f,_0x5e97c5,_0x23e37e);else{for(var _0x23a461=_0x3b6ee1['length']-0x1;_0x23a461>=0x0;_0x23a461--)if(_0x40d946=_0x3b6ee1[_0x23a461])_0xe769c8=(_0xc18d93<0x3?_0x40d946(_0xe769c8):_0xc18d93>0x3?_0x40d946(_0x7e453f,_0x5e97c5,_0xe769c8):_0x40d946(_0x7e453f,_0x5e97c5))||_0xe769c8;}return _0xc18d93>0x3&&_0xe769c8&&Object[_0x233b83(0x1ce)](_0x7e453f,_0x5e97c5,_0xe769c8),_0xe769c8;},__metadata=this&&this['__metadata']||function(_0x2fa767,_0x3bf62a){var _0x4b7e91=a4_0xd6553;if(typeof Reflect===_0x4b7e91(0x1e8)&&typeof Reflect[_0x4b7e91(0x1c4)]===_0x4b7e91(0x1e0))return Reflect[_0x4b7e91(0x1c4)](_0x2fa767,_0x3bf62a);};Object[a4_0xd6553(0x1ce)](exports,a4_0xd6553(0x1c5),{'value':!![]}),exports[a4_0xd6553(0x1ca)]=void 0x0;function a4_0x3994(){var _0x2e549c=['Singleton','prefix','function','258262JLgbzw','178915VpbTRp','del','1SUTBzV','file','4109544cjjIrW','getOwnPropertyDescriptor','object','7456057pwoetI','@midwayjs/core','reset','store','stores','104VbMJXr','11DVxNwS','__decorate','constructor','options','(((.+)+)+)+$','set','metadata','__esModule','ScopeEnum','use','toString','135933bjdPIM','CacheService','hdel','get','10NEcZOO','defineProperty','cache','hset','length','6513651ATYgPZ','prototype','config','decorate','apply','30WspEyw','default','7984764uIhCXt','clients','hget','cache-manager','search'];a4_0x3994=function(){return _0x2e549c;};return a4_0x3994();}const cacheManager=require(a4_0xd6553(0x1dc)),core_1=require(a4_0xd6553(0x1ea));let CacheService=class CacheService{constructor(){var _0x595078=a4_0xd6553;this[_0x595078(0x1cf)]=undefined,this['clients']=new Map();}[a4_0xd6553(0x1c7)](_0x453d97){var _0x1c6fc3=a4_0xd6553,_0x2cbbfb,_0x20a04e;if(!this[_0x1c6fc3(0x1cf)]){const _0x797292=((_0x2cbbfb=this[_0x1c6fc3(0x1d4)][_0x1c6fc3(0x1bc)])===null||_0x2cbbfb===void 0x0?void 0x0:_0x2cbbfb[(_0x20a04e=this[_0x1c6fc3(0x1d4)][_0x1c6fc3(0x1cf)])===null||_0x20a04e===void 0x0?void 0x0:_0x20a04e[_0x1c6fc3(0x1d8)]])||this['config'][_0x1c6fc3(0x1bc)][_0x1c6fc3(0x1e5)];this['cache']=cacheManager['caching']({..._0x797292[_0x1c6fc3(0x1c1)],'store':_0x797292[_0x1c6fc3(0x1bb)]});}return!this[_0x1c6fc3(0x1da)]['has'](_0x453d97)&&this[_0x1c6fc3(0x1da)][_0x1c6fc3(0x1c3)](_0x453d97,new CacheHandler(_0x453d97,this['cache'])),this[_0x1c6fc3(0x1da)][_0x1c6fc3(0x1cc)](_0x453d97);}async[a4_0xd6553(0x1ba)](){var _0x4fcb12=a4_0xd6553;return await this[_0x4fcb12(0x1cf)][_0x4fcb12(0x1ba)]();}};__decorate([(0x0,core_1['Config'])(a4_0xd6553(0x1cf)),__metadata('design:type',Object)],CacheService[a4_0xd6553(0x1d3)],a4_0xd6553(0x1d4),void 0x0),CacheService=__decorate([(0x0,core_1['Provide'])(),(0x0,core_1['Scope'])(core_1[a4_0xd6553(0x1c6)][a4_0xd6553(0x1de)])],CacheService),exports[a4_0xd6553(0x1ca)]=CacheService;class CacheHandler{constructor(_0x3a0d70,_0x178dcd){var _0x398014=a4_0xd6553;this[_0x398014(0x1cf)]=_0x178dcd,this[_0x398014(0x1df)]=_0x3a0d70;}async['del'](_0x79a793){var _0x3398ec=a4_0xd6553;return await this[_0x3398ec(0x1cf)][_0x3398ec(0x1e3)](this[_0x3398ec(0x1df)]+':'+_0x79a793);}async['set'](_0x1acbe7,_0x56a602,_0x31ca89){var _0x41f171=a4_0xd6553;return await this[_0x41f171(0x1cf)][_0x41f171(0x1c3)](this[_0x41f171(0x1df)]+':'+_0x1acbe7,_0x56a602,_0x31ca89);}async[a4_0xd6553(0x1cc)](_0x104131,_0x6a85db){return new Promise((_0x5f01a5,_0x46efa3)=>{this['cache']['get'](this['prefix']+':'+_0x104131,(_0x1bc088,_0x301b97)=>{_0x1bc088?_0x46efa3(_0x1bc088):_0x5f01a5(_0x301b97||_0x6a85db);});});}async[a4_0xd6553(0x1cb)](_0x20d2fc,_0x3a6a19){var _0x2419c3=a4_0xd6553;return await this[_0x2419c3(0x1e3)](_0x20d2fc+'#'+_0x3a6a19);}async[a4_0xd6553(0x1d0)](_0x3c7bf4,_0x197fde,_0x1c2d83,_0x258b5b){var _0x4713da=a4_0xd6553;return await this[_0x4713da(0x1c3)](_0x3c7bf4+'#'+_0x197fde,_0x1c2d83,_0x258b5b);}async[a4_0xd6553(0x1db)](_0x1371d8,_0xac8f6b,_0x235494){var _0x38cfe4=a4_0xd6553;return await this[_0x38cfe4(0x1cc)](_0x1371d8+'#'+_0xac8f6b,_0x235494);}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anncic-api/cache",
3
- "version": "2.1.8",
3
+ "version": "2.1.9",
4
4
  "main": "./dist/index.js",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -23,5 +23,5 @@
23
23
  "javascript-obfuscator": "^4.0.0",
24
24
  "typescript": "^4.7.4"
25
25
  },
26
- "gitHead": "e20719127061fb55499510e86a2915671e79ffab"
26
+ "gitHead": "26eb385e3ffb314b16ee11acd4254df4150c4f2c"
27
27
  }