@anncic-api/cache 1.4.39 → 1.4.40
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_0x15c797=a0_0x1854;function a0_0x1854(_0x2a554f,_0x3a93f9){const _0x57270a=a0_0x5c81();return a0_0x1854=function(_0x2450d7,_0x3d5aca){_0x2450d7=_0x2450d7-0xad;let _0x5c8191=_0x57270a[_0x2450d7];return _0x5c8191;},a0_0x1854(_0x2a554f,_0x3a93f9);}(function(_0x3c0ad5,_0x2aa30c){const _0x2e9ec5=a0_0x1854,_0x31d18f=_0x3c0ad5();while(!![]){try{const _0x36c5bd=parseInt(_0x2e9ec5(0xae))/0x1+parseInt(_0x2e9ec5(0xaf))/0x2+-parseInt(_0x2e9ec5(0xb6))/0x3*(parseInt(_0x2e9ec5(0xb7))/0x4)+parseInt(_0x2e9ec5(0xc1))/0x5*(parseInt(_0x2e9ec5(0xba))/0x6)+-parseInt(_0x2e9ec5(0xb8))/0x7+parseInt(_0x2e9ec5(0xad))/0x8+parseInt(_0x2e9ec5(0xb9))/0x9*(-parseInt(_0x2e9ec5(0xc2))/0xa);if(_0x36c5bd===_0x2aa30c)break;else _0x31d18f['push'](_0x31d18f['shift']());}catch(_0x975821){_0x31d18f['push'](_0x31d18f['shift']());}}}(a0_0x5c81,0x818b7));const a0_0x3d5aca=(function(){let _0x2a6858=!![];return function(_0x4e909e,_0xb9092f){const _0x1917f8=_0x2a6858?function(){const _0x2f147d=a0_0x1854;if(_0xb9092f){const _0x19ba0d=_0xb9092f[_0x2f147d(0xbb)](_0x4e909e,arguments);return _0xb9092f=null,_0x19ba0d;}}:function(){};return _0x2a6858=![],_0x1917f8;};}()),a0_0x2450d7=a0_0x3d5aca(this,function(){const _0x348a36=a0_0x1854;return a0_0x2450d7[_0x348a36(0xb0)]()[_0x348a36(0xbe)](_0x348a36(0xbd))['toString']()['constructor'](a0_0x2450d7)[_0x348a36(0xbe)]('(((.+)+)+)+$');});a0_0x2450d7();function a0_0x5c81(){const _0x59ec48=['5oluSVN','2946650qfoyZc','cache-manager-ioredis','6934664jyJPty','347226mZGVAm','1775918TwbYCx','toString','defineProperty','cache-manager-fs-hash','default','127.0.0.1','file','87KwscFi','75148CWLVsb','1963577KFGBRN','54ScAKaJ','6131526NCZbqF','apply','name','(((.+)+)+)+$','search','/runtime/.cache','memory'];a0_0x5c81=function(){return _0x59ec48;};return a0_0x5c81();}'use strict';Object[a0_0x15c797(0xb1)](exports,'__esModule',{'value':!![]});const fsStore=require(a0_0x15c797(0xb2)),redisStore=require(a0_0x15c797(0xc3));exports[a0_0x15c797(0xb3)]=_0x289065=>{const _0x3a914a=a0_0x15c797;return{'cache':{'default':_0x3a914a(0xb5),'stores':{'file':{'store':fsStore,'options':{'ttl':0x1e13380,'subdirs':![],'path':_0x289065['appDir']+_0x3a914a(0xbf)}},'redis':{'store':redisStore,'options':{'port':0x18eb,'host':_0x3a914a(0xb4),'password':'','ttl':0x1e13380,'keyPrefix':_0x289065[_0x3a914a(0xbc)]+':'}},'memory':{'store':_0x3a914a(0xc0),'options':{'max':0x64,'ttl':0x1e13380}}}}};};
|
package/dist/configuration.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a1_0xe18dee=a1_0x4d19;(function(_0x25794e,_0x4f8235){var _0x3cf36c=a1_0x4d19,_0x157a88=_0x25794e();while(!![]){try{var _0x18b25f=-parseInt(_0x3cf36c(0xbb))/0x1*(parseInt(_0x3cf36c(0xac))/0x2)+parseInt(_0x3cf36c(0xb3))/0x3+parseInt(_0x3cf36c(0xae))/0x4+-parseInt(_0x3cf36c(0xba))/0x5+-parseInt(_0x3cf36c(0xaa))/0x6*(parseInt(_0x3cf36c(0xb5))/0x7)+-parseInt(_0x3cf36c(0xa9))/0x8+-parseInt(_0x3cf36c(0xaf))/0x9*(-parseInt(_0x3cf36c(0xa8))/0xa);if(_0x18b25f===_0x4f8235)break;else _0x157a88['push'](_0x157a88['shift']());}catch(_0x1a336b){_0x157a88['push'](_0x157a88['shift']());}}}(a1_0x1f70,0x4a0dd));var a1_0x14cf83=(function(){var _0x2cb334=!![];return function(_0x2730cb,_0x635d71){var _0x5690c=_0x2cb334?function(){if(_0x635d71){var _0x15cd30=_0x635d71['apply'](_0x2730cb,arguments);return _0x635d71=null,_0x15cd30;}}:function(){};return _0x2cb334=![],_0x5690c;};}()),a1_0x111e29=a1_0x14cf83(this,function(){var _0x1f6e2e=a1_0x4d19;return a1_0x111e29[_0x1f6e2e(0xb7)]()[_0x1f6e2e(0xb6)](_0x1f6e2e(0xad))[_0x1f6e2e(0xb7)]()['constructor'](a1_0x111e29)[_0x1f6e2e(0xb6)](_0x1f6e2e(0xad));});a1_0x111e29();'use strict';var __decorate=this&&this[a1_0xe18dee(0xb4)]||function(_0x5402bd,_0x492963,_0x4ee239,_0x3c69c7){var _0x1efe93=a1_0xe18dee,_0x7b8c59=arguments[_0x1efe93(0xab)],_0x22aa18=_0x7b8c59<0x3?_0x492963:_0x3c69c7===null?_0x3c69c7=Object[_0x1efe93(0xbc)](_0x492963,_0x4ee239):_0x3c69c7,_0x1ed111;if(typeof Reflect===_0x1efe93(0xb1)&&typeof Reflect['decorate']==='function')_0x22aa18=Reflect[_0x1efe93(0xbd)](_0x5402bd,_0x492963,_0x4ee239,_0x3c69c7);else{for(var _0x353afc=_0x5402bd[_0x1efe93(0xab)]-0x1;_0x353afc>=0x0;_0x353afc--)if(_0x1ed111=_0x5402bd[_0x353afc])_0x22aa18=(_0x7b8c59<0x3?_0x1ed111(_0x22aa18):_0x7b8c59>0x3?_0x1ed111(_0x492963,_0x4ee239,_0x22aa18):_0x1ed111(_0x492963,_0x4ee239))||_0x22aa18;}return _0x7b8c59>0x3&&_0x22aa18&&Object[_0x1efe93(0xb8)](_0x492963,_0x4ee239,_0x22aa18),_0x22aa18;};function a1_0x1f70(){var _0x8cb579=['949998OkGceJ','__decorate','7jlEOpI','search','toString','defineProperty','CustomConfiguration','1173225hfUBxb','25784XaPORX','getOwnPropertyDescriptor','decorate','588980QYhXjP','2981200QjDlcF','2981334iEibLn','length','44Lrhdhj','(((.+)+)+)+$','742564ygFukr','225TTlJES','@midwayjs/core','object','anncic-api:cache'];a1_0x1f70=function(){return _0x8cb579;};return a1_0x1f70();}Object[a1_0xe18dee(0xb8)](exports,'__esModule',{'value':!![]}),exports[a1_0xe18dee(0xb9)]=void 0x0;function a1_0x4d19(_0xa192b9,_0x45e9e3){var _0x48201f=a1_0x1f70();return a1_0x4d19=function(_0x111e29,_0x14cf83){_0x111e29=_0x111e29-0xa8;var _0x1f70af=_0x48201f[_0x111e29];return _0x1f70af;},a1_0x4d19(_0xa192b9,_0x45e9e3);}const core_1=require(a1_0xe18dee(0xb0)),ConfigDefault=require('./config/config.default');let CustomConfiguration=class CustomConfiguration{};CustomConfiguration=__decorate([(0x0,core_1['Configuration'])({'conflictCheck':![],'namespace':a1_0xe18dee(0xb2),'importConfigs':[{'default':ConfigDefault}]})],CustomConfiguration),exports[a1_0xe18dee(0xb9)]=CustomConfiguration;
|
package/dist/decorator/Cache.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a2_0x20830c=a2_0x3884;(function(_0x23abad,_0x284eef){const _0x3c07ad=a2_0x3884,_0x4e88d0=_0x23abad();while(!![]){try{const _0x3750c9=-parseInt(_0x3c07ad(0x1e8))/0x1+parseInt(_0x3c07ad(0x1eb))/0x2*(-parseInt(_0x3c07ad(0x1fd))/0x3)+-parseInt(_0x3c07ad(0x1e7))/0x4+-parseInt(_0x3c07ad(0x1e3))/0x5+-parseInt(_0x3c07ad(0x1e4))/0x6*(-parseInt(_0x3c07ad(0x1f3))/0x7)+-parseInt(_0x3c07ad(0x1e6))/0x8*(parseInt(_0x3c07ad(0x1e0))/0x9)+parseInt(_0x3c07ad(0x1fc))/0xa;if(_0x3750c9===_0x284eef)break;else _0x4e88d0['push'](_0x4e88d0['shift']());}catch(_0x54b3f0){_0x4e88d0['push'](_0x4e88d0['shift']());}}}(a2_0x1e5f,0x3e155));const a2_0x1f23cf=(function(){let _0x50d422=!![];return function(_0x3dc480,_0x2be59a){const _0x4c4cc6=_0x50d422?function(){const _0x486910=a2_0x3884;if(_0x2be59a){const _0x38f899=_0x2be59a[_0x486910(0x1e9)](_0x3dc480,arguments);return _0x2be59a=null,_0x38f899;}}:function(){};return _0x50d422=![],_0x4c4cc6;};}()),a2_0x2972f3=a2_0x1f23cf(this,function(){const _0x25d773=a2_0x3884;return a2_0x2972f3[_0x25d773(0x1ea)]()[_0x25d773(0x1f7)]('(((.+)+)+)+$')[_0x25d773(0x1ea)]()[_0x25d773(0x1ec)](a2_0x2972f3)[_0x25d773(0x1f7)](_0x25d773(0x1fa));});a2_0x2972f3();'use strict';function a2_0x3884(_0x30b999,_0x46c0d5){const _0x224b5a=a2_0x1e5f();return a2_0x3884=function(_0x2972f3,_0x1f23cf){_0x2972f3=_0x2972f3-0x1e0;let _0x1e5ffc=_0x224b5a[_0x2972f3];return _0x1e5ffc;},a2_0x3884(_0x30b999,_0x46c0d5);}Object[a2_0x20830c(0x1ef)](exports,a2_0x20830c(0x1e1),{'value':!![]}),exports[a2_0x20830c(0x1f9)]=void 0x0;function a2_0x1e5f(){const _0x1a0d99=['97648KakABK','apply','toString','36466seJvQn','constructor','value','Method::Decorator','defineProperty','../service/CacheService','use','stringify','7zTTkQM','CacheService','parse','MD5','search','set','Cache','(((.+)+)+)+$','app','5303870uPzNGC','21nEAlcT','getAsync','3747726nVLrMC','__esModule','crypto-js','394995SaUydh','2778270GoKkYH','@midwayjs/core','8NjQLEJ','73788YABAiH'];a2_0x1e5f=function(){return _0x1a0d99;};return a2_0x1e5f();}const crypto_js_1=require(a2_0x20830c(0x1e2)),CacheService_1=require(a2_0x20830c(0x1f0)),core_1=require(a2_0x20830c(0x1e5));function Cache(_0x2f9df0,_0x302002){return(_0x30d31c,_0x113354,_0x3b4cff)=>{const _0x456262=a2_0x3884,_0x396fbc=_0x3b4cff['value'];return _0x3b4cff[_0x456262(0x1ed)]=async function(..._0x1d3549){const _0x23eba9=_0x456262;!_0x2f9df0&&(_0x2f9df0=(0x0,crypto_js_1[_0x23eba9(0x1f6)])(JSON[_0x23eba9(0x1f2)](_0x1d3549))[_0x23eba9(0x1ea)]());let _0x26e837=await this[core_1['REQUEST_OBJ_CTX_KEY']][_0x23eba9(0x1fb)]['getApplicationContext']()[_0x23eba9(0x1fe)](CacheService_1[_0x23eba9(0x1f4)]),_0x17893f=await _0x26e837['use'](_0x23eba9(0x1ee))['get'](_0x2f9df0);if(_0x17893f)return JSON[_0x23eba9(0x1f5)](_0x17893f);else _0x17893f=await _0x396fbc[_0x23eba9(0x1e9)](this,[..._0x1d3549]),await _0x26e837[_0x23eba9(0x1f1)](_0x23eba9(0x1ee))[_0x23eba9(0x1f8)](_0x2f9df0,JSON[_0x23eba9(0x1f2)](_0x17893f),_0x302002);return _0x17893f;},_0x3b4cff;};}exports[a2_0x20830c(0x1f9)]=Cache;
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a3_0x2f1b7b=a3_0xf06f;function a3_0x2827(){var _0x1c3a21=['(((.+)+)+)+$','30siteCM','24IxKIqN','defineProperty','apply','./service/CacheService','2900778DTRAmS','CacheService','908UQAjDQ','./decorator/Cache','820914GTEkoA','toString','2670WeIxFF','CustomConfiguration','2224RTHrjv','__esModule','863716kGuKol','16NXHrhL','5377262wnLALs','constructor','search','934pkjnHF','Cache','Configuration','2040219RJmSgc','./configuration'];a3_0x2827=function(){return _0x1c3a21;};return a3_0x2827();}(function(_0x3665ed,_0x1a7fba){var _0x353e27=a3_0xf06f,_0x56a6b4=_0x3665ed();while(!![]){try{var _0x1a577b=-parseInt(_0x353e27(0x1f8))/0x1*(-parseInt(_0x353e27(0x1f1))/0x2)+-parseInt(_0x353e27(0x1ed))/0x3+parseInt(_0x353e27(0x1eb))/0x4*(-parseInt(_0x353e27(0x1ef))/0x5)+parseInt(_0x353e27(0x1e9))/0x6+parseInt(_0x353e27(0x1f3))/0x7*(-parseInt(_0x353e27(0x1f4))/0x8)+-parseInt(_0x353e27(0x1fb))/0x9*(-parseInt(_0x353e27(0x1fe))/0xa)+parseInt(_0x353e27(0x1f5))/0xb*(-parseInt(_0x353e27(0x1ff))/0xc);if(_0x1a577b===_0x1a7fba)break;else _0x56a6b4['push'](_0x56a6b4['shift']());}catch(_0x564fbc){_0x56a6b4['push'](_0x56a6b4['shift']());}}}(a3_0x2827,0x8e4ac));var a3_0x269493=(function(){var _0x2a36ff=!![];return function(_0x2ea3b8,_0x5ae1e0){var _0x219283=_0x2a36ff?function(){var _0x42918f=a3_0xf06f;if(_0x5ae1e0){var _0x103c25=_0x5ae1e0[_0x42918f(0x201)](_0x2ea3b8,arguments);return _0x5ae1e0=null,_0x103c25;}}:function(){};return _0x2a36ff=![],_0x219283;};}()),a3_0x2eb251=a3_0x269493(this,function(){var _0x24f1c3=a3_0xf06f;return a3_0x2eb251[_0x24f1c3(0x1ee)]()[_0x24f1c3(0x1f7)]('(((.+)+)+)+$')['toString']()[_0x24f1c3(0x1f6)](a3_0x2eb251)['search'](_0x24f1c3(0x1fd));});a3_0x2eb251();'use strict';function a3_0xf06f(_0x482ed0,_0x21c421){var _0x5da806=a3_0x2827();return a3_0xf06f=function(_0x2eb251,_0x269493){_0x2eb251=_0x2eb251-0x1e8;var _0x2827d7=_0x5da806[_0x2eb251];return _0x2827d7;},a3_0xf06f(_0x482ed0,_0x21c421);}Object[a3_0x2f1b7b(0x200)](exports,a3_0x2f1b7b(0x1f2),{'value':!![]}),exports[a3_0x2f1b7b(0x1ea)]=exports['Cache']=exports[a3_0x2f1b7b(0x1fa)]=void 0x0;var configuration_1=require(a3_0x2f1b7b(0x1fc));Object[a3_0x2f1b7b(0x200)](exports,a3_0x2f1b7b(0x1fa),{'enumerable':!![],'get':function(){var _0x4af780=a3_0x2f1b7b;return configuration_1[_0x4af780(0x1f0)];}});var Cache_1=require(a3_0x2f1b7b(0x1ec));Object[a3_0x2f1b7b(0x200)](exports,'Cache',{'enumerable':!![],'get':function(){var _0x4756e8=a3_0x2f1b7b;return Cache_1[_0x4756e8(0x1f9)];}});var CacheService_1=require(a3_0x2f1b7b(0x1e8));Object[a3_0x2f1b7b(0x200)](exports,a3_0x2f1b7b(0x1ea),{'enumerable':!![],'get':function(){var _0x12e743=a3_0x2f1b7b;return CacheService_1[_0x12e743(0x1ea)];}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a4_0x51da00=a4_0x1b1f;(function(_0x552aed,_0x56495b){var _0x272b0f=a4_0x1b1f,_0x123561=_0x552aed();while(!![]){try{var _0x3a64b4=-parseInt(_0x272b0f(0x1a9))/0x1+-parseInt(_0x272b0f(0x19b))/0x2*(parseInt(_0x272b0f(0x187))/0x3)+-parseInt(_0x272b0f(0x191))/0x4*(parseInt(_0x272b0f(0x1a0))/0x5)+-parseInt(_0x272b0f(0x19d))/0x6*(parseInt(_0x272b0f(0x1a5))/0x7)+-parseInt(_0x272b0f(0x189))/0x8+-parseInt(_0x272b0f(0x1a6))/0x9*(parseInt(_0x272b0f(0x1a4))/0xa)+parseInt(_0x272b0f(0x192))/0xb;if(_0x3a64b4===_0x56495b)break;else _0x123561['push'](_0x123561['shift']());}catch(_0x3f8224){_0x123561['push'](_0x123561['shift']());}}}(a4_0x11de,0x5312c));var a4_0x2a789c=(function(){var _0xb20301=!![];return function(_0x18bc28,_0x32f16a){var _0x3a5546=_0xb20301?function(){if(_0x32f16a){var _0x4356a4=_0x32f16a['apply'](_0x18bc28,arguments);return _0x32f16a=null,_0x4356a4;}}:function(){};return _0xb20301=![],_0x3a5546;};}()),a4_0x2c167d=a4_0x2a789c(this,function(){var _0x352108=a4_0x1b1f;return a4_0x2c167d[_0x352108(0x19f)]()[_0x352108(0x1aa)](_0x352108(0x185))[_0x352108(0x19f)]()['constructor'](a4_0x2c167d)[_0x352108(0x1aa)](_0x352108(0x185));});function a4_0x1b1f(_0x5f2455,_0x53ce35){var _0x20f8f1=a4_0x11de();return a4_0x1b1f=function(_0x2c167d,_0x2a789c){_0x2c167d=_0x2c167d-0x185;var _0x11de52=_0x20f8f1[_0x2c167d];return _0x11de52;},a4_0x1b1f(_0x5f2455,_0x53ce35);}function a4_0x11de(){var _0x127c54=['metadata','10VFlYan','35molexr','5594373QqutNt','set','__esModule','449215yVwLqh','search','(((.+)+)+)+$','del','27462wwqyMY','getOwnPropertyDescriptor','949592BaPuCk','store','@midwayjs/core','cache','get','clients','prefix','length','559288xxWWUG','20944154SvETca','prototype','config','default','CacheService','design:type','defineProperty','hget','stores','4MDInbf','function','259326bfULXO','hset','toString','5WnAaxu','reset','object'];a4_0x11de=function(){return _0x127c54;};return a4_0x11de();}a4_0x2c167d();'use strict';var __decorate=this&&this['__decorate']||function(_0x42c400,_0xb05d0e,_0x5b26be,_0x3171c2){var _0x4967cd=a4_0x1b1f,_0x41afc4=arguments[_0x4967cd(0x190)],_0x5658e2=_0x41afc4<0x3?_0xb05d0e:_0x3171c2===null?_0x3171c2=Object[_0x4967cd(0x188)](_0xb05d0e,_0x5b26be):_0x3171c2,_0x4c5415;if(typeof Reflect==='object'&&typeof Reflect['decorate']===_0x4967cd(0x19c))_0x5658e2=Reflect['decorate'](_0x42c400,_0xb05d0e,_0x5b26be,_0x3171c2);else{for(var _0x3586e6=_0x42c400[_0x4967cd(0x190)]-0x1;_0x3586e6>=0x0;_0x3586e6--)if(_0x4c5415=_0x42c400[_0x3586e6])_0x5658e2=(_0x41afc4<0x3?_0x4c5415(_0x5658e2):_0x41afc4>0x3?_0x4c5415(_0xb05d0e,_0x5b26be,_0x5658e2):_0x4c5415(_0xb05d0e,_0x5b26be))||_0x5658e2;}return _0x41afc4>0x3&&_0x5658e2&&Object[_0x4967cd(0x198)](_0xb05d0e,_0x5b26be,_0x5658e2),_0x5658e2;},__metadata=this&&this['__metadata']||function(_0x49db6c,_0x18fe9b){var _0x2bd63d=a4_0x1b1f;if(typeof Reflect===_0x2bd63d(0x1a2)&&typeof Reflect[_0x2bd63d(0x1a3)]===_0x2bd63d(0x19c))return Reflect[_0x2bd63d(0x1a3)](_0x49db6c,_0x18fe9b);};Object[a4_0x51da00(0x198)](exports,a4_0x51da00(0x1a8),{'value':!![]}),exports[a4_0x51da00(0x196)]=void 0x0;const cacheManager=require('cache-manager'),core_1=require(a4_0x51da00(0x18b));let CacheService=class CacheService{constructor(){var _0x12849f=a4_0x51da00;this[_0x12849f(0x18c)]=undefined,this[_0x12849f(0x18e)]=new Map();}['use'](_0x5e02fb){var _0xedc0c=a4_0x51da00,_0x36285e,_0x465c60;if(!this[_0xedc0c(0x18c)]){const _0x512936=((_0x36285e=this[_0xedc0c(0x194)][_0xedc0c(0x19a)])===null||_0x36285e===void 0x0?void 0x0:_0x36285e[(_0x465c60=this[_0xedc0c(0x194)][_0xedc0c(0x18c)])===null||_0x465c60===void 0x0?void 0x0:_0x465c60[_0xedc0c(0x195)]])||this[_0xedc0c(0x194)][_0xedc0c(0x19a)]['file'];this['cache']=cacheManager['caching']({..._0x512936['options'],'store':_0x512936[_0xedc0c(0x18a)]});}return!this['clients']['has'](_0x5e02fb)&&this[_0xedc0c(0x18e)][_0xedc0c(0x1a7)](_0x5e02fb,new CacheHandler(_0x5e02fb,this['cache'])),this[_0xedc0c(0x18e)]['get'](_0x5e02fb);}async[a4_0x51da00(0x1a1)](){var _0x1f9cd3=a4_0x51da00;return await this[_0x1f9cd3(0x18c)][_0x1f9cd3(0x1a1)]();}};__decorate([(0x0,core_1['Config'])(a4_0x51da00(0x18c)),__metadata(a4_0x51da00(0x197),Object)],CacheService[a4_0x51da00(0x193)],a4_0x51da00(0x194),void 0x0),CacheService=__decorate([(0x0,core_1['Provide'])(),(0x0,core_1['Scope'])(core_1['ScopeEnum']['Singleton'])],CacheService),exports[a4_0x51da00(0x196)]=CacheService;class CacheHandler{constructor(_0x389922,_0x1e6808){var _0x16434a=a4_0x51da00;this[_0x16434a(0x18c)]=_0x1e6808,this[_0x16434a(0x18f)]=_0x389922;}async[a4_0x51da00(0x186)](_0x4cffd6){var _0x51d776=a4_0x51da00;return await this['cache'][_0x51d776(0x186)](this[_0x51d776(0x18f)]+':'+_0x4cffd6);}async[a4_0x51da00(0x1a7)](_0x4a4314,_0x3d04c5,_0x83f8b3){var _0x69e0bf=a4_0x51da00;return await this['cache'][_0x69e0bf(0x1a7)](this[_0x69e0bf(0x18f)]+':'+_0x4a4314,_0x3d04c5,_0x83f8b3);}async[a4_0x51da00(0x18d)](_0x2cdb48,_0x383c47){return new Promise((_0x20f548,_0x2a7002)=>{var _0xf4eb31=a4_0x1b1f;this[_0xf4eb31(0x18c)]['get'](this[_0xf4eb31(0x18f)]+':'+_0x2cdb48,(_0x253e72,_0x3131b1)=>{_0x253e72?_0x2a7002(_0x253e72):_0x20f548(_0x3131b1||_0x383c47);});});}async['hdel'](_0x4f7718,_0x3f4365){var _0xc4abc7=a4_0x51da00;return await this[_0xc4abc7(0x186)](_0x4f7718+'#'+_0x3f4365);}async[a4_0x51da00(0x19e)](_0x2682f2,_0x45719e,_0x1eb48f,_0x1be9fe){var _0x34d96f=a4_0x51da00;return await this[_0x34d96f(0x1a7)](_0x2682f2+'#'+_0x45719e,_0x1eb48f,_0x1be9fe);}async[a4_0x51da00(0x199)](_0x59ca4f,_0x322ccc,_0x2a5ac1){var _0x48c624=a4_0x51da00;return await this[_0x48c624(0x18d)](_0x59ca4f+'#'+_0x322ccc,_0x2a5ac1);}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anncic-api/cache",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.40",
|
|
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": "f9b4c511da5a1f7186b3a9c8558b62f5cbc85a7e"
|
|
27
27
|
}
|