@anncic-api/cache 3.0.1 → 3.0.2
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
|
|
1
|
+
const a0_0x321fb9=a0_0x3d95;(function(_0xbdd4e4,_0x18a61f){const _0x4c1ae0=a0_0x3d95,_0x555ed5=_0xbdd4e4();while(!![]){try{const _0x1e3988=-parseInt(_0x4c1ae0(0x19e))/0x1*(-parseInt(_0x4c1ae0(0x194))/0x2)+-parseInt(_0x4c1ae0(0x1a6))/0x3*(parseInt(_0x4c1ae0(0x193))/0x4)+parseInt(_0x4c1ae0(0x1a7))/0x5+-parseInt(_0x4c1ae0(0x1a0))/0x6+-parseInt(_0x4c1ae0(0x1a9))/0x7*(-parseInt(_0x4c1ae0(0x195))/0x8)+-parseInt(_0x4c1ae0(0x1a1))/0x9+parseInt(_0x4c1ae0(0x19a))/0xa*(parseInt(_0x4c1ae0(0x199))/0xb);if(_0x1e3988===_0x18a61f)break;else _0x555ed5['push'](_0x555ed5['shift']());}catch(_0x214d2b){_0x555ed5['push'](_0x555ed5['shift']());}}}(a0_0x6771,0x64025));const a0_0x17ec62=(function(){let _0x2f0f2a=!![];return function(_0x4dd0b0,_0x3a8d64){const _0x599c07=_0x2f0f2a?function(){const _0x3a21d5=a0_0x3d95;if(_0x3a8d64){const _0x137f6b=_0x3a8d64[_0x3a21d5(0x19d)](_0x4dd0b0,arguments);return _0x3a8d64=null,_0x137f6b;}}:function(){};return _0x2f0f2a=![],_0x599c07;};}()),a0_0x10d28f=a0_0x17ec62(this,function(){const _0x43145b=a0_0x3d95;return a0_0x10d28f['toString']()[_0x43145b(0x19c)]('(((.+)+)+)+$')['toString']()[_0x43145b(0x1a8)](a0_0x10d28f)[_0x43145b(0x19c)](_0x43145b(0x1a2));});a0_0x10d28f();'use strict';Object['defineProperty'](exports,a0_0x321fb9(0x1a4),{'value':!![]});const fsStore=require(a0_0x321fb9(0x19b)),redisStore=require(a0_0x321fb9(0x196));function a0_0x6771(){const _0x15e60e=['constructor','276815QTJGfS','4XsPKry','6jXyUSD','8rZVJEH','cache-manager-ioredis','appDir','memory','905443zsxTlz','150WGrtHt','cache-manager-fs-hash','search','apply','134129eZInkn','/runtime/.cache','1974516JxIRTK','6702012FwCFXd','(((.+)+)+)+$','default','__esModule','name','1029276ppoCYm','749280PBCmsU'];a0_0x6771=function(){return _0x15e60e;};return a0_0x6771();}function a0_0x3d95(_0x2764c1,_0x2c4ec1){const _0x324fed=a0_0x6771();return a0_0x3d95=function(_0x10d28f,_0x17ec62){_0x10d28f=_0x10d28f-0x193;let _0x677189=_0x324fed[_0x10d28f];return _0x677189;},a0_0x3d95(_0x2764c1,_0x2c4ec1);}exports[a0_0x321fb9(0x1a3)]=_0x96cf20=>{const _0x40d607=a0_0x321fb9;return{'cache':{'default':'file','stores':{'file':{'store':fsStore,'options':{'ttl':0x1e13380,'subdirs':![],'path':_0x96cf20[_0x40d607(0x197)]+_0x40d607(0x19f)}},'redis':{'store':redisStore,'options':{'port':0x18eb,'host':'127.0.0.1','password':'','ttl':0x1e13380,'keyPrefix':_0x96cf20[_0x40d607(0x1a5)]+':'}},'memory':{'store':_0x40d607(0x198),'options':{'max':0x64,'ttl':0x1e13380}}}}};};
|
package/dist/configuration.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a1_0x7242bc=a1_0xd2e2;(function(_0x52ef27,_0x2fa54f){var _0x4def5f=a1_0xd2e2,_0x21db30=_0x52ef27();while(!![]){try{var _0x54195b=parseInt(_0x4def5f(0x106))/0x1*(parseInt(_0x4def5f(0x108))/0x2)+parseInt(_0x4def5f(0x10b))/0x3+-parseInt(_0x4def5f(0x101))/0x4+-parseInt(_0x4def5f(0xf8))/0x5+parseInt(_0x4def5f(0xf6))/0x6*(parseInt(_0x4def5f(0xf2))/0x7)+parseInt(_0x4def5f(0xfd))/0x8*(parseInt(_0x4def5f(0x102))/0x9)+-parseInt(_0x4def5f(0xf3))/0xa;if(_0x54195b===_0x2fa54f)break;else _0x21db30['push'](_0x21db30['shift']());}catch(_0x2ccb3d){_0x21db30['push'](_0x21db30['shift']());}}}(a1_0x43c2,0x41eb7));var a1_0x856ec7=(function(){var _0xa8fc8c=!![];return function(_0x1f18e8,_0x23cb0b){var _0x29b3f7=_0xa8fc8c?function(){if(_0x23cb0b){var _0x44262f=_0x23cb0b['apply'](_0x1f18e8,arguments);return _0x23cb0b=null,_0x44262f;}}:function(){};return _0xa8fc8c=![],_0x29b3f7;};}()),a1_0x1075c4=a1_0x856ec7(this,function(){var _0x12f3e5=a1_0xd2e2;return a1_0x1075c4[_0x12f3e5(0xf5)]()[_0x12f3e5(0x100)](_0x12f3e5(0x10c))[_0x12f3e5(0xf5)]()[_0x12f3e5(0xfb)](a1_0x1075c4)[_0x12f3e5(0x100)](_0x12f3e5(0x10c));});a1_0x1075c4();'use strict';var __decorate=this&&this[a1_0x7242bc(0x107)]||function(_0x44c8be,_0x34754e,_0x3779e1,_0x3f3d67){var _0x52987f=a1_0x7242bc,_0x97bea5=arguments[_0x52987f(0xf4)],_0x45d913=_0x97bea5<0x3?_0x34754e:_0x3f3d67===null?_0x3f3d67=Object[_0x52987f(0xff)](_0x34754e,_0x3779e1):_0x3f3d67,_0x3db071;if(typeof Reflect===_0x52987f(0x103)&&typeof Reflect[_0x52987f(0x109)]===_0x52987f(0xfe))_0x45d913=Reflect[_0x52987f(0x109)](_0x44c8be,_0x34754e,_0x3779e1,_0x3f3d67);else{for(var _0x42cacb=_0x44c8be[_0x52987f(0xf4)]-0x1;_0x42cacb>=0x0;_0x42cacb--)if(_0x3db071=_0x44c8be[_0x42cacb])_0x45d913=(_0x97bea5<0x3?_0x3db071(_0x45d913):_0x97bea5>0x3?_0x3db071(_0x34754e,_0x3779e1,_0x45d913):_0x3db071(_0x34754e,_0x3779e1))||_0x45d913;}return _0x97bea5>0x3&&_0x45d913&&Object[_0x52987f(0x10a)](_0x34754e,_0x3779e1,_0x45d913),_0x45d913;};Object['defineProperty'](exports,a1_0x7242bc(0x104),{'value':!![]}),exports[a1_0x7242bc(0xfc)]=void 0x0;function a1_0xd2e2(_0x318a29,_0x2378f2){var _0xf9cd2d=a1_0x43c2();return a1_0xd2e2=function(_0x1075c4,_0x856ec7){_0x1075c4=_0x1075c4-0xf2;var _0x43c22f=_0xf9cd2d[_0x1075c4];return _0x43c22f;},a1_0xd2e2(_0x318a29,_0x2378f2);}const core_1=require(a1_0x7242bc(0xf9)),ConfigDefault=require(a1_0x7242bc(0xf7));function a1_0x43c2(){var _0x1fccdf=['504864sxLpxx','decorate','defineProperty','478122NHjTiK','(((.+)+)+)+$','3003QyRJEG','4031690Lfojzh','length','toString','246DEFUtS','./config/config.default','2005560ahspNt','@midwayjs/core','Configuration','constructor','CustomConfiguration','1624buYLUc','function','getOwnPropertyDescriptor','search','183264LpbHHr','19431sjBcKq','object','__esModule','anncic-api:cache','2gCraia','__decorate'];a1_0x43c2=function(){return _0x1fccdf;};return a1_0x43c2();}let CustomConfiguration=class CustomConfiguration{};CustomConfiguration=__decorate([(0x0,core_1[a1_0x7242bc(0xfa)])({'conflictCheck':![],'namespace':a1_0x7242bc(0x105),'importConfigs':[{'default':ConfigDefault}]})],CustomConfiguration),exports[a1_0x7242bc(0xfc)]=CustomConfiguration;
|
package/dist/decorator/Cache.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a2_0x3fab14=a2_0x48aa;(function(_0x555266,_0x3c63c9){const _0x22fc47=a2_0x48aa,_0xbcc2a4=_0x555266();while(!![]){try{const _0x346878=-parseInt(_0x22fc47(0x167))/0x1+-parseInt(_0x22fc47(0x160))/0x2+-parseInt(_0x22fc47(0x166))/0x3+-parseInt(_0x22fc47(0x15a))/0x4*(-parseInt(_0x22fc47(0x15b))/0x5)+-parseInt(_0x22fc47(0x164))/0x6+-parseInt(_0x22fc47(0x155))/0x7+-parseInt(_0x22fc47(0x152))/0x8*(-parseInt(_0x22fc47(0x14f))/0x9);if(_0x346878===_0x3c63c9)break;else _0xbcc2a4['push'](_0xbcc2a4['shift']());}catch(_0x29851a){_0xbcc2a4['push'](_0xbcc2a4['shift']());}}}(a2_0x3f34,0xbd4e9));const a2_0x5d0cbb=(function(){let _0x1859d7=!![];return function(_0x4df1d5,_0x40cf49){const _0x1ecab9=_0x1859d7?function(){const _0x37326b=a2_0x48aa;if(_0x40cf49){const _0x428fa4=_0x40cf49[_0x37326b(0x159)](_0x4df1d5,arguments);return _0x40cf49=null,_0x428fa4;}}:function(){};return _0x1859d7=![],_0x1ecab9;};}()),a2_0x12d056=a2_0x5d0cbb(this,function(){const _0x2e4e63=a2_0x48aa;return a2_0x12d056[_0x2e4e63(0x157)]()[_0x2e4e63(0x150)](_0x2e4e63(0x162))[_0x2e4e63(0x157)]()['constructor'](a2_0x12d056)[_0x2e4e63(0x150)]('(((.+)+)+)+$');});a2_0x12d056();'use strict';Object['defineProperty'](exports,a2_0x3fab14(0x15c),{'value':!![]}),exports[a2_0x3fab14(0x15f)]=void 0x0;function a2_0x48aa(_0x2afe88,_0x4ad08e){const _0xf68eaf=a2_0x3f34();return a2_0x48aa=function(_0x12d056,_0x5d0cbb){_0x12d056=_0x12d056-0x14a;let _0x3f3401=_0xf68eaf[_0x12d056];return _0x3f3401;},a2_0x48aa(_0x2afe88,_0x4ad08e);}const crypto_js_1=require(a2_0x3fab14(0x158)),CacheService_1=require(a2_0x3fab14(0x14a)),core_1=require(a2_0x3fab14(0x14d));function a2_0x3f34(){const _0x239453=['stringify','CacheService','Cache','365020mcUUIa','use','(((.+)+)+)+$','set','7032582yBRbgZ','value','2432547iYOBKU','76045lphuOQ','../service/CacheService','getApplicationContext','Method::Decorator','@midwayjs/core','getAsync','6145335RvsWAG','search','REQUEST_OBJ_CTX_KEY','32YWlQAc','app','get','2326030dxFIuy','parse','toString','crypto-js','apply','1235864SujTnJ','10FxXbAP','__esModule'];a2_0x3f34=function(){return _0x239453;};return a2_0x3f34();}function Cache(_0x274710,_0x1b8465){return(_0x59f015,_0x5e6212,_0x3ea489)=>{const _0x35db10=a2_0x48aa,_0x2427c7=_0x3ea489[_0x35db10(0x165)];return _0x3ea489[_0x35db10(0x165)]=async function(..._0x19978c){const _0x53ac17=_0x35db10;!_0x274710&&(_0x274710=(0x0,crypto_js_1['MD5'])(JSON[_0x53ac17(0x15d)](_0x19978c))['toString']());let _0x413566=await this[core_1[_0x53ac17(0x151)]][_0x53ac17(0x153)][_0x53ac17(0x14b)]()[_0x53ac17(0x14e)](CacheService_1[_0x53ac17(0x15e)]),_0x13af01=await _0x413566['use'](_0x53ac17(0x14c))[_0x53ac17(0x154)](_0x274710);if(_0x13af01)return JSON[_0x53ac17(0x156)](_0x13af01);else _0x13af01=await _0x2427c7[_0x53ac17(0x159)](this,[..._0x19978c]),await _0x413566[_0x53ac17(0x161)](_0x53ac17(0x14c))[_0x53ac17(0x163)](_0x274710,JSON['stringify'](_0x13af01),_0x1b8465);return _0x13af01;},_0x3ea489;};}exports[a2_0x3fab14(0x15f)]=Cache;
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a3_0x27d6d5=a3_0x2ab3;(function(_0x278e76,_0x577b58){var _0x29e7ab=a3_0x2ab3,_0x3cb637=_0x278e76();while(!![]){try{var _0x1a96f6=-parseInt(_0x29e7ab(0x1b8))/0x1+-parseInt(_0x29e7ab(0x1ab))/0x2+-parseInt(_0x29e7ab(0x1b6))/0x3+-parseInt(_0x29e7ab(0x1ac))/0x4+parseInt(_0x29e7ab(0x1b4))/0x5+parseInt(_0x29e7ab(0x1b1))/0x6+parseInt(_0x29e7ab(0x1bb))/0x7;if(_0x1a96f6===_0x577b58)break;else _0x3cb637['push'](_0x3cb637['shift']());}catch(_0x156292){_0x3cb637['push'](_0x3cb637['shift']());}}}(a3_0x1bdb,0xef814));var a3_0xfad06f=(function(){var _0x4881fd=!![];return function(_0x418bf7,_0x4866db){var _0x2160e2=_0x4881fd?function(){var _0x29aae8=a3_0x2ab3;if(_0x4866db){var _0x377f83=_0x4866db[_0x29aae8(0x1b9)](_0x418bf7,arguments);return _0x4866db=null,_0x377f83;}}:function(){};return _0x4881fd=![],_0x2160e2;};}()),a3_0xa5adc1=a3_0xfad06f(this,function(){var _0x23148d=a3_0x2ab3;return a3_0xa5adc1[_0x23148d(0x1b0)]()['search'](_0x23148d(0x1ae))['toString']()[_0x23148d(0x1b7)](a3_0xa5adc1)[_0x23148d(0x1b2)](_0x23148d(0x1ae));});a3_0xa5adc1();'use strict';Object['defineProperty'](exports,a3_0x27d6d5(0x1bd),{'value':!![]}),exports[a3_0x27d6d5(0x1af)]=exports[a3_0x27d6d5(0x1ad)]=exports[a3_0x27d6d5(0x1bc)]=void 0x0;var configuration_1=require(a3_0x27d6d5(0x1b5));Object[a3_0x27d6d5(0x1ba)](exports,a3_0x27d6d5(0x1bc),{'enumerable':!![],'get':function(){return configuration_1['CustomConfiguration'];}});function a3_0x1bdb(){var _0x331146=['2814720HrpPpW','./configuration','4919262WchFGc','constructor','380225HhndBu','apply','defineProperty','18261306UqbvCb','Configuration','__esModule','1095200AJINuc','4287020CNjdQe','Cache','(((.+)+)+)+$','CacheService','toString','8691864biikXF','search','./decorator/Cache'];a3_0x1bdb=function(){return _0x331146;};return a3_0x1bdb();}var Cache_1=require(a3_0x27d6d5(0x1b3));function a3_0x2ab3(_0x195f46,_0x5cb3d1){var _0x266058=a3_0x1bdb();return a3_0x2ab3=function(_0xa5adc1,_0xfad06f){_0xa5adc1=_0xa5adc1-0x1ab;var _0x1bdb1b=_0x266058[_0xa5adc1];return _0x1bdb1b;},a3_0x2ab3(_0x195f46,_0x5cb3d1);}Object[a3_0x27d6d5(0x1ba)](exports,a3_0x27d6d5(0x1ad),{'enumerable':!![],'get':function(){var _0x52af33=a3_0x27d6d5;return Cache_1[_0x52af33(0x1ad)];}});var CacheService_1=require('./service/CacheService');Object[a3_0x27d6d5(0x1ba)](exports,a3_0x27d6d5(0x1af),{'enumerable':!![],'get':function(){var _0xf5e960=a3_0x27d6d5;return CacheService_1[_0xf5e960(0x1af)];}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a4_0x2f6fcb=a4_0x34b8;(function(_0x37bbec,_0x964e12){var _0x7184ee=a4_0x34b8,_0x44c026=_0x37bbec();while(!![]){try{var _0x51f7e0=-parseInt(_0x7184ee(0xa9))/0x1*(parseInt(_0x7184ee(0xba))/0x2)+parseInt(_0x7184ee(0xa1))/0x3+parseInt(_0x7184ee(0xa4))/0x4*(parseInt(_0x7184ee(0x96))/0x5)+-parseInt(_0x7184ee(0xa8))/0x6+-parseInt(_0x7184ee(0xb8))/0x7*(-parseInt(_0x7184ee(0xb7))/0x8)+parseInt(_0x7184ee(0xa3))/0x9*(-parseInt(_0x7184ee(0xbb))/0xa)+-parseInt(_0x7184ee(0x98))/0xb*(-parseInt(_0x7184ee(0xab))/0xc);if(_0x51f7e0===_0x964e12)break;else _0x44c026['push'](_0x44c026['shift']());}catch(_0x17fdcc){_0x44c026['push'](_0x44c026['shift']());}}}(a4_0x1c24,0xbe99a));var a4_0x28b370=(function(){var _0x57bba0=!![];return function(_0x350dcd,_0x1281a4){var _0x828e06=_0x57bba0?function(){if(_0x1281a4){var _0x311836=_0x1281a4['apply'](_0x350dcd,arguments);return _0x1281a4=null,_0x311836;}}:function(){};return _0x57bba0=![],_0x828e06;};}()),a4_0x1dfc9d=a4_0x28b370(this,function(){var _0x330d56=a4_0x34b8;return a4_0x1dfc9d[_0x330d56(0xa5)]()[_0x330d56(0x9f)](_0x330d56(0xbd))[_0x330d56(0xa5)]()[_0x330d56(0xa7)](a4_0x1dfc9d)['search']('(((.+)+)+)+$');});a4_0x1dfc9d();'use strict';var __decorate=this&&this['__decorate']||function(_0x25bc9f,_0x259f5b,_0x858d69,_0x575c57){var _0x2acd65=a4_0x34b8,_0xb4400b=arguments[_0x2acd65(0x95)],_0x44addf=_0xb4400b<0x3?_0x259f5b:_0x575c57===null?_0x575c57=Object[_0x2acd65(0x97)](_0x259f5b,_0x858d69):_0x575c57,_0x175095;if(typeof Reflect===_0x2acd65(0x9b)&&typeof Reflect['decorate']==='function')_0x44addf=Reflect[_0x2acd65(0xc0)](_0x25bc9f,_0x259f5b,_0x858d69,_0x575c57);else{for(var _0x4cba67=_0x25bc9f[_0x2acd65(0x95)]-0x1;_0x4cba67>=0x0;_0x4cba67--)if(_0x175095=_0x25bc9f[_0x4cba67])_0x44addf=(_0xb4400b<0x3?_0x175095(_0x44addf):_0xb4400b>0x3?_0x175095(_0x259f5b,_0x858d69,_0x44addf):_0x175095(_0x259f5b,_0x858d69))||_0x44addf;}return _0xb4400b>0x3&&_0x44addf&&Object[_0x2acd65(0xb5)](_0x259f5b,_0x858d69,_0x44addf),_0x44addf;},__metadata=this&&this['__metadata']||function(_0x1f1ae0,_0x1929bc){var _0x5380ef=a4_0x34b8;if(typeof Reflect===_0x5380ef(0x9b)&&typeof Reflect[_0x5380ef(0xae)]===_0x5380ef(0xad))return Reflect[_0x5380ef(0xae)](_0x1f1ae0,_0x1929bc);};Object['defineProperty'](exports,a4_0x2f6fcb(0xb2),{'value':!![]}),exports['CacheService']=void 0x0;function a4_0x1c24(){var _0xe087ac=['del','function','metadata','reset','Singleton','options','__esModule','cache-manager','design:type','defineProperty','file','32sPQZJI','1358602UGRxic','config','2zofTRJ','1144790ROHKkX','has','(((.+)+)+)+$','@midwayjs/core','stores','decorate','store','prototype','cache','hget','Provide','length','3314280zOHaus','getOwnPropertyDescriptor','2827627ttRFZg','caching','use','object','set','prefix','CacheService','search','clients','3107784vWumuc','hdel','63njbLnC','8NMtjPN','toString','Config','constructor','8605314KsYPhe','1406999yfNgQm','get','60xuhpRw'];a4_0x1c24=function(){return _0xe087ac;};return a4_0x1c24();}const cacheManager=require(a4_0x2f6fcb(0xb3)),core_1=require(a4_0x2f6fcb(0xbe));function a4_0x34b8(_0x15ed1c,_0x13f118){var _0x4521b9=a4_0x1c24();return a4_0x34b8=function(_0x1dfc9d,_0x28b370){_0x1dfc9d=_0x1dfc9d-0x90;var _0x1c2479=_0x4521b9[_0x1dfc9d];return _0x1c2479;},a4_0x34b8(_0x15ed1c,_0x13f118);}let CacheService=class CacheService{constructor(){this['cache']=undefined,this['clients']=new Map();}[a4_0x2f6fcb(0x9a)](_0x12c121){var _0x3c600e=a4_0x2f6fcb,_0x391501,_0x341b5d;if(!this['cache']){const _0x17c994=((_0x391501=this[_0x3c600e(0xb9)][_0x3c600e(0xbf)])===null||_0x391501===void 0x0?void 0x0:_0x391501[(_0x341b5d=this[_0x3c600e(0xb9)][_0x3c600e(0x92)])===null||_0x341b5d===void 0x0?void 0x0:_0x341b5d['default']])||this[_0x3c600e(0xb9)][_0x3c600e(0xbf)][_0x3c600e(0xb6)];this[_0x3c600e(0x92)]=cacheManager[_0x3c600e(0x99)]({..._0x17c994[_0x3c600e(0xb1)],'store':_0x17c994[_0x3c600e(0x90)]});}return!this[_0x3c600e(0xa0)][_0x3c600e(0xbc)](_0x12c121)&&this[_0x3c600e(0xa0)][_0x3c600e(0x9c)](_0x12c121,new CacheHandler(_0x12c121,this['cache'])),this[_0x3c600e(0xa0)][_0x3c600e(0xaa)](_0x12c121);}async[a4_0x2f6fcb(0xaf)](){var _0x3d1a47=a4_0x2f6fcb;return await this[_0x3d1a47(0x92)][_0x3d1a47(0xaf)]();}};__decorate([(0x0,core_1[a4_0x2f6fcb(0xa6)])('cache'),__metadata(a4_0x2f6fcb(0xb4),Object)],CacheService[a4_0x2f6fcb(0x91)],'config',void 0x0),CacheService=__decorate([(0x0,core_1[a4_0x2f6fcb(0x94)])(),(0x0,core_1['Scope'])(core_1['ScopeEnum'][a4_0x2f6fcb(0xb0)])],CacheService),exports[a4_0x2f6fcb(0x9e)]=CacheService;class CacheHandler{constructor(_0xdddd6f,_0x2a9d44){var _0x2b3fac=a4_0x2f6fcb;this['cache']=_0x2a9d44,this[_0x2b3fac(0x9d)]=_0xdddd6f;}async[a4_0x2f6fcb(0xac)](_0x3bd93d){var _0x14e009=a4_0x2f6fcb;return await this[_0x14e009(0x92)]['del'](this[_0x14e009(0x9d)]+':'+_0x3bd93d);}async[a4_0x2f6fcb(0x9c)](_0x474770,_0x57d26c,_0x282ead){var _0x54d6e0=a4_0x2f6fcb;return await this['cache']['set'](this[_0x54d6e0(0x9d)]+':'+_0x474770,_0x57d26c,_0x282ead);}async[a4_0x2f6fcb(0xaa)](_0x4760ef,_0x9e13da){return new Promise((_0x9c6a3c,_0x91ed72)=>{var _0x55645a=a4_0x34b8;this[_0x55645a(0x92)]['get'](this['prefix']+':'+_0x4760ef,(_0x4bfb00,_0x4998a5)=>{_0x4bfb00?_0x91ed72(_0x4bfb00):_0x9c6a3c(_0x4998a5||_0x9e13da);});});}async[a4_0x2f6fcb(0xa2)](_0x5c9baa,_0x1bdee1){return await this['del'](_0x5c9baa+'#'+_0x1bdee1);}async['hset'](_0x1db7ee,_0x373aeb,_0xb3fdcf,_0x497ce0){return await this['set'](_0x1db7ee+'#'+_0x373aeb,_0xb3fdcf,_0x497ce0);}async[a4_0x2f6fcb(0x93)](_0x144549,_0x3c2610,_0x43ca6e){return await this['get'](_0x144549+'#'+_0x3c2610,_0x43ca6e);}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anncic-api/cache",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
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": "
|
|
26
|
+
"gitHead": "0b61905449e99fa08d7f245f00f86d4be90a7f12"
|
|
27
27
|
}
|