@anveroapi/event 4.1.5 → 4.1.6
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 +26 -26
package/dist/configuration.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a0_0x24a2(){var _0xc523ef=['decorator','MidwayDecoratorService','8MrSLci','1024652RqFMYk','defineProperty','toString','length','134983Ikfeyo','2367232jgVAeN','constructor','__esModule','1341485JCfJbf','decorate','8275630YznAcq','3AKGOZI','@midwayjs/core','4855734CSjllI','__decorate','CustomConfiguration','__metadata','object','apply','design:type','metadata','function','prototype','Inject','2285269RSRQhS','config','search','(((.+)+)+)+$','6HBVEHc'];a0_0x24a2=function(){return _0xc523ef;};return a0_0x24a2();}var a0_0x137fdf=a0_0x5d35;(function(_0x17ab57,_0x2ec557){var _0x50a427=a0_0x5d35,_0x50110d=_0x17ab57();while(!![]){try{var _0x6487c4=parseInt(_0x50a427(0x1cc))/0x1+parseInt(_0x50a427(0x1c8))/0x2*(parseInt(_0x50a427(0x1d3))/0x3)+parseInt(_0x50a427(0x1c7))/0x4*(parseInt(_0x50a427(0x1d0))/0x5)+parseInt(_0x50a427(0x1e4))/0x6*(-parseInt(_0x50a427(0x1e0))/0x7)+-parseInt(_0x50a427(0x1cd))/0x8+parseInt(_0x50a427(0x1d5))/0x9+-parseInt(_0x50a427(0x1d2))/0xa;if(_0x6487c4===_0x2ec557)break;else _0x50110d['push'](_0x50110d['shift']());}catch(_0x2d0cf1){_0x50110d['push'](_0x50110d['shift']());}}}(a0_0x24a2,0x42c57));var a0_0x106868=(function(){var _0x4deb28=!![];return function(_0x1d6869,_0x541762){var _0x4d89e5=_0x4deb28?function(){var _0x7335a3=a0_0x5d35;if(_0x541762){var _0xb55e5d=_0x541762[_0x7335a3(0x1da)](_0x1d6869,arguments);return _0x541762=null,_0xb55e5d;}}:function(){};return _0x4deb28=![],_0x4d89e5;};}()),a0_0x4a5729=a0_0x106868(this,function(){var _0x1ab37a=a0_0x5d35;return a0_0x4a5729['toString']()['search'](_0x1ab37a(0x1e3))[_0x1ab37a(0x1ca)]()[_0x1ab37a(0x1ce)](a0_0x4a5729)[_0x1ab37a(0x1e2)](_0x1ab37a(0x1e3));});a0_0x4a5729();'use strict';var __decorate=this&&this[a0_0x137fdf(0x1d6)]||function(_0x34a839,_0x374674,_0xd66ff8,_0x5cabad){var _0x234c91=a0_0x137fdf,_0x26da72=arguments[_0x234c91(0x1cb)],_0xa009e4=_0x26da72<0x3?_0x374674:_0x5cabad===null?_0x5cabad=Object['getOwnPropertyDescriptor'](_0x374674,_0xd66ff8):_0x5cabad,_0x3a930a;if(typeof Reflect===_0x234c91(0x1d9)&&typeof Reflect['decorate']==='function')_0xa009e4=Reflect[_0x234c91(0x1d1)](_0x34a839,_0x374674,_0xd66ff8,_0x5cabad);else{for(var _0x19650e=_0x34a839['length']-0x1;_0x19650e>=0x0;_0x19650e--)if(_0x3a930a=_0x34a839[_0x19650e])_0xa009e4=(_0x26da72<0x3?_0x3a930a(_0xa009e4):_0x26da72>0x3?_0x3a930a(_0x374674,_0xd66ff8,_0xa009e4):_0x3a930a(_0x374674,_0xd66ff8))||_0xa009e4;}return _0x26da72>0x3&&_0xa009e4&&Object[_0x234c91(0x1c9)](_0x374674,_0xd66ff8,_0xa009e4),_0xa009e4;},__metadata=this&&this[a0_0x137fdf(0x1d8)]||function(_0xeb9f9b,_0xfef8d5){var _0x5ee2b4=a0_0x137fdf;if(typeof Reflect===_0x5ee2b4(0x1d9)&&typeof Reflect['metadata']===_0x5ee2b4(0x1dd))return Reflect[_0x5ee2b4(0x1dc)](_0xeb9f9b,_0xfef8d5);};Object['defineProperty'](exports,a0_0x137fdf(0x1cf),{'value':!![]}),exports[a0_0x137fdf(0x1d7)]=void 0x0;const core_1=require(a0_0x137fdf(0x1d4)),core_2=require(a0_0x137fdf(0x1d4));let CustomConfiguration=class CustomConfiguration{async['onReady'](){}};function a0_0x5d35(_0x5366c2,_0xba495b){_0x5366c2=_0x5366c2-0x1c7;var _0x19f326=a0_0x24a2();var _0x4a5729=_0x19f326[_0x5366c2];return _0x4a5729;}exports[a0_0x137fdf(0x1d7)]=CustomConfiguration,__decorate([(0x0,core_1[a0_0x137fdf(0x1df)])(),__metadata(a0_0x137fdf(0x1db),core_2['MidwayConfigService'])],CustomConfiguration['prototype'],a0_0x137fdf(0x1e1),void 0x0),__decorate([(0x0,core_1[a0_0x137fdf(0x1df)])(),__metadata('design:type',core_2[a0_0x137fdf(0x1e6)])],CustomConfiguration[a0_0x137fdf(0x1de)],a0_0x137fdf(0x1e5),void 0x0),exports[a0_0x137fdf(0x1d7)]=CustomConfiguration=__decorate([(0x0,core_1['Configuration'])({'namespace':'anvero-api:event'})],CustomConfiguration);
|
package/dist/decorator/Event.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a1_0x4ffe1c=a1_0x1db3;function a1_0x1db3(_0x1cfe37,_0x1b165b){_0x1cfe37=_0x1cfe37-0xc4;const _0x38e89f=a1_0x107f();let _0x3af83a=_0x38e89f[_0x1cfe37];return _0x3af83a;}function a1_0x107f(){const _0x36685c=['search','attachMetadata','17629GCFMZA','constructor','MetadataManager','Event','9crAnFM','Provide','DecoratorManager','Request','Scope','EVENT_KEY','defineProperty','apply','1909560ErXGgk','ScopeEnum','8EIUeAV','4476546tZfCMc','toString','EVENT_ON_KEY','3232760RZCPua','2569765IEiiLb','@midwayjs/core','2228190McFJHx','../interface','__esModule','22hNuEwT','1852123wwApnZ'];a1_0x107f=function(){return _0x36685c;};return a1_0x107f();}(function(_0x4da767,_0x4407c8){const _0x1c1dd2=a1_0x1db3,_0x318d90=_0x4da767();while(!![]){try{const _0x24b17b=parseInt(_0x1c1dd2(0xd4))/0x1*(-parseInt(_0x1c1dd2(0xd0))/0x2)+parseInt(_0x1c1dd2(0xc4))/0x3+parseInt(_0x1c1dd2(0xca))/0x4+-parseInt(_0x1c1dd2(0xcb))/0x5+-parseInt(_0x1c1dd2(0xc7))/0x6+parseInt(_0x1c1dd2(0xd1))/0x7*(parseInt(_0x1c1dd2(0xc6))/0x8)+-parseInt(_0x1c1dd2(0xd8))/0x9*(-parseInt(_0x1c1dd2(0xcd))/0xa);if(_0x24b17b===_0x4407c8)break;else _0x318d90['push'](_0x318d90['shift']());}catch(_0xfeae9e){_0x318d90['push'](_0x318d90['shift']());}}}(a1_0x107f,0x74bcb));const a1_0x2efdeb=(function(){let _0x18895b=!![];return function(_0x545a2e,_0x43df75){const _0x442bfd=_0x18895b?function(){const _0x45624b=a1_0x1db3;if(_0x43df75){const _0x558340=_0x43df75[_0x45624b(0xdf)](_0x545a2e,arguments);return _0x43df75=null,_0x558340;}}:function(){};return _0x18895b=![],_0x442bfd;};}()),a1_0x3af83a=a1_0x2efdeb(this,function(){const _0x32d545=a1_0x1db3;return a1_0x3af83a[_0x32d545(0xc8)]()[_0x32d545(0xd2)]('(((.+)+)+)+$')[_0x32d545(0xc8)]()[_0x32d545(0xd5)](a1_0x3af83a)[_0x32d545(0xd2)]('(((.+)+)+)+$');});a1_0x3af83a();'use strict';Object[a1_0x4ffe1c(0xde)](exports,a1_0x4ffe1c(0xcf),{'value':!![]}),exports[a1_0x4ffe1c(0xd7)]=Event;const core_1=require('@midwayjs/core'),core_2=require(a1_0x4ffe1c(0xcc)),interface_1=require(a1_0x4ffe1c(0xce));function Event(){return _0x473f3d=>{const _0x3ef9c8=a1_0x1db3;(0x0,core_1[_0x3ef9c8(0xd9)])()(_0x473f3d),core_2[_0x3ef9c8(0xda)]['saveModule'](interface_1[_0x3ef9c8(0xdd)],_0x473f3d),(0x0,core_1[_0x3ef9c8(0xdc)])(core_1[_0x3ef9c8(0xc5)][_0x3ef9c8(0xdb)],{'allowDowngrade':!![]})(_0x473f3d);};}Event['On']=function(_0x108460,_0x56774b=0x0,_0xda39fa=0x1f4){return(_0x5b4d03,_0x69c294,_0x60236d)=>{const _0x1f1cea=a1_0x1db3;return core_2[_0x1f1cea(0xd6)][_0x1f1cea(0xd3)](interface_1[_0x1f1cea(0xc9)],{'name':_0x108460,'priority':_0x56774b,'propertyKey':_0x69c294,'descriptor':_0x60236d,'throttle':_0xda39fa},_0x5b4d03),_0x60236d;};};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a2_0x421637=a2_0x281d;(function(_0x574d9f,_0x268b1b){var _0x503116=a2_0x281d,_0xa93422=_0x574d9f();while(!![]){try{var _0x3d02d9=-parseInt(_0x503116(0xf6))/0x1*(parseInt(_0x503116(0xff))/0x2)+-parseInt(_0x503116(0xfb))/0x3+-parseInt(_0x503116(0xf7))/0x4+-parseInt(_0x503116(0xf9))/0x5*(-parseInt(_0x503116(0x106))/0x6)+-parseInt(_0x503116(0x105))/0x7+parseInt(_0x503116(0x100))/0x8+parseInt(_0x503116(0x102))/0x9;if(_0x3d02d9===_0x268b1b)break;else _0xa93422['push'](_0xa93422['shift']());}catch(_0x415c4b){_0xa93422['push'](_0xa93422['shift']());}}}(a2_0x2420,0x838d6));var a2_0x492b63=(function(){var _0x191629=!![];return function(_0x43d1a5,_0x45a49c){var _0x396b53=_0x191629?function(){var _0x48edb0=a2_0x281d;if(_0x45a49c){var _0x3b34b5=_0x45a49c[_0x48edb0(0x109)](_0x43d1a5,arguments);return _0x45a49c=null,_0x3b34b5;}}:function(){};return _0x191629=![],_0x396b53;};}()),a2_0x401616=a2_0x492b63(this,function(){var _0x27e3bb=a2_0x281d;return a2_0x401616[_0x27e3bb(0xfa)]()[_0x27e3bb(0x108)](_0x27e3bb(0x107))[_0x27e3bb(0xfa)]()[_0x27e3bb(0xf8)](a2_0x401616)[_0x27e3bb(0x108)](_0x27e3bb(0x107));});a2_0x401616();function a2_0x2420(){var _0x4de20a=['3310836YwPxMC','constructor','23665xtczmZ','toString','1641525bdCyyj','./service/EventService','Configuration','Event','516356jbRRSl','7404056cvIuVF','defineProperty','19694457aAjrHd','./configuration','EventService','7421435TPRFyM','150CNwqIQ','(((.+)+)+)+$','search','apply','__esModule','1LwQdvs'];a2_0x2420=function(){return _0x4de20a;};return a2_0x2420();}'use strict';Object[a2_0x421637(0x101)](exports,a2_0x421637(0xf5),{'value':!![]}),exports[a2_0x421637(0xfd)]=exports[a2_0x421637(0x104)]=exports[a2_0x421637(0xfe)]=void 0x0;var Event_1=require('./decorator/Event');function a2_0x281d(_0x133966,_0x569f4e){_0x133966=_0x133966-0xf5;var _0xee7a83=a2_0x2420();var _0x401616=_0xee7a83[_0x133966];return _0x401616;}Object['defineProperty'](exports,a2_0x421637(0xfe),{'enumerable':!![],'get':function(){var _0xd4ddc7=a2_0x421637;return Event_1[_0xd4ddc7(0xfe)];}});var EventService_1=require(a2_0x421637(0xfc));Object[a2_0x421637(0x101)](exports,a2_0x421637(0x104),{'enumerable':!![],'get':function(){var _0x20dcef=a2_0x421637;return EventService_1[_0x20dcef(0x104)];}});var configuration_1=require(a2_0x421637(0x103));Object[a2_0x421637(0x101)](exports,'Configuration',{'enumerable':!![],'get':function(){return configuration_1['CustomConfiguration'];}});
|
package/dist/interface.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a3_0x433af4=a3_0x3721;(function(_0x1d2cfa,_0x4ce6e1){var _0x346bab=a3_0x3721,_0x4bdb74=_0x1d2cfa();while(!![]){try{var _0x2bd1ce=parseInt(_0x346bab(0x92))/0x1+parseInt(_0x346bab(0x9d))/0x2*(parseInt(_0x346bab(0x91))/0x3)+parseInt(_0x346bab(0x90))/0x4*(-parseInt(_0x346bab(0x96))/0x5)+parseInt(_0x346bab(0x93))/0x6+parseInt(_0x346bab(0x95))/0x7+parseInt(_0x346bab(0x97))/0x8*(-parseInt(_0x346bab(0x98))/0x9)+parseInt(_0x346bab(0x9a))/0xa;if(_0x2bd1ce===_0x4ce6e1)break;else _0x4bdb74['push'](_0x4bdb74['shift']());}catch(_0xa59d6c){_0x4bdb74['push'](_0x4bdb74['shift']());}}}(a3_0x141a,0xd4687));var a3_0x5afc54=(function(){var _0x4201b7=!![];return function(_0x241056,_0x75667f){var _0x5ed756=_0x4201b7?function(){if(_0x75667f){var _0x38021d=_0x75667f['apply'](_0x241056,arguments);return _0x75667f=null,_0x38021d;}}:function(){};return _0x4201b7=![],_0x5ed756;};}()),a3_0x348a36=a3_0x5afc54(this,function(){var _0x3f74e4=a3_0x3721;return a3_0x348a36[_0x3f74e4(0x8f)]()[_0x3f74e4(0x8d)](_0x3f74e4(0x99))[_0x3f74e4(0x8f)]()[_0x3f74e4(0x9c)](a3_0x348a36)[_0x3f74e4(0x8d)]('(((.+)+)+)+$');});function a3_0x141a(){var _0x59f1af=['toString','36PrIBAA','5853GfWjWp','1063637hHoyHE','6560916vvupgC','EVENT_ON_KEY','5977587vFNXFE','817515XCOSgF','2280HlxqdQ','45855wxiFGp','(((.+)+)+)+$','4060180DyzBmP','__esModule','constructor','386epwaOB','defineProperty','search','EVENT_KEY'];a3_0x141a=function(){return _0x59f1af;};return a3_0x141a();}function a3_0x3721(_0x5c3df8,_0x3285d8){_0x5c3df8=_0x5c3df8-0x8c;var _0x30f8e4=a3_0x141a();var _0x348a36=_0x30f8e4[_0x5c3df8];return _0x348a36;}a3_0x348a36();'use strict';Object[a3_0x433af4(0x8c)](exports,a3_0x433af4(0x9b),{'value':!![]}),exports['EVENT_ON_KEY']=exports[a3_0x433af4(0x8e)]=void 0x0,exports[a3_0x433af4(0x8e)]='anvero-api:event',exports[a3_0x433af4(0x94)]='anvero-api:event:on';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a4_0x35337c=a4_0x4551;(function(_0x4f828a,_0x165860){const _0x2edd06=a4_0x4551,_0x2f7045=_0x4f828a();while(!![]){try{const _0x4ab208=-parseInt(_0x2edd06(0xf3))/0x1+-parseInt(_0x2edd06(0xf0))/0x2*(parseInt(_0x2edd06(0xfb))/0x3)+-parseInt(_0x2edd06(0x105))/0x4*(parseInt(_0x2edd06(0xf4))/0x5)+-parseInt(_0x2edd06(0x106))/0x6+parseInt(_0x2edd06(0xee))/0x7*(-parseInt(_0x2edd06(0xde))/0x8)+-parseInt(_0x2edd06(0xe7))/0x9+parseInt(_0x2edd06(0xe0))/0xa*(parseInt(_0x2edd06(0x10b))/0xb);if(_0x4ab208===_0x165860)break;else _0x2f7045['push'](_0x2f7045['shift']());}catch(_0x2eb470){_0x2f7045['push'](_0x2f7045['shift']());}}}(a4_0x294d,0x38c3e));const a4_0x52a42d=(function(){let _0x10854d=!![];return function(_0x1a4b6f,_0x258742){const _0x2592d3=_0x10854d?function(){if(_0x258742){const _0x4e0cb7=_0x258742['apply'](_0x1a4b6f,arguments);return _0x258742=null,_0x4e0cb7;}}:function(){};return _0x10854d=![],_0x2592d3;};}()),a4_0x2e6ade=a4_0x52a42d(this,function(){const _0x3c5547=a4_0x4551;return a4_0x2e6ade[_0x3c5547(0x104)]()[_0x3c5547(0xd7)](_0x3c5547(0xeb))[_0x3c5547(0x104)]()[_0x3c5547(0xed)](a4_0x2e6ade)[_0x3c5547(0xd7)](_0x3c5547(0xeb));});function a4_0x4551(_0x1efd6a,_0x3b695e){_0x1efd6a=_0x1efd6a-0xd7;const _0x5eba5c=a4_0x294d();let _0x2e6ade=_0x5eba5c[_0x1efd6a];return _0x2e6ade;}a4_0x2e6ade();function a4_0x294d(){const _0x54222e=['MainApp','165ATppgP','search','object','name','throttle','listModule','emit','now','7576iXzXFM','length','1279310tVMPpJ','@midwayjs/core','init','function','bind','sortByDesc','metadata','4167144CIQSPN','EventService','getListevent','decorate','(((.+)+)+)+$','Singleton','constructor','553XRoeCK','resolve','2mpORWG','app','__esModule','238893NplzIh','1445tpSYzM','EVENT_ON_KEY','getOwnMetadata','all','DecoratorManager','off','push','572826qjQzWg','defineProperty','priority','listevent','Provide','__metadata','EVENT_KEY','propertyKey','listevent_throttle','toString','5116MWNYRc','2094960NrFkSp','Scope','default','collect.js'];a4_0x294d=function(){return _0x54222e;};return a4_0x294d();}'use strict';var __decorate=this&&this['__decorate']||function(_0x5a65f4,_0x3f3a2d,_0x44c261,_0x267522){const _0xeda2c1=a4_0x4551;var _0x7fe4e=arguments['length'],_0x351841=_0x7fe4e<0x3?_0x3f3a2d:_0x267522===null?_0x267522=Object['getOwnPropertyDescriptor'](_0x3f3a2d,_0x44c261):_0x267522,_0x397380;if(typeof Reflect===_0xeda2c1(0xd8)&&typeof Reflect[_0xeda2c1(0xea)]===_0xeda2c1(0xe3))_0x351841=Reflect['decorate'](_0x5a65f4,_0x3f3a2d,_0x44c261,_0x267522);else{for(var _0x17f6e8=_0x5a65f4[_0xeda2c1(0xdf)]-0x1;_0x17f6e8>=0x0;_0x17f6e8--)if(_0x397380=_0x5a65f4[_0x17f6e8])_0x351841=(_0x7fe4e<0x3?_0x397380(_0x351841):_0x7fe4e>0x3?_0x397380(_0x3f3a2d,_0x44c261,_0x351841):_0x397380(_0x3f3a2d,_0x44c261))||_0x351841;}return _0x7fe4e>0x3&&_0x351841&&Object[_0xeda2c1(0xfc)](_0x3f3a2d,_0x44c261,_0x351841),_0x351841;},__metadata=this&&this[a4_0x35337c(0x100)]||function(_0x30a721,_0x718773){const _0x17ccc5=a4_0x35337c;if(typeof Reflect==='object'&&typeof Reflect[_0x17ccc5(0xe6)]===_0x17ccc5(0xe3))return Reflect[_0x17ccc5(0xe6)](_0x30a721,_0x718773);};Object[a4_0x35337c(0xfc)](exports,a4_0x35337c(0xf2),{'value':!![]}),exports['EventService']=void 0x0;const collect_js_1=require(a4_0x35337c(0x109)),core_1=require('@midwayjs/core'),core_2=require(a4_0x35337c(0xe1)),interface_1=require('../interface');let EventService=class EventService{constructor(){this['init']=![];}async[a4_0x35337c(0xe9)](_0x31d5ed){const _0x595c9f=a4_0x35337c;if(!this[_0x595c9f(0xe2)]){this[_0x595c9f(0xe2)]=!![],this[_0x595c9f(0xfe)]={},this[_0x595c9f(0x103)]={};for(const _0x479885 of core_2[_0x595c9f(0xf8)][_0x595c9f(0xdb)](interface_1[_0x595c9f(0x101)])||[]){const _0x43b41e=await this[_0x595c9f(0xf1)]['getApplicationContext']()['getAsync'](_0x479885);for(const _0xeb4efc of core_2['MetadataManager'][_0x595c9f(0xf6)](interface_1[_0x595c9f(0xf5)],_0x479885)||[]){typeof(_0x43b41e[_0xeb4efc[_0x595c9f(0x102)]]=='function')&&(!this[_0x595c9f(0xfe)][_0xeb4efc[_0x595c9f(0xd9)]]&&(this[_0x595c9f(0xfe)][_0xeb4efc['name']]=[]),this[_0x595c9f(0xfe)][_0xeb4efc[_0x595c9f(0xd9)]][_0x595c9f(0xfa)]({'priority':(_0xeb4efc===null||_0xeb4efc===void 0x0?void 0x0:_0xeb4efc[_0x595c9f(0xfd)])||0x0,'throttle':(_0xeb4efc===null||_0xeb4efc===void 0x0?void 0x0:_0xeb4efc[_0x595c9f(0xda)])||0x1f4,'resolve':_0x43b41e[_0xeb4efc[_0x595c9f(0x102)]][_0x595c9f(0xe4)](_0x43b41e),'propertyKey':_0x479885['name']+'@'+_0xeb4efc['propertyKey']}));}}for(const _0xbe69ac in this[_0x595c9f(0xfe)]){this[_0x595c9f(0xfe)][_0xbe69ac]=(0x0,collect_js_1[_0x595c9f(0x108)])(this[_0x595c9f(0xfe)][_0xbe69ac])[_0x595c9f(0xe5)](_0x595c9f(0xfd))[_0x595c9f(0xf7)]();}}return _0x31d5ed?this['listevent'][_0x31d5ed]||[]:this[_0x595c9f(0xfe)];}async[a4_0x35337c(0xdc)](_0x56e5db,..._0x282aa2){const _0x5b4810=a4_0x35337c;var _0x5b3f24,_0x462c3f,_0x3108e1,_0xbdc3fd,_0x244247;const _0x53d0f5=''+JSON['stringify'](_0x282aa2),_0x59cb9b=Date[_0x5b4810(0xdd)]();await this[_0x5b4810(0xe9)]();for(let _0x4f4ff7 in this['listevent_throttle']){this[_0x5b4810(0x103)][_0x4f4ff7]<_0x59cb9b&&delete this['listevent_throttle'][_0x4f4ff7];}for(let _0x198411 in(_0x5b3f24=this['listevent'])===null||_0x5b3f24===void 0x0?void 0x0:_0x5b3f24[_0x56e5db]){if(((_0x462c3f=this[_0x5b4810(0xfe)][_0x56e5db])===null||_0x462c3f===void 0x0?void 0x0:_0x462c3f[_0x198411])&&typeof((_0xbdc3fd=(_0x3108e1=this[_0x5b4810(0xfe)][_0x56e5db])===null||_0x3108e1===void 0x0?void 0x0:_0x3108e1[_0x198411])===null||_0xbdc3fd===void 0x0?void 0x0:_0xbdc3fd[_0x5b4810(0xef)])==_0x5b4810(0xe3)){const _0x121268=_0x56e5db+'_'+_0x198411+'@'+_0x53d0f5;(this[_0x5b4810(0x103)][_0x121268]||0x0)<_0x59cb9b&&(this['listevent_throttle'][_0x121268]=_0x59cb9b+(((_0x244247=this[_0x5b4810(0xfe)][_0x56e5db][_0x198411])===null||_0x244247===void 0x0?void 0x0:_0x244247[_0x5b4810(0xda)])||0x1f4),await this['listevent'][_0x56e5db][_0x198411][_0x5b4810(0xef)](..._0x282aa2));}}}async['once'](_0x414d62,..._0x270e83){const _0x5589f3=a4_0x35337c;return await this[_0x5589f3(0xe9)](),await this['emit'](_0x414d62,..._0x270e83),this[_0x5589f3(0xf9)](_0x414d62);}async[a4_0x35337c(0xf9)](_0x54574f){const _0x4ee8b2=a4_0x35337c;return await this['getListevent'](),this[_0x4ee8b2(0xfe)][_0x54574f]&&delete this[_0x4ee8b2(0xfe)][_0x54574f],!!this[_0x4ee8b2(0xfe)][_0x54574f];}};exports[a4_0x35337c(0xe8)]=EventService,__decorate([(0x0,core_1[a4_0x35337c(0x10a)])(),__metadata('design:type',Object)],EventService['prototype'],a4_0x35337c(0xf1),void 0x0),exports[a4_0x35337c(0xe8)]=EventService=__decorate([(0x0,core_1[a4_0x35337c(0xff)])('event'),(0x0,core_1[a4_0x35337c(0x107)])(core_1['ScopeEnum'][a4_0x35337c(0xec)])],EventService);
|
package/package.json
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
2
|
+
"name": "@anveroapi/event",
|
|
3
|
+
"version": "4.1.6",
|
|
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
|
+
}
|