@anveroapi/event 4.0.2 → 4.1.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_0x489453=a0_0x3336;(function(_0x11cd28,_0x57687a){var _0x2609e6=a0_0x3336,_0x54424d=_0x11cd28();while(!![]){try{var _0x351fc7=-parseInt(_0x2609e6(0x1a7))/0x1+-parseInt(_0x2609e6(0x1ae))/0x2*(parseInt(_0x2609e6(0x1b2))/0x3)+-parseInt(_0x2609e6(0x1a5))/0x4*(-parseInt(_0x2609e6(0x1bb))/0x5)+-parseInt(_0x2609e6(0x1ab))/0x6+-parseInt(_0x2609e6(0x1b3))/0x7*(-parseInt(_0x2609e6(0x19c))/0x8)+parseInt(_0x2609e6(0x1a9))/0x9+parseInt(_0x2609e6(0x19e))/0xa;if(_0x351fc7===_0x57687a)break;else _0x54424d['push'](_0x54424d['shift']());}catch(_0xf43f6d){_0x54424d['push'](_0x54424d['shift']());}}}(a0_0x2134,0x8fb9b));var a0_0x470e61=(function(){var _0x1f1bb7=!![];return function(_0x248f61,_0x1e8705){var _0x14d2bf=_0x1f1bb7?function(){if(_0x1e8705){var _0x13b08d=_0x1e8705['apply'](_0x248f61,arguments);return _0x1e8705=null,_0x13b08d;}}:function(){};return _0x1f1bb7=![],_0x14d2bf;};}()),a0_0xe3ba2a=a0_0x470e61(this,function(){var _0xd8ef2=a0_0x3336;return a0_0xe3ba2a['toString']()[_0xd8ef2(0x1ba)](_0xd8ef2(0x1aa))[_0xd8ef2(0x1a3)]()[_0xd8ef2(0x1ac)](a0_0xe3ba2a)['search']('(((.+)+)+)+$');});function a0_0x2134(){var _0x48b918=['__decorate','prototype','getOwnPropertyDescriptor','toString','config','4lEuOrr','MidwayDecoratorService','344354VOukcl','metadata','1573236pwIyqK','(((.+)+)+)+$','645846WWdbzW','constructor','@midwayjs/core','2NlBUHU','defineProperty','onReady','object','1361946TJAqZy','161YVCElN','design:type','CustomConfiguration','Inject','function','decorate','__metadata','search','252910Lzxuoo','MidwayConfigService','217928JimjIm','anvero-api:event','6427470nWboIF','length'];a0_0x2134=function(){return _0x48b918;};return a0_0x2134();}a0_0xe3ba2a();'use strict';var __decorate=this&&this[a0_0x489453(0x1a0)]||function(_0x16e273,_0x1e96ef,_0x2266a7,_0x49d6eb){var _0x4457d7=a0_0x489453,_0x50f052=arguments[_0x4457d7(0x19f)],_0x2ca70e=_0x50f052<0x3?_0x1e96ef:_0x49d6eb===null?_0x49d6eb=Object[_0x4457d7(0x1a2)](_0x1e96ef,_0x2266a7):_0x49d6eb,_0xe09fb1;if(typeof Reflect===_0x4457d7(0x1b1)&&typeof Reflect[_0x4457d7(0x1b8)]===_0x4457d7(0x1b7))_0x2ca70e=Reflect[_0x4457d7(0x1b8)](_0x16e273,_0x1e96ef,_0x2266a7,_0x49d6eb);else{for(var _0xa487ff=_0x16e273[_0x4457d7(0x19f)]-0x1;_0xa487ff>=0x0;_0xa487ff--)if(_0xe09fb1=_0x16e273[_0xa487ff])_0x2ca70e=(_0x50f052<0x3?_0xe09fb1(_0x2ca70e):_0x50f052>0x3?_0xe09fb1(_0x1e96ef,_0x2266a7,_0x2ca70e):_0xe09fb1(_0x1e96ef,_0x2266a7))||_0x2ca70e;}return _0x50f052>0x3&&_0x2ca70e&&Object['defineProperty'](_0x1e96ef,_0x2266a7,_0x2ca70e),_0x2ca70e;},__metadata=this&&this[a0_0x489453(0x1b9)]||function(_0x3ca0ea,_0x3cdd0c){var _0x3b6c6d=a0_0x489453;if(typeof Reflect===_0x3b6c6d(0x1b1)&&typeof Reflect[_0x3b6c6d(0x1a8)]===_0x3b6c6d(0x1b7))return Reflect[_0x3b6c6d(0x1a8)](_0x3ca0ea,_0x3cdd0c);};Object[a0_0x489453(0x1af)](exports,'__esModule',{'value':!![]}),exports[a0_0x489453(0x1b5)]=void 0x0;const core_1=require('@midwayjs/core'),core_2=require(a0_0x489453(0x1ad));let CustomConfiguration=class CustomConfiguration{async[a0_0x489453(0x1b0)](){}};function a0_0x3336(_0x731e42,_0x47a71f){_0x731e42=_0x731e42-0x19c;var _0x544420=a0_0x2134();var _0xe3ba2a=_0x544420[_0x731e42];return _0xe3ba2a;}exports[a0_0x489453(0x1b5)]=CustomConfiguration,__decorate([(0x0,core_1[a0_0x489453(0x1b6)])(),__metadata(a0_0x489453(0x1b4),core_2[a0_0x489453(0x1bc)])],CustomConfiguration[a0_0x489453(0x1a1)],a0_0x489453(0x1a4),void 0x0),__decorate([(0x0,core_1[a0_0x489453(0x1b6)])(),__metadata(a0_0x489453(0x1b4),core_2[a0_0x489453(0x1a6)])],CustomConfiguration[a0_0x489453(0x1a1)],'decorator',void 0x0),exports[a0_0x489453(0x1b5)]=CustomConfiguration=__decorate([(0x0,core_1['Configuration'])({'namespace':a0_0x489453(0x19d)})],CustomConfiguration);
1
+ var a0_0x5f2665=a0_0x5d44;(function(_0x31864b,_0x18aa31){var _0x154daf=a0_0x5d44,_0x1cae0c=_0x31864b();while(!![]){try{var _0x3f197d=parseInt(_0x154daf(0x1d6))/0x1*(-parseInt(_0x154daf(0x1cf))/0x2)+-parseInt(_0x154daf(0x1d4))/0x3+-parseInt(_0x154daf(0x1c4))/0x4*(-parseInt(_0x154daf(0x1e1))/0x5)+parseInt(_0x154daf(0x1d3))/0x6*(-parseInt(_0x154daf(0x1e2))/0x7)+-parseInt(_0x154daf(0x1cb))/0x8*(-parseInt(_0x154daf(0x1c6))/0x9)+parseInt(_0x154daf(0x1df))/0xa*(parseInt(_0x154daf(0x1cd))/0xb)+-parseInt(_0x154daf(0x1dc))/0xc;if(_0x3f197d===_0x18aa31)break;else _0x1cae0c['push'](_0x1cae0c['shift']());}catch(_0x54f36c){_0x1cae0c['push'](_0x1cae0c['shift']());}}}(a0_0x54a2,0xb66f1));var a0_0x157609=(function(){var _0x3ef05d=!![];return function(_0xcf6a4d,_0x47c88d){var _0x32fb09=_0x3ef05d?function(){var _0x3363f4=a0_0x5d44;if(_0x47c88d){var _0x4e85e1=_0x47c88d[_0x3363f4(0x1ca)](_0xcf6a4d,arguments);return _0x47c88d=null,_0x4e85e1;}}:function(){};return _0x3ef05d=![],_0x32fb09;};}()),a0_0x155ba9=a0_0x157609(this,function(){var _0x1faea1=a0_0x5d44;return a0_0x155ba9[_0x1faea1(0x1c9)]()['search']('(((.+)+)+)+$')[_0x1faea1(0x1c9)]()[_0x1faea1(0x1c1)](a0_0x155ba9)['search'](_0x1faea1(0x1d2));});a0_0x155ba9();'use strict';var __decorate=this&&this[a0_0x5f2665(0x1d5)]||function(_0x38a738,_0x2dc9f6,_0x13bc0d,_0x2366af){var _0x427b80=a0_0x5f2665,_0x5f2577=arguments[_0x427b80(0x1d8)],_0x546154=_0x5f2577<0x3?_0x2dc9f6:_0x2366af===null?_0x2366af=Object['getOwnPropertyDescriptor'](_0x2dc9f6,_0x13bc0d):_0x2366af,_0x2ffa4b;if(typeof Reflect===_0x427b80(0x1c8)&&typeof Reflect[_0x427b80(0x1d7)]===_0x427b80(0x1d0))_0x546154=Reflect[_0x427b80(0x1d7)](_0x38a738,_0x2dc9f6,_0x13bc0d,_0x2366af);else{for(var _0x3d1ed6=_0x38a738['length']-0x1;_0x3d1ed6>=0x0;_0x3d1ed6--)if(_0x2ffa4b=_0x38a738[_0x3d1ed6])_0x546154=(_0x5f2577<0x3?_0x2ffa4b(_0x546154):_0x5f2577>0x3?_0x2ffa4b(_0x2dc9f6,_0x13bc0d,_0x546154):_0x2ffa4b(_0x2dc9f6,_0x13bc0d))||_0x546154;}return _0x5f2577>0x3&&_0x546154&&Object[_0x427b80(0x1e3)](_0x2dc9f6,_0x13bc0d,_0x546154),_0x546154;},__metadata=this&&this['__metadata']||function(_0x5533d2,_0x17ea94){var _0xdd7cc8=a0_0x5f2665;if(typeof Reflect===_0xdd7cc8(0x1c8)&&typeof Reflect[_0xdd7cc8(0x1ce)]==='function')return Reflect[_0xdd7cc8(0x1ce)](_0x5533d2,_0x17ea94);};Object[a0_0x5f2665(0x1e3)](exports,a0_0x5f2665(0x1c2),{'value':!![]}),exports['CustomConfiguration']=void 0x0;const core_1=require(a0_0x5f2665(0x1c3)),core_2=require(a0_0x5f2665(0x1c3));let CustomConfiguration=class CustomConfiguration{async[a0_0x5f2665(0x1e0)](){}};exports[a0_0x5f2665(0x1c5)]=CustomConfiguration,__decorate([(0x0,core_1[a0_0x5f2665(0x1da)])(),__metadata(a0_0x5f2665(0x1e4),core_2[a0_0x5f2665(0x1d9)])],CustomConfiguration[a0_0x5f2665(0x1cc)],a0_0x5f2665(0x1d1),void 0x0),__decorate([(0x0,core_1[a0_0x5f2665(0x1da)])(),__metadata('design:type',core_2[a0_0x5f2665(0x1c7)])],CustomConfiguration[a0_0x5f2665(0x1cc)],a0_0x5f2665(0x1db),void 0x0),exports[a0_0x5f2665(0x1c5)]=CustomConfiguration=__decorate([(0x0,core_1[a0_0x5f2665(0x1dd)])({'namespace':a0_0x5f2665(0x1de)})],CustomConfiguration);function a0_0x5d44(_0x38e83c,_0xf2ad0a){_0x38e83c=_0x38e83c-0x1c1;var _0x1dcd63=a0_0x54a2();var _0x155ba9=_0x1dcd63[_0x38e83c];return _0x155ba9;}function a0_0x54a2(){var _0x28f116=['(((.+)+)+)+$','85092tfydcC','1324929lsWrML','__decorate','4WfzjAm','decorate','length','MidwayConfigService','Inject','decorator','11419032ypvsee','Configuration','anvero-api:event','100PHzBaA','onReady','5TiwMen','413zjhjGE','defineProperty','design:type','constructor','__esModule','@midwayjs/core','5854148ZrAybc','CustomConfiguration','9trcMZM','MidwayDecoratorService','object','toString','apply','11288984TRoMNk','prototype','1595968aiFLBg','metadata','674162tixjJO','function','config'];a0_0x54a2=function(){return _0x28f116;};return a0_0x54a2();}
@@ -1 +1 @@
1
- function a1_0x4e6d(_0x3bcab4,_0x1436c5){_0x3bcab4=_0x3bcab4-0x7c;const _0x5a46fa=a1_0x161e();let _0x4b2eed=_0x5a46fa[_0x3bcab4];return _0x4b2eed;}const a1_0xf4d669=a1_0x4e6d;(function(_0x276d96,_0x8c0d8c){const _0x33b200=a1_0x4e6d,_0x4aa97d=_0x276d96();while(!![]){try{const _0x2552a6=-parseInt(_0x33b200(0x88))/0x1+parseInt(_0x33b200(0x8e))/0x2+-parseInt(_0x33b200(0x7c))/0x3+-parseInt(_0x33b200(0x80))/0x4+parseInt(_0x33b200(0x83))/0x5+parseInt(_0x33b200(0x8c))/0x6+parseInt(_0x33b200(0x7d))/0x7*(parseInt(_0x33b200(0x8b))/0x8);if(_0x2552a6===_0x8c0d8c)break;else _0x4aa97d['push'](_0x4aa97d['shift']());}catch(_0x301afe){_0x4aa97d['push'](_0x4aa97d['shift']());}}}(a1_0x161e,0x9e3a3));function a1_0x161e(){const _0x1ce63c=['saveModule','2286576trWzLS','search','Request','2862430avapHy','DecoratorManager','MetadataManager','EVENT_ON_KEY','toString','76054cUDgTm','constructor','apply','8mPWntr','1667094HYQLvJ','@midwayjs/core','1976864HsUNyC','EVENT_KEY','../interface','Provide','__esModule','(((.+)+)+)+$','3038619NrYQcA','3289321ivdCTm','attachMetadata'];a1_0x161e=function(){return _0x1ce63c;};return a1_0x161e();}const a1_0x483caa=(function(){let _0x2ed210=!![];return function(_0x1170d8,_0x51d476){const _0xea9d10=_0x2ed210?function(){const _0x2392ee=a1_0x4e6d;if(_0x51d476){const _0x5f805e=_0x51d476[_0x2392ee(0x8a)](_0x1170d8,arguments);return _0x51d476=null,_0x5f805e;}}:function(){};return _0x2ed210=![],_0xea9d10;};}()),a1_0x4b2eed=a1_0x483caa(this,function(){const _0x1687b3=a1_0x4e6d;return a1_0x4b2eed[_0x1687b3(0x87)]()[_0x1687b3(0x81)]('(((.+)+)+)+$')['toString']()[_0x1687b3(0x89)](a1_0x4b2eed)[_0x1687b3(0x81)](_0x1687b3(0x93));});a1_0x4b2eed();'use strict';Object['defineProperty'](exports,a1_0xf4d669(0x92),{'value':!![]}),exports['Event']=Event;const core_1=require(a1_0xf4d669(0x8d)),core_2=require(a1_0xf4d669(0x8d)),interface_1=require(a1_0xf4d669(0x90));function Event(){return _0x12bd0a=>{const _0x42e0a1=a1_0x4e6d;(0x0,core_1[_0x42e0a1(0x91)])()(_0x12bd0a),core_2[_0x42e0a1(0x84)][_0x42e0a1(0x7f)](interface_1[_0x42e0a1(0x8f)],_0x12bd0a),(0x0,core_1['Scope'])(core_1['ScopeEnum'][_0x42e0a1(0x82)],{'allowDowngrade':!![]})(_0x12bd0a);};}Event['On']=function(_0x599ac,_0x122e35=0x0,_0x2f4dac=0x1f4){return(_0x79c9fe,_0x49c020,_0x3e858e)=>{const _0x46e1d0=a1_0x4e6d;return core_2[_0x46e1d0(0x85)][_0x46e1d0(0x7e)](interface_1[_0x46e1d0(0x86)],{'name':_0x599ac,'priority':_0x122e35,'propertyKey':_0x49c020,'descriptor':_0x3e858e,'throttle':_0x2f4dac},_0x79c9fe),_0x3e858e;};};
1
+ const a1_0x97ffbb=a1_0x1ab3;(function(_0x551d3f,_0x302c3c){const _0x569e33=a1_0x1ab3,_0x2bd319=_0x551d3f();while(!![]){try{const _0x27c788=-parseInt(_0x569e33(0xf7))/0x1*(-parseInt(_0x569e33(0xf4))/0x2)+parseInt(_0x569e33(0xe9))/0x3*(-parseInt(_0x569e33(0xff))/0x4)+-parseInt(_0x569e33(0x103))/0x5*(-parseInt(_0x569e33(0xfc))/0x6)+-parseInt(_0x569e33(0xf1))/0x7*(-parseInt(_0x569e33(0xf5))/0x8)+-parseInt(_0x569e33(0xf2))/0x9*(parseInt(_0x569e33(0xf6))/0xa)+-parseInt(_0x569e33(0xf3))/0xb*(parseInt(_0x569e33(0xec))/0xc)+parseInt(_0x569e33(0x100))/0xd*(parseInt(_0x569e33(0xeb))/0xe);if(_0x27c788===_0x302c3c)break;else _0x2bd319['push'](_0x2bd319['shift']());}catch(_0x21894b){_0x2bd319['push'](_0x2bd319['shift']());}}}(a1_0x6a39,0x5c726));const a1_0x119866=(function(){let _0x57f960=!![];return function(_0x5482b1,_0x3128a4){const _0x25e356=_0x57f960?function(){if(_0x3128a4){const _0x2b121d=_0x3128a4['apply'](_0x5482b1,arguments);return _0x3128a4=null,_0x2b121d;}}:function(){};return _0x57f960=![],_0x25e356;};}()),a1_0x549eb6=a1_0x119866(this,function(){const _0x58fa16=a1_0x1ab3;return a1_0x549eb6[_0x58fa16(0x102)]()[_0x58fa16(0xf0)](_0x58fa16(0x104))[_0x58fa16(0x102)]()['constructor'](a1_0x549eb6)[_0x58fa16(0xf0)]('(((.+)+)+)+$');});a1_0x549eb6();'use strict';function a1_0x6a39(){const _0x5e2c4c=['(((.+)+)+)+$','8439chZRoQ','ScopeEnum','5712jCXCek','12MNHjsC','saveModule','MetadataManager','@midwayjs/core','search','316022MnzoLF','1213848cYPxjk','8092425isBGVz','19962SWVSmJ','32oAQdLf','30HEukTV','73rNOQgY','Event','Provide','__esModule','EVENT_ON_KEY','3867246ESLRnS','../interface','Scope','180uabONb','2925ZZYKPS','Request','toString','5oTtdaR'];a1_0x6a39=function(){return _0x5e2c4c;};return a1_0x6a39();}Object['defineProperty'](exports,a1_0x97ffbb(0xfa),{'value':!![]}),exports[a1_0x97ffbb(0xf8)]=Event;function a1_0x1ab3(_0x1ef087,_0xe0bd49){_0x1ef087=_0x1ef087-0xe9;const _0x21e8a7=a1_0x6a39();let _0x549eb6=_0x21e8a7[_0x1ef087];return _0x549eb6;}const core_1=require(a1_0x97ffbb(0xef)),core_2=require(a1_0x97ffbb(0xef)),interface_1=require(a1_0x97ffbb(0xfd));function Event(){return _0x2cd7c8=>{const _0x491ccc=a1_0x1ab3;(0x0,core_1[_0x491ccc(0xf9)])()(_0x2cd7c8),core_2['DecoratorManager'][_0x491ccc(0xed)](interface_1['EVENT_KEY'],_0x2cd7c8),(0x0,core_1[_0x491ccc(0xfe)])(core_1[_0x491ccc(0xea)][_0x491ccc(0x101)],{'allowDowngrade':!![]})(_0x2cd7c8);};}Event['On']=function(_0x427a7c,_0xfc88b1=0x0,_0x59ce08=0x1f4){return(_0x26c73a,_0x28946d,_0x1c6a08)=>{const _0x5685d2=a1_0x1ab3;return core_2[_0x5685d2(0xee)]['attachMetadata'](interface_1[_0x5685d2(0xfb)],{'name':_0x427a7c,'priority':_0xfc88b1,'propertyKey':_0x28946d,'descriptor':_0x1c6a08,'throttle':_0x59ce08},_0x26c73a),_0x1c6a08;};};
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- function a2_0x141c(_0x4100e5,_0x391d32){_0x4100e5=_0x4100e5-0xf0;var _0x42b41d=a2_0x948a();var _0x1a8e90=_0x42b41d[_0x4100e5];return _0x1a8e90;}var a2_0x2bb067=a2_0x141c;(function(_0x400c41,_0x48eb43){var _0x40b493=a2_0x141c,_0x4e59bb=_0x400c41();while(!![]){try{var _0x3ba8ce=-parseInt(_0x40b493(0xf1))/0x1+parseInt(_0x40b493(0x101))/0x2+parseInt(_0x40b493(0xf9))/0x3*(parseInt(_0x40b493(0x100))/0x4)+parseInt(_0x40b493(0x102))/0x5+parseInt(_0x40b493(0xff))/0x6*(-parseInt(_0x40b493(0x105))/0x7)+-parseInt(_0x40b493(0xf5))/0x8*(parseInt(_0x40b493(0xf8))/0x9)+-parseInt(_0x40b493(0xfd))/0xa;if(_0x3ba8ce===_0x48eb43)break;else _0x4e59bb['push'](_0x4e59bb['shift']());}catch(_0x1b559d){_0x4e59bb['push'](_0x4e59bb['shift']());}}}(a2_0x948a,0x3ef4b));var a2_0x4112b1=(function(){var _0x552202=!![];return function(_0x4e0b97,_0x3a401a){var _0x250e88=_0x552202?function(){var _0x2a1937=a2_0x141c;if(_0x3a401a){var _0x4fe99c=_0x3a401a[_0x2a1937(0xfc)](_0x4e0b97,arguments);return _0x3a401a=null,_0x4fe99c;}}:function(){};return _0x552202=![],_0x250e88;};}()),a2_0x1a8e90=a2_0x4112b1(this,function(){var _0x68b058=a2_0x141c;return a2_0x1a8e90[_0x68b058(0xf3)]()[_0x68b058(0x106)](_0x68b058(0x104))[_0x68b058(0xf3)]()[_0x68b058(0xfa)](a2_0x1a8e90)[_0x68b058(0x106)](_0x68b058(0x104));});a2_0x1a8e90();'use strict';Object[a2_0x2bb067(0xf4)](exports,a2_0x2bb067(0xf2),{'value':!![]}),exports[a2_0x2bb067(0xf6)]=exports[a2_0x2bb067(0x103)]=exports[a2_0x2bb067(0xfe)]=void 0x0;var Event_1=require(a2_0x2bb067(0x107));Object[a2_0x2bb067(0xf4)](exports,a2_0x2bb067(0xfe),{'enumerable':!![],'get':function(){var _0x58108f=a2_0x2bb067;return Event_1[_0x58108f(0xfe)];}});var EventService_1=require(a2_0x2bb067(0xfb));Object[a2_0x2bb067(0xf4)](exports,a2_0x2bb067(0x103),{'enumerable':!![],'get':function(){var _0x238a41=a2_0x2bb067;return EventService_1[_0x238a41(0x103)];}});var configuration_1=require(a2_0x2bb067(0xf7));function a2_0x948a(){var _0x4a644f=['391428iwPcuk','1335580HLecJA','EventService','(((.+)+)+)+$','21xuNdiu','search','./decorator/Event','CustomConfiguration','97897pNaCsW','__esModule','toString','defineProperty','8aPeVnX','Configuration','./configuration','287649JdHbxL','3mVcDfZ','constructor','./service/EventService','apply','368950RTcbuS','Event','515466dhCDrp','878092esXgZz'];a2_0x948a=function(){return _0x4a644f;};return a2_0x948a();}Object[a2_0x2bb067(0xf4)](exports,a2_0x2bb067(0xf6),{'enumerable':!![],'get':function(){var _0x214d29=a2_0x2bb067;return configuration_1[_0x214d29(0xf0)];}});
1
+ var a2_0x3c5f36=a2_0x22bc;(function(_0x4617e4,_0x1f82f3){var _0x20dbcc=a2_0x22bc,_0x4d75f7=_0x4617e4();while(!![]){try{var _0x50aac=-parseInt(_0x20dbcc(0xf5))/0x1+parseInt(_0x20dbcc(0xf3))/0x2*(-parseInt(_0x20dbcc(0xee))/0x3)+parseInt(_0x20dbcc(0xf1))/0x4+parseInt(_0x20dbcc(0xea))/0x5*(parseInt(_0x20dbcc(0xe8))/0x6)+parseInt(_0x20dbcc(0xe9))/0x7+-parseInt(_0x20dbcc(0xf7))/0x8*(-parseInt(_0x20dbcc(0xef))/0x9)+parseInt(_0x20dbcc(0xec))/0xa*(-parseInt(_0x20dbcc(0xe2))/0xb);if(_0x50aac===_0x1f82f3)break;else _0x4d75f7['push'](_0x4d75f7['shift']());}catch(_0x48356e){_0x4d75f7['push'](_0x4d75f7['shift']());}}}(a2_0x47c0,0xe5b1f));var a2_0x1904c3=(function(){var _0x986a3f=!![];return function(_0x1cecdf,_0x424704){var _0x2d0f45=_0x986a3f?function(){if(_0x424704){var _0x4a80fc=_0x424704['apply'](_0x1cecdf,arguments);return _0x424704=null,_0x4a80fc;}}:function(){};return _0x986a3f=![],_0x2d0f45;};}()),a2_0x42c027=a2_0x1904c3(this,function(){var _0x4fbede=a2_0x22bc;return a2_0x42c027['toString']()[_0x4fbede(0xe6)](_0x4fbede(0xf6))[_0x4fbede(0xe7)]()['constructor'](a2_0x42c027)[_0x4fbede(0xe6)]('(((.+)+)+)+$');});a2_0x42c027();'use strict';function a2_0x22bc(_0x5bdac8,_0x470230){_0x5bdac8=_0x5bdac8-0xe2;var _0x284369=a2_0x47c0();var _0x42c027=_0x284369[_0x5bdac8];return _0x42c027;}Object[a2_0x3c5f36(0xf4)](exports,a2_0x3c5f36(0xf2),{'value':!![]}),exports['Configuration']=exports[a2_0x3c5f36(0xe3)]=exports[a2_0x3c5f36(0xeb)]=void 0x0;var Event_1=require(a2_0x3c5f36(0xf0));Object['defineProperty'](exports,a2_0x3c5f36(0xeb),{'enumerable':!![],'get':function(){return Event_1['Event'];}});var EventService_1=require(a2_0x3c5f36(0xed));Object[a2_0x3c5f36(0xf4)](exports,a2_0x3c5f36(0xe3),{'enumerable':!![],'get':function(){var _0x44215b=a2_0x3c5f36;return EventService_1[_0x44215b(0xe3)];}});function a2_0x47c0(){var _0x10cfc0=['defineProperty','783652OHWpwH','(((.+)+)+)+$','152nlyrKV','814792ZDHHan','EventService','CustomConfiguration','Configuration','search','toString','1979940pvLgBc','11912677ctPbjp','10aLNiYC','Event','10cflTSS','./service/EventService','3636nfNPWu','267966DeYboG','./decorator/Event','1025496uzqWuw','__esModule','2286OLpKEU'];a2_0x47c0=function(){return _0x10cfc0;};return a2_0x47c0();}var configuration_1=require('./configuration');Object[a2_0x3c5f36(0xf4)](exports,a2_0x3c5f36(0xe5),{'enumerable':!![],'get':function(){var _0x2fef51=a2_0x3c5f36;return configuration_1[_0x2fef51(0xe4)];}});
package/dist/interface.js CHANGED
@@ -1 +1 @@
1
- function a3_0x272e(_0x3b3288,_0x42f894){_0x3b3288=_0x3b3288-0xed;var _0x392381=a3_0x3526();var _0x27db49=_0x392381[_0x3b3288];return _0x27db49;}var a3_0x443f8f=a3_0x272e;(function(_0x5384f6,_0x256b64){var _0x2ddcb5=a3_0x272e,_0xb3225d=_0x5384f6();while(!![]){try{var _0x54c4c1=-parseInt(_0x2ddcb5(0xee))/0x1*(-parseInt(_0x2ddcb5(0xf9))/0x2)+parseInt(_0x2ddcb5(0xf5))/0x3*(parseInt(_0x2ddcb5(0xfb))/0x4)+parseInt(_0x2ddcb5(0xf0))/0x5*(parseInt(_0x2ddcb5(0xf1))/0x6)+-parseInt(_0x2ddcb5(0xf3))/0x7+-parseInt(_0x2ddcb5(0xf2))/0x8*(parseInt(_0x2ddcb5(0xf4))/0x9)+-parseInt(_0x2ddcb5(0xfe))/0xa+parseInt(_0x2ddcb5(0xfa))/0xb;if(_0x54c4c1===_0x256b64)break;else _0xb3225d['push'](_0xb3225d['shift']());}catch(_0x2f44c6){_0xb3225d['push'](_0xb3225d['shift']());}}}(a3_0x3526,0x4fb8d));var a3_0x3586f9=(function(){var _0xdc35d4=!![];return function(_0x391f5f,_0x427dd6){var _0x2417c1=_0xdc35d4?function(){var _0x25fa59=a3_0x272e;if(_0x427dd6){var _0x2a57cb=_0x427dd6[_0x25fa59(0xfd)](_0x391f5f,arguments);return _0x427dd6=null,_0x2a57cb;}}:function(){};return _0xdc35d4=![],_0x2417c1;};}()),a3_0x27db49=a3_0x3586f9(this,function(){var _0x541106=a3_0x272e;return a3_0x27db49['toString']()[_0x541106(0xf6)](_0x541106(0xef))['toString']()['constructor'](a3_0x27db49)[_0x541106(0xf6)](_0x541106(0xef));});a3_0x27db49();'use strict';Object[a3_0x443f8f(0xff)](exports,a3_0x443f8f(0xfc),{'value':!![]}),exports[a3_0x443f8f(0xed)]=exports[a3_0x443f8f(0xf8)]=void 0x0,exports[a3_0x443f8f(0xf8)]='anvero-api:event',exports[a3_0x443f8f(0xed)]=a3_0x443f8f(0xf7);function a3_0x3526(){var _0x6e01d1=['EVENT_ON_KEY','1aOfqIQ','(((.+)+)+)+$','9715ZlcVZp','1356HJZPzd','180968reNNGp','2018128VQDCQs','153QtZYpY','26079zFBrzo','search','anvero-api:event:on','EVENT_KEY','1111214aRDojT','2922106uBAcyG','36QNnzvT','__esModule','apply','3392060xWpmxZ','defineProperty'];a3_0x3526=function(){return _0x6e01d1;};return a3_0x3526();}
1
+ var a3_0xecdd81=a3_0x3b71;function a3_0x2d61(){var _0xd16937=['anvero-api:event:on','18qhURZx','6709352DjyOXl','79658mRkmui','(((.+)+)+)+$','6888DSXsCA','12bFbJru','anvero-api:event','12zyLPhs','3629844sLcbIH','1044010nPDkFD','2425670WTwBch','EVENT_KEY','EVENT_ON_KEY','toString','__esModule','528739aUCiHL','apply'];a3_0x2d61=function(){return _0xd16937;};return a3_0x2d61();}function a3_0x3b71(_0x22fd6e,_0x365102){_0x22fd6e=_0x22fd6e-0xe5;var _0x308ab8=a3_0x2d61();var _0x5dc40e=_0x308ab8[_0x22fd6e];return _0x5dc40e;}(function(_0x212df,_0x27a4af){var _0x4eb791=a3_0x3b71,_0x4d3794=_0x212df();while(!![]){try{var _0x52d907=parseInt(_0x4eb791(0xef))/0x1+-parseInt(_0x4eb791(0xf4))/0x2*(-parseInt(_0x4eb791(0xe5))/0x3)+parseInt(_0x4eb791(0xe8))/0x4+-parseInt(_0x4eb791(0xea))/0x5+parseInt(_0x4eb791(0xe7))/0x6*(-parseInt(_0x4eb791(0xf6))/0x7)+-parseInt(_0x4eb791(0xf3))/0x8+-parseInt(_0x4eb791(0xf2))/0x9*(-parseInt(_0x4eb791(0xe9))/0xa);if(_0x52d907===_0x27a4af)break;else _0x4d3794['push'](_0x4d3794['shift']());}catch(_0xa67382){_0x4d3794['push'](_0x4d3794['shift']());}}}(a3_0x2d61,0x74d53));var a3_0x4fdc4f=(function(){var _0x58c3fc=!![];return function(_0x10844d,_0x37c1a9){var _0x1abab1=_0x58c3fc?function(){var _0x42b1ed=a3_0x3b71;if(_0x37c1a9){var _0x341f87=_0x37c1a9[_0x42b1ed(0xf0)](_0x10844d,arguments);return _0x37c1a9=null,_0x341f87;}}:function(){};return _0x58c3fc=![],_0x1abab1;};}()),a3_0x5dc40e=a3_0x4fdc4f(this,function(){var _0x143605=a3_0x3b71;return a3_0x5dc40e[_0x143605(0xed)]()['search']('(((.+)+)+)+$')[_0x143605(0xed)]()['constructor'](a3_0x5dc40e)['search'](_0x143605(0xf5));});a3_0x5dc40e();'use strict';Object['defineProperty'](exports,a3_0xecdd81(0xee),{'value':!![]}),exports[a3_0xecdd81(0xec)]=exports[a3_0xecdd81(0xeb)]=void 0x0,exports[a3_0xecdd81(0xeb)]=a3_0xecdd81(0xe6),exports[a3_0xecdd81(0xec)]=a3_0xecdd81(0xf1);
@@ -1 +1 @@
1
- const a4_0x29a786=a4_0x4855;function a4_0x6d0a(){const _0x2392ed=['getOwnMetadata','design:type','__metadata','1920440oDGPgq','EventService','1907591LYNxmr','app','209127UjdiVS','metadata','DecoratorManager','Singleton','__esModule','length','MainApp','2368632fQEroG','3708qyNOWC','constructor','EVENT_KEY','@midwayjs/core','listevent_throttle','default','once','init','decorate','priority','Scope','getApplicationContext','event','Provide','474eEajNt','emit','4256280sySPQd','stringify','760754WoPfaR','function','propertyKey','throttle','sortByDesc','__decorate','ScopeEnum','off','bind','defineProperty','../interface','getListevent','(((.+)+)+)+$','MetadataManager','search','collect.js','listModule','name','object','getOwnPropertyDescriptor','listevent','prototype'];a4_0x6d0a=function(){return _0x2392ed;};return a4_0x6d0a();}(function(_0x2f41c2,_0x3a7f61){const _0x537330=a4_0x4855,_0x18966a=_0x2f41c2();while(!![]){try{const _0x4cfaf8=parseInt(_0x537330(0x215))/0x1+-parseInt(_0x537330(0x1f8))/0x2+parseInt(_0x537330(0x1f4))/0x3*(parseInt(_0x537330(0x21d))/0x4)+parseInt(_0x537330(0x211))/0x5+-parseInt(_0x537330(0x21c))/0x6+-parseInt(_0x537330(0x213))/0x7+parseInt(_0x537330(0x1f6))/0x8;if(_0x4cfaf8===_0x3a7f61)break;else _0x18966a['push'](_0x18966a['shift']());}catch(_0x39354a){_0x18966a['push'](_0x18966a['shift']());}}}(a4_0x6d0a,0x36b36));const a4_0x35022b=(function(){let _0x4d0d5f=!![];return function(_0x35b2ea,_0x3b5d99){const _0x5d07f0=_0x4d0d5f?function(){if(_0x3b5d99){const _0x324fed=_0x3b5d99['apply'](_0x35b2ea,arguments);return _0x3b5d99=null,_0x324fed;}}:function(){};return _0x4d0d5f=![],_0x5d07f0;};}()),a4_0x207239=a4_0x35022b(this,function(){const _0x480402=a4_0x4855;return a4_0x207239['toString']()[_0x480402(0x206)](_0x480402(0x204))['toString']()[_0x480402(0x21e)](a4_0x207239)[_0x480402(0x206)](_0x480402(0x204));});a4_0x207239();'use strict';var __decorate=this&&this[a4_0x29a786(0x1fd)]||function(_0x4a5b0d,_0x4c6b77,_0x4612e0,_0x4f611d){const _0x57c00c=a4_0x29a786;var _0x241816=arguments[_0x57c00c(0x21a)],_0x5a2fb8=_0x241816<0x3?_0x4c6b77:_0x4f611d===null?_0x4f611d=Object[_0x57c00c(0x20b)](_0x4c6b77,_0x4612e0):_0x4f611d,_0x3c2e95;if(typeof Reflect===_0x57c00c(0x20a)&&typeof Reflect['decorate']===_0x57c00c(0x1f9))_0x5a2fb8=Reflect[_0x57c00c(0x1ee)](_0x4a5b0d,_0x4c6b77,_0x4612e0,_0x4f611d);else{for(var _0x114f9a=_0x4a5b0d[_0x57c00c(0x21a)]-0x1;_0x114f9a>=0x0;_0x114f9a--)if(_0x3c2e95=_0x4a5b0d[_0x114f9a])_0x5a2fb8=(_0x241816<0x3?_0x3c2e95(_0x5a2fb8):_0x241816>0x3?_0x3c2e95(_0x4c6b77,_0x4612e0,_0x5a2fb8):_0x3c2e95(_0x4c6b77,_0x4612e0))||_0x5a2fb8;}return _0x241816>0x3&&_0x5a2fb8&&Object['defineProperty'](_0x4c6b77,_0x4612e0,_0x5a2fb8),_0x5a2fb8;},__metadata=this&&this[a4_0x29a786(0x210)]||function(_0x5e2eda,_0x1cf476){const _0xcb09dd=a4_0x29a786;if(typeof Reflect===_0xcb09dd(0x20a)&&typeof Reflect[_0xcb09dd(0x216)]==='function')return Reflect[_0xcb09dd(0x216)](_0x5e2eda,_0x1cf476);};Object[a4_0x29a786(0x201)](exports,a4_0x29a786(0x219),{'value':!![]}),exports[a4_0x29a786(0x212)]=void 0x0;function a4_0x4855(_0x3dd98c,_0x207330){_0x3dd98c=_0x3dd98c-0x1e8;const _0xa68e3=a4_0x6d0a();let _0x207239=_0xa68e3[_0x3dd98c];return _0x207239;}const collect_js_1=require(a4_0x29a786(0x207)),core_1=require(a4_0x29a786(0x1e9)),core_2=require(a4_0x29a786(0x1e9)),interface_1=require(a4_0x29a786(0x202));let EventService=class EventService{constructor(){const _0x2f78dc=a4_0x29a786;this[_0x2f78dc(0x1ed)]=![];}async[a4_0x29a786(0x203)](_0x50e19d){const _0x55ee7c=a4_0x29a786;if(!this[_0x55ee7c(0x1ed)]){this[_0x55ee7c(0x1ed)]=!![],this['listevent']={},this[_0x55ee7c(0x1ea)]={};for(const _0x1bfe7b of core_2[_0x55ee7c(0x217)][_0x55ee7c(0x208)](interface_1[_0x55ee7c(0x1e8)])||[]){const _0x2137c4=await this[_0x55ee7c(0x214)][_0x55ee7c(0x1f1)]()['getAsync'](_0x1bfe7b);for(const _0x137b8d of core_2[_0x55ee7c(0x205)][_0x55ee7c(0x20e)](interface_1['EVENT_ON_KEY'],_0x1bfe7b)||[]){typeof(_0x2137c4[_0x137b8d[_0x55ee7c(0x1fa)]]=='function')&&(!this[_0x55ee7c(0x20c)][_0x137b8d[_0x55ee7c(0x209)]]&&(this[_0x55ee7c(0x20c)][_0x137b8d['name']]=[]),this[_0x55ee7c(0x20c)][_0x137b8d[_0x55ee7c(0x209)]]['push']({'priority':(_0x137b8d===null||_0x137b8d===void 0x0?void 0x0:_0x137b8d['priority'])||0x0,'throttle':(_0x137b8d===null||_0x137b8d===void 0x0?void 0x0:_0x137b8d[_0x55ee7c(0x1fb)])||0x1f4,'resolve':_0x2137c4[_0x137b8d[_0x55ee7c(0x1fa)]][_0x55ee7c(0x200)](_0x2137c4),'propertyKey':_0x1bfe7b[_0x55ee7c(0x209)]+'@'+_0x137b8d['propertyKey']}));}}for(const _0x4af667 in this[_0x55ee7c(0x20c)]){this[_0x55ee7c(0x20c)][_0x4af667]=(0x0,collect_js_1[_0x55ee7c(0x1eb)])(this[_0x55ee7c(0x20c)][_0x4af667])[_0x55ee7c(0x1fc)](_0x55ee7c(0x1ef))['all']();}}return _0x50e19d?this['listevent'][_0x50e19d]||[]:this['listevent'];}async[a4_0x29a786(0x1f5)](_0x49760a,..._0x3d0a0e){const _0x1d7bb7=a4_0x29a786;var _0x4937db,_0x1cef67,_0x2f6c3a,_0x4804c9,_0x5b091e;const _0x15bfc7=''+JSON[_0x1d7bb7(0x1f7)](_0x3d0a0e),_0x3375f9=Date['now']();await this[_0x1d7bb7(0x203)]();for(let _0xa0a4fb in this['listevent_throttle']){this[_0x1d7bb7(0x1ea)][_0xa0a4fb]<_0x3375f9&&delete this[_0x1d7bb7(0x1ea)][_0xa0a4fb];}for(let _0x14eef4 in(_0x4937db=this[_0x1d7bb7(0x20c)])===null||_0x4937db===void 0x0?void 0x0:_0x4937db[_0x49760a]){if(((_0x1cef67=this[_0x1d7bb7(0x20c)][_0x49760a])===null||_0x1cef67===void 0x0?void 0x0:_0x1cef67[_0x14eef4])&&typeof((_0x4804c9=(_0x2f6c3a=this[_0x1d7bb7(0x20c)][_0x49760a])===null||_0x2f6c3a===void 0x0?void 0x0:_0x2f6c3a[_0x14eef4])===null||_0x4804c9===void 0x0?void 0x0:_0x4804c9['resolve'])=='function'){const _0x1d1968=_0x49760a+'_'+_0x14eef4+'@'+_0x15bfc7;(this['listevent_throttle'][_0x1d1968]||0x0)<_0x3375f9&&(this[_0x1d7bb7(0x1ea)][_0x1d1968]=_0x3375f9+(((_0x5b091e=this['listevent'][_0x49760a][_0x14eef4])===null||_0x5b091e===void 0x0?void 0x0:_0x5b091e[_0x1d7bb7(0x1fb)])||0x1f4),await this[_0x1d7bb7(0x20c)][_0x49760a][_0x14eef4]['resolve'](..._0x3d0a0e));}}}async[a4_0x29a786(0x1ec)](_0x3fdbd6,..._0x36128e){const _0x2018da=a4_0x29a786;return await this['getListevent'](),await this[_0x2018da(0x1f5)](_0x3fdbd6,..._0x36128e),this[_0x2018da(0x1ff)](_0x3fdbd6);}async[a4_0x29a786(0x1ff)](_0x3815ee){const _0x15d312=a4_0x29a786;return await this[_0x15d312(0x203)](),this[_0x15d312(0x20c)][_0x3815ee]&&delete this['listevent'][_0x3815ee],!!this['listevent'][_0x3815ee];}};exports['EventService']=EventService,__decorate([(0x0,core_1[a4_0x29a786(0x21b)])(),__metadata(a4_0x29a786(0x20f),Object)],EventService[a4_0x29a786(0x20d)],'app',void 0x0),exports[a4_0x29a786(0x212)]=EventService=__decorate([(0x0,core_1[a4_0x29a786(0x1f3)])(a4_0x29a786(0x1f2)),(0x0,core_1[a4_0x29a786(0x1f0)])(core_1[a4_0x29a786(0x1fe)][a4_0x29a786(0x218)])],EventService);
1
+ const a4_0x4fcbf4=a4_0x5600;function a4_0x12ee(){const _0x5b7f35=['584539ZQGDYK','init','name','5618830FbdxZb','DecoratorManager','__metadata','EVENT_KEY','decorate','once','metadata','listevent','app','listevent_throttle','default','prototype','throttle','17734jNXUic','apply','object','collect.js','off','../interface','defineProperty','resolve','emit','stringify','5EYOPSJ','length','toString','bind','function','sortByDesc','getOwnMetadata','getListevent','design:type','now','event','267gSiyDu','ScopeEnum','propertyKey','Provide','Singleton','__esModule','getAsync','5159912VrNKXB','24575994SJmpND','constructor','EventService','listModule','EVENT_ON_KEY','4078812bCmtqW','search','1341384xTqMNN','push','@midwayjs/core'];a4_0x12ee=function(){return _0x5b7f35;};return a4_0x12ee();}(function(_0x319144,_0x159a5d){const _0xe675af=a4_0x5600,_0x25a50c=_0x319144();while(!![]){try{const _0x458d28=-parseInt(_0xe675af(0x148))/0x1+parseInt(_0xe675af(0x158))/0x2*(-parseInt(_0xe675af(0x16d))/0x3)+-parseInt(_0xe675af(0x145))/0x4+-parseInt(_0xe675af(0x162))/0x5*(parseInt(_0xe675af(0x143))/0x6)+parseInt(_0xe675af(0x14b))/0x7+-parseInt(_0xe675af(0x13d))/0x8+parseInt(_0xe675af(0x13e))/0x9;if(_0x458d28===_0x159a5d)break;else _0x25a50c['push'](_0x25a50c['shift']());}catch(_0x526758){_0x25a50c['push'](_0x25a50c['shift']());}}}(a4_0x12ee,0x79f3d));const a4_0x3abfa2=(function(){let _0x5b97f5=!![];return function(_0x5c7a15,_0x15ed9e){const _0x4f799f=_0x5b97f5?function(){const _0x433fe3=a4_0x5600;if(_0x15ed9e){const _0x477ba3=_0x15ed9e[_0x433fe3(0x159)](_0x5c7a15,arguments);return _0x15ed9e=null,_0x477ba3;}}:function(){};return _0x5b97f5=![],_0x4f799f;};}()),a4_0x3637f9=a4_0x3abfa2(this,function(){const _0x4febc3=a4_0x5600;return a4_0x3637f9[_0x4febc3(0x164)]()['search']('(((.+)+)+)+$')[_0x4febc3(0x164)]()[_0x4febc3(0x13f)](a4_0x3637f9)[_0x4febc3(0x144)]('(((.+)+)+)+$');});a4_0x3637f9();'use strict';var __decorate=this&&this['__decorate']||function(_0x2e3968,_0x289cac,_0x5760b4,_0x587ae0){const _0x56a415=a4_0x5600;var _0x9c8cf0=arguments['length'],_0x5a89b6=_0x9c8cf0<0x3?_0x289cac:_0x587ae0===null?_0x587ae0=Object['getOwnPropertyDescriptor'](_0x289cac,_0x5760b4):_0x587ae0,_0x1a0ceb;if(typeof Reflect===_0x56a415(0x15a)&&typeof Reflect[_0x56a415(0x14f)]===_0x56a415(0x166))_0x5a89b6=Reflect[_0x56a415(0x14f)](_0x2e3968,_0x289cac,_0x5760b4,_0x587ae0);else{for(var _0x23d9d3=_0x2e3968[_0x56a415(0x163)]-0x1;_0x23d9d3>=0x0;_0x23d9d3--)if(_0x1a0ceb=_0x2e3968[_0x23d9d3])_0x5a89b6=(_0x9c8cf0<0x3?_0x1a0ceb(_0x5a89b6):_0x9c8cf0>0x3?_0x1a0ceb(_0x289cac,_0x5760b4,_0x5a89b6):_0x1a0ceb(_0x289cac,_0x5760b4))||_0x5a89b6;}return _0x9c8cf0>0x3&&_0x5a89b6&&Object[_0x56a415(0x15e)](_0x289cac,_0x5760b4,_0x5a89b6),_0x5a89b6;},__metadata=this&&this[a4_0x4fcbf4(0x14d)]||function(_0x56e1a6,_0x57705a){const _0x39b9e1=a4_0x4fcbf4;if(typeof Reflect===_0x39b9e1(0x15a)&&typeof Reflect['metadata']===_0x39b9e1(0x166))return Reflect[_0x39b9e1(0x151)](_0x56e1a6,_0x57705a);};Object[a4_0x4fcbf4(0x15e)](exports,a4_0x4fcbf4(0x13b),{'value':!![]}),exports[a4_0x4fcbf4(0x140)]=void 0x0;const collect_js_1=require(a4_0x4fcbf4(0x15b)),core_1=require(a4_0x4fcbf4(0x147)),core_2=require('@midwayjs/core'),interface_1=require(a4_0x4fcbf4(0x15d));let EventService=class EventService{constructor(){const _0x5d9755=a4_0x4fcbf4;this[_0x5d9755(0x149)]=![];}async[a4_0x4fcbf4(0x169)](_0x15bad9){const _0x25a12e=a4_0x4fcbf4;if(!this[_0x25a12e(0x149)]){this[_0x25a12e(0x149)]=!![],this[_0x25a12e(0x152)]={},this[_0x25a12e(0x154)]={};for(const _0x147919 of core_2[_0x25a12e(0x14c)][_0x25a12e(0x141)](interface_1[_0x25a12e(0x14e)])||[]){const _0x2b633d=await this[_0x25a12e(0x153)]['getApplicationContext']()[_0x25a12e(0x13c)](_0x147919);for(const _0x155f26 of core_2['MetadataManager'][_0x25a12e(0x168)](interface_1[_0x25a12e(0x142)],_0x147919)||[]){typeof(_0x2b633d[_0x155f26[_0x25a12e(0x138)]]==_0x25a12e(0x166))&&(!this[_0x25a12e(0x152)][_0x155f26['name']]&&(this[_0x25a12e(0x152)][_0x155f26['name']]=[]),this['listevent'][_0x155f26['name']][_0x25a12e(0x146)]({'priority':(_0x155f26===null||_0x155f26===void 0x0?void 0x0:_0x155f26['priority'])||0x0,'throttle':(_0x155f26===null||_0x155f26===void 0x0?void 0x0:_0x155f26[_0x25a12e(0x157)])||0x1f4,'resolve':_0x2b633d[_0x155f26[_0x25a12e(0x138)]][_0x25a12e(0x165)](_0x2b633d),'propertyKey':_0x147919[_0x25a12e(0x14a)]+'@'+_0x155f26[_0x25a12e(0x138)]}));}}for(const _0x59c86d in this['listevent']){this[_0x25a12e(0x152)][_0x59c86d]=(0x0,collect_js_1[_0x25a12e(0x155)])(this[_0x25a12e(0x152)][_0x59c86d])[_0x25a12e(0x167)]('priority')['all']();}}return _0x15bad9?this[_0x25a12e(0x152)][_0x15bad9]||[]:this[_0x25a12e(0x152)];}async[a4_0x4fcbf4(0x160)](_0x3d724d,..._0x34a6bc){const _0x1b9232=a4_0x4fcbf4;var _0x55b2c4,_0x35f26a,_0x39bee2,_0x11c021,_0x5b2766;const _0x221fa4=''+JSON[_0x1b9232(0x161)](_0x34a6bc),_0x23ef00=Date[_0x1b9232(0x16b)]();await this[_0x1b9232(0x169)]();for(let _0x2688d8 in this[_0x1b9232(0x154)]){this[_0x1b9232(0x154)][_0x2688d8]<_0x23ef00&&delete this[_0x1b9232(0x154)][_0x2688d8];}for(let _0x1840a4 in(_0x55b2c4=this[_0x1b9232(0x152)])===null||_0x55b2c4===void 0x0?void 0x0:_0x55b2c4[_0x3d724d]){if(((_0x35f26a=this[_0x1b9232(0x152)][_0x3d724d])===null||_0x35f26a===void 0x0?void 0x0:_0x35f26a[_0x1840a4])&&typeof((_0x11c021=(_0x39bee2=this[_0x1b9232(0x152)][_0x3d724d])===null||_0x39bee2===void 0x0?void 0x0:_0x39bee2[_0x1840a4])===null||_0x11c021===void 0x0?void 0x0:_0x11c021[_0x1b9232(0x15f)])==_0x1b9232(0x166)){const _0x5e04ad=_0x3d724d+'_'+_0x1840a4+'@'+_0x221fa4;(this[_0x1b9232(0x154)][_0x5e04ad]||0x0)<_0x23ef00&&(this[_0x1b9232(0x154)][_0x5e04ad]=_0x23ef00+(((_0x5b2766=this[_0x1b9232(0x152)][_0x3d724d][_0x1840a4])===null||_0x5b2766===void 0x0?void 0x0:_0x5b2766['throttle'])||0x1f4),await this[_0x1b9232(0x152)][_0x3d724d][_0x1840a4][_0x1b9232(0x15f)](..._0x34a6bc));}}}async[a4_0x4fcbf4(0x150)](_0x33a057,..._0x5620bc){const _0x356379=a4_0x4fcbf4;return await this[_0x356379(0x169)](),await this['emit'](_0x33a057,..._0x5620bc),this[_0x356379(0x15c)](_0x33a057);}async[a4_0x4fcbf4(0x15c)](_0x5113a0){const _0x429419=a4_0x4fcbf4;return await this[_0x429419(0x169)](),this[_0x429419(0x152)][_0x5113a0]&&delete this['listevent'][_0x5113a0],!!this[_0x429419(0x152)][_0x5113a0];}};function a4_0x5600(_0x39245b,_0x443510){_0x39245b=_0x39245b-0x138;const _0x5cce32=a4_0x12ee();let _0x3637f9=_0x5cce32[_0x39245b];return _0x3637f9;}exports['EventService']=EventService,__decorate([(0x0,core_1['MainApp'])(),__metadata(a4_0x4fcbf4(0x16a),Object)],EventService[a4_0x4fcbf4(0x156)],a4_0x4fcbf4(0x153),void 0x0),exports[a4_0x4fcbf4(0x140)]=EventService=__decorate([(0x0,core_1[a4_0x4fcbf4(0x139)])(a4_0x4fcbf4(0x16c)),(0x0,core_1['Scope'])(core_1[a4_0x4fcbf4(0x16e)][a4_0x4fcbf4(0x13a)])],EventService);
package/package.json CHANGED
@@ -1,27 +1,27 @@
1
1
  {
2
- "name": "@anveroapi/event",
3
- "version": "4.0.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
- "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
- }
2
+ "name": "@anveroapi/event",
3
+ "version": "4.1.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
+ "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
+ }