@anncic-api/event 2.0.6 → 2.0.7
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.
- package/dist/configuration.js +1 -1
- package/dist/decorator/Event.js +1 -1
- package/dist/index.js +1 -1
- package/dist/interface.js +1 -1
- package/dist/service/EventService.js +1 -1
- package/package.json +2 -2
package/dist/configuration.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a0_0x1f06(){var _0x5b0674=['CustomConfiguration','config','Configuration','metadata','function','2576925KPxuBZ','832773wbigGt','apply','object','4260hsZzrl','41bjJNOJ','MidwayDecoratorService','prototype','design:type','4ctKiGf','decorator','MidwayConfigService','644358KtJfqY','10ZCkPpZ','__decorate','length','anncic-api:event','291592CaeTZa','@midwayjs/core','__metadata','decorate','(((.+)+)+)+$','__esModule','toString','search','defineProperty','constructor','onReady','8xKZGse','3205389IkBGNH','getOwnPropertyDescriptor','1175650xzMZKx'];a0_0x1f06=function(){return _0x5b0674;};return a0_0x1f06();}var a0_0x27fd97=a0_0x1ad4;(function(_0x38976c,_0x22a2b4){var _0x3ead55=a0_0x1ad4,_0x82a6a0=_0x38976c();while(!![]){try{var _0x14ff45=-parseInt(_0x3ead55(0x9b))/0x1*(-parseInt(_0x3ead55(0x9a))/0x2)+parseInt(_0x3ead55(0x97))/0x3+-parseInt(_0x3ead55(0x9f))/0x4*(-parseInt(_0x3ead55(0x90))/0x5)+parseInt(_0x3ead55(0xa2))/0x6+parseInt(_0x3ead55(0xa7))/0x7*(parseInt(_0x3ead55(0x8d))/0x8)+-parseInt(_0x3ead55(0x96))/0x9+-parseInt(_0x3ead55(0xa3))/0xa*(parseInt(_0x3ead55(0x8e))/0xb);if(_0x14ff45===_0x22a2b4)break;else _0x82a6a0['push'](_0x82a6a0['shift']());}catch(_0x47ac35){_0x82a6a0['push'](_0x82a6a0['shift']());}}}(a0_0x1f06,0x29d70));var a0_0x44d0f3=(function(){var _0x11d192=!![];return function(_0x3d96b4,_0x2f98cf){var _0x178509=_0x11d192?function(){var _0x1df2a0=a0_0x1ad4;if(_0x2f98cf){var _0x559843=_0x2f98cf[_0x1df2a0(0x98)](_0x3d96b4,arguments);return _0x2f98cf=null,_0x559843;}}:function(){};return _0x11d192=![],_0x178509;};}()),a0_0x335098=a0_0x44d0f3(this,function(){var _0x5a204b=a0_0x1ad4;return a0_0x335098[_0x5a204b(0x88)]()['search'](_0x5a204b(0x86))[_0x5a204b(0x88)]()[_0x5a204b(0x8b)](a0_0x335098)[_0x5a204b(0x89)](_0x5a204b(0x86));});a0_0x335098();function a0_0x1ad4(_0x7b8554,_0x5c459d){var _0x111aea=a0_0x1f06();return a0_0x1ad4=function(_0x335098,_0x44d0f3){_0x335098=_0x335098-0x86;var _0x1f06a5=_0x111aea[_0x335098];return _0x1f06a5;},a0_0x1ad4(_0x7b8554,_0x5c459d);}'use strict';var __decorate=this&&this[a0_0x27fd97(0xa4)]||function(_0x53ad65,_0x50f090,_0x4839db,_0x5336b5){var _0x4ff217=a0_0x27fd97,_0x1cb159=arguments[_0x4ff217(0xa5)],_0x2b54fe=_0x1cb159<0x3?_0x50f090:_0x5336b5===null?_0x5336b5=Object[_0x4ff217(0x8f)](_0x50f090,_0x4839db):_0x5336b5,_0x49d633;if(typeof Reflect===_0x4ff217(0x99)&&typeof Reflect['decorate']==='function')_0x2b54fe=Reflect[_0x4ff217(0xaa)](_0x53ad65,_0x50f090,_0x4839db,_0x5336b5);else{for(var _0x5e0d91=_0x53ad65[_0x4ff217(0xa5)]-0x1;_0x5e0d91>=0x0;_0x5e0d91--)if(_0x49d633=_0x53ad65[_0x5e0d91])_0x2b54fe=(_0x1cb159<0x3?_0x49d633(_0x2b54fe):_0x1cb159>0x3?_0x49d633(_0x50f090,_0x4839db,_0x2b54fe):_0x49d633(_0x50f090,_0x4839db))||_0x2b54fe;}return _0x1cb159>0x3&&_0x2b54fe&&Object[_0x4ff217(0x8a)](_0x50f090,_0x4839db,_0x2b54fe),_0x2b54fe;},__metadata=this&&this[a0_0x27fd97(0xa9)]||function(_0x3c0bd8,_0x3ef547){var _0x298392=a0_0x27fd97;if(typeof Reflect===_0x298392(0x99)&&typeof Reflect[_0x298392(0x94)]===_0x298392(0x95))return Reflect[_0x298392(0x94)](_0x3c0bd8,_0x3ef547);};Object[a0_0x27fd97(0x8a)](exports,a0_0x27fd97(0x87),{'value':!![]}),exports[a0_0x27fd97(0x91)]=void 0x0;const core_1=require(a0_0x27fd97(0xa8)),core_2=require(a0_0x27fd97(0xa8));let CustomConfiguration=class CustomConfiguration{async[a0_0x27fd97(0x8c)](){}};__decorate([(0x0,core_1['Inject'])(),__metadata(a0_0x27fd97(0x9e),core_2[a0_0x27fd97(0xa1)])],CustomConfiguration['prototype'],a0_0x27fd97(0x92),void 0x0),__decorate([(0x0,core_1['Inject'])(),__metadata(a0_0x27fd97(0x9e),core_2[a0_0x27fd97(0x9c)])],CustomConfiguration[a0_0x27fd97(0x9d)],a0_0x27fd97(0xa0),void 0x0),CustomConfiguration=__decorate([(0x0,core_1[a0_0x27fd97(0x93)])({'conflictCheck':![],'namespace':a0_0x27fd97(0xa6)})],CustomConfiguration),exports[a0_0x27fd97(0x91)]=CustomConfiguration;
|
package/dist/decorator/Event.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a1_0x5aef7f=a1_0x38db;(function(_0x1bda3f,_0x275029){const _0x259797=a1_0x38db,_0x3a3b1b=_0x1bda3f();while(!![]){try{const _0x4b68ca=-parseInt(_0x259797(0x160))/0x1*(parseInt(_0x259797(0x155))/0x2)+-parseInt(_0x259797(0x159))/0x3+-parseInt(_0x259797(0x165))/0x4*(parseInt(_0x259797(0x15c))/0x5)+parseInt(_0x259797(0x161))/0x6+-parseInt(_0x259797(0x15a))/0x7+parseInt(_0x259797(0x154))/0x8+parseInt(_0x259797(0x153))/0x9;if(_0x4b68ca===_0x275029)break;else _0x3a3b1b['push'](_0x3a3b1b['shift']());}catch(_0x36915e){_0x3a3b1b['push'](_0x3a3b1b['shift']());}}}(a1_0x3f98,0x8cf14));const a1_0x497826=(function(){let _0x28f2bf=!![];return function(_0x350070,_0x4f8339){const _0x431b7c=_0x28f2bf?function(){const _0x38c5e7=a1_0x38db;if(_0x4f8339){const _0x2e66bb=_0x4f8339[_0x38c5e7(0x15b)](_0x350070,arguments);return _0x4f8339=null,_0x2e66bb;}}:function(){};return _0x28f2bf=![],_0x431b7c;};}()),a1_0x41f97e=a1_0x497826(this,function(){const _0x3ad0d9=a1_0x38db;return a1_0x41f97e[_0x3ad0d9(0x151)]()[_0x3ad0d9(0x150)](_0x3ad0d9(0x152))[_0x3ad0d9(0x151)]()[_0x3ad0d9(0x15d)](a1_0x41f97e)['search'](_0x3ad0d9(0x152));});function a1_0x38db(_0xb4e7a3,_0x13be3a){const _0x254e5f=a1_0x3f98();return a1_0x38db=function(_0x41f97e,_0x497826){_0x41f97e=_0x41f97e-0x14e;let _0x3f9852=_0x254e5f[_0x41f97e];return _0x3f9852;},a1_0x38db(_0xb4e7a3,_0x13be3a);}a1_0x41f97e();'use strict';Object[a1_0x5aef7f(0x163)](exports,a1_0x5aef7f(0x157),{'value':!![]}),exports['Event']=void 0x0;function a1_0x3f98(){const _0x37a5a3=['342482yxzDds','apply','106025gTtBkF','constructor','Event','attachClassMetadata','1qqvoCh','5781318QivBgu','EVENT_KEY','defineProperty','Provide','92qINAff','Scope','@midwayjs/core','search','toString','(((.+)+)+)+$','13434246VOKXOm','3415632aQnuPS','1545430FzQEPa','ScopeEnum','__esModule','saveModule','2989635FManaD'];a1_0x3f98=function(){return _0x37a5a3;};return a1_0x3f98();}const core_1=require(a1_0x5aef7f(0x14f)),interface_1=require('../interface');function Event(){return _0x4ba2ad=>{const _0x35d81e=a1_0x38db;(0x0,core_1[_0x35d81e(0x164)])()(_0x4ba2ad),(0x0,core_1[_0x35d81e(0x158)])(interface_1[_0x35d81e(0x162)],_0x4ba2ad),(0x0,core_1[_0x35d81e(0x14e)])(core_1[_0x35d81e(0x156)]['Request'],{'allowDowngrade':!![]})(_0x4ba2ad);};}exports[a1_0x5aef7f(0x15e)]=Event,Event['On']=function(_0x18f341,_0x51fd68=0x0){return(_0x3af736,_0x245b3b,_0x243192)=>{const _0x26e8fa=a1_0x38db;return(0x0,core_1[_0x26e8fa(0x15f)])(interface_1['EVENT_ON_KEY'],{'name':_0x18f341,'priority':_0x51fd68,'propertyKey':_0x245b3b,'descriptor':_0x243192},_0x3af736),_0x243192;};};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a2_0x4c7298=a2_0x347c;(function(_0x257a25,_0x21877d){var _0x1252ce=a2_0x347c,_0x27326c=_0x257a25();while(!![]){try{var _0x1caa81=parseInt(_0x1252ce(0x1c9))/0x1+-parseInt(_0x1252ce(0x1ce))/0x2+parseInt(_0x1252ce(0x1d5))/0x3+-parseInt(_0x1252ce(0x1cf))/0x4*(parseInt(_0x1252ce(0x1c4))/0x5)+parseInt(_0x1252ce(0x1c5))/0x6+parseInt(_0x1252ce(0x1c6))/0x7*(parseInt(_0x1252ce(0x1d2))/0x8)+-parseInt(_0x1252ce(0x1d3))/0x9;if(_0x1caa81===_0x21877d)break;else _0x27326c['push'](_0x27326c['shift']());}catch(_0x1d14af){_0x27326c['push'](_0x27326c['shift']());}}}(a2_0x181e,0xeddfd));var a2_0x5219fd=(function(){var _0x35451e=!![];return function(_0x407a03,_0x29236a){var _0xc175ef=_0x35451e?function(){var _0x4782ba=a2_0x347c;if(_0x29236a){var _0xfab47a=_0x29236a[_0x4782ba(0x1d6)](_0x407a03,arguments);return _0x29236a=null,_0xfab47a;}}:function(){};return _0x35451e=![],_0xc175ef;};}()),a2_0x314082=a2_0x5219fd(this,function(){var _0x187f6b=a2_0x347c;return a2_0x314082[_0x187f6b(0x1d1)]()[_0x187f6b(0x1d4)](_0x187f6b(0x1c3))[_0x187f6b(0x1d1)]()[_0x187f6b(0x1c8)](a2_0x314082)[_0x187f6b(0x1d4)](_0x187f6b(0x1c3));});a2_0x314082();'use strict';Object['defineProperty'](exports,a2_0x4c7298(0x1cb),{'value':!![]}),exports[a2_0x4c7298(0x1cc)]=exports['EventService']=exports['Event']=void 0x0;var Event_1=require(a2_0x4c7298(0x1ca));function a2_0x347c(_0x558946,_0x1cda76){var _0x4bc47f=a2_0x181e();return a2_0x347c=function(_0x314082,_0x5219fd){_0x314082=_0x314082-0x1c2;var _0x181e79=_0x4bc47f[_0x314082];return _0x181e79;},a2_0x347c(_0x558946,_0x1cda76);}Object[a2_0x4c7298(0x1c2)](exports,a2_0x4c7298(0x1cd),{'enumerable':!![],'get':function(){var _0x57f97f=a2_0x4c7298;return Event_1[_0x57f97f(0x1cd)];}});var EventService_1=require(a2_0x4c7298(0x1d0));Object[a2_0x4c7298(0x1c2)](exports,a2_0x4c7298(0x1c7),{'enumerable':!![],'get':function(){var _0xb11dc9=a2_0x4c7298;return EventService_1[_0xb11dc9(0x1c7)];}});function a2_0x181e(){var _0x39772e=['__esModule','Configuration','Event','1624336IoXwcg','3155688cAaMNO','./service/EventService','toString','3487440ouYrEr','8161218QstxPk','search','1045986pKgAZo','apply','defineProperty','(((.+)+)+)+$','5GTbumn','7625952POXIjo','7BVDgqP','EventService','constructor','1426641pNIxtL','./decorator/Event'];a2_0x181e=function(){return _0x39772e;};return a2_0x181e();}var configuration_1=require('./configuration');Object[a2_0x4c7298(0x1c2)](exports,'Configuration',{'enumerable':!![],'get':function(){return configuration_1['CustomConfiguration'];}});
|
package/dist/interface.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a3_0x2b1649=a3_0x2f47;function a3_0x2f47(_0x5c0856,_0x49bc41){var _0x26ce3b=a3_0x1079();return a3_0x2f47=function(_0x21b3c2,_0x44f0e6){_0x21b3c2=_0x21b3c2-0xb0;var _0x107978=_0x26ce3b[_0x21b3c2];return _0x107978;},a3_0x2f47(_0x5c0856,_0x49bc41);}function a3_0x1079(){var _0x1f1758=['6048guTOQy','37362ETNwzX','EVENT_ON_KEY','anncic-api:event','8763340gODGLd','3828YYxezE','constructor','anncic-api:event:on','toString','__esModule','search','(((.+)+)+)+$','10178175plHWjI','3100964KhuMxz','apply','3AfYrIJ','205454zMyZeo','92592CCBgTd','2aBslKV','455LvAfQU','8032ePLMBP'];a3_0x1079=function(){return _0x1f1758;};return a3_0x1079();}(function(_0x3b872d,_0x5b83c2){var _0x18e3ba=a3_0x2f47,_0x12bb5e=_0x3b872d();while(!![]){try{var _0x174aa5=-parseInt(_0x18e3ba(0xba))/0x1*(parseInt(_0x18e3ba(0xb8))/0x2)+parseInt(_0x18e3ba(0xb7))/0x3*(parseInt(_0x18e3ba(0xb5))/0x4)+parseInt(_0x18e3ba(0xbb))/0x5*(parseInt(_0x18e3ba(0xbe))/0x6)+-parseInt(_0x18e3ba(0xb4))/0x7+parseInt(_0x18e3ba(0xbc))/0x8*(-parseInt(_0x18e3ba(0xbd))/0x9)+-parseInt(_0x18e3ba(0xc1))/0xa+parseInt(_0x18e3ba(0xc2))/0xb*(parseInt(_0x18e3ba(0xb9))/0xc);if(_0x174aa5===_0x5b83c2)break;else _0x12bb5e['push'](_0x12bb5e['shift']());}catch(_0x448c31){_0x12bb5e['push'](_0x12bb5e['shift']());}}}(a3_0x1079,0xc75b5));var a3_0x44f0e6=(function(){var _0x47884a=!![];return function(_0x48f395,_0x195b6d){var _0x14b637=_0x47884a?function(){var _0x3ab868=a3_0x2f47;if(_0x195b6d){var _0x1b9330=_0x195b6d[_0x3ab868(0xb6)](_0x48f395,arguments);return _0x195b6d=null,_0x1b9330;}}:function(){};return _0x47884a=![],_0x14b637;};}()),a3_0x21b3c2=a3_0x44f0e6(this,function(){var _0x3a54c1=a3_0x2f47;return a3_0x21b3c2[_0x3a54c1(0xb0)]()[_0x3a54c1(0xb2)]('(((.+)+)+)+$')['toString']()[_0x3a54c1(0xc3)](a3_0x21b3c2)[_0x3a54c1(0xb2)](_0x3a54c1(0xb3));});a3_0x21b3c2();'use strict';Object['defineProperty'](exports,a3_0x2b1649(0xb1),{'value':!![]}),exports[a3_0x2b1649(0xbf)]=exports['EVENT_KEY']=void 0x0,exports['EVENT_KEY']=a3_0x2b1649(0xc0),exports[a3_0x2b1649(0xbf)]=a3_0x2b1649(0xc4);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a4_0xed0775=a4_0x32c1;function a4_0x43ce(){const _0x3ebaef=['782864zkWKdS','constructor','36cdbjBK','getApplicationContext','name','../interface','(((.+)+)+)+$','once','propertyKey','event','off','function','10szPVKC','object','toString','init','790746fLYsQB','listevent','priority','EVENT_KEY','getListevent','EVENT_ON_KEY','resolve','prototype','design:type','bind','Singleton','3580178wulvdz','__esModule','EventService','34hMgYsQ','decorate','Provide','metadata','length','search','getAsync','listModule','default','all','collect.js','@midwayjs/core','83988ngHpgG','930912dTpcwG','25224gqStkd','2099210crCQbt','app'];a4_0x43ce=function(){return _0x3ebaef;};return a4_0x43ce();}(function(_0x429601,_0x12b96b){const _0x122f2e=a4_0x32c1,_0x303534=_0x429601();while(!![]){try{const _0x2dbe10=parseInt(_0x122f2e(0x1a2))/0x1*(-parseInt(_0x122f2e(0x1c3))/0x2)+-parseInt(_0x122f2e(0x1b5))/0x3+parseInt(_0x122f2e(0x1cf))/0x4+-parseInt(_0x122f2e(0x1b1))/0x5*(parseInt(_0x122f2e(0x1a1))/0x6)+parseInt(_0x122f2e(0x1c0))/0x7+-parseInt(_0x122f2e(0x1a5))/0x8+-parseInt(_0x122f2e(0x1a7))/0x9*(-parseInt(_0x122f2e(0x1a3))/0xa);if(_0x2dbe10===_0x12b96b)break;else _0x303534['push'](_0x303534['shift']());}catch(_0x284e42){_0x303534['push'](_0x303534['shift']());}}}(a4_0x43ce,0x424df));function a4_0x32c1(_0x337a20,_0x1c07ec){const _0x2c83a1=a4_0x43ce();return a4_0x32c1=function(_0x40b74e,_0x5abf7e){_0x40b74e=_0x40b74e-0x1a1;let _0x43ce86=_0x2c83a1[_0x40b74e];return _0x43ce86;},a4_0x32c1(_0x337a20,_0x1c07ec);}const a4_0x5abf7e=(function(){let _0x53f5bf=!![];return function(_0x32e5c0,_0x2a4fbc){const _0x30ecce=_0x53f5bf?function(){if(_0x2a4fbc){const _0x4a407f=_0x2a4fbc['apply'](_0x32e5c0,arguments);return _0x2a4fbc=null,_0x4a407f;}}:function(){};return _0x53f5bf=![],_0x30ecce;};}()),a4_0x40b74e=a4_0x5abf7e(this,function(){const _0x2d6658=a4_0x32c1;return a4_0x40b74e[_0x2d6658(0x1b3)]()[_0x2d6658(0x1c8)](_0x2d6658(0x1ab))[_0x2d6658(0x1b3)]()[_0x2d6658(0x1a6)](a4_0x40b74e)['search'](_0x2d6658(0x1ab));});a4_0x40b74e();'use strict';var __decorate=this&&this['__decorate']||function(_0x406369,_0x4e2ca4,_0x544af6,_0x57e0d5){const _0x32c786=a4_0x32c1;var _0x129a1c=arguments[_0x32c786(0x1c7)],_0x392938=_0x129a1c<0x3?_0x4e2ca4:_0x57e0d5===null?_0x57e0d5=Object['getOwnPropertyDescriptor'](_0x4e2ca4,_0x544af6):_0x57e0d5,_0x539660;if(typeof Reflect===_0x32c786(0x1b2)&&typeof Reflect['decorate']===_0x32c786(0x1b0))_0x392938=Reflect[_0x32c786(0x1c4)](_0x406369,_0x4e2ca4,_0x544af6,_0x57e0d5);else{for(var _0x365e78=_0x406369[_0x32c786(0x1c7)]-0x1;_0x365e78>=0x0;_0x365e78--)if(_0x539660=_0x406369[_0x365e78])_0x392938=(_0x129a1c<0x3?_0x539660(_0x392938):_0x129a1c>0x3?_0x539660(_0x4e2ca4,_0x544af6,_0x392938):_0x539660(_0x4e2ca4,_0x544af6))||_0x392938;}return _0x129a1c>0x3&&_0x392938&&Object['defineProperty'](_0x4e2ca4,_0x544af6,_0x392938),_0x392938;},__metadata=this&&this['__metadata']||function(_0x53623d,_0x126fea){const _0x360abe=a4_0x32c1;if(typeof Reflect==='object'&&typeof Reflect['metadata']===_0x360abe(0x1b0))return Reflect[_0x360abe(0x1c6)](_0x53623d,_0x126fea);};Object['defineProperty'](exports,a4_0xed0775(0x1c1),{'value':!![]}),exports[a4_0xed0775(0x1c2)]=void 0x0;const collect_js_1=require(a4_0xed0775(0x1cd)),core_1=require(a4_0xed0775(0x1ce)),interface_1=require(a4_0xed0775(0x1aa));let EventService=class EventService{constructor(){const _0x2eef76=a4_0xed0775;this[_0x2eef76(0x1b4)]=![];}async[a4_0xed0775(0x1b9)](_0x329226){const _0x336e8c=a4_0xed0775;if(!this[_0x336e8c(0x1b4)]){this[_0x336e8c(0x1b4)]=!![],this[_0x336e8c(0x1b6)]={};for(const _0x1c5237 of(0x0,core_1[_0x336e8c(0x1ca)])(interface_1[_0x336e8c(0x1b8)])||[]){const _0x88902e=await this[_0x336e8c(0x1a4)][_0x336e8c(0x1a8)]()[_0x336e8c(0x1c9)](_0x1c5237);for(const _0x5e3e15 of(0x0,core_1['getClassMetadata'])(interface_1[_0x336e8c(0x1ba)],_0x1c5237)||[]){typeof(_0x88902e[_0x5e3e15[_0x336e8c(0x1ad)]]==_0x336e8c(0x1b0))&&(!this[_0x336e8c(0x1b6)][_0x5e3e15['name']]&&(this[_0x336e8c(0x1b6)][_0x5e3e15[_0x336e8c(0x1a9)]]=[]),this[_0x336e8c(0x1b6)][_0x5e3e15[_0x336e8c(0x1a9)]]['push']({'priority':_0x5e3e15['priority'],'resolve':_0x88902e[_0x5e3e15[_0x336e8c(0x1ad)]][_0x336e8c(0x1be)](_0x88902e),'propertyKey':_0x1c5237[_0x336e8c(0x1a9)]+'@'+_0x5e3e15['propertyKey']}));}}for(const _0x219d2d in this[_0x336e8c(0x1b6)]){this['listevent'][_0x219d2d]=(0x0,collect_js_1[_0x336e8c(0x1cb)])(this[_0x336e8c(0x1b6)][_0x219d2d])['sortByDesc'](_0x336e8c(0x1b7))[_0x336e8c(0x1cc)]();}}return _0x329226?this['listevent'][_0x329226]||[]:this[_0x336e8c(0x1b6)];}async['emit'](_0x1b1e54,..._0x2a1d0b){const _0x56e5a3=a4_0xed0775;var _0x4f471f,_0x53b146;await this[_0x56e5a3(0x1b9)]();for(let _0x512095 in(_0x4f471f=this['listevent'])===null||_0x4f471f===void 0x0?void 0x0:_0x4f471f[_0x1b1e54]){const _0x2dee1f=(_0x53b146=this['listevent'][_0x1b1e54])===null||_0x53b146===void 0x0?void 0x0:_0x53b146[_0x512095];(_0x2dee1f===null||_0x2dee1f===void 0x0?void 0x0:_0x2dee1f['resolve'])&&typeof(_0x2dee1f===null||_0x2dee1f===void 0x0?void 0x0:_0x2dee1f[_0x56e5a3(0x1bb)])=='function'&&await _0x2dee1f[_0x56e5a3(0x1bb)](..._0x2a1d0b);}}async[a4_0xed0775(0x1ac)](_0x365cf0,..._0x45f89d){const _0x4b98d9=a4_0xed0775;return await this[_0x4b98d9(0x1b9)](),await this['emit'](_0x365cf0,..._0x45f89d),this['off'](_0x365cf0);}async[a4_0xed0775(0x1af)](_0x405bab){const _0x399804=a4_0xed0775;return await this[_0x399804(0x1b9)](),this[_0x399804(0x1b6)][_0x405bab]&&delete this[_0x399804(0x1b6)][_0x405bab],!!this['listevent'][_0x405bab];}};__decorate([(0x0,core_1['App'])(),__metadata(a4_0xed0775(0x1bd),Object)],EventService[a4_0xed0775(0x1bc)],'app',void 0x0),EventService=__decorate([(0x0,core_1[a4_0xed0775(0x1c5)])(a4_0xed0775(0x1ae)),(0x0,core_1['Scope'])(core_1['ScopeEnum'][a4_0xed0775(0x1bf)])],EventService),exports['EventService']=EventService;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anncic-api/event",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.7",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
"javascript-obfuscator": "^4.0.0",
|
|
22
22
|
"typescript": "^4.7.4"
|
|
23
23
|
},
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "e4a312d2851bf36763be54d6055cbf3e056d15d5"
|
|
25
25
|
}
|