@anveroapi/event 4.0.0 → 4.0.1

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
- var a0_0xd7848=a0_0x7b47;(function(_0x2c4fc4,_0x310831){var _0x24bb26=a0_0x7b47,_0x2d3b38=_0x2c4fc4();while(!![]){try{var _0x5ec0cb=parseInt(_0x24bb26(0x1f6))/0x1*(-parseInt(_0x24bb26(0x20f))/0x2)+parseInt(_0x24bb26(0x20e))/0x3+-parseInt(_0x24bb26(0x1ff))/0x4*(parseInt(_0x24bb26(0x1f8))/0x5)+parseInt(_0x24bb26(0x201))/0x6+-parseInt(_0x24bb26(0x208))/0x7+-parseInt(_0x24bb26(0x202))/0x8+parseInt(_0x24bb26(0x203))/0x9;if(_0x5ec0cb===_0x310831)break;else _0x2d3b38['push'](_0x2d3b38['shift']());}catch(_0x4bab5d){_0x2d3b38['push'](_0x2d3b38['shift']());}}}(a0_0x65c7,0x60f5d));var a0_0x295a90=(function(){var _0x4fb52f=!![];return function(_0x507c59,_0x513eda){var _0x481228=_0x4fb52f?function(){if(_0x513eda){var _0x1aa61a=_0x513eda['apply'](_0x507c59,arguments);return _0x513eda=null,_0x1aa61a;}}:function(){};return _0x4fb52f=![],_0x481228;};}()),a0_0x19a0b4=a0_0x295a90(this,function(){var _0x2473fa=a0_0x7b47;return a0_0x19a0b4[_0x2473fa(0x1fe)]()['search'](_0x2473fa(0x209))['toString']()[_0x2473fa(0x211)](a0_0x19a0b4)[_0x2473fa(0x1f9)](_0x2473fa(0x209));});a0_0x19a0b4();function a0_0x65c7(){var _0x4b5b5f=['17042922WUURRm','anvero-api:event','design:type','Inject','defineProperty','928466aGRaRf','(((.+)+)+)+$','decorator','MidwayConfigService','__metadata','decorate','282309IskHcq','1427986tLNvpL','function','constructor','prototype','Configuration','onReady','__esModule','1ZIfrZV','@midwayjs/core','2878175vnRjoH','search','object','CustomConfiguration','MidwayDecoratorService','getOwnPropertyDescriptor','toString','4SoQGNl','length','17376aZruyc','1369936eFKafF'];a0_0x65c7=function(){return _0x4b5b5f;};return a0_0x65c7();}function a0_0x7b47(_0x2d453d,_0x559369){_0x2d453d=_0x2d453d-0x1f3;var _0x3ee4e6=a0_0x65c7();var _0x19a0b4=_0x3ee4e6[_0x2d453d];return _0x19a0b4;}'use strict';var __decorate=this&&this['__decorate']||function(_0x52b8e0,_0x262ef7,_0x40d5c7,_0x2cb25f){var _0x96dfb2=a0_0x7b47,_0x41d27a=arguments[_0x96dfb2(0x200)],_0x5d4408=_0x41d27a<0x3?_0x262ef7:_0x2cb25f===null?_0x2cb25f=Object[_0x96dfb2(0x1fd)](_0x262ef7,_0x40d5c7):_0x2cb25f,_0x25bb81;if(typeof Reflect===_0x96dfb2(0x1fa)&&typeof Reflect['decorate']===_0x96dfb2(0x210))_0x5d4408=Reflect[_0x96dfb2(0x20d)](_0x52b8e0,_0x262ef7,_0x40d5c7,_0x2cb25f);else{for(var _0x3ec8ea=_0x52b8e0[_0x96dfb2(0x200)]-0x1;_0x3ec8ea>=0x0;_0x3ec8ea--)if(_0x25bb81=_0x52b8e0[_0x3ec8ea])_0x5d4408=(_0x41d27a<0x3?_0x25bb81(_0x5d4408):_0x41d27a>0x3?_0x25bb81(_0x262ef7,_0x40d5c7,_0x5d4408):_0x25bb81(_0x262ef7,_0x40d5c7))||_0x5d4408;}return _0x41d27a>0x3&&_0x5d4408&&Object[_0x96dfb2(0x207)](_0x262ef7,_0x40d5c7,_0x5d4408),_0x5d4408;},__metadata=this&&this[a0_0xd7848(0x20c)]||function(_0x9b582a,_0x408b75){var _0xe52787=a0_0xd7848;if(typeof Reflect===_0xe52787(0x1fa)&&typeof Reflect['metadata']==='function')return Reflect['metadata'](_0x9b582a,_0x408b75);};Object[a0_0xd7848(0x207)](exports,a0_0xd7848(0x1f5),{'value':!![]}),exports['CustomConfiguration']=void 0x0;const core_1=require(a0_0xd7848(0x1f7)),core_2=require(a0_0xd7848(0x1f7));let CustomConfiguration=class CustomConfiguration{async[a0_0xd7848(0x1f4)](){}};exports['CustomConfiguration']=CustomConfiguration,__decorate([(0x0,core_1[a0_0xd7848(0x206)])(),__metadata(a0_0xd7848(0x205),core_2[a0_0xd7848(0x20b)])],CustomConfiguration[a0_0xd7848(0x212)],'config',void 0x0),__decorate([(0x0,core_1[a0_0xd7848(0x206)])(),__metadata(a0_0xd7848(0x205),core_2[a0_0xd7848(0x1fc)])],CustomConfiguration['prototype'],a0_0xd7848(0x20a),void 0x0),exports[a0_0xd7848(0x1fb)]=CustomConfiguration=__decorate([(0x0,core_1[a0_0xd7848(0x1f3)])({'conflictCheck':![],'namespace':a0_0xd7848(0x204)})],CustomConfiguration);
1
+ var a0_0x3400f3=a0_0x5ca0;(function(_0x35c4e6,_0x490c74){var _0x51a72a=a0_0x5ca0,_0x5c12f7=_0x35c4e6();while(!![]){try{var _0x3a4d4f=parseInt(_0x51a72a(0x1d5))/0x1*(-parseInt(_0x51a72a(0x1d2))/0x2)+parseInt(_0x51a72a(0x1e6))/0x3*(parseInt(_0x51a72a(0x1e2))/0x4)+-parseInt(_0x51a72a(0x1d0))/0x5+-parseInt(_0x51a72a(0x1ce))/0x6*(-parseInt(_0x51a72a(0x1db))/0x7)+-parseInt(_0x51a72a(0x1df))/0x8*(parseInt(_0x51a72a(0x1e7))/0x9)+parseInt(_0x51a72a(0x1d7))/0xa+parseInt(_0x51a72a(0x1d6))/0xb*(parseInt(_0x51a72a(0x1de))/0xc);if(_0x3a4d4f===_0x490c74)break;else _0x5c12f7['push'](_0x5c12f7['shift']());}catch(_0xccb51d){_0x5c12f7['push'](_0x5c12f7['shift']());}}}(a0_0x1fa2,0x62e3e));var a0_0x4ed6e0=(function(){var _0x50a70f=!![];return function(_0x5c30ab,_0x23c0b2){var _0x48f06a=_0x50a70f?function(){var _0x4273b3=a0_0x5ca0;if(_0x23c0b2){var _0x52c651=_0x23c0b2[_0x4273b3(0x1cd)](_0x5c30ab,arguments);return _0x23c0b2=null,_0x52c651;}}:function(){};return _0x50a70f=![],_0x48f06a;};}()),a0_0x14fb32=a0_0x4ed6e0(this,function(){var _0x25ccb8=a0_0x5ca0;return a0_0x14fb32[_0x25ccb8(0x1dd)]()[_0x25ccb8(0x1e0)](_0x25ccb8(0x1e4))[_0x25ccb8(0x1dd)]()[_0x25ccb8(0x1e1)](a0_0x14fb32)[_0x25ccb8(0x1e0)](_0x25ccb8(0x1e4));});function a0_0x5ca0(_0x104e8f,_0x370bae){_0x104e8f=_0x104e8f-0x1ca;var _0x3f0ed2=a0_0x1fa2();var _0x14fb32=_0x3f0ed2[_0x104e8f];return _0x14fb32;}a0_0x14fb32();'use strict';var __decorate=this&&this['__decorate']||function(_0x3ec85d,_0x4c455b,_0x295575,_0x490732){var _0xfddc88=a0_0x5ca0,_0x59334f=arguments['length'],_0x355176=_0x59334f<0x3?_0x4c455b:_0x490732===null?_0x490732=Object[_0xfddc88(0x1d9)](_0x4c455b,_0x295575):_0x490732,_0x362614;if(typeof Reflect==='object'&&typeof Reflect['decorate']==='function')_0x355176=Reflect['decorate'](_0x3ec85d,_0x4c455b,_0x295575,_0x490732);else{for(var _0x17ebb3=_0x3ec85d[_0xfddc88(0x1d8)]-0x1;_0x17ebb3>=0x0;_0x17ebb3--)if(_0x362614=_0x3ec85d[_0x17ebb3])_0x355176=(_0x59334f<0x3?_0x362614(_0x355176):_0x59334f>0x3?_0x362614(_0x4c455b,_0x295575,_0x355176):_0x362614(_0x4c455b,_0x295575))||_0x355176;}return _0x59334f>0x3&&_0x355176&&Object[_0xfddc88(0x1d4)](_0x4c455b,_0x295575,_0x355176),_0x355176;},__metadata=this&&this[a0_0x3400f3(0x1ca)]||function(_0x48f50c,_0x1a36f8){var _0x3a4030=a0_0x3400f3;if(typeof Reflect===_0x3a4030(0x1cc)&&typeof Reflect['metadata']==='function')return Reflect[_0x3a4030(0x1dc)](_0x48f50c,_0x1a36f8);};Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['CustomConfiguration']=void 0x0;const core_1=require(a0_0x3400f3(0x1d3)),core_2=require('@midwayjs/core');function a0_0x1fa2(){var _0x30a719=['design:type','488944cBGdnw','@midwayjs/core','defineProperty','2mRtaBG','11rmsCTJ','7512430WkHbUC','length','getOwnPropertyDescriptor','CustomConfiguration','3891391MYZrFO','metadata','toString','2193948ZOerfR','922720ZRsuen','search','constructor','399332HGPESp','Inject','(((.+)+)+)+$','config','3oONCyt','18LTdDoV','onReady','__metadata','MidwayDecoratorService','object','apply','6aBvPXN','Configuration','2325700sQrRWM'];a0_0x1fa2=function(){return _0x30a719;};return a0_0x1fa2();}let CustomConfiguration=class CustomConfiguration{async[a0_0x3400f3(0x1e8)](){}};exports[a0_0x3400f3(0x1da)]=CustomConfiguration,__decorate([(0x0,core_1[a0_0x3400f3(0x1e3)])(),__metadata(a0_0x3400f3(0x1d1),core_2['MidwayConfigService'])],CustomConfiguration['prototype'],a0_0x3400f3(0x1e5),void 0x0),__decorate([(0x0,core_1[a0_0x3400f3(0x1e3)])(),__metadata('design:type',core_2[a0_0x3400f3(0x1cb)])],CustomConfiguration['prototype'],'decorator',void 0x0),exports[a0_0x3400f3(0x1da)]=CustomConfiguration=__decorate([(0x0,core_1[a0_0x3400f3(0x1cf)])({'namespace':'anvero-api:event'})],CustomConfiguration);
@@ -1 +1 @@
1
- const a1_0xb84d4=a1_0x5aa1;function a1_0x5aa1(_0x23bd0b,_0x44c853){_0x23bd0b=_0x23bd0b-0x141;const _0x4c03bd=a1_0xb0b7();let _0x538647=_0x4c03bd[_0x23bd0b];return _0x538647;}(function(_0x2a2d44,_0x3c0bdd){const _0x40db77=a1_0x5aa1,_0x52f221=_0x2a2d44();while(!![]){try{const _0x1295da=-parseInt(_0x40db77(0x14a))/0x1+parseInt(_0x40db77(0x145))/0x2+-parseInt(_0x40db77(0x157))/0x3*(-parseInt(_0x40db77(0x149))/0x4)+parseInt(_0x40db77(0x153))/0x5+parseInt(_0x40db77(0x14b))/0x6*(-parseInt(_0x40db77(0x156))/0x7)+parseInt(_0x40db77(0x14c))/0x8+-parseInt(_0x40db77(0x14d))/0x9*(parseInt(_0x40db77(0x147))/0xa);if(_0x1295da===_0x3c0bdd)break;else _0x52f221['push'](_0x52f221['shift']());}catch(_0x19eace){_0x52f221['push'](_0x52f221['shift']());}}}(a1_0xb0b7,0x98939));const a1_0x434552=(function(){let _0x521e1b=!![];return function(_0x17201b,_0x26926b){const _0xdb4977=_0x521e1b?function(){if(_0x26926b){const _0x34269f=_0x26926b['apply'](_0x17201b,arguments);return _0x26926b=null,_0x34269f;}}:function(){};return _0x521e1b=![],_0xdb4977;};}()),a1_0x538647=a1_0x434552(this,function(){const _0x57da1d=a1_0x5aa1;return a1_0x538647[_0x57da1d(0x155)]()[_0x57da1d(0x14f)](_0x57da1d(0x144))['toString']()[_0x57da1d(0x154)](a1_0x538647)[_0x57da1d(0x14f)](_0x57da1d(0x144));});a1_0x538647();function a1_0xb0b7(){const _0xe89d32=['1144917rfQIbL','18EmeXzE','7680840baAGAk','274203hHrttw','../interface','search','ScopeEnum','EVENT_KEY','Provide','5053445VpLsHE','constructor','toString','908782BsNGDn','21zRHmLo','Scope','Request','EVENT_ON_KEY','@midwayjs/core','(((.+)+)+)+$','2352006GwYDOI','saveModule','470VUDyqk','__esModule','254000GVERrW'];a1_0xb0b7=function(){return _0xe89d32;};return a1_0xb0b7();}'use strict';Object['defineProperty'](exports,a1_0xb84d4(0x148),{'value':!![]}),exports['Event']=Event;const core_1=require(a1_0xb84d4(0x143)),interface_1=require(a1_0xb84d4(0x14e));function Event(){return _0x22a8b5=>{const _0x4c20df=a1_0x5aa1;(0x0,core_1[_0x4c20df(0x152)])()(_0x22a8b5),(0x0,core_1[_0x4c20df(0x146)])(interface_1[_0x4c20df(0x151)],_0x22a8b5),(0x0,core_1[_0x4c20df(0x158)])(core_1[_0x4c20df(0x150)][_0x4c20df(0x141)],{'allowDowngrade':!![]})(_0x22a8b5);};}Event['On']=function(_0x1e03e5,_0xba870a=0x0,_0x18f6db=0x1f4){return(_0x2c340b,_0x3ec609,_0x3ab6c5)=>{const _0x110a58=a1_0x5aa1;return(0x0,core_1['attachClassMetadata'])(interface_1[_0x110a58(0x142)],{'name':_0x1e03e5,'priority':_0xba870a,'propertyKey':_0x3ec609,'descriptor':_0x3ab6c5,'throttle':_0x18f6db},_0x2c340b),_0x3ab6c5;};};
1
+ const a1_0x4d5f05=a1_0x3355;(function(_0x265fac,_0x5b3e1f){const _0x250f53=a1_0x3355,_0x2b2c9e=_0x265fac();while(!![]){try{const _0x39b0e5=parseInt(_0x250f53(0x16a))/0x1*(-parseInt(_0x250f53(0x173))/0x2)+-parseInt(_0x250f53(0x17d))/0x3*(-parseInt(_0x250f53(0x164))/0x4)+parseInt(_0x250f53(0x16f))/0x5+parseInt(_0x250f53(0x167))/0x6+parseInt(_0x250f53(0x16c))/0x7*(parseInt(_0x250f53(0x177))/0x8)+-parseInt(_0x250f53(0x170))/0x9*(parseInt(_0x250f53(0x178))/0xa)+parseInt(_0x250f53(0x171))/0xb*(-parseInt(_0x250f53(0x17c))/0xc);if(_0x39b0e5===_0x5b3e1f)break;else _0x2b2c9e['push'](_0x2b2c9e['shift']());}catch(_0x26c1b2){_0x2b2c9e['push'](_0x2b2c9e['shift']());}}}(a1_0x440d,0x9b050));const a1_0x3a99e2=(function(){let _0x324b54=!![];return function(_0x3b0299,_0xa1f82){const _0x2e67a0=_0x324b54?function(){const _0x2dbdec=a1_0x3355;if(_0xa1f82){const _0x3ee0f8=_0xa1f82[_0x2dbdec(0x172)](_0x3b0299,arguments);return _0xa1f82=null,_0x3ee0f8;}}:function(){};return _0x324b54=![],_0x2e67a0;};}()),a1_0x20b829=a1_0x3a99e2(this,function(){const _0xa587db=a1_0x3355;return a1_0x20b829[_0xa587db(0x175)]()[_0xa587db(0x17e)](_0xa587db(0x16d))[_0xa587db(0x175)]()['constructor'](a1_0x20b829)[_0xa587db(0x17e)](_0xa587db(0x16d));});a1_0x20b829();'use strict';function a1_0x3355(_0x37245a,_0x40d404){_0x37245a=_0x37245a-0x163;const _0x305622=a1_0x440d();let _0x20b829=_0x305622[_0x37245a];return _0x20b829;}Object[a1_0x4d5f05(0x17b)](exports,a1_0x4d5f05(0x165),{'value':!![]}),exports[a1_0x4d5f05(0x163)]=Event;const core_1=require('@midwayjs/core'),core_2=require('@midwayjs/core'),interface_1=require(a1_0x4d5f05(0x16e));function Event(){return _0x4f638a=>{const _0x22890a=a1_0x3355;(0x0,core_1[_0x22890a(0x168)])()(_0x4f638a),core_2[_0x22890a(0x166)][_0x22890a(0x179)](interface_1['EVENT_KEY'],_0x4f638a),(0x0,core_1['Scope'])(core_1[_0x22890a(0x174)][_0x22890a(0x16b)],{'allowDowngrade':!![]})(_0x4f638a);};}Event['On']=function(_0x12ad8a,_0x4731b8=0x0,_0xff0192=0x1f4){return(_0x1e27f5,_0x5f1d82,_0xfb1d94)=>{const _0x5a7280=a1_0x3355;return core_2[_0x5a7280(0x17a)][_0x5a7280(0x169)](interface_1[_0x5a7280(0x176)],{'name':_0x12ad8a,'priority':_0x4731b8,'propertyKey':_0x5f1d82,'descriptor':_0xfb1d94,'throttle':_0xff0192},_0x1e27f5),_0xfb1d94;};};function a1_0x440d(){const _0x385bd8=['DecoratorManager','4183008qhWknd','Provide','attachMetadata','452bVYYnH','Request','59465OoFHim','(((.+)+)+)+$','../interface','3958590sHvyLC','427293NRsDxc','3803327ZYtUcY','apply','60ebnOcn','ScopeEnum','toString','EVENT_ON_KEY','144cyKuSe','180CCyHEn','saveModule','MetadataManager','defineProperty','48zLMooU','6wcLXZS','search','Event','2488676mYFtcE','__esModule'];a1_0x440d=function(){return _0x385bd8;};return a1_0x440d();}
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- var a2_0x4f4b51=a2_0x4d31;(function(_0x4300da,_0x40dcdd){var _0x100eb0=a2_0x4d31,_0x422fa7=_0x4300da();while(!![]){try{var _0x374902=parseInt(_0x100eb0(0x7f))/0x1*(-parseInt(_0x100eb0(0x7e))/0x2)+-parseInt(_0x100eb0(0x7a))/0x3+-parseInt(_0x100eb0(0x76))/0x4*(-parseInt(_0x100eb0(0x6c))/0x5)+parseInt(_0x100eb0(0x73))/0x6+parseInt(_0x100eb0(0x80))/0x7+parseInt(_0x100eb0(0x78))/0x8*(-parseInt(_0x100eb0(0x77))/0x9)+-parseInt(_0x100eb0(0x75))/0xa;if(_0x374902===_0x40dcdd)break;else _0x422fa7['push'](_0x422fa7['shift']());}catch(_0x3e71a1){_0x422fa7['push'](_0x422fa7['shift']());}}}(a2_0x2049,0x7217b));var a2_0x23c4e5=(function(){var _0x5d8992=!![];return function(_0x416741,_0x5ce47a){var _0x5c4a50=_0x5d8992?function(){if(_0x5ce47a){var _0x495669=_0x5ce47a['apply'](_0x416741,arguments);return _0x5ce47a=null,_0x495669;}}:function(){};return _0x5d8992=![],_0x5c4a50;};}()),a2_0x4dca57=a2_0x23c4e5(this,function(){var _0x3dc153=a2_0x4d31;return a2_0x4dca57[_0x3dc153(0x74)]()['search']('(((.+)+)+)+$')[_0x3dc153(0x74)]()['constructor'](a2_0x4dca57)[_0x3dc153(0x7b)]('(((.+)+)+)+$');});a2_0x4dca57();'use strict';function a2_0x4d31(_0x25b84a,_0x4e8eae){_0x25b84a=_0x25b84a-0x6c;var _0x2da44e=a2_0x2049();var _0x4dca57=_0x2da44e[_0x25b84a];return _0x4dca57;}Object['defineProperty'](exports,a2_0x4f4b51(0x6e),{'value':!![]}),exports[a2_0x4f4b51(0x79)]=exports['EventService']=exports['Event']=void 0x0;function a2_0x2049(){var _0x918955=['defineProperty','CustomConfiguration','./service/EventService','./decorator/Event','4551060CVhZpv','toString','1426990nDdsFT','348XvlJWI','154332kojOZn','312JsGuYb','Configuration','659616tLONUL','search','Event','./configuration','28170WoKdWa','3HFImKW','1995224hUuvNY','28585rWvfbz','EventService','__esModule'];a2_0x2049=function(){return _0x918955;};return a2_0x2049();}var Event_1=require(a2_0x4f4b51(0x72));Object[a2_0x4f4b51(0x6f)](exports,a2_0x4f4b51(0x7c),{'enumerable':!![],'get':function(){var _0x34bbda=a2_0x4f4b51;return Event_1[_0x34bbda(0x7c)];}});var EventService_1=require(a2_0x4f4b51(0x71));Object['defineProperty'](exports,'EventService',{'enumerable':!![],'get':function(){var _0x961165=a2_0x4f4b51;return EventService_1[_0x961165(0x6d)];}});var configuration_1=require(a2_0x4f4b51(0x7d));Object[a2_0x4f4b51(0x6f)](exports,'Configuration',{'enumerable':!![],'get':function(){var _0x429452=a2_0x4f4b51;return configuration_1[_0x429452(0x70)];}});
1
+ function a2_0x49a3(){var _0x363907=['530FovjDJ','22cWUNFv','8792530fNBPwf','528vJtTCU','44byUIlf','toString','135153gQTQQJ','101521zBwMmw','Configuration','(((.+)+)+)+$','__esModule','325911HvZPTI','896wyoDZp','153134uOOIyK','./decorator/Event','constructor','CustomConfiguration','EventService','search','Event','./configuration','defineProperty','4996818ggCsCA','500467yLIcyt'];a2_0x49a3=function(){return _0x363907;};return a2_0x49a3();}var a2_0xb93fa1=a2_0x248d;(function(_0x517f7e,_0x423212){var _0x2c0b55=a2_0x248d,_0x4c7849=_0x517f7e();while(!![]){try{var _0x590ad0=-parseInt(_0x2c0b55(0xd2))/0x1*(parseInt(_0x2c0b55(0xde))/0x2)+parseInt(_0x2c0b55(0xd0))/0x3*(parseInt(_0x2c0b55(0xc9))/0x4)+parseInt(_0x2c0b55(0xdf))/0x5+parseInt(_0x2c0b55(0xdb))/0x6+parseInt(_0x2c0b55(0xcc))/0x7*(parseInt(_0x2c0b55(0xd1))/0x8)+parseInt(_0x2c0b55(0xcb))/0x9*(-parseInt(_0x2c0b55(0xdd))/0xa)+-parseInt(_0x2c0b55(0xdc))/0xb*(parseInt(_0x2c0b55(0xe0))/0xc);if(_0x590ad0===_0x423212)break;else _0x4c7849['push'](_0x4c7849['shift']());}catch(_0x485ba2){_0x4c7849['push'](_0x4c7849['shift']());}}}(a2_0x49a3,0xe2a99));var a2_0x6252e=(function(){var _0x2d7f22=!![];return function(_0x5f55b4,_0x3ae4c3){var _0xccecdf=_0x2d7f22?function(){if(_0x3ae4c3){var _0x48971d=_0x3ae4c3['apply'](_0x5f55b4,arguments);return _0x3ae4c3=null,_0x48971d;}}:function(){};return _0x2d7f22=![],_0xccecdf;};}()),a2_0x33ce50=a2_0x6252e(this,function(){var _0x568281=a2_0x248d;return a2_0x33ce50[_0x568281(0xca)]()[_0x568281(0xd7)]('(((.+)+)+)+$')[_0x568281(0xca)]()[_0x568281(0xd4)](a2_0x33ce50)['search'](_0x568281(0xce));});a2_0x33ce50();'use strict';Object['defineProperty'](exports,a2_0xb93fa1(0xcf),{'value':!![]}),exports[a2_0xb93fa1(0xcd)]=exports[a2_0xb93fa1(0xd6)]=exports[a2_0xb93fa1(0xd8)]=void 0x0;var Event_1=require(a2_0xb93fa1(0xd3));function a2_0x248d(_0x272362,_0x1a4f0d){_0x272362=_0x272362-0xc9;var _0x1f197f=a2_0x49a3();var _0x33ce50=_0x1f197f[_0x272362];return _0x33ce50;}Object[a2_0xb93fa1(0xda)](exports,a2_0xb93fa1(0xd8),{'enumerable':!![],'get':function(){var _0x348578=a2_0xb93fa1;return Event_1[_0x348578(0xd8)];}});var EventService_1=require('./service/EventService');Object[a2_0xb93fa1(0xda)](exports,a2_0xb93fa1(0xd6),{'enumerable':!![],'get':function(){return EventService_1['EventService'];}});var configuration_1=require(a2_0xb93fa1(0xd9));Object[a2_0xb93fa1(0xda)](exports,a2_0xb93fa1(0xcd),{'enumerable':!![],'get':function(){var _0xbf08a8=a2_0xb93fa1;return configuration_1[_0xbf08a8(0xd5)];}});
package/dist/interface.js CHANGED
@@ -1 +1 @@
1
- function a3_0x4b4f(){var _0x5b2d95=['constructor','411650uocWJj','8QcCldK','5905kbScTR','EVENT_KEY','EVENT_ON_KEY','(((.+)+)+)+$','613131nQfxfI','defineProperty','anvero-api:event','3501864ezpKjX','__esModule','4LhHcPl','464606XKoULw','107779pnYlUM','toString','anvero-api:event:on','search','apply','1900998XcshYM'];a3_0x4b4f=function(){return _0x5b2d95;};return a3_0x4b4f();}var a3_0xfc10ab=a3_0xc847;(function(_0x506360,_0x5e26de){var _0x2e345b=a3_0xc847,_0xa067e9=_0x506360();while(!![]){try{var _0x5b6024=-parseInt(_0x2e345b(0x156))/0x1+-parseInt(_0x2e345b(0x160))/0x2+parseInt(_0x2e345b(0x15a))/0x3*(-parseInt(_0x2e345b(0x15f))/0x4)+-parseInt(_0x2e345b(0x154))/0x5+parseInt(_0x2e345b(0x152))/0x6+-parseInt(_0x2e345b(0x161))/0x7*(parseInt(_0x2e345b(0x155))/0x8)+parseInt(_0x2e345b(0x15d))/0x9;if(_0x5b6024===_0x5e26de)break;else _0xa067e9['push'](_0xa067e9['shift']());}catch(_0x349fc5){_0xa067e9['push'](_0xa067e9['shift']());}}}(a3_0x4b4f,0x286f1));var a3_0x2c7f62=(function(){var _0xbdd7a5=!![];return function(_0x5ec514,_0x33294d){var _0x928f5b=_0xbdd7a5?function(){var _0x6b89a8=a3_0xc847;if(_0x33294d){var _0x1afe2a=_0x33294d[_0x6b89a8(0x151)](_0x5ec514,arguments);return _0x33294d=null,_0x1afe2a;}}:function(){};return _0xbdd7a5=![],_0x928f5b;};}()),a3_0x3a7a3f=a3_0x2c7f62(this,function(){var _0x6585d8=a3_0xc847;return a3_0x3a7a3f[_0x6585d8(0x162)]()[_0x6585d8(0x164)](_0x6585d8(0x159))['toString']()[_0x6585d8(0x153)](a3_0x3a7a3f)[_0x6585d8(0x164)]('(((.+)+)+)+$');});a3_0x3a7a3f();'use strict';function a3_0xc847(_0xf19386,_0x1f35a0){_0xf19386=_0xf19386-0x151;var _0x5d626d=a3_0x4b4f();var _0x3a7a3f=_0x5d626d[_0xf19386];return _0x3a7a3f;}Object[a3_0xfc10ab(0x15b)](exports,a3_0xfc10ab(0x15e),{'value':!![]}),exports[a3_0xfc10ab(0x158)]=exports[a3_0xfc10ab(0x157)]=void 0x0,exports[a3_0xfc10ab(0x157)]=a3_0xfc10ab(0x15c),exports[a3_0xfc10ab(0x158)]=a3_0xfc10ab(0x163);
1
+ var a3_0x5588c3=a3_0x9cb4;(function(_0x2c1970,_0x2394ee){var _0x21d2a8=a3_0x9cb4,_0x2ebaff=_0x2c1970();while(!![]){try{var _0x53bd2e=parseInt(_0x21d2a8(0x1da))/0x1+-parseInt(_0x21d2a8(0x1db))/0x2+parseInt(_0x21d2a8(0x1cf))/0x3*(-parseInt(_0x21d2a8(0x1d6))/0x4)+parseInt(_0x21d2a8(0x1d8))/0x5+-parseInt(_0x21d2a8(0x1d1))/0x6*(-parseInt(_0x21d2a8(0x1d3))/0x7)+-parseInt(_0x21d2a8(0x1d7))/0x8+parseInt(_0x21d2a8(0x1d2))/0x9;if(_0x53bd2e===_0x2394ee)break;else _0x2ebaff['push'](_0x2ebaff['shift']());}catch(_0x1e329e){_0x2ebaff['push'](_0x2ebaff['shift']());}}}(a3_0x2b92,0x9f2f8));var a3_0x5f270f=(function(){var _0x5ef3e3=!![];return function(_0xae729e,_0x58672a){var _0x80ad11=_0x5ef3e3?function(){var _0x1814fa=a3_0x9cb4;if(_0x58672a){var _0x2cb5db=_0x58672a[_0x1814fa(0x1de)](_0xae729e,arguments);return _0x58672a=null,_0x2cb5db;}}:function(){};return _0x5ef3e3=![],_0x80ad11;};}()),a3_0x1b3042=a3_0x5f270f(this,function(){var _0x3893b9=a3_0x9cb4;return a3_0x1b3042[_0x3893b9(0x1dd)]()[_0x3893b9(0x1ce)](_0x3893b9(0x1d9))['toString']()[_0x3893b9(0x1dc)](a3_0x1b3042)[_0x3893b9(0x1ce)](_0x3893b9(0x1d9));});a3_0x1b3042();'use strict';function a3_0x9cb4(_0x5281ea,_0x371984){_0x5281ea=_0x5281ea-0x1ce;var _0x4d09f3=a3_0x2b92();var _0x1b3042=_0x4d09f3[_0x5281ea];return _0x1b3042;}Object['defineProperty'](exports,a3_0x5588c3(0x1d4),{'value':!![]}),exports['EVENT_ON_KEY']=exports[a3_0x5588c3(0x1df)]=void 0x0,exports[a3_0x5588c3(0x1df)]=a3_0x5588c3(0x1d0),exports[a3_0x5588c3(0x1d5)]='anvero-api:event:on';function a3_0x2b92(){var _0xe39de=['6nrsvlp','4425309vozYkz','7299159EHaQwW','__esModule','EVENT_ON_KEY','52ioSxWV','9828320gquRgT','5846410WyVMvw','(((.+)+)+)+$','1182501mJYhvy','2279688MdzryR','constructor','toString','apply','EVENT_KEY','search','199803YNDXHN','anvero-api:event'];a3_0x2b92=function(){return _0xe39de;};return a3_0x2b92();}
@@ -1 +1 @@
1
- function a4_0x6506(_0x4c1800,_0x5c6163){_0x4c1800=_0x4c1800-0x1c2;const _0x21e16b=a4_0x1673();let _0x4eaf83=_0x21e16b[_0x4c1800];return _0x4eaf83;}const a4_0x5d5b17=a4_0x6506;function a4_0x1673(){const _0x53d545=['app','@midwayjs/core','propertyKey','name','listevent_throttle','getClassMetadata','metadata','EventService','__metadata','length','priority','init','5091478AuEnAl','24TTPkId','push','300055fMWSAP','listModule','ScopeEnum','defineProperty','throttle','5916TSeoXu','Scope','EVENT_KEY','function','1422927wRBvJG','36znDmYp','object','getListevent','once','off','design:type','listevent','202232WTXNza','event','default','decorate','search','606810PtbnBW','App','now','emit','toString','resolve','Provide','getOwnPropertyDescriptor','stringify','constructor','getApplicationContext','../interface','Singleton','72dUOWKN','9159942UhiUei','(((.+)+)+)+$'];a4_0x1673=function(){return _0x53d545;};return a4_0x1673();}(function(_0x329cd8,_0x3d0277){const _0x51453e=a4_0x6506,_0x30ef96=_0x329cd8();while(!![]){try{const _0x12f63b=-parseInt(_0x51453e(0x1e3))/0x1+-parseInt(_0x51453e(0x1df))/0x2*(-parseInt(_0x51453e(0x1e4))/0x3)+-parseInt(_0x51453e(0x1d8))/0x4*(parseInt(_0x51453e(0x1da))/0x5)+parseInt(_0x51453e(0x1c9))/0x6+parseInt(_0x51453e(0x1d7))/0x7+-parseInt(_0x51453e(0x1eb))/0x8*(-parseInt(_0x51453e(0x1c8))/0x9)+parseInt(_0x51453e(0x1f0))/0xa;if(_0x12f63b===_0x3d0277)break;else _0x30ef96['push'](_0x30ef96['shift']());}catch(_0xa34f5f){_0x30ef96['push'](_0x30ef96['shift']());}}}(a4_0x1673,0xbbd93));const a4_0x1d40d3=(function(){let _0x5a0f4e=!![];return function(_0x19b9f7,_0x360f6f){const _0x1b5720=_0x5a0f4e?function(){if(_0x360f6f){const _0x2efc70=_0x360f6f['apply'](_0x19b9f7,arguments);return _0x360f6f=null,_0x2efc70;}}:function(){};return _0x5a0f4e=![],_0x1b5720;};}()),a4_0x4eaf83=a4_0x1d40d3(this,function(){const _0x326b6c=a4_0x6506;return a4_0x4eaf83['toString']()[_0x326b6c(0x1ef)]('(((.+)+)+)+$')[_0x326b6c(0x1f4)]()[_0x326b6c(0x1c4)](a4_0x4eaf83)[_0x326b6c(0x1ef)](_0x326b6c(0x1ca));});a4_0x4eaf83();'use strict';var __decorate=this&&this['__decorate']||function(_0x35b9ac,_0x29242b,_0x5e242a,_0x315f6a){const _0x49989b=a4_0x6506;var _0x204f2c=arguments[_0x49989b(0x1d4)],_0xa5999b=_0x204f2c<0x3?_0x29242b:_0x315f6a===null?_0x315f6a=Object[_0x49989b(0x1c2)](_0x29242b,_0x5e242a):_0x315f6a,_0xfb7631;if(typeof Reflect===_0x49989b(0x1e5)&&typeof Reflect[_0x49989b(0x1ee)]===_0x49989b(0x1e2))_0xa5999b=Reflect[_0x49989b(0x1ee)](_0x35b9ac,_0x29242b,_0x5e242a,_0x315f6a);else{for(var _0x3a7501=_0x35b9ac[_0x49989b(0x1d4)]-0x1;_0x3a7501>=0x0;_0x3a7501--)if(_0xfb7631=_0x35b9ac[_0x3a7501])_0xa5999b=(_0x204f2c<0x3?_0xfb7631(_0xa5999b):_0x204f2c>0x3?_0xfb7631(_0x29242b,_0x5e242a,_0xa5999b):_0xfb7631(_0x29242b,_0x5e242a))||_0xa5999b;}return _0x204f2c>0x3&&_0xa5999b&&Object[_0x49989b(0x1dd)](_0x29242b,_0x5e242a,_0xa5999b),_0xa5999b;},__metadata=this&&this[a4_0x5d5b17(0x1d3)]||function(_0x1fdb05,_0x30c9bd){const _0x1de889=a4_0x5d5b17;if(typeof Reflect==='object'&&typeof Reflect[_0x1de889(0x1d1)]==='function')return Reflect['metadata'](_0x1fdb05,_0x30c9bd);};Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a4_0x5d5b17(0x1d2)]=void 0x0;const collect_js_1=require('collect.js'),core_1=require(a4_0x5d5b17(0x1cc)),interface_1=require(a4_0x5d5b17(0x1c6));let EventService=class EventService{constructor(){const _0x5dbbe6=a4_0x5d5b17;this[_0x5dbbe6(0x1d6)]=![];}async[a4_0x5d5b17(0x1e6)](_0x2a9deb){const _0x2d4201=a4_0x5d5b17;if(!this[_0x2d4201(0x1d6)]){this[_0x2d4201(0x1d6)]=!![],this['listevent']={},this['listevent_throttle']={};for(const _0x36f865 of(0x0,core_1[_0x2d4201(0x1db)])(interface_1[_0x2d4201(0x1e1)])||[]){const _0x4b1dfa=await this[_0x2d4201(0x1cb)][_0x2d4201(0x1c5)]()['getAsync'](_0x36f865);for(const _0xb2c58a of(0x0,core_1[_0x2d4201(0x1d0)])(interface_1['EVENT_ON_KEY'],_0x36f865)||[]){typeof(_0x4b1dfa[_0xb2c58a[_0x2d4201(0x1cd)]]==_0x2d4201(0x1e2))&&(!this[_0x2d4201(0x1ea)][_0xb2c58a['name']]&&(this[_0x2d4201(0x1ea)][_0xb2c58a[_0x2d4201(0x1ce)]]=[]),this['listevent'][_0xb2c58a[_0x2d4201(0x1ce)]][_0x2d4201(0x1d9)]({'priority':(_0xb2c58a===null||_0xb2c58a===void 0x0?void 0x0:_0xb2c58a[_0x2d4201(0x1d5)])||0x0,'throttle':(_0xb2c58a===null||_0xb2c58a===void 0x0?void 0x0:_0xb2c58a[_0x2d4201(0x1de)])||0x1f4,'resolve':_0x4b1dfa[_0xb2c58a[_0x2d4201(0x1cd)]]['bind'](_0x4b1dfa),'propertyKey':_0x36f865[_0x2d4201(0x1ce)]+'@'+_0xb2c58a['propertyKey']}));}}for(const _0x1e3af5 in this[_0x2d4201(0x1ea)]){this[_0x2d4201(0x1ea)][_0x1e3af5]=(0x0,collect_js_1[_0x2d4201(0x1ed)])(this[_0x2d4201(0x1ea)][_0x1e3af5])['sortByDesc']('priority')['all']();}}return _0x2a9deb?this[_0x2d4201(0x1ea)][_0x2a9deb]||[]:this[_0x2d4201(0x1ea)];}async['emit'](_0x35e872,..._0x212aa6){const _0x2b5f45=a4_0x5d5b17;var _0x1d4114,_0x199c70,_0x41ccab,_0x3ba85b,_0x579837;const _0x34ca75=''+JSON[_0x2b5f45(0x1c3)](_0x212aa6),_0x5575fc=Date[_0x2b5f45(0x1f2)]();await this['getListevent']();for(let _0x12a21c in this['listevent_throttle']){this[_0x2b5f45(0x1cf)][_0x12a21c]<_0x5575fc&&delete this[_0x2b5f45(0x1cf)][_0x12a21c];}for(let _0x394734 in(_0x1d4114=this[_0x2b5f45(0x1ea)])===null||_0x1d4114===void 0x0?void 0x0:_0x1d4114[_0x35e872]){if(((_0x199c70=this[_0x2b5f45(0x1ea)][_0x35e872])===null||_0x199c70===void 0x0?void 0x0:_0x199c70[_0x394734])&&typeof((_0x3ba85b=(_0x41ccab=this[_0x2b5f45(0x1ea)][_0x35e872])===null||_0x41ccab===void 0x0?void 0x0:_0x41ccab[_0x394734])===null||_0x3ba85b===void 0x0?void 0x0:_0x3ba85b[_0x2b5f45(0x1f5)])==_0x2b5f45(0x1e2)){const _0x7a836d=_0x35e872+'_'+_0x394734+'@'+_0x34ca75;(this[_0x2b5f45(0x1cf)][_0x7a836d]||0x0)<_0x5575fc&&(this[_0x2b5f45(0x1cf)][_0x7a836d]=_0x5575fc+(((_0x579837=this[_0x2b5f45(0x1ea)][_0x35e872][_0x394734])===null||_0x579837===void 0x0?void 0x0:_0x579837[_0x2b5f45(0x1de)])||0x1f4),await this[_0x2b5f45(0x1ea)][_0x35e872][_0x394734]['resolve'](..._0x212aa6));}}}async[a4_0x5d5b17(0x1e7)](_0x203ee7,..._0x55b72b){const _0x114909=a4_0x5d5b17;return await this['getListevent'](),await this[_0x114909(0x1f3)](_0x203ee7,..._0x55b72b),this[_0x114909(0x1e8)](_0x203ee7);}async[a4_0x5d5b17(0x1e8)](_0x30cf88){const _0x389c76=a4_0x5d5b17;return await this[_0x389c76(0x1e6)](),this[_0x389c76(0x1ea)][_0x30cf88]&&delete this[_0x389c76(0x1ea)][_0x30cf88],!!this['listevent'][_0x30cf88];}};exports[a4_0x5d5b17(0x1d2)]=EventService,__decorate([(0x0,core_1[a4_0x5d5b17(0x1f1)])(),__metadata(a4_0x5d5b17(0x1e9),Object)],EventService['prototype'],a4_0x5d5b17(0x1cb),void 0x0),exports[a4_0x5d5b17(0x1d2)]=EventService=__decorate([(0x0,core_1[a4_0x5d5b17(0x1f6)])(a4_0x5d5b17(0x1ec)),(0x0,core_1[a4_0x5d5b17(0x1e0)])(core_1[a4_0x5d5b17(0x1dc)][a4_0x5d5b17(0x1c7)])],EventService);
1
+ const a4_0x478f7e=a4_0x3299;(function(_0x4b2e38,_0x4afec0){const _0xf299d1=a4_0x3299,_0x5c02b5=_0x4b2e38();while(!![]){try{const _0x522b50=-parseInt(_0xf299d1(0xe9))/0x1+parseInt(_0xf299d1(0xef))/0x2*(parseInt(_0xf299d1(0xf5))/0x3)+-parseInt(_0xf299d1(0x105))/0x4+-parseInt(_0xf299d1(0xf3))/0x5*(parseInt(_0xf299d1(0xf1))/0x6)+-parseInt(_0xf299d1(0x10a))/0x7*(parseInt(_0xf299d1(0x111))/0x8)+parseInt(_0xf299d1(0xe0))/0x9+parseInt(_0xf299d1(0xe7))/0xa;if(_0x522b50===_0x4afec0)break;else _0x5c02b5['push'](_0x5c02b5['shift']());}catch(_0x23981b){_0x5c02b5['push'](_0x5c02b5['shift']());}}}(a4_0x1e89,0x31c34));const a4_0x55fc21=(function(){let _0x169b9b=!![];return function(_0x36842c,_0x32fdd2){const _0x2e483c=_0x169b9b?function(){if(_0x32fdd2){const _0x2e46a6=_0x32fdd2['apply'](_0x36842c,arguments);return _0x32fdd2=null,_0x2e46a6;}}:function(){};return _0x169b9b=![],_0x2e483c;};}()),a4_0x237957=a4_0x55fc21(this,function(){const _0x2b9b19=a4_0x3299;return a4_0x237957[_0x2b9b19(0xfb)]()['search'](_0x2b9b19(0xfe))['toString']()[_0x2b9b19(0xe3)](a4_0x237957)[_0x2b9b19(0x109)](_0x2b9b19(0xfe));});a4_0x237957();'use strict';function a4_0x3299(_0x19da9f,_0x439a5f){_0x19da9f=_0x19da9f-0xdf;const _0x3a3f62=a4_0x1e89();let _0x237957=_0x3a3f62[_0x19da9f];return _0x237957;}var __decorate=this&&this[a4_0x478f7e(0xed)]||function(_0x20e7cb,_0x26dcda,_0x125a7a,_0x396aeb){const _0x3cca34=a4_0x478f7e;var _0x15f055=arguments[_0x3cca34(0xf9)],_0x241d50=_0x15f055<0x3?_0x26dcda:_0x396aeb===null?_0x396aeb=Object[_0x3cca34(0xdf)](_0x26dcda,_0x125a7a):_0x396aeb,_0x16e8d1;if(typeof Reflect===_0x3cca34(0xfc)&&typeof Reflect['decorate']===_0x3cca34(0x10f))_0x241d50=Reflect['decorate'](_0x20e7cb,_0x26dcda,_0x125a7a,_0x396aeb);else{for(var _0x4ca3be=_0x20e7cb['length']-0x1;_0x4ca3be>=0x0;_0x4ca3be--)if(_0x16e8d1=_0x20e7cb[_0x4ca3be])_0x241d50=(_0x15f055<0x3?_0x16e8d1(_0x241d50):_0x15f055>0x3?_0x16e8d1(_0x26dcda,_0x125a7a,_0x241d50):_0x16e8d1(_0x26dcda,_0x125a7a))||_0x241d50;}return _0x15f055>0x3&&_0x241d50&&Object[_0x3cca34(0xee)](_0x26dcda,_0x125a7a,_0x241d50),_0x241d50;},__metadata=this&&this[a4_0x478f7e(0xf8)]||function(_0x56ac56,_0x6eeee1){const _0x3f1747=a4_0x478f7e;if(typeof Reflect===_0x3f1747(0xfc)&&typeof Reflect[_0x3f1747(0x112)]==='function')return Reflect[_0x3f1747(0x112)](_0x56ac56,_0x6eeee1);};Object[a4_0x478f7e(0xee)](exports,a4_0x478f7e(0xfd),{'value':!![]}),exports[a4_0x478f7e(0x100)]=void 0x0;function a4_0x1e89(){const _0x7a3185=['3ffOicn','listevent_throttle','MetadataManager','__metadata','length','once','toString','object','__esModule','(((.+)+)+)+$','default','EventService','@midwayjs/core','off','sortByDesc','getAsync','530816YkzbzB','prototype','getListevent','collect.js','search','147063dhPSvx','resolve','event','now','DecoratorManager','function','../interface','16dKrKwe','metadata','all','listevent','stringify','getOwnPropertyDescriptor','606132YhaYrj','name','Scope','constructor','getApplicationContext','ScopeEnum','design:type','3449040BdnRqZ','throttle','67607NzaTdD','app','propertyKey','Provide','__decorate','defineProperty','605656fLZpUE','init','102AcvhvL','priority','79095QkTnKV','EVENT_KEY'];a4_0x1e89=function(){return _0x7a3185;};return a4_0x1e89();}const collect_js_1=require(a4_0x478f7e(0x108)),core_1=require(a4_0x478f7e(0x101)),core_2=require(a4_0x478f7e(0x101)),interface_1=require(a4_0x478f7e(0x110));let EventService=class EventService{constructor(){this['init']=![];}async[a4_0x478f7e(0x107)](_0x58e283){const _0x3d5bff=a4_0x478f7e;if(!this['init']){this[_0x3d5bff(0xf0)]=!![],this['listevent']={},this[_0x3d5bff(0xf6)]={};for(const _0x190935 of core_2[_0x3d5bff(0x10e)]['listModule'](interface_1[_0x3d5bff(0xf4)])||[]){const _0x5b0fa7=await this[_0x3d5bff(0xea)][_0x3d5bff(0xe4)]()[_0x3d5bff(0x104)](_0x190935);for(const _0x2a2ac5 of core_2[_0x3d5bff(0xf7)]['getOwnMetadata'](interface_1['EVENT_ON_KEY'],_0x190935)||[]){typeof(_0x5b0fa7[_0x2a2ac5[_0x3d5bff(0xeb)]]==_0x3d5bff(0x10f))&&(!this[_0x3d5bff(0x114)][_0x2a2ac5['name']]&&(this[_0x3d5bff(0x114)][_0x2a2ac5['name']]=[]),this[_0x3d5bff(0x114)][_0x2a2ac5[_0x3d5bff(0xe1)]]['push']({'priority':(_0x2a2ac5===null||_0x2a2ac5===void 0x0?void 0x0:_0x2a2ac5[_0x3d5bff(0xf2)])||0x0,'throttle':(_0x2a2ac5===null||_0x2a2ac5===void 0x0?void 0x0:_0x2a2ac5[_0x3d5bff(0xe8)])||0x1f4,'resolve':_0x5b0fa7[_0x2a2ac5['propertyKey']]['bind'](_0x5b0fa7),'propertyKey':_0x190935[_0x3d5bff(0xe1)]+'@'+_0x2a2ac5[_0x3d5bff(0xeb)]}));}}for(const _0x271ca0 in this[_0x3d5bff(0x114)]){this[_0x3d5bff(0x114)][_0x271ca0]=(0x0,collect_js_1[_0x3d5bff(0xff)])(this[_0x3d5bff(0x114)][_0x271ca0])[_0x3d5bff(0x103)](_0x3d5bff(0xf2))[_0x3d5bff(0x113)]();}}return _0x58e283?this['listevent'][_0x58e283]||[]:this[_0x3d5bff(0x114)];}async['emit'](_0x3bacc0,..._0x27e7f2){const _0x4698d3=a4_0x478f7e;var _0x50eb39,_0xd19839,_0x25f52d,_0x42d01d,_0x5f4bfe;const _0x536b22=''+JSON[_0x4698d3(0x115)](_0x27e7f2),_0x16bfa6=Date[_0x4698d3(0x10d)]();await this['getListevent']();for(let _0xece678 in this[_0x4698d3(0xf6)]){this[_0x4698d3(0xf6)][_0xece678]<_0x16bfa6&&delete this['listevent_throttle'][_0xece678];}for(let _0x87053d in(_0x50eb39=this['listevent'])===null||_0x50eb39===void 0x0?void 0x0:_0x50eb39[_0x3bacc0]){if(((_0xd19839=this[_0x4698d3(0x114)][_0x3bacc0])===null||_0xd19839===void 0x0?void 0x0:_0xd19839[_0x87053d])&&typeof((_0x42d01d=(_0x25f52d=this[_0x4698d3(0x114)][_0x3bacc0])===null||_0x25f52d===void 0x0?void 0x0:_0x25f52d[_0x87053d])===null||_0x42d01d===void 0x0?void 0x0:_0x42d01d[_0x4698d3(0x10b)])==_0x4698d3(0x10f)){const _0x21de2b=_0x3bacc0+'_'+_0x87053d+'@'+_0x536b22;(this[_0x4698d3(0xf6)][_0x21de2b]||0x0)<_0x16bfa6&&(this[_0x4698d3(0xf6)][_0x21de2b]=_0x16bfa6+(((_0x5f4bfe=this[_0x4698d3(0x114)][_0x3bacc0][_0x87053d])===null||_0x5f4bfe===void 0x0?void 0x0:_0x5f4bfe[_0x4698d3(0xe8)])||0x1f4),await this[_0x4698d3(0x114)][_0x3bacc0][_0x87053d][_0x4698d3(0x10b)](..._0x27e7f2));}}}async[a4_0x478f7e(0xfa)](_0x2bab2b,..._0x368328){const _0x6f2afa=a4_0x478f7e;return await this[_0x6f2afa(0x107)](),await this['emit'](_0x2bab2b,..._0x368328),this['off'](_0x2bab2b);}async[a4_0x478f7e(0x102)](_0x37d242){const _0x4a0ea5=a4_0x478f7e;return await this[_0x4a0ea5(0x107)](),this[_0x4a0ea5(0x114)][_0x37d242]&&delete this['listevent'][_0x37d242],!!this[_0x4a0ea5(0x114)][_0x37d242];}};exports[a4_0x478f7e(0x100)]=EventService,__decorate([(0x0,core_1['MainApp'])(),__metadata(a4_0x478f7e(0xe6),Object)],EventService[a4_0x478f7e(0x106)],a4_0x478f7e(0xea),void 0x0),exports[a4_0x478f7e(0x100)]=EventService=__decorate([(0x0,core_1[a4_0x478f7e(0xec)])(a4_0x478f7e(0x10c)),(0x0,core_1[a4_0x478f7e(0xe2)])(core_1[a4_0x478f7e(0xe5)]['Singleton'])],EventService);
package/package.json CHANGED
@@ -1,27 +1,27 @@
1
- {
2
- "name": "@anveroapi/event",
3
- "version": "4.0.0",
4
- "main": "./dist/index.js",
5
- "license": "MIT",
6
- "files": [
7
- "dist"
8
- ],
9
- "publishConfig": {
10
- "access": "public",
11
- "registry": "https://registry.npmjs.org/"
12
- },
13
- "scripts": {
14
- "build2": "tsc",
15
- "build": "tsc && javascript-obfuscator ./dist --output ./dist --config obfuscator.json"
16
- },
17
- "dependencies": {
18
- "collect.js": "^4.36.1",
19
- "@midwayjs/core": "^4.2.6"
20
- },
21
- "devDependencies": {
22
- "typescript": "~5.9.3",
23
- "@types/node": "20.10.0",
24
- "javascript-obfuscator": "^4.0.2"
25
- },
26
- "gitHead": "f7d4644d5e0591c4b383021edab6db20d1714880"
27
- }
1
+ {
2
+ "name": "@anveroapi/event",
3
+ "version": "4.0.1",
4
+ "main": "./dist/index.js",
5
+ "license": "MIT",
6
+ "files": [
7
+ "dist"
8
+ ],
9
+ "publishConfig": {
10
+ "access": "public",
11
+ "registry": "https://registry.npmjs.org/"
12
+ },
13
+ "dependencies": {
14
+ "collect.js": "^4.36.1",
15
+ "@midwayjs/core": "^4.2.6"
16
+ },
17
+ "devDependencies": {
18
+ "typescript": "~5.9.3",
19
+ "@types/node": "20.10.0",
20
+ "javascript-obfuscator": "^4.0.2"
21
+ },
22
+ "gitHead": "f7d4644d5e0591c4b383021edab6db20d1714880",
23
+ "scripts": {
24
+ "build2": "tsc",
25
+ "build": "tsc && javascript-obfuscator ./dist --output ./dist --config obfuscator.json"
26
+ }
27
+ }