@anveroapi/event 4.3.2 → 4.3.3

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_0x2bd5a7=a0_0x5ead;(function(_0x2ac311,_0x4ced93){var _0x2921c5=a0_0x5ead,_0x279004=_0x2ac311();while(!![]){try{var _0xe8cbf3=parseInt(_0x2921c5(0x138))/0x1*(parseInt(_0x2921c5(0x13e))/0x2)+parseInt(_0x2921c5(0x130))/0x3+-parseInt(_0x2921c5(0x126))/0x4+-parseInt(_0x2921c5(0x146))/0x5*(-parseInt(_0x2921c5(0x13c))/0x6)+parseInt(_0x2921c5(0x127))/0x7+parseInt(_0x2921c5(0x12a))/0x8*(parseInt(_0x2921c5(0x142))/0x9)+parseInt(_0x2921c5(0x136))/0xa*(-parseInt(_0x2921c5(0x144))/0xb);if(_0xe8cbf3===_0x4ced93)break;else _0x279004['push'](_0x279004['shift']());}catch(_0x4acd26){_0x279004['push'](_0x279004['shift']());}}}(a0_0x3c9f,0xc2ce9));var a0_0x559f97=(function(){var _0x1e214d=!![];return function(_0x461d16,_0x15f101){var _0x2c120f=_0x1e214d?function(){var _0x139c90=a0_0x5ead;if(_0x15f101){var _0x4f5d63=_0x15f101[_0x139c90(0x12d)](_0x461d16,arguments);return _0x15f101=null,_0x4f5d63;}}:function(){};return _0x1e214d=![],_0x2c120f;};}()),a0_0x190752=a0_0x559f97(this,function(){var _0x2ff649=a0_0x5ead;return a0_0x190752[_0x2ff649(0x141)]()['search']('(((.+)+)+)+$')[_0x2ff649(0x141)]()[_0x2ff649(0x12b)](a0_0x190752)[_0x2ff649(0x13f)](_0x2ff649(0x125));});a0_0x190752();function a0_0x3c9f(){var _0x123882=['prototype','22026WRHYEP','decorator','14olKdYk','search','CustomConfiguration','toString','150561JdNqko','object','20436306zfrCst','__decorate','305cmEPln','MidwayConfigService','(((.+)+)+)+$','4844768Abjqrk','10416700qUEdyQ','onReady','getOwnPropertyDescriptor','472RrBeeM','constructor','decorate','apply','design:type','defineProperty','2171136QDNThn','__metadata','Inject','@midwayjs/core','function','__esModule','10qALnkD','MidwayDecoratorService','63459gGxCPB','metadata','length'];a0_0x3c9f=function(){return _0x123882;};return a0_0x3c9f();}'use strict';var __decorate=this&&this[a0_0x2bd5a7(0x145)]||function(_0x423936,_0x1d61a4,_0x39a045,_0x4f9b38){var _0x5926de=a0_0x2bd5a7,_0x4d1a7f=arguments['length'],_0xc86367=_0x4d1a7f<0x3?_0x1d61a4:_0x4f9b38===null?_0x4f9b38=Object[_0x5926de(0x129)](_0x1d61a4,_0x39a045):_0x4f9b38,_0x4fc291;if(typeof Reflect===_0x5926de(0x143)&&typeof Reflect[_0x5926de(0x12c)]===_0x5926de(0x134))_0xc86367=Reflect[_0x5926de(0x12c)](_0x423936,_0x1d61a4,_0x39a045,_0x4f9b38);else{for(var _0x495a70=_0x423936[_0x5926de(0x13a)]-0x1;_0x495a70>=0x0;_0x495a70--)if(_0x4fc291=_0x423936[_0x495a70])_0xc86367=(_0x4d1a7f<0x3?_0x4fc291(_0xc86367):_0x4d1a7f>0x3?_0x4fc291(_0x1d61a4,_0x39a045,_0xc86367):_0x4fc291(_0x1d61a4,_0x39a045))||_0xc86367;}return _0x4d1a7f>0x3&&_0xc86367&&Object[_0x5926de(0x12f)](_0x1d61a4,_0x39a045,_0xc86367),_0xc86367;},__metadata=this&&this[a0_0x2bd5a7(0x131)]||function(_0x2dc035,_0x4a2f7e){var _0x180397=a0_0x2bd5a7;if(typeof Reflect===_0x180397(0x143)&&typeof Reflect[_0x180397(0x139)]===_0x180397(0x134))return Reflect['metadata'](_0x2dc035,_0x4a2f7e);};Object[a0_0x2bd5a7(0x12f)](exports,a0_0x2bd5a7(0x135),{'value':!![]}),exports[a0_0x2bd5a7(0x140)]=void 0x0;const core_1=require(a0_0x2bd5a7(0x133)),core_2=require(a0_0x2bd5a7(0x133));function a0_0x5ead(_0x8f9288,_0x4b9de2){_0x8f9288=_0x8f9288-0x125;var _0x54d40d=a0_0x3c9f();var _0x190752=_0x54d40d[_0x8f9288];return _0x190752;}let CustomConfiguration=class CustomConfiguration{async[a0_0x2bd5a7(0x128)](){}};exports[a0_0x2bd5a7(0x140)]=CustomConfiguration,__decorate([(0x0,core_1[a0_0x2bd5a7(0x132)])(),__metadata(a0_0x2bd5a7(0x12e),core_2[a0_0x2bd5a7(0x147)])],CustomConfiguration[a0_0x2bd5a7(0x13b)],'config',void 0x0),__decorate([(0x0,core_1[a0_0x2bd5a7(0x132)])(),__metadata('design:type',core_2[a0_0x2bd5a7(0x137)])],CustomConfiguration['prototype'],a0_0x2bd5a7(0x13d),void 0x0),exports['CustomConfiguration']=CustomConfiguration=__decorate([(0x0,core_1['Configuration'])({'namespace':'anvero-api:event'})],CustomConfiguration);
1
+ var a0_0x45974e=a0_0x3f97;(function(_0x5a9db6,_0x29c3ce){var _0x1d492e=a0_0x3f97,_0x339056=_0x5a9db6();while(!![]){try{var _0x479387=parseInt(_0x1d492e(0x8a))/0x1*(parseInt(_0x1d492e(0x8f))/0x2)+parseInt(_0x1d492e(0x82))/0x3+parseInt(_0x1d492e(0x96))/0x4+parseInt(_0x1d492e(0x7d))/0x5*(-parseInt(_0x1d492e(0x97))/0x6)+parseInt(_0x1d492e(0x9b))/0x7*(parseInt(_0x1d492e(0x85))/0x8)+-parseInt(_0x1d492e(0x7f))/0x9*(parseInt(_0x1d492e(0x99))/0xa)+parseInt(_0x1d492e(0x7e))/0xb;if(_0x479387===_0x29c3ce)break;else _0x339056['push'](_0x339056['shift']());}catch(_0x5abe3c){_0x339056['push'](_0x339056['shift']());}}}(a0_0x1e10,0xc861c));function a0_0x1e10(){var _0x3e441f=['getOwnPropertyDescriptor','(((.+)+)+)+$','defineProperty','decorator','767896zzRFba','6dDUbEg','toString','30bthAmz','__metadata','161CdsZPm','object','5448615VFpJIb','19018593WDiyFn','2808567EQkrKk','metadata','function','842250oZrTIE','__esModule','anvero-api:event','93112QQpCbt','@midwayjs/core','Configuration','config','length','31441VeAXPS','prototype','__decorate','search','MidwayDecoratorService','24lHepUu','CustomConfiguration','design:type'];a0_0x1e10=function(){return _0x3e441f;};return a0_0x1e10();}var a0_0x5e86b9=(function(){var _0x38e1cd=!![];return function(_0x3d7b20,_0x42d790){var _0x47933e=_0x38e1cd?function(){if(_0x42d790){var _0x4cf5d8=_0x42d790['apply'](_0x3d7b20,arguments);return _0x42d790=null,_0x4cf5d8;}}:function(){};return _0x38e1cd=![],_0x47933e;};}()),a0_0x38110f=a0_0x5e86b9(this,function(){var _0x41a408=a0_0x3f97;return a0_0x38110f[_0x41a408(0x98)]()[_0x41a408(0x8d)](_0x41a408(0x93))[_0x41a408(0x98)]()['constructor'](a0_0x38110f)[_0x41a408(0x8d)](_0x41a408(0x93));});a0_0x38110f();function a0_0x3f97(_0x50a2b0,_0xeabb31){_0x50a2b0=_0x50a2b0-0x7c;var _0x3234d3=a0_0x1e10();var _0x38110f=_0x3234d3[_0x50a2b0];return _0x38110f;}'use strict';var __decorate=this&&this[a0_0x45974e(0x8c)]||function(_0x4f0eea,_0x1c60dc,_0x4e97b4,_0xcc888a){var _0x30d8fa=a0_0x45974e,_0x36ddab=arguments[_0x30d8fa(0x89)],_0x41f037=_0x36ddab<0x3?_0x1c60dc:_0xcc888a===null?_0xcc888a=Object[_0x30d8fa(0x92)](_0x1c60dc,_0x4e97b4):_0xcc888a,_0x568298;if(typeof Reflect===_0x30d8fa(0x7c)&&typeof Reflect['decorate']===_0x30d8fa(0x81))_0x41f037=Reflect['decorate'](_0x4f0eea,_0x1c60dc,_0x4e97b4,_0xcc888a);else{for(var _0x2867b1=_0x4f0eea[_0x30d8fa(0x89)]-0x1;_0x2867b1>=0x0;_0x2867b1--)if(_0x568298=_0x4f0eea[_0x2867b1])_0x41f037=(_0x36ddab<0x3?_0x568298(_0x41f037):_0x36ddab>0x3?_0x568298(_0x1c60dc,_0x4e97b4,_0x41f037):_0x568298(_0x1c60dc,_0x4e97b4))||_0x41f037;}return _0x36ddab>0x3&&_0x41f037&&Object[_0x30d8fa(0x94)](_0x1c60dc,_0x4e97b4,_0x41f037),_0x41f037;},__metadata=this&&this[a0_0x45974e(0x9a)]||function(_0x39da9f,_0x4fc027){var _0x189553=a0_0x45974e;if(typeof Reflect==='object'&&typeof Reflect[_0x189553(0x80)]==='function')return Reflect['metadata'](_0x39da9f,_0x4fc027);};Object[a0_0x45974e(0x94)](exports,a0_0x45974e(0x83),{'value':!![]}),exports[a0_0x45974e(0x90)]=void 0x0;const core_1=require(a0_0x45974e(0x86)),core_2=require('@midwayjs/core');let CustomConfiguration=class CustomConfiguration{async['onReady'](){}};exports[a0_0x45974e(0x90)]=CustomConfiguration,__decorate([(0x0,core_1['Inject'])(),__metadata('design:type',core_2['MidwayConfigService'])],CustomConfiguration[a0_0x45974e(0x8b)],a0_0x45974e(0x88),void 0x0),__decorate([(0x0,core_1['Inject'])(),__metadata(a0_0x45974e(0x91),core_2[a0_0x45974e(0x8e)])],CustomConfiguration['prototype'],a0_0x45974e(0x95),void 0x0),exports[a0_0x45974e(0x90)]=CustomConfiguration=__decorate([(0x0,core_1[a0_0x45974e(0x87)])({'namespace':a0_0x45974e(0x84)})],CustomConfiguration);
@@ -1 +1 @@
1
- const a1_0x22eeab=a1_0x32b4;(function(_0x378fe0,_0x4152a9){const _0x46921d=a1_0x32b4,_0x335f0c=_0x378fe0();while(!![]){try{const _0x39e0b3=parseInt(_0x46921d(0x1bd))/0x1*(parseInt(_0x46921d(0x1cc))/0x2)+-parseInt(_0x46921d(0x1bf))/0x3*(-parseInt(_0x46921d(0x1d1))/0x4)+parseInt(_0x46921d(0x1bb))/0x5*(-parseInt(_0x46921d(0x1c1))/0x6)+-parseInt(_0x46921d(0x1be))/0x7+-parseInt(_0x46921d(0x1c2))/0x8*(parseInt(_0x46921d(0x1c0))/0x9)+parseInt(_0x46921d(0x1c4))/0xa*(-parseInt(_0x46921d(0x1c6))/0xb)+parseInt(_0x46921d(0x1cf))/0xc*(parseInt(_0x46921d(0x1c9))/0xd);if(_0x39e0b3===_0x4152a9)break;else _0x335f0c['push'](_0x335f0c['shift']());}catch(_0x227e53){_0x335f0c['push'](_0x335f0c['shift']());}}}(a1_0x5c5e,0x846db));const a1_0x3f6903=(function(){let _0x5d78e2=!![];return function(_0x58288d,_0x295d5c){const _0x19bf30=_0x5d78e2?function(){const _0x41a22e=a1_0x32b4;if(_0x295d5c){const _0x10cff2=_0x295d5c[_0x41a22e(0x1c3)](_0x58288d,arguments);return _0x295d5c=null,_0x10cff2;}}:function(){};return _0x5d78e2=![],_0x19bf30;};}()),a1_0x511dad=a1_0x3f6903(this,function(){const _0x2025c6=a1_0x32b4;return a1_0x511dad[_0x2025c6(0x1c5)]()['search'](_0x2025c6(0x1ce))[_0x2025c6(0x1c5)]()[_0x2025c6(0x1ba)](a1_0x511dad)[_0x2025c6(0x1d4)](_0x2025c6(0x1ce));});a1_0x511dad();'use strict';Object[a1_0x22eeab(0x1b6)](exports,a1_0x22eeab(0x1ca),{'value':!![]}),exports[a1_0x22eeab(0x1b8)]=Event;function a1_0x32b4(_0x224f07,_0x18e011){_0x224f07=_0x224f07-0x1b6;const _0x4e2740=a1_0x5c5e();let _0x511dad=_0x4e2740[_0x224f07];return _0x511dad;}function a1_0x5c5e(){const _0x5d532e=['search','defineProperty','MetadataManager','Event','saveModule','constructor','5eRIgBi','EVENT_KEY','1sKzgIQ','3695454TVCRuh','42gvNHFK','9bPduVG','4251468GPbPcg','8165824HGrtfi','apply','1011090LklGqs','toString','33rBeDbB','Provide','@midwayjs/core','19075589zyvVPN','__esModule','../interface','1960270nPeQdf','Scope','(((.+)+)+)+$','12ZJkobP','Request','187284EBgxCS','ScopeEnum','DecoratorManager'];a1_0x5c5e=function(){return _0x5d532e;};return a1_0x5c5e();}const core_1=require(a1_0x22eeab(0x1c8)),core_2=require(a1_0x22eeab(0x1c8)),interface_1=require(a1_0x22eeab(0x1cb));function Event(){return _0x2a05df=>{const _0x1c6ed9=a1_0x32b4;(0x0,core_1[_0x1c6ed9(0x1c7)])()(_0x2a05df),core_2[_0x1c6ed9(0x1d3)][_0x1c6ed9(0x1b9)](interface_1[_0x1c6ed9(0x1bc)],_0x2a05df),(0x0,core_1[_0x1c6ed9(0x1cd)])(core_1[_0x1c6ed9(0x1d2)][_0x1c6ed9(0x1d0)],{'allowDowngrade':!![]})(_0x2a05df);};}Event['On']=function(_0x4c5e0d,_0x5e1631=0x0,_0x20e20c=0x1f4){return(_0x323caf,_0x23c29b,_0x145d6c)=>{const _0x48e4ed=a1_0x32b4;return core_2[_0x48e4ed(0x1b7)]['attachMetadata'](interface_1['EVENT_ON_KEY'],{'name':_0x4c5e0d,'priority':_0x5e1631,'propertyKey':_0x23c29b,'descriptor':_0x145d6c,'throttle':_0x20e20c},_0x323caf),_0x145d6c;};};
1
+ const a1_0xf6a746=a1_0x16ab;(function(_0x811ab8,_0x5d4c18){const _0x4c1d61=a1_0x16ab,_0xdd5e46=_0x811ab8();while(!![]){try{const _0x3a3747=-parseInt(_0x4c1d61(0x7e))/0x1*(-parseInt(_0x4c1d61(0x8f))/0x2)+-parseInt(_0x4c1d61(0x85))/0x3+parseInt(_0x4c1d61(0x7f))/0x4*(parseInt(_0x4c1d61(0x83))/0x5)+-parseInt(_0x4c1d61(0x77))/0x6+-parseInt(_0x4c1d61(0x84))/0x7+-parseInt(_0x4c1d61(0x87))/0x8+parseInt(_0x4c1d61(0x8d))/0x9;if(_0x3a3747===_0x5d4c18)break;else _0xdd5e46['push'](_0xdd5e46['shift']());}catch(_0x70e213){_0xdd5e46['push'](_0xdd5e46['shift']());}}}(a1_0xb7ff,0x1bf2f));const a1_0x308a30=(function(){let _0x5ee500=!![];return function(_0x4b91cc,_0x138aaa){const _0x457dc5=_0x5ee500?function(){const _0x56ae2d=a1_0x16ab;if(_0x138aaa){const _0x4fd328=_0x138aaa[_0x56ae2d(0x81)](_0x4b91cc,arguments);return _0x138aaa=null,_0x4fd328;}}:function(){};return _0x5ee500=![],_0x457dc5;};}()),a1_0x2f70d4=a1_0x308a30(this,function(){const _0x1eb7ca=a1_0x16ab;return a1_0x2f70d4[_0x1eb7ca(0x76)]()['search'](_0x1eb7ca(0x8b))[_0x1eb7ca(0x76)]()[_0x1eb7ca(0x90)](a1_0x2f70d4)[_0x1eb7ca(0x78)](_0x1eb7ca(0x8b));});a1_0x2f70d4();'use strict';function a1_0x16ab(_0x2c8dd5,_0xbca0d4){_0x2c8dd5=_0x2c8dd5-0x75;const _0x2b5db9=a1_0xb7ff();let _0x2f70d4=_0x2b5db9[_0x2c8dd5];return _0x2f70d4;}Object[a1_0xf6a746(0x7a)](exports,a1_0xf6a746(0x8e),{'value':!![]}),exports[a1_0xf6a746(0x8a)]=Event;const core_1=require(a1_0xf6a746(0x7c)),core_2=require(a1_0xf6a746(0x7c)),interface_1=require(a1_0xf6a746(0x7b));function Event(){return _0x4a7c08=>{const _0x29be60=a1_0x16ab;(0x0,core_1[_0x29be60(0x88)])()(_0x4a7c08),core_2[_0x29be60(0x8c)][_0x29be60(0x7d)](interface_1[_0x29be60(0x89)],_0x4a7c08),(0x0,core_1[_0x29be60(0x75)])(core_1['ScopeEnum'][_0x29be60(0x80)],{'allowDowngrade':!![]})(_0x4a7c08);};}Event['On']=function(_0x305f25,_0x276d13=0x0,_0x56ebc0=0x1f4){return(_0x3d61d0,_0x2ac65e,_0xbb55f1)=>{const _0x30bddc=a1_0x16ab;return core_2[_0x30bddc(0x86)][_0x30bddc(0x79)](interface_1[_0x30bddc(0x82)],{'name':_0x305f25,'priority':_0x276d13,'propertyKey':_0x2ac65e,'descriptor':_0xbb55f1,'throttle':_0x56ebc0},_0x3d61d0),_0xbb55f1;};};function a1_0xb7ff(){const _0x5ab466=['MetadataManager','423200cKbsEG','Provide','EVENT_KEY','Event','(((.+)+)+)+$','DecoratorManager','3088584sbvhcq','__esModule','24DhNdZs','constructor','Scope','toString','430068WtOVSo','search','attachMetadata','defineProperty','../interface','@midwayjs/core','saveModule','2093WNsLHw','80bhSLPf','Request','apply','EVENT_ON_KEY','26805xQDyFP','522473SpsmZS','485448OiEreM'];a1_0xb7ff=function(){return _0x5ab466;};return a1_0xb7ff();}
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- var a2_0x1d8402=a2_0x1470;function a2_0x5014(){var _0x1d041c=['EventService','search','Event','CustomConfiguration','apply','toString','defineProperty','2530416XXalQl','./service/EventService','5886072RPFVxl','26454tEHbUK','136130PMSCAf','548348QecHnL','(((.+)+)+)+$','Configuration','2385kChbUq','78eqgITh','6qfNISg','3893890YNHKSk','./configuration','2259292vWucZw','./decorator/Event'];a2_0x5014=function(){return _0x1d041c;};return a2_0x5014();}(function(_0x54fade,_0x52dd72){var _0x37da29=a2_0x1470,_0x89bc31=_0x54fade();while(!![]){try{var _0x4d4428=-parseInt(_0x37da29(0x134))/0x1*(parseInt(_0x37da29(0x124))/0x2)+parseInt(_0x37da29(0x125))/0x3*(parseInt(_0x37da29(0x136))/0x4)+-parseInt(_0x37da29(0x126))/0x5+-parseInt(_0x37da29(0x131))/0x6+-parseInt(_0x37da29(0x128))/0x7+-parseInt(_0x37da29(0x133))/0x8+parseInt(_0x37da29(0x123))/0x9*(parseInt(_0x37da29(0x135))/0xa);if(_0x4d4428===_0x52dd72)break;else _0x89bc31['push'](_0x89bc31['shift']());}catch(_0x4f38d4){_0x89bc31['push'](_0x89bc31['shift']());}}}(a2_0x5014,0x90424));var a2_0x397457=(function(){var _0xcff4c1=!![];return function(_0x507bf4,_0x329aa6){var _0x17f6cf=_0xcff4c1?function(){var _0x1f3eac=a2_0x1470;if(_0x329aa6){var _0x520380=_0x329aa6[_0x1f3eac(0x12e)](_0x507bf4,arguments);return _0x329aa6=null,_0x520380;}}:function(){};return _0xcff4c1=![],_0x17f6cf;};}()),a2_0x5d8a26=a2_0x397457(this,function(){var _0x23a00e=a2_0x1470;return a2_0x5d8a26[_0x23a00e(0x12f)]()[_0x23a00e(0x12b)](_0x23a00e(0x137))['toString']()['constructor'](a2_0x5d8a26)[_0x23a00e(0x12b)](_0x23a00e(0x137));});a2_0x5d8a26();'use strict';Object[a2_0x1d8402(0x130)](exports,'__esModule',{'value':!![]}),exports[a2_0x1d8402(0x138)]=exports['EventService']=exports[a2_0x1d8402(0x12c)]=void 0x0;var Event_1=require(a2_0x1d8402(0x129));Object[a2_0x1d8402(0x130)](exports,a2_0x1d8402(0x12c),{'enumerable':!![],'get':function(){var _0x552264=a2_0x1d8402;return Event_1[_0x552264(0x12c)];}});var EventService_1=require(a2_0x1d8402(0x132));Object[a2_0x1d8402(0x130)](exports,a2_0x1d8402(0x12a),{'enumerable':!![],'get':function(){var _0xa3a601=a2_0x1d8402;return EventService_1[_0xa3a601(0x12a)];}});function a2_0x1470(_0x46ad7f,_0x95909e){_0x46ad7f=_0x46ad7f-0x123;var _0x529d20=a2_0x5014();var _0x5d8a26=_0x529d20[_0x46ad7f];return _0x5d8a26;}var configuration_1=require(a2_0x1d8402(0x127));Object[a2_0x1d8402(0x130)](exports,a2_0x1d8402(0x138),{'enumerable':!![],'get':function(){var _0x2aafcb=a2_0x1d8402;return configuration_1[_0x2aafcb(0x12d)];}});
1
+ var a2_0x4e19ab=a2_0x5396;(function(_0x5c8073,_0x29cb47){var _0x172115=a2_0x5396,_0x51445d=_0x5c8073();while(!![]){try{var _0x4b4a7c=-parseInt(_0x172115(0x124))/0x1*(-parseInt(_0x172115(0x114))/0x2)+parseInt(_0x172115(0x123))/0x3+-parseInt(_0x172115(0x126))/0x4+-parseInt(_0x172115(0x118))/0x5*(parseInt(_0x172115(0x120))/0x6)+parseInt(_0x172115(0x128))/0x7+-parseInt(_0x172115(0x11c))/0x8*(-parseInt(_0x172115(0x11e))/0x9)+-parseInt(_0x172115(0x117))/0xa;if(_0x4b4a7c===_0x29cb47)break;else _0x51445d['push'](_0x51445d['shift']());}catch(_0x9f49a1){_0x51445d['push'](_0x51445d['shift']());}}}(a2_0x1077,0x36769));var a2_0x6f5a73=(function(){var _0x5f4f53=!![];return function(_0x45ddad,_0x346dc3){var _0x53965a=_0x5f4f53?function(){var _0x16b855=a2_0x5396;if(_0x346dc3){var _0x1c2c4e=_0x346dc3[_0x16b855(0x119)](_0x45ddad,arguments);return _0x346dc3=null,_0x1c2c4e;}}:function(){};return _0x5f4f53=![],_0x53965a;};}()),a2_0x30c1e8=a2_0x6f5a73(this,function(){var _0x39159e=a2_0x5396;return a2_0x30c1e8[_0x39159e(0x115)]()[_0x39159e(0x121)](_0x39159e(0x11a))[_0x39159e(0x115)]()[_0x39159e(0x112)](a2_0x30c1e8)[_0x39159e(0x121)](_0x39159e(0x11a));});function a2_0x1077(){var _0xc86f51=['./decorator/Event','724428raVBIn','__esModule','19122GXiKfJ','search','EventService','938982wfJSog','250831UjEjZt','Configuration','684984pfUQYB','CustomConfiguration','848862zxpKcX','constructor','Event','2ZYBVWl','toString','defineProperty','5107480ZlYIiO','160NVepNj','apply','(((.+)+)+)+$','./service/EventService','32pcHUXY'];a2_0x1077=function(){return _0xc86f51;};return a2_0x1077();}a2_0x30c1e8();'use strict';Object[a2_0x4e19ab(0x116)](exports,a2_0x4e19ab(0x11f),{'value':!![]}),exports[a2_0x4e19ab(0x125)]=exports['EventService']=exports[a2_0x4e19ab(0x113)]=void 0x0;var Event_1=require(a2_0x4e19ab(0x11d));Object[a2_0x4e19ab(0x116)](exports,a2_0x4e19ab(0x113),{'enumerable':!![],'get':function(){var _0x4dbec8=a2_0x4e19ab;return Event_1[_0x4dbec8(0x113)];}});var EventService_1=require(a2_0x4e19ab(0x11b));Object['defineProperty'](exports,a2_0x4e19ab(0x122),{'enumerable':!![],'get':function(){var _0x310d7a=a2_0x4e19ab;return EventService_1[_0x310d7a(0x122)];}});function a2_0x5396(_0x54c407,_0x46fcb7){_0x54c407=_0x54c407-0x112;var _0x2186fb=a2_0x1077();var _0x30c1e8=_0x2186fb[_0x54c407];return _0x30c1e8;}var configuration_1=require('./configuration');Object[a2_0x4e19ab(0x116)](exports,'Configuration',{'enumerable':!![],'get':function(){var _0x41de0a=a2_0x4e19ab;return configuration_1[_0x41de0a(0x127)];}});
package/dist/interface.js CHANGED
@@ -1 +1 @@
1
- var a3_0x428cc9=a3_0x22e0;function a3_0x2ded(){var _0x211278=['2014191cCxjUC','428148UYbrcS','__esModule','1392260MmRiTR','34kRJAXb','EVENT_ON_KEY','62513PELUIC','21fKCfZR','apply','(((.+)+)+)+$','constructor','anvero-api:event','toString','219771cPtrJE','search','12BhOBbG','10634MfCTgG','1790LZdYlt','defineProperty','261688opCuir','EVENT_KEY'];a3_0x2ded=function(){return _0x211278;};return a3_0x2ded();}(function(_0x4b5b1c,_0x11a06c){var _0x57cd4c=a3_0x22e0,_0x42416d=_0x4b5b1c();while(!![]){try{var _0x4500f7=parseInt(_0x57cd4c(0x16a))/0x1*(-parseInt(_0x57cd4c(0x173))/0x2)+-parseInt(_0x57cd4c(0x167))/0x3*(parseInt(_0x57cd4c(0x169))/0x4)+-parseInt(_0x57cd4c(0x172))/0x5+-parseInt(_0x57cd4c(0x170))/0x6+parseInt(_0x57cd4c(0x161))/0x7*(parseInt(_0x57cd4c(0x16d))/0x8)+-parseInt(_0x57cd4c(0x16f))/0x9+parseInt(_0x57cd4c(0x16b))/0xa*(parseInt(_0x57cd4c(0x175))/0xb);if(_0x4500f7===_0x11a06c)break;else _0x42416d['push'](_0x42416d['shift']());}catch(_0x3ca1a1){_0x42416d['push'](_0x42416d['shift']());}}}(a3_0x2ded,0x227b0));var a3_0x3f1ab7=(function(){var _0x67ec62=!![];return function(_0x3a6e29,_0x23753b){var _0x5d5711=_0x67ec62?function(){var _0x5128a3=a3_0x22e0;if(_0x23753b){var _0xce7fc2=_0x23753b[_0x5128a3(0x162)](_0x3a6e29,arguments);return _0x23753b=null,_0xce7fc2;}}:function(){};return _0x67ec62=![],_0x5d5711;};}()),a3_0x2908e6=a3_0x3f1ab7(this,function(){var _0x103301=a3_0x22e0;return a3_0x2908e6[_0x103301(0x166)]()[_0x103301(0x168)](_0x103301(0x163))[_0x103301(0x166)]()[_0x103301(0x164)](a3_0x2908e6)['search'](_0x103301(0x163));});function a3_0x22e0(_0x3853a7,_0x5f2441){_0x3853a7=_0x3853a7-0x161;var _0x150fa8=a3_0x2ded();var _0x2908e6=_0x150fa8[_0x3853a7];return _0x2908e6;}a3_0x2908e6();'use strict';Object[a3_0x428cc9(0x16c)](exports,a3_0x428cc9(0x171),{'value':!![]}),exports['EVENT_ON_KEY']=exports[a3_0x428cc9(0x16e)]=void 0x0,exports[a3_0x428cc9(0x16e)]=a3_0x428cc9(0x165),exports[a3_0x428cc9(0x174)]='anvero-api:event:on';
1
+ function a3_0x19e4(){var _0x33a40f=['1002295wAkBgv','12lztsOb','EVENT_ON_KEY','apply','2142536etlKPo','1050723YvkJVT','EVENT_KEY','16tTaUJi','search','(((.+)+)+)+$','2099948dfMmNR','15187617okBiIA','defineProperty','1008987zfaSwN','anvero-api:event','anvero-api:event:on','2127870AuMrGW','toString'];a3_0x19e4=function(){return _0x33a40f;};return a3_0x19e4();}var a3_0x55b0bf=a3_0x4894;(function(_0x1e294c,_0x31721f){var _0x2a9a0d=a3_0x4894,_0x4aaaa7=_0x1e294c();while(!![]){try{var _0x24c34a=-parseInt(_0x2a9a0d(0x8d))/0x1+-parseInt(_0x2a9a0d(0x80))/0x2+-parseInt(_0x2a9a0d(0x86))/0x3+parseInt(_0x2a9a0d(0x8c))/0x4+-parseInt(_0x2a9a0d(0x88))/0x5*(parseInt(_0x2a9a0d(0x89))/0x6)+-parseInt(_0x2a9a0d(0x83))/0x7+-parseInt(_0x2a9a0d(0x8f))/0x8*(-parseInt(_0x2a9a0d(0x81))/0x9);if(_0x24c34a===_0x31721f)break;else _0x4aaaa7['push'](_0x4aaaa7['shift']());}catch(_0x46b93f){_0x4aaaa7['push'](_0x4aaaa7['shift']());}}}(a3_0x19e4,0x87a5e));var a3_0x1f0aa0=(function(){var _0x3a7774=!![];return function(_0x32ca72,_0x33ffc7){var _0x64331e=_0x3a7774?function(){var _0x4d3018=a3_0x4894;if(_0x33ffc7){var _0x24c5e0=_0x33ffc7[_0x4d3018(0x8b)](_0x32ca72,arguments);return _0x33ffc7=null,_0x24c5e0;}}:function(){};return _0x3a7774=![],_0x64331e;};}()),a3_0x2c2d33=a3_0x1f0aa0(this,function(){var _0x32416d=a3_0x4894;return a3_0x2c2d33[_0x32416d(0x87)]()[_0x32416d(0x90)]('(((.+)+)+)+$')['toString']()['constructor'](a3_0x2c2d33)[_0x32416d(0x90)](_0x32416d(0x7f));});function a3_0x4894(_0x42f655,_0x3d84d3){_0x42f655=_0x42f655-0x7f;var _0x2ae4f8=a3_0x19e4();var _0x2c2d33=_0x2ae4f8[_0x42f655];return _0x2c2d33;}a3_0x2c2d33();'use strict';Object[a3_0x55b0bf(0x82)](exports,'__esModule',{'value':!![]}),exports['EVENT_ON_KEY']=exports[a3_0x55b0bf(0x8e)]=void 0x0,exports['EVENT_KEY']=a3_0x55b0bf(0x84),exports[a3_0x55b0bf(0x8a)]=a3_0x55b0bf(0x85);
@@ -1 +1 @@
1
- const a4_0x3f9134=a4_0x5d9d;function a4_0x1446(){const _0xf4da70=['../interface','getApplicationContext','552632NMMzQQ','design:type','decorate','search','EventService','name','56352VOHrlC','length','EVENT_KEY','all','(((.+)+)+)+$','20mgqooe','MainApp','ScopeEnum','init','listevent_throttle','propertyKey','getListevent','metadata','toString','apply','Provide','function','bind','listevent','emit','MetadataManager','__esModule','now','21fLBTVx','getAsync','collect.js','290arvtZF','stringify','sortByDesc','2026nNgNwj','push','4969872XZJFvV','4641ATcZce','1585531wvbySD','listModule','throttle','resolve','22968ORfHpX','__decorate','priority','9263628mujnRb','DecoratorManager','5844kIzOcQ','prototype','once','@midwayjs/core','default','Singleton','off','__metadata','app'];a4_0x1446=function(){return _0xf4da70;};return a4_0x1446();}(function(_0x53551b,_0x16b5e6){const _0x3dda96=a4_0x5d9d,_0x2a8656=_0x53551b();while(!![]){try{const _0x4749d3=-parseInt(_0x3dda96(0xb1))/0x1+-parseInt(_0x3dda96(0xad))/0x2*(-parseInt(_0x3dda96(0xb0))/0x3)+-parseInt(_0x3dda96(0xcb))/0x4*(parseInt(_0x3dda96(0xaa))/0x5)+parseInt(_0x3dda96(0xb8))/0x6+parseInt(_0x3dda96(0xa7))/0x7*(parseInt(_0x3dda96(0xc5))/0x8)+-parseInt(_0x3dda96(0xaf))/0x9*(parseInt(_0x3dda96(0xd0))/0xa)+-parseInt(_0x3dda96(0xb5))/0xb*(-parseInt(_0x3dda96(0xba))/0xc);if(_0x4749d3===_0x16b5e6)break;else _0x2a8656['push'](_0x2a8656['shift']());}catch(_0x137057){_0x2a8656['push'](_0x2a8656['shift']());}}}(a4_0x1446,0xca2bb));const a4_0x1e4144=(function(){let _0x35ccc9=!![];return function(_0x3a433b,_0x3ead3b){const _0x30624f=_0x35ccc9?function(){const _0x47a2cc=a4_0x5d9d;if(_0x3ead3b){const _0x22b510=_0x3ead3b[_0x47a2cc(0xd9)](_0x3a433b,arguments);return _0x3ead3b=null,_0x22b510;}}:function(){};return _0x35ccc9=![],_0x30624f;};}()),a4_0xc84de4=a4_0x1e4144(this,function(){const _0xd38ad4=a4_0x5d9d;return a4_0xc84de4['toString']()[_0xd38ad4(0xc8)]('(((.+)+)+)+$')[_0xd38ad4(0xd8)]()['constructor'](a4_0xc84de4)[_0xd38ad4(0xc8)](_0xd38ad4(0xcf));});a4_0xc84de4();'use strict';var __decorate=this&&this[a4_0x3f9134(0xb6)]||function(_0x3b7f0b,_0x367b4c,_0x3d8b85,_0x342b36){const _0x3c80ae=a4_0x3f9134;var _0x2b150b=arguments[_0x3c80ae(0xcc)],_0x3e340e=_0x2b150b<0x3?_0x367b4c:_0x342b36===null?_0x342b36=Object['getOwnPropertyDescriptor'](_0x367b4c,_0x3d8b85):_0x342b36,_0x108ef8;if(typeof Reflect==='object'&&typeof Reflect[_0x3c80ae(0xc7)]===_0x3c80ae(0xdb))_0x3e340e=Reflect[_0x3c80ae(0xc7)](_0x3b7f0b,_0x367b4c,_0x3d8b85,_0x342b36);else{for(var _0x19dbc4=_0x3b7f0b['length']-0x1;_0x19dbc4>=0x0;_0x19dbc4--)if(_0x108ef8=_0x3b7f0b[_0x19dbc4])_0x3e340e=(_0x2b150b<0x3?_0x108ef8(_0x3e340e):_0x2b150b>0x3?_0x108ef8(_0x367b4c,_0x3d8b85,_0x3e340e):_0x108ef8(_0x367b4c,_0x3d8b85))||_0x3e340e;}return _0x2b150b>0x3&&_0x3e340e&&Object['defineProperty'](_0x367b4c,_0x3d8b85,_0x3e340e),_0x3e340e;},__metadata=this&&this[a4_0x3f9134(0xc1)]||function(_0x3a51b4,_0x2f2053){const _0x2f6b95=a4_0x3f9134;if(typeof Reflect==='object'&&typeof Reflect[_0x2f6b95(0xd7)]===_0x2f6b95(0xdb))return Reflect['metadata'](_0x3a51b4,_0x2f2053);};Object['defineProperty'](exports,a4_0x3f9134(0xa5),{'value':!![]}),exports[a4_0x3f9134(0xc9)]=void 0x0;function a4_0x5d9d(_0x2aa025,_0x28224e){_0x2aa025=_0x2aa025-0xa3;const _0x56bc5d=a4_0x1446();let _0xc84de4=_0x56bc5d[_0x2aa025];return _0xc84de4;}const collect_js_1=require(a4_0x3f9134(0xa9)),core_1=require(a4_0x3f9134(0xbd)),core_2=require('@midwayjs/core'),interface_1=require(a4_0x3f9134(0xc3));let EventService=class EventService{constructor(){this['init']=![];}async['getListevent'](_0x1f67f5){const _0x1f9903=a4_0x3f9134;if(!this[_0x1f9903(0xd3)]){this[_0x1f9903(0xd3)]=!![],this[_0x1f9903(0xdd)]={},this[_0x1f9903(0xd4)]={};for(const _0x37e895 of core_2[_0x1f9903(0xb9)][_0x1f9903(0xb2)](interface_1[_0x1f9903(0xcd)])||[]){const _0x3a2365=await this[_0x1f9903(0xc2)][_0x1f9903(0xc4)]()[_0x1f9903(0xa8)](_0x37e895);for(const _0x595839 of core_2[_0x1f9903(0xa4)]['getOwnMetadata'](interface_1['EVENT_ON_KEY'],_0x37e895)||[]){typeof(_0x3a2365[_0x595839[_0x1f9903(0xd5)]]==_0x1f9903(0xdb))&&(!this[_0x1f9903(0xdd)][_0x595839[_0x1f9903(0xca)]]&&(this[_0x1f9903(0xdd)][_0x595839[_0x1f9903(0xca)]]=[]),this[_0x1f9903(0xdd)][_0x595839['name']][_0x1f9903(0xae)]({'priority':(_0x595839===null||_0x595839===void 0x0?void 0x0:_0x595839[_0x1f9903(0xb7)])||0x0,'throttle':(_0x595839===null||_0x595839===void 0x0?void 0x0:_0x595839[_0x1f9903(0xb3)])||0x1f4,'resolve':_0x3a2365[_0x595839['propertyKey']][_0x1f9903(0xdc)](_0x3a2365),'propertyKey':_0x37e895[_0x1f9903(0xca)]+'@'+_0x595839[_0x1f9903(0xd5)]}));}}for(const _0x3ccc12 in this['listevent']){this[_0x1f9903(0xdd)][_0x3ccc12]=(0x0,collect_js_1[_0x1f9903(0xbe)])(this['listevent'][_0x3ccc12])[_0x1f9903(0xac)](_0x1f9903(0xb7))[_0x1f9903(0xce)]();}}return _0x1f67f5?this[_0x1f9903(0xdd)][_0x1f67f5]||[]:this[_0x1f9903(0xdd)];}async[a4_0x3f9134(0xa3)](_0x1a8c61,..._0x21a496){const _0x2f6cce=a4_0x3f9134;var _0x1bd728,_0x45d91a,_0x11573c,_0x4e0125,_0xc4c7a1;const _0xb49e31=''+JSON[_0x2f6cce(0xab)](_0x21a496),_0x497020=Date[_0x2f6cce(0xa6)]();await this[_0x2f6cce(0xd6)]();for(let _0x7de6f2 in this[_0x2f6cce(0xd4)]){this[_0x2f6cce(0xd4)][_0x7de6f2]<_0x497020&&delete this[_0x2f6cce(0xd4)][_0x7de6f2];}for(let _0x11e470 in(_0x1bd728=this[_0x2f6cce(0xdd)])===null||_0x1bd728===void 0x0?void 0x0:_0x1bd728[_0x1a8c61]){if(((_0x45d91a=this['listevent'][_0x1a8c61])===null||_0x45d91a===void 0x0?void 0x0:_0x45d91a[_0x11e470])&&typeof((_0x4e0125=(_0x11573c=this['listevent'][_0x1a8c61])===null||_0x11573c===void 0x0?void 0x0:_0x11573c[_0x11e470])===null||_0x4e0125===void 0x0?void 0x0:_0x4e0125[_0x2f6cce(0xb4)])=='function'){const _0x4abb47=_0x1a8c61+'_'+_0x11e470+'@'+_0xb49e31;(this[_0x2f6cce(0xd4)][_0x4abb47]||0x0)<_0x497020&&(this[_0x2f6cce(0xd4)][_0x4abb47]=_0x497020+(((_0xc4c7a1=this['listevent'][_0x1a8c61][_0x11e470])===null||_0xc4c7a1===void 0x0?void 0x0:_0xc4c7a1[_0x2f6cce(0xb3)])||0x1f4),await this[_0x2f6cce(0xdd)][_0x1a8c61][_0x11e470][_0x2f6cce(0xb4)](..._0x21a496));}}}async[a4_0x3f9134(0xbc)](_0x209240,..._0x4d3296){const _0x578c58=a4_0x3f9134;return await this[_0x578c58(0xd6)](),await this['emit'](_0x209240,..._0x4d3296),this[_0x578c58(0xc0)](_0x209240);}async[a4_0x3f9134(0xc0)](_0x3cb888){const _0x468603=a4_0x3f9134;return await this[_0x468603(0xd6)](),this[_0x468603(0xdd)][_0x3cb888]&&delete this[_0x468603(0xdd)][_0x3cb888],!!this[_0x468603(0xdd)][_0x3cb888];}};exports[a4_0x3f9134(0xc9)]=EventService,__decorate([(0x0,core_1[a4_0x3f9134(0xd1)])(),__metadata(a4_0x3f9134(0xc6),Object)],EventService[a4_0x3f9134(0xbb)],a4_0x3f9134(0xc2),void 0x0),exports[a4_0x3f9134(0xc9)]=EventService=__decorate([(0x0,core_1[a4_0x3f9134(0xda)])('event'),(0x0,core_1['Scope'])(core_1[a4_0x3f9134(0xd2)][a4_0x3f9134(0xbf)])],EventService);
1
+ const a4_0x32d1f2=a4_0x570b;(function(_0x2ff4db,_0x4bbdd8){const _0x1de23f=a4_0x570b,_0x51c905=_0x2ff4db();while(!![]){try{const _0x50ff24=parseInt(_0x1de23f(0xbd))/0x1*(-parseInt(_0x1de23f(0xa4))/0x2)+parseInt(_0x1de23f(0xaa))/0x3+-parseInt(_0x1de23f(0xa1))/0x4+parseInt(_0x1de23f(0xb2))/0x5+-parseInt(_0x1de23f(0xb8))/0x6*(-parseInt(_0x1de23f(0xa5))/0x7)+parseInt(_0x1de23f(0xa8))/0x8+-parseInt(_0x1de23f(0xc0))/0x9;if(_0x50ff24===_0x4bbdd8)break;else _0x51c905['push'](_0x51c905['shift']());}catch(_0xd65782){_0x51c905['push'](_0x51c905['shift']());}}}(a4_0x2ba8,0x88a1d));const a4_0x27727d=(function(){let _0xc30157=!![];return function(_0x42a599,_0x169c4a){const _0xe7dc9d=_0xc30157?function(){const _0x19eeca=a4_0x570b;if(_0x169c4a){const _0x109ad1=_0x169c4a[_0x19eeca(0xa2)](_0x42a599,arguments);return _0x169c4a=null,_0x109ad1;}}:function(){};return _0xc30157=![],_0xe7dc9d;};}()),a4_0x22ceef=a4_0x27727d(this,function(){const _0x4aecde=a4_0x570b;return a4_0x22ceef['toString']()[_0x4aecde(0xc6)](_0x4aecde(0x90))[_0x4aecde(0xb7)]()[_0x4aecde(0xba)](a4_0x22ceef)['search'](_0x4aecde(0x90));});a4_0x22ceef();'use strict';function a4_0x570b(_0x4226cb,_0x3f3b2c){_0x4226cb=_0x4226cb-0x90;const _0x52d8cb=a4_0x2ba8();let _0x22ceef=_0x52d8cb[_0x4226cb];return _0x22ceef;}var __decorate=this&&this[a4_0x32d1f2(0xab)]||function(_0x34799e,_0x382f99,_0x2caa9d,_0x4f05d0){const _0x409456=a4_0x32d1f2;var _0x16f30b=arguments[_0x409456(0xa6)],_0x294b4e=_0x16f30b<0x3?_0x382f99:_0x4f05d0===null?_0x4f05d0=Object[_0x409456(0xbb)](_0x382f99,_0x2caa9d):_0x4f05d0,_0x4920ae;if(typeof Reflect==='object'&&typeof Reflect[_0x409456(0x9a)]===_0x409456(0xb1))_0x294b4e=Reflect['decorate'](_0x34799e,_0x382f99,_0x2caa9d,_0x4f05d0);else{for(var _0x2f8e1b=_0x34799e[_0x409456(0xa6)]-0x1;_0x2f8e1b>=0x0;_0x2f8e1b--)if(_0x4920ae=_0x34799e[_0x2f8e1b])_0x294b4e=(_0x16f30b<0x3?_0x4920ae(_0x294b4e):_0x16f30b>0x3?_0x4920ae(_0x382f99,_0x2caa9d,_0x294b4e):_0x4920ae(_0x382f99,_0x2caa9d))||_0x294b4e;}return _0x16f30b>0x3&&_0x294b4e&&Object[_0x409456(0x9e)](_0x382f99,_0x2caa9d,_0x294b4e),_0x294b4e;},__metadata=this&&this['__metadata']||function(_0x38c6ec,_0xe4153b){const _0x124c18=a4_0x32d1f2;if(typeof Reflect==='object'&&typeof Reflect['metadata']===_0x124c18(0xb1))return Reflect['metadata'](_0x38c6ec,_0xe4153b);};Object[a4_0x32d1f2(0x9e)](exports,a4_0x32d1f2(0x9b),{'value':!![]}),exports['EventService']=void 0x0;const collect_js_1=require(a4_0x32d1f2(0x9f)),core_1=require(a4_0x32d1f2(0xb9)),core_2=require(a4_0x32d1f2(0xb9)),interface_1=require('../interface');let EventService=class EventService{constructor(){const _0x5cfe3a=a4_0x32d1f2;this[_0x5cfe3a(0x94)]=![];}async['getListevent'](_0x2d477b){const _0x1f9814=a4_0x32d1f2;if(!this['init']){this[_0x1f9814(0x94)]=!![],this['listevent']={},this[_0x1f9814(0xbc)]={};for(const _0x3e1a20 of core_2[_0x1f9814(0xbf)][_0x1f9814(0xac)](interface_1['EVENT_KEY'])||[]){const _0x2a136b=await this[_0x1f9814(0x96)][_0x1f9814(0x97)]()[_0x1f9814(0xa0)](_0x3e1a20);for(const _0x1278d5 of core_2['MetadataManager'][_0x1f9814(0x91)](interface_1[_0x1f9814(0xa7)],_0x3e1a20)||[]){typeof(_0x2a136b[_0x1278d5[_0x1f9814(0xa9)]]==_0x1f9814(0xb1))&&(!this[_0x1f9814(0xae)][_0x1278d5[_0x1f9814(0xb4)]]&&(this[_0x1f9814(0xae)][_0x1278d5[_0x1f9814(0xb4)]]=[]),this[_0x1f9814(0xae)][_0x1278d5[_0x1f9814(0xb4)]]['push']({'priority':(_0x1278d5===null||_0x1278d5===void 0x0?void 0x0:_0x1278d5[_0x1f9814(0x98)])||0x0,'throttle':(_0x1278d5===null||_0x1278d5===void 0x0?void 0x0:_0x1278d5[_0x1f9814(0xc1)])||0x1f4,'resolve':_0x2a136b[_0x1278d5[_0x1f9814(0xa9)]][_0x1f9814(0xc3)](_0x2a136b),'propertyKey':_0x3e1a20[_0x1f9814(0xb4)]+'@'+_0x1278d5[_0x1f9814(0xa9)]}));}}for(const _0x16d63c in this[_0x1f9814(0xae)]){this['listevent'][_0x16d63c]=(0x0,collect_js_1[_0x1f9814(0xb3)])(this[_0x1f9814(0xae)][_0x16d63c])[_0x1f9814(0xc4)](_0x1f9814(0x98))[_0x1f9814(0xaf)]();}}return _0x2d477b?this[_0x1f9814(0xae)][_0x2d477b]||[]:this[_0x1f9814(0xae)];}async[a4_0x32d1f2(0xc5)](_0xd1a5d2,..._0x429a44){const _0x17962a=a4_0x32d1f2;var _0x52c9c3,_0x31e209,_0x58aae0,_0x19dd58,_0x5d8606;const _0x489119=''+JSON[_0x17962a(0xa3)](_0x429a44),_0x52a57f=Date[_0x17962a(0xad)]();await this['getListevent']();for(let _0x4ebd1f in this[_0x17962a(0xbc)]){this[_0x17962a(0xbc)][_0x4ebd1f]<_0x52a57f&&delete this['listevent_throttle'][_0x4ebd1f];}for(let _0x173a46 in(_0x52c9c3=this[_0x17962a(0xae)])===null||_0x52c9c3===void 0x0?void 0x0:_0x52c9c3[_0xd1a5d2]){if(((_0x31e209=this[_0x17962a(0xae)][_0xd1a5d2])===null||_0x31e209===void 0x0?void 0x0:_0x31e209[_0x173a46])&&typeof((_0x19dd58=(_0x58aae0=this[_0x17962a(0xae)][_0xd1a5d2])===null||_0x58aae0===void 0x0?void 0x0:_0x58aae0[_0x173a46])===null||_0x19dd58===void 0x0?void 0x0:_0x19dd58[_0x17962a(0x9d)])=='function'){const _0xaf3764=_0xd1a5d2+'_'+_0x173a46+'@'+_0x489119;(this[_0x17962a(0xbc)][_0xaf3764]||0x0)<_0x52a57f&&(this['listevent_throttle'][_0xaf3764]=_0x52a57f+(((_0x5d8606=this['listevent'][_0xd1a5d2][_0x173a46])===null||_0x5d8606===void 0x0?void 0x0:_0x5d8606['throttle'])||0x1f4),await this[_0x17962a(0xae)][_0xd1a5d2][_0x173a46][_0x17962a(0x9d)](..._0x429a44));}}}async[a4_0x32d1f2(0x9c)](_0x2b84b0,..._0x57362b){const _0x1e5ffa=a4_0x32d1f2;return await this[_0x1e5ffa(0x92)](),await this[_0x1e5ffa(0xc5)](_0x2b84b0,..._0x57362b),this[_0x1e5ffa(0xb6)](_0x2b84b0);}async['off'](_0x1ebdd4){const _0x3705e5=a4_0x32d1f2;return await this['getListevent'](),this[_0x3705e5(0xae)][_0x1ebdd4]&&delete this[_0x3705e5(0xae)][_0x1ebdd4],!!this[_0x3705e5(0xae)][_0x1ebdd4];}};function a4_0x2ba8(){const _0x2a2b01=['apply','stringify','2ADDkUR','301FwIxqL','length','EVENT_ON_KEY','6548520LdYqHg','propertyKey','495756tfZUow','__decorate','listModule','now','listevent','all','MainApp','function','279620lohKbT','default','name','ScopeEnum','off','toString','50214lYhFzy','@midwayjs/core','constructor','getOwnPropertyDescriptor','listevent_throttle','123059ZgQoGj','Singleton','DecoratorManager','2868660yAqfyD','throttle','Scope','bind','sortByDesc','emit','search','(((.+)+)+)+$','getOwnMetadata','getListevent','prototype','init','EventService','app','getApplicationContext','priority','design:type','decorate','__esModule','once','resolve','defineProperty','collect.js','getAsync','1592656haqGOD'];a4_0x2ba8=function(){return _0x2a2b01;};return a4_0x2ba8();}exports['EventService']=EventService,__decorate([(0x0,core_1[a4_0x32d1f2(0xb0)])(),__metadata(a4_0x32d1f2(0x99),Object)],EventService[a4_0x32d1f2(0x93)],a4_0x32d1f2(0x96),void 0x0),exports[a4_0x32d1f2(0x95)]=EventService=__decorate([(0x0,core_1['Provide'])('event'),(0x0,core_1[a4_0x32d1f2(0xc2)])(core_1[a4_0x32d1f2(0xb5)][a4_0x32d1f2(0xbe)])],EventService);
package/package.json CHANGED
@@ -1,27 +1,27 @@
1
1
  {
2
- "name": "@anveroapi/event",
3
- "version": "4.3.2",
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.19.0",
24
- "javascript-obfuscator": "^4.0.2"
25
- },
26
- "gitHead": "f7d4644d5e0591c4b383021edab6db20d1714880"
27
- }
2
+ "name": "@anveroapi/event",
3
+ "version": "4.3.3",
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.19.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
+ }