@anncic-api/event 2.0.13 → 2.1.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.
- 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
|
+
var a0_0x433af8=a0_0x1037;(function(_0x51fceb,_0x5bb8e9){var _0x1b8cf9=a0_0x1037,_0x5a8259=_0x51fceb();while(!![]){try{var _0x1a3d37=-parseInt(_0x1b8cf9(0x150))/0x1*(parseInt(_0x1b8cf9(0x14b))/0x2)+parseInt(_0x1b8cf9(0x13f))/0x3+-parseInt(_0x1b8cf9(0x151))/0x4+parseInt(_0x1b8cf9(0x14e))/0x5+parseInt(_0x1b8cf9(0x142))/0x6+-parseInt(_0x1b8cf9(0x154))/0x7+-parseInt(_0x1b8cf9(0x157))/0x8*(parseInt(_0x1b8cf9(0x14d))/0x9);if(_0x1a3d37===_0x5bb8e9)break;else _0x5a8259['push'](_0x5a8259['shift']());}catch(_0x503cfd){_0x5a8259['push'](_0x5a8259['shift']());}}}(a0_0x2d2a,0xe20a4));var a0_0x4b5928=(function(){var _0x33536d=!![];return function(_0x4646b6,_0x2a53ea){var _0x2e9835=_0x33536d?function(){var _0x57ef33=a0_0x1037;if(_0x2a53ea){var _0x1ae682=_0x2a53ea[_0x57ef33(0x15b)](_0x4646b6,arguments);return _0x2a53ea=null,_0x1ae682;}}:function(){};return _0x33536d=![],_0x2e9835;};}()),a0_0x6c9a7e=a0_0x4b5928(this,function(){var _0x300fe5=a0_0x1037;return a0_0x6c9a7e[_0x300fe5(0x152)]()[_0x300fe5(0x147)](_0x300fe5(0x153))[_0x300fe5(0x152)]()[_0x300fe5(0x141)](a0_0x6c9a7e)[_0x300fe5(0x147)](_0x300fe5(0x153));});a0_0x6c9a7e();'use strict';function a0_0x1037(_0x38f6ed,_0x21b454){var _0x52823b=a0_0x2d2a();return a0_0x1037=function(_0x6c9a7e,_0x4b5928){_0x6c9a7e=_0x6c9a7e-0x139;var _0x2d2a67=_0x52823b[_0x6c9a7e];return _0x2d2a67;},a0_0x1037(_0x38f6ed,_0x21b454);}var __decorate=this&&this[a0_0x433af8(0x155)]||function(_0x10a953,_0x162fc5,_0x642952,_0x3fe8d3){var _0x2fa74b=a0_0x433af8,_0x4d31f7=arguments[_0x2fa74b(0x159)],_0x1b5930=_0x4d31f7<0x3?_0x162fc5:_0x3fe8d3===null?_0x3fe8d3=Object[_0x2fa74b(0x139)](_0x162fc5,_0x642952):_0x3fe8d3,_0x4fc7e8;if(typeof Reflect==='object'&&typeof Reflect[_0x2fa74b(0x156)]===_0x2fa74b(0x13a))_0x1b5930=Reflect[_0x2fa74b(0x156)](_0x10a953,_0x162fc5,_0x642952,_0x3fe8d3);else{for(var _0x45efde=_0x10a953[_0x2fa74b(0x159)]-0x1;_0x45efde>=0x0;_0x45efde--)if(_0x4fc7e8=_0x10a953[_0x45efde])_0x1b5930=(_0x4d31f7<0x3?_0x4fc7e8(_0x1b5930):_0x4d31f7>0x3?_0x4fc7e8(_0x162fc5,_0x642952,_0x1b5930):_0x4fc7e8(_0x162fc5,_0x642952))||_0x1b5930;}return _0x4d31f7>0x3&&_0x1b5930&&Object[_0x2fa74b(0x13e)](_0x162fc5,_0x642952,_0x1b5930),_0x1b5930;},__metadata=this&&this[a0_0x433af8(0x140)]||function(_0x3ebb43,_0x53663f){var _0x4bf3bd=a0_0x433af8;if(typeof Reflect===_0x4bf3bd(0x146)&&typeof Reflect[_0x4bf3bd(0x14c)]===_0x4bf3bd(0x13a))return Reflect[_0x4bf3bd(0x14c)](_0x3ebb43,_0x53663f);};Object[a0_0x433af8(0x13e)](exports,a0_0x433af8(0x149),{'value':!![]}),exports[a0_0x433af8(0x13b)]=void 0x0;const core_1=require('@midwayjs/core'),core_2=require(a0_0x433af8(0x13d));let CustomConfiguration=class CustomConfiguration{async[a0_0x433af8(0x15a)](){}};__decorate([(0x0,core_1[a0_0x433af8(0x143)])(),__metadata(a0_0x433af8(0x14a),core_2['MidwayConfigService'])],CustomConfiguration[a0_0x433af8(0x148)],a0_0x433af8(0x14f),void 0x0),__decorate([(0x0,core_1[a0_0x433af8(0x143)])(),__metadata('design:type',core_2[a0_0x433af8(0x145)])],CustomConfiguration[a0_0x433af8(0x148)],a0_0x433af8(0x13c),void 0x0),CustomConfiguration=__decorate([(0x0,core_1[a0_0x433af8(0x158)])({'conflictCheck':![],'namespace':a0_0x433af8(0x144)})],CustomConfiguration),exports[a0_0x433af8(0x13b)]=CustomConfiguration;function a0_0x2d2a(){var _0x1ba702=['getOwnPropertyDescriptor','function','CustomConfiguration','decorator','@midwayjs/core','defineProperty','4539720PyizDL','__metadata','constructor','1396710bxeVCJ','Inject','anncic-api:event','MidwayDecoratorService','object','search','prototype','__esModule','design:type','2vJSdVt','metadata','119241ByqPyg','6268540oZWRhu','config','426641PhPiRy','146544eFaRxi','toString','(((.+)+)+)+$','3298274fAswZk','__decorate','decorate','688iVrqDo','Configuration','length','onReady','apply'];a0_0x2d2a=function(){return _0x1ba702;};return a0_0x2d2a();}
|
package/dist/decorator/Event.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a1_0x128b19=a1_0x25d8;(function(_0x56159a,_0x594353){const _0x51d53f=a1_0x25d8,_0x5bcdc1=_0x56159a();while(!![]){try{const _0x2358f2=parseInt(_0x51d53f(0x1c4))/0x1+-parseInt(_0x51d53f(0x1ca))/0x2*(parseInt(_0x51d53f(0x1c8))/0x3)+parseInt(_0x51d53f(0x1b6))/0x4+-parseInt(_0x51d53f(0x1b7))/0x5+-parseInt(_0x51d53f(0x1c0))/0x6*(parseInt(_0x51d53f(0x1c2))/0x7)+-parseInt(_0x51d53f(0x1c7))/0x8+parseInt(_0x51d53f(0x1bc))/0x9;if(_0x2358f2===_0x594353)break;else _0x5bcdc1['push'](_0x5bcdc1['shift']());}catch(_0x25354d){_0x5bcdc1['push'](_0x5bcdc1['shift']());}}}(a1_0x4a9f,0x4977f));const a1_0x5d5d4e=(function(){let _0x212daf=!![];return function(_0x20e709,_0x372f22){const _0x4ecbc1=_0x212daf?function(){if(_0x372f22){const _0xa4534f=_0x372f22['apply'](_0x20e709,arguments);return _0x372f22=null,_0xa4534f;}}:function(){};return _0x212daf=![],_0x4ecbc1;};}()),a1_0xd4248b=a1_0x5d5d4e(this,function(){const _0x281ccf=a1_0x25d8;return a1_0xd4248b[_0x281ccf(0x1be)]()['search']('(((.+)+)+)+$')[_0x281ccf(0x1be)]()['constructor'](a1_0xd4248b)[_0x281ccf(0x1bf)]('(((.+)+)+)+$');});a1_0xd4248b();'use strict';Object[a1_0x128b19(0x1bd)](exports,a1_0x128b19(0x1c9),{'value':!![]}),exports['Event']=void 0x0;function a1_0x25d8(_0x4fe97c,_0x2d4cf3){const _0x12bf26=a1_0x4a9f();return a1_0x25d8=function(_0xd4248b,_0x5d5d4e){_0xd4248b=_0xd4248b-0x1b6;let _0x4a9fb0=_0x12bf26[_0xd4248b];return _0x4a9fb0;},a1_0x25d8(_0x4fe97c,_0x2d4cf3);}const core_1=require(a1_0x128b19(0x1bb)),interface_1=require('../interface');function Event(){return _0x4ad474=>{const _0x4d4c4e=a1_0x25d8;(0x0,core_1[_0x4d4c4e(0x1c1)])()(_0x4ad474),(0x0,core_1['saveModule'])(interface_1[_0x4d4c4e(0x1c3)],_0x4ad474),(0x0,core_1[_0x4d4c4e(0x1c5)])(core_1[_0x4d4c4e(0x1b9)]['Request'],{'allowDowngrade':!![]})(_0x4ad474);};}function a1_0x4a9f(){const _0x41e632=['defineProperty','toString','search','717414llNlij','Provide','35lYxJZG','EVENT_KEY','355263keixXM','Scope','attachClassMetadata','3623120kUsjyC','3VQHOZt','__esModule','726306wvfLjP','366652TfIcgJ','2255935tcwxsE','Event','ScopeEnum','EVENT_ON_KEY','@midwayjs/core','15471684zsFlwL'];a1_0x4a9f=function(){return _0x41e632;};return a1_0x4a9f();}exports[a1_0x128b19(0x1b8)]=Event,Event['On']=function(_0x590c09,_0x5cee29=0x0){return(_0x2e5550,_0x4e05aa,_0x494971)=>{const _0x460ba1=a1_0x25d8;return(0x0,core_1[_0x460ba1(0x1c6)])(interface_1[_0x460ba1(0x1ba)],{'name':_0x590c09,'priority':_0x5cee29,'propertyKey':_0x4e05aa,'descriptor':_0x494971},_0x2e5550),_0x494971;};};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a2_0x4a5bd9=a2_0x3d52;(function(_0x45f69d,_0x3e1720){var _0x205067=a2_0x3d52,_0x5250cf=_0x45f69d();while(!![]){try{var _0x3027ce=-parseInt(_0x205067(0x85))/0x1*(-parseInt(_0x205067(0x8a))/0x2)+-parseInt(_0x205067(0x87))/0x3+-parseInt(_0x205067(0x81))/0x4+parseInt(_0x205067(0x7f))/0x5*(-parseInt(_0x205067(0x90))/0x6)+parseInt(_0x205067(0x86))/0x7*(parseInt(_0x205067(0x91))/0x8)+-parseInt(_0x205067(0x8b))/0x9+parseInt(_0x205067(0x88))/0xa*(parseInt(_0x205067(0x84))/0xb);if(_0x3027ce===_0x3e1720)break;else _0x5250cf['push'](_0x5250cf['shift']());}catch(_0x36a262){_0x5250cf['push'](_0x5250cf['shift']());}}}(a2_0x92f0,0xbe8fd));var a2_0x4548c4=(function(){var _0x5edae0=!![];return function(_0x1a3bff,_0x499a64){var _0xb34489=_0x5edae0?function(){var _0x2f2bb1=a2_0x3d52;if(_0x499a64){var _0x343368=_0x499a64[_0x2f2bb1(0x82)](_0x1a3bff,arguments);return _0x499a64=null,_0x343368;}}:function(){};return _0x5edae0=![],_0xb34489;};}()),a2_0x2eeeda=a2_0x4548c4(this,function(){var _0x680f6c=a2_0x3d52;return a2_0x2eeeda[_0x680f6c(0x89)]()['search'](_0x680f6c(0x7e))[_0x680f6c(0x89)]()[_0x680f6c(0x92)](a2_0x2eeeda)[_0x680f6c(0x83)]('(((.+)+)+)+$');});a2_0x2eeeda();'use strict';Object[a2_0x4a5bd9(0x80)](exports,'__esModule',{'value':!![]}),exports['Configuration']=exports[a2_0x4a5bd9(0x8d)]=exports['Event']=void 0x0;var Event_1=require(a2_0x4a5bd9(0x8e));Object[a2_0x4a5bd9(0x80)](exports,a2_0x4a5bd9(0x7c),{'enumerable':!![],'get':function(){var _0x497f4a=a2_0x4a5bd9;return Event_1[_0x497f4a(0x7c)];}});var EventService_1=require('./service/EventService');Object[a2_0x4a5bd9(0x80)](exports,'EventService',{'enumerable':!![],'get':function(){return EventService_1['EventService'];}});function a2_0x3d52(_0x229938,_0x22dec1){var _0x62f42f=a2_0x92f0();return a2_0x3d52=function(_0x2eeeda,_0x4548c4){_0x2eeeda=_0x2eeeda-0x7c;var _0x92f02a=_0x62f42f[_0x2eeeda];return _0x92f02a;},a2_0x3d52(_0x229938,_0x22dec1);}var configuration_1=require(a2_0x4a5bd9(0x8c));Object[a2_0x4a5bd9(0x80)](exports,a2_0x4a5bd9(0x7d),{'enumerable':!![],'get':function(){var _0x4244a3=a2_0x4a5bd9;return configuration_1[_0x4244a3(0x8f)];}});function a2_0x92f0(){var _0x2334f4=['defineProperty','3785396dpDwiU','apply','search','44yqFZZB','380477roNqfs','38353CHgOBb','4679208HgOMcq','5563130vByNle','toString','4BKQCrl','1618416IkYAxr','./configuration','EventService','./decorator/Event','CustomConfiguration','152004pTXDAn','1552mrjAuZ','constructor','Event','Configuration','(((.+)+)+)+$','115vdGMDu'];a2_0x92f0=function(){return _0x2334f4;};return a2_0x92f0();}
|
package/dist/interface.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a3_0x557b97=a3_0x6725;(function(_0x41dbc2,_0x4f4065){var _0x2dcd9b=a3_0x6725,_0x45d733=_0x41dbc2();while(!![]){try{var _0x43bb22=-parseInt(_0x2dcd9b(0xe5))/0x1*(parseInt(_0x2dcd9b(0xe3))/0x2)+-parseInt(_0x2dcd9b(0xe1))/0x3+parseInt(_0x2dcd9b(0xe0))/0x4+parseInt(_0x2dcd9b(0xd5))/0x5*(-parseInt(_0x2dcd9b(0xd6))/0x6)+parseInt(_0x2dcd9b(0xdc))/0x7*(parseInt(_0x2dcd9b(0xdf))/0x8)+-parseInt(_0x2dcd9b(0xe2))/0x9*(parseInt(_0x2dcd9b(0xd7))/0xa)+parseInt(_0x2dcd9b(0xe7))/0xb;if(_0x43bb22===_0x4f4065)break;else _0x45d733['push'](_0x45d733['shift']());}catch(_0x301c85){_0x45d733['push'](_0x45d733['shift']());}}}(a3_0x3638,0xc7bde));function a3_0x6725(_0x2c9bac,_0x15ebf8){var _0x15523e=a3_0x3638();return a3_0x6725=function(_0x46ae46,_0x2d2b25){_0x46ae46=_0x46ae46-0xd5;var _0x36385b=_0x15523e[_0x46ae46];return _0x36385b;},a3_0x6725(_0x2c9bac,_0x15ebf8);}function a3_0x3638(){var _0x2d6417=['__esModule','search','anncic-api:event:on','EVENT_KEY','749JPDDhz','(((.+)+)+)+$','apply','2608vwRued','1574204TQRWVM','740406CaRiJt','972747GWzhGZ','48986NOrIMS','EVENT_ON_KEY','24WSobeV','toString','35639637oGiqnR','474035iLOPdU','66pEheRU','90JcjfEN'];a3_0x3638=function(){return _0x2d6417;};return a3_0x3638();}var a3_0x2d2b25=(function(){var _0x3d6d9d=!![];return function(_0x23dd04,_0x2ad18f){var _0x4c2c3a=_0x3d6d9d?function(){var _0x54a30d=a3_0x6725;if(_0x2ad18f){var _0x14f48a=_0x2ad18f[_0x54a30d(0xde)](_0x23dd04,arguments);return _0x2ad18f=null,_0x14f48a;}}:function(){};return _0x3d6d9d=![],_0x4c2c3a;};}()),a3_0x46ae46=a3_0x2d2b25(this,function(){var _0x1aebfc=a3_0x6725;return a3_0x46ae46[_0x1aebfc(0xe6)]()['search'](_0x1aebfc(0xdd))[_0x1aebfc(0xe6)]()['constructor'](a3_0x46ae46)[_0x1aebfc(0xd9)](_0x1aebfc(0xdd));});a3_0x46ae46();'use strict';Object['defineProperty'](exports,a3_0x557b97(0xd8),{'value':!![]}),exports['EVENT_ON_KEY']=exports[a3_0x557b97(0xdb)]=void 0x0,exports[a3_0x557b97(0xdb)]='anncic-api:event',exports[a3_0x557b97(0xe4)]=a3_0x557b97(0xda);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a4_0x3bc72f=a4_0x21ae;(function(_0x4e99e7,_0x41fa13){const _0x1a0e11=a4_0x21ae,_0x1c9a82=_0x4e99e7();while(!![]){try{const _0x17e1a5=-parseInt(_0x1a0e11(0x193))/0x1*(-parseInt(_0x1a0e11(0x191))/0x2)+-parseInt(_0x1a0e11(0x181))/0x3+-parseInt(_0x1a0e11(0x186))/0x4*(-parseInt(_0x1a0e11(0x19f))/0x5)+-parseInt(_0x1a0e11(0x17b))/0x6*(-parseInt(_0x1a0e11(0x18c))/0x7)+parseInt(_0x1a0e11(0x184))/0x8*(parseInt(_0x1a0e11(0x18e))/0x9)+parseInt(_0x1a0e11(0x182))/0xa+-parseInt(_0x1a0e11(0x1a8))/0xb;if(_0x17e1a5===_0x41fa13)break;else _0x1c9a82['push'](_0x1c9a82['shift']());}catch(_0x3749ae){_0x1c9a82['push'](_0x1c9a82['shift']());}}}(a4_0x3764,0xa5a9a));const a4_0x3dbdc2=(function(){let _0x1c45e9=!![];return function(_0x1c24c3,_0x518b9b){const _0x198caa=_0x1c45e9?function(){const _0x14be8a=a4_0x21ae;if(_0x518b9b){const _0x7ccd9e=_0x518b9b[_0x14be8a(0x19a)](_0x1c24c3,arguments);return _0x518b9b=null,_0x7ccd9e;}}:function(){};return _0x1c45e9=![],_0x198caa;};}()),a4_0x4191fb=a4_0x3dbdc2(this,function(){const _0x15d623=a4_0x21ae;return a4_0x4191fb['toString']()[_0x15d623(0x19e)]('(((.+)+)+)+$')[_0x15d623(0x199)]()[_0x15d623(0x195)](a4_0x4191fb)[_0x15d623(0x19e)]('(((.+)+)+)+$');});function a4_0x3764(){const _0x4da55b=['__esModule','toString','apply','push','decorate','getClassMetadata','search','140rvnoib','name','emit','priority','listevent','getOwnPropertyDescriptor','metadata','EVENT_KEY','defineProperty','13613292UinoWY','init','getListevent','default','all','object','propertyKey','EventService','getApplicationContext','492tJlPEV','listModule','app','event','length','resolve','471498AAKNkN','8029380LzRWUW','App','24ZMwSkL','__decorate','29356gYECMk','bind','Provide','sortByDesc','__metadata','function','63301NnfLEn','../interface','7038YXLrqQ','prototype','Scope','10CXPyAU','getAsync','64198IrYeTs','@midwayjs/core','constructor','Singleton','off'];a4_0x3764=function(){return _0x4da55b;};return a4_0x3764();}a4_0x4191fb();'use strict';var __decorate=this&&this[a4_0x3bc72f(0x185)]||function(_0x15660a,_0x5953bd,_0x45207d,_0x5eb633){const _0x3c603b=a4_0x3bc72f;var _0x1fc51f=arguments[_0x3c603b(0x17f)],_0x1148b2=_0x1fc51f<0x3?_0x5953bd:_0x5eb633===null?_0x5eb633=Object[_0x3c603b(0x1a4)](_0x5953bd,_0x45207d):_0x5eb633,_0x5690e7;if(typeof Reflect===_0x3c603b(0x177)&&typeof Reflect['decorate']===_0x3c603b(0x18b))_0x1148b2=Reflect[_0x3c603b(0x19c)](_0x15660a,_0x5953bd,_0x45207d,_0x5eb633);else{for(var _0x27ea8b=_0x15660a[_0x3c603b(0x17f)]-0x1;_0x27ea8b>=0x0;_0x27ea8b--)if(_0x5690e7=_0x15660a[_0x27ea8b])_0x1148b2=(_0x1fc51f<0x3?_0x5690e7(_0x1148b2):_0x1fc51f>0x3?_0x5690e7(_0x5953bd,_0x45207d,_0x1148b2):_0x5690e7(_0x5953bd,_0x45207d))||_0x1148b2;}return _0x1fc51f>0x3&&_0x1148b2&&Object[_0x3c603b(0x1a7)](_0x5953bd,_0x45207d,_0x1148b2),_0x1148b2;},__metadata=this&&this[a4_0x3bc72f(0x18a)]||function(_0x39b0c3,_0x5932f3){const _0x202f91=a4_0x3bc72f;if(typeof Reflect===_0x202f91(0x177)&&typeof Reflect['metadata']===_0x202f91(0x18b))return Reflect[_0x202f91(0x1a5)](_0x39b0c3,_0x5932f3);};function a4_0x21ae(_0x18de9e,_0x21fe91){const _0x32af93=a4_0x3764();return a4_0x21ae=function(_0x4191fb,_0x3dbdc2){_0x4191fb=_0x4191fb-0x176;let _0x3764db=_0x32af93[_0x4191fb];return _0x3764db;},a4_0x21ae(_0x18de9e,_0x21fe91);}Object[a4_0x3bc72f(0x1a7)](exports,a4_0x3bc72f(0x198),{'value':!![]}),exports[a4_0x3bc72f(0x179)]=void 0x0;const collect_js_1=require('collect.js'),core_1=require(a4_0x3bc72f(0x194)),interface_1=require(a4_0x3bc72f(0x18d));let EventService=class EventService{constructor(){const _0x2e1ffd=a4_0x3bc72f;this[_0x2e1ffd(0x1a9)]=![];}async[a4_0x3bc72f(0x1aa)](_0x380eab){const _0x591ab4=a4_0x3bc72f;if(!this[_0x591ab4(0x1a9)]){this['init']=!![],this[_0x591ab4(0x1a3)]={};for(const _0x33f23f of(0x0,core_1[_0x591ab4(0x17c)])(interface_1[_0x591ab4(0x1a6)])||[]){const _0x4bdbcb=await this['app'][_0x591ab4(0x17a)]()[_0x591ab4(0x192)](_0x33f23f);for(const _0x464d38 of(0x0,core_1[_0x591ab4(0x19d)])(interface_1['EVENT_ON_KEY'],_0x33f23f)||[]){typeof(_0x4bdbcb[_0x464d38[_0x591ab4(0x178)]]==_0x591ab4(0x18b))&&(!this['listevent'][_0x464d38['name']]&&(this[_0x591ab4(0x1a3)][_0x464d38[_0x591ab4(0x1a0)]]=[]),this[_0x591ab4(0x1a3)][_0x464d38['name']][_0x591ab4(0x19b)]({'priority':_0x464d38[_0x591ab4(0x1a2)],'resolve':_0x4bdbcb[_0x464d38[_0x591ab4(0x178)]][_0x591ab4(0x187)](_0x4bdbcb),'propertyKey':_0x33f23f['name']+'@'+_0x464d38[_0x591ab4(0x178)]}));}}for(const _0x378194 in this[_0x591ab4(0x1a3)]){this['listevent'][_0x378194]=(0x0,collect_js_1[_0x591ab4(0x1ab)])(this[_0x591ab4(0x1a3)][_0x378194])[_0x591ab4(0x189)](_0x591ab4(0x1a2))[_0x591ab4(0x176)]();}}return _0x380eab?this[_0x591ab4(0x1a3)][_0x380eab]||[]:this[_0x591ab4(0x1a3)];}async['emit'](_0xa28d90,..._0x74746c){const _0x4390fc=a4_0x3bc72f;var _0x34de4f,_0x3ce30c;await this[_0x4390fc(0x1aa)]();for(let _0x49dbbc in(_0x34de4f=this[_0x4390fc(0x1a3)])===null||_0x34de4f===void 0x0?void 0x0:_0x34de4f[_0xa28d90]){const _0x536b57=(_0x3ce30c=this[_0x4390fc(0x1a3)][_0xa28d90])===null||_0x3ce30c===void 0x0?void 0x0:_0x3ce30c[_0x49dbbc];(_0x536b57===null||_0x536b57===void 0x0?void 0x0:_0x536b57[_0x4390fc(0x180)])&&typeof(_0x536b57===null||_0x536b57===void 0x0?void 0x0:_0x536b57[_0x4390fc(0x180)])==_0x4390fc(0x18b)&&await _0x536b57['resolve'](..._0x74746c);}}async['once'](_0x11a3da,..._0x458c3c){const _0x36c41f=a4_0x3bc72f;return await this[_0x36c41f(0x1aa)](),await this[_0x36c41f(0x1a1)](_0x11a3da,..._0x458c3c),this[_0x36c41f(0x197)](_0x11a3da);}async['off'](_0x5c1d98){const _0x4f75b7=a4_0x3bc72f;return await this['getListevent'](),this['listevent'][_0x5c1d98]&&delete this[_0x4f75b7(0x1a3)][_0x5c1d98],!!this[_0x4f75b7(0x1a3)][_0x5c1d98];}};__decorate([(0x0,core_1[a4_0x3bc72f(0x183)])(),__metadata('design:type',Object)],EventService[a4_0x3bc72f(0x18f)],a4_0x3bc72f(0x17d),void 0x0),EventService=__decorate([(0x0,core_1[a4_0x3bc72f(0x188)])(a4_0x3bc72f(0x17e)),(0x0,core_1[a4_0x3bc72f(0x190)])(core_1['ScopeEnum'][a4_0x3bc72f(0x196)])],EventService),exports[a4_0x3bc72f(0x179)]=EventService;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anncic-api/event",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.1",
|
|
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": "58731787313fc8197a080507bf413fbc38698d44"
|
|
25
25
|
}
|