@anveroapi/event 4.3.2 → 4.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
+
var a0_0x45974e=a0_0x3f97;(function(_0x5a9db6,_0x29c3ce){var _0x1d492e=a0_0x3f97,_0x339056=_0x5a9db6();while(!![]){try{var _0x479387=parseInt(_0x1d492e(0x8a))/0x1*(parseInt(_0x1d492e(0x8f))/0x2)+parseInt(_0x1d492e(0x82))/0x3+parseInt(_0x1d492e(0x96))/0x4+parseInt(_0x1d492e(0x7d))/0x5*(-parseInt(_0x1d492e(0x97))/0x6)+parseInt(_0x1d492e(0x9b))/0x7*(parseInt(_0x1d492e(0x85))/0x8)+-parseInt(_0x1d492e(0x7f))/0x9*(parseInt(_0x1d492e(0x99))/0xa)+parseInt(_0x1d492e(0x7e))/0xb;if(_0x479387===_0x29c3ce)break;else _0x339056['push'](_0x339056['shift']());}catch(_0x5abe3c){_0x339056['push'](_0x339056['shift']());}}}(a0_0x1e10,0xc861c));function a0_0x1e10(){var _0x3e441f=['getOwnPropertyDescriptor','(((.+)+)+)+$','defineProperty','decorator','767896zzRFba','6dDUbEg','toString','30bthAmz','__metadata','161CdsZPm','object','5448615VFpJIb','19018593WDiyFn','2808567EQkrKk','metadata','function','842250oZrTIE','__esModule','anvero-api:event','93112QQpCbt','@midwayjs/core','Configuration','config','length','31441VeAXPS','prototype','__decorate','search','MidwayDecoratorService','24lHepUu','CustomConfiguration','design:type'];a0_0x1e10=function(){return _0x3e441f;};return a0_0x1e10();}var a0_0x5e86b9=(function(){var _0x38e1cd=!![];return function(_0x3d7b20,_0x42d790){var _0x47933e=_0x38e1cd?function(){if(_0x42d790){var _0x4cf5d8=_0x42d790['apply'](_0x3d7b20,arguments);return _0x42d790=null,_0x4cf5d8;}}:function(){};return _0x38e1cd=![],_0x47933e;};}()),a0_0x38110f=a0_0x5e86b9(this,function(){var _0x41a408=a0_0x3f97;return a0_0x38110f[_0x41a408(0x98)]()[_0x41a408(0x8d)](_0x41a408(0x93))[_0x41a408(0x98)]()['constructor'](a0_0x38110f)[_0x41a408(0x8d)](_0x41a408(0x93));});a0_0x38110f();function a0_0x3f97(_0x50a2b0,_0xeabb31){_0x50a2b0=_0x50a2b0-0x7c;var _0x3234d3=a0_0x1e10();var _0x38110f=_0x3234d3[_0x50a2b0];return _0x38110f;}'use strict';var __decorate=this&&this[a0_0x45974e(0x8c)]||function(_0x4f0eea,_0x1c60dc,_0x4e97b4,_0xcc888a){var _0x30d8fa=a0_0x45974e,_0x36ddab=arguments[_0x30d8fa(0x89)],_0x41f037=_0x36ddab<0x3?_0x1c60dc:_0xcc888a===null?_0xcc888a=Object[_0x30d8fa(0x92)](_0x1c60dc,_0x4e97b4):_0xcc888a,_0x568298;if(typeof Reflect===_0x30d8fa(0x7c)&&typeof Reflect['decorate']===_0x30d8fa(0x81))_0x41f037=Reflect['decorate'](_0x4f0eea,_0x1c60dc,_0x4e97b4,_0xcc888a);else{for(var _0x2867b1=_0x4f0eea[_0x30d8fa(0x89)]-0x1;_0x2867b1>=0x0;_0x2867b1--)if(_0x568298=_0x4f0eea[_0x2867b1])_0x41f037=(_0x36ddab<0x3?_0x568298(_0x41f037):_0x36ddab>0x3?_0x568298(_0x1c60dc,_0x4e97b4,_0x41f037):_0x568298(_0x1c60dc,_0x4e97b4))||_0x41f037;}return _0x36ddab>0x3&&_0x41f037&&Object[_0x30d8fa(0x94)](_0x1c60dc,_0x4e97b4,_0x41f037),_0x41f037;},__metadata=this&&this[a0_0x45974e(0x9a)]||function(_0x39da9f,_0x4fc027){var _0x189553=a0_0x45974e;if(typeof Reflect==='object'&&typeof Reflect[_0x189553(0x80)]==='function')return Reflect['metadata'](_0x39da9f,_0x4fc027);};Object[a0_0x45974e(0x94)](exports,a0_0x45974e(0x83),{'value':!![]}),exports[a0_0x45974e(0x90)]=void 0x0;const core_1=require(a0_0x45974e(0x86)),core_2=require('@midwayjs/core');let CustomConfiguration=class CustomConfiguration{async['onReady'](){}};exports[a0_0x45974e(0x90)]=CustomConfiguration,__decorate([(0x0,core_1['Inject'])(),__metadata('design:type',core_2['MidwayConfigService'])],CustomConfiguration[a0_0x45974e(0x8b)],a0_0x45974e(0x88),void 0x0),__decorate([(0x0,core_1['Inject'])(),__metadata(a0_0x45974e(0x91),core_2[a0_0x45974e(0x8e)])],CustomConfiguration['prototype'],a0_0x45974e(0x95),void 0x0),exports[a0_0x45974e(0x90)]=CustomConfiguration=__decorate([(0x0,core_1[a0_0x45974e(0x87)])({'namespace':a0_0x45974e(0x84)})],CustomConfiguration);
|
package/dist/decorator/Event.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a1_0xf6a746=a1_0x16ab;(function(_0x811ab8,_0x5d4c18){const _0x4c1d61=a1_0x16ab,_0xdd5e46=_0x811ab8();while(!![]){try{const _0x3a3747=-parseInt(_0x4c1d61(0x7e))/0x1*(-parseInt(_0x4c1d61(0x8f))/0x2)+-parseInt(_0x4c1d61(0x85))/0x3+parseInt(_0x4c1d61(0x7f))/0x4*(parseInt(_0x4c1d61(0x83))/0x5)+-parseInt(_0x4c1d61(0x77))/0x6+-parseInt(_0x4c1d61(0x84))/0x7+-parseInt(_0x4c1d61(0x87))/0x8+parseInt(_0x4c1d61(0x8d))/0x9;if(_0x3a3747===_0x5d4c18)break;else _0xdd5e46['push'](_0xdd5e46['shift']());}catch(_0x70e213){_0xdd5e46['push'](_0xdd5e46['shift']());}}}(a1_0xb7ff,0x1bf2f));const a1_0x308a30=(function(){let _0x5ee500=!![];return function(_0x4b91cc,_0x138aaa){const _0x457dc5=_0x5ee500?function(){const _0x56ae2d=a1_0x16ab;if(_0x138aaa){const _0x4fd328=_0x138aaa[_0x56ae2d(0x81)](_0x4b91cc,arguments);return _0x138aaa=null,_0x4fd328;}}:function(){};return _0x5ee500=![],_0x457dc5;};}()),a1_0x2f70d4=a1_0x308a30(this,function(){const _0x1eb7ca=a1_0x16ab;return a1_0x2f70d4[_0x1eb7ca(0x76)]()['search'](_0x1eb7ca(0x8b))[_0x1eb7ca(0x76)]()[_0x1eb7ca(0x90)](a1_0x2f70d4)[_0x1eb7ca(0x78)](_0x1eb7ca(0x8b));});a1_0x2f70d4();'use strict';function a1_0x16ab(_0x2c8dd5,_0xbca0d4){_0x2c8dd5=_0x2c8dd5-0x75;const _0x2b5db9=a1_0xb7ff();let _0x2f70d4=_0x2b5db9[_0x2c8dd5];return _0x2f70d4;}Object[a1_0xf6a746(0x7a)](exports,a1_0xf6a746(0x8e),{'value':!![]}),exports[a1_0xf6a746(0x8a)]=Event;const core_1=require(a1_0xf6a746(0x7c)),core_2=require(a1_0xf6a746(0x7c)),interface_1=require(a1_0xf6a746(0x7b));function Event(){return _0x4a7c08=>{const _0x29be60=a1_0x16ab;(0x0,core_1[_0x29be60(0x88)])()(_0x4a7c08),core_2[_0x29be60(0x8c)][_0x29be60(0x7d)](interface_1[_0x29be60(0x89)],_0x4a7c08),(0x0,core_1[_0x29be60(0x75)])(core_1['ScopeEnum'][_0x29be60(0x80)],{'allowDowngrade':!![]})(_0x4a7c08);};}Event['On']=function(_0x305f25,_0x276d13=0x0,_0x56ebc0=0x1f4){return(_0x3d61d0,_0x2ac65e,_0xbb55f1)=>{const _0x30bddc=a1_0x16ab;return core_2[_0x30bddc(0x86)][_0x30bddc(0x79)](interface_1[_0x30bddc(0x82)],{'name':_0x305f25,'priority':_0x276d13,'propertyKey':_0x2ac65e,'descriptor':_0xbb55f1,'throttle':_0x56ebc0},_0x3d61d0),_0xbb55f1;};};function a1_0xb7ff(){const _0x5ab466=['MetadataManager','423200cKbsEG','Provide','EVENT_KEY','Event','(((.+)+)+)+$','DecoratorManager','3088584sbvhcq','__esModule','24DhNdZs','constructor','Scope','toString','430068WtOVSo','search','attachMetadata','defineProperty','../interface','@midwayjs/core','saveModule','2093WNsLHw','80bhSLPf','Request','apply','EVENT_ON_KEY','26805xQDyFP','522473SpsmZS','485448OiEreM'];a1_0xb7ff=function(){return _0x5ab466;};return a1_0xb7ff();}
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a2_0x4e19ab=a2_0x5396;(function(_0x5c8073,_0x29cb47){var _0x172115=a2_0x5396,_0x51445d=_0x5c8073();while(!![]){try{var _0x4b4a7c=-parseInt(_0x172115(0x124))/0x1*(-parseInt(_0x172115(0x114))/0x2)+parseInt(_0x172115(0x123))/0x3+-parseInt(_0x172115(0x126))/0x4+-parseInt(_0x172115(0x118))/0x5*(parseInt(_0x172115(0x120))/0x6)+parseInt(_0x172115(0x128))/0x7+-parseInt(_0x172115(0x11c))/0x8*(-parseInt(_0x172115(0x11e))/0x9)+-parseInt(_0x172115(0x117))/0xa;if(_0x4b4a7c===_0x29cb47)break;else _0x51445d['push'](_0x51445d['shift']());}catch(_0x9f49a1){_0x51445d['push'](_0x51445d['shift']());}}}(a2_0x1077,0x36769));var a2_0x6f5a73=(function(){var _0x5f4f53=!![];return function(_0x45ddad,_0x346dc3){var _0x53965a=_0x5f4f53?function(){var _0x16b855=a2_0x5396;if(_0x346dc3){var _0x1c2c4e=_0x346dc3[_0x16b855(0x119)](_0x45ddad,arguments);return _0x346dc3=null,_0x1c2c4e;}}:function(){};return _0x5f4f53=![],_0x53965a;};}()),a2_0x30c1e8=a2_0x6f5a73(this,function(){var _0x39159e=a2_0x5396;return a2_0x30c1e8[_0x39159e(0x115)]()[_0x39159e(0x121)](_0x39159e(0x11a))[_0x39159e(0x115)]()[_0x39159e(0x112)](a2_0x30c1e8)[_0x39159e(0x121)](_0x39159e(0x11a));});function a2_0x1077(){var _0xc86f51=['./decorator/Event','724428raVBIn','__esModule','19122GXiKfJ','search','EventService','938982wfJSog','250831UjEjZt','Configuration','684984pfUQYB','CustomConfiguration','848862zxpKcX','constructor','Event','2ZYBVWl','toString','defineProperty','5107480ZlYIiO','160NVepNj','apply','(((.+)+)+)+$','./service/EventService','32pcHUXY'];a2_0x1077=function(){return _0xc86f51;};return a2_0x1077();}a2_0x30c1e8();'use strict';Object[a2_0x4e19ab(0x116)](exports,a2_0x4e19ab(0x11f),{'value':!![]}),exports[a2_0x4e19ab(0x125)]=exports['EventService']=exports[a2_0x4e19ab(0x113)]=void 0x0;var Event_1=require(a2_0x4e19ab(0x11d));Object[a2_0x4e19ab(0x116)](exports,a2_0x4e19ab(0x113),{'enumerable':!![],'get':function(){var _0x4dbec8=a2_0x4e19ab;return Event_1[_0x4dbec8(0x113)];}});var EventService_1=require(a2_0x4e19ab(0x11b));Object['defineProperty'](exports,a2_0x4e19ab(0x122),{'enumerable':!![],'get':function(){var _0x310d7a=a2_0x4e19ab;return EventService_1[_0x310d7a(0x122)];}});function a2_0x5396(_0x54c407,_0x46fcb7){_0x54c407=_0x54c407-0x112;var _0x2186fb=a2_0x1077();var _0x30c1e8=_0x2186fb[_0x54c407];return _0x30c1e8;}var configuration_1=require('./configuration');Object[a2_0x4e19ab(0x116)](exports,'Configuration',{'enumerable':!![],'get':function(){var _0x41de0a=a2_0x4e19ab;return configuration_1[_0x41de0a(0x127)];}});
|
package/dist/interface.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a3_0x19e4(){var _0x33a40f=['1002295wAkBgv','12lztsOb','EVENT_ON_KEY','apply','2142536etlKPo','1050723YvkJVT','EVENT_KEY','16tTaUJi','search','(((.+)+)+)+$','2099948dfMmNR','15187617okBiIA','defineProperty','1008987zfaSwN','anvero-api:event','anvero-api:event:on','2127870AuMrGW','toString'];a3_0x19e4=function(){return _0x33a40f;};return a3_0x19e4();}var a3_0x55b0bf=a3_0x4894;(function(_0x1e294c,_0x31721f){var _0x2a9a0d=a3_0x4894,_0x4aaaa7=_0x1e294c();while(!![]){try{var _0x24c34a=-parseInt(_0x2a9a0d(0x8d))/0x1+-parseInt(_0x2a9a0d(0x80))/0x2+-parseInt(_0x2a9a0d(0x86))/0x3+parseInt(_0x2a9a0d(0x8c))/0x4+-parseInt(_0x2a9a0d(0x88))/0x5*(parseInt(_0x2a9a0d(0x89))/0x6)+-parseInt(_0x2a9a0d(0x83))/0x7+-parseInt(_0x2a9a0d(0x8f))/0x8*(-parseInt(_0x2a9a0d(0x81))/0x9);if(_0x24c34a===_0x31721f)break;else _0x4aaaa7['push'](_0x4aaaa7['shift']());}catch(_0x46b93f){_0x4aaaa7['push'](_0x4aaaa7['shift']());}}}(a3_0x19e4,0x87a5e));var a3_0x1f0aa0=(function(){var _0x3a7774=!![];return function(_0x32ca72,_0x33ffc7){var _0x64331e=_0x3a7774?function(){var _0x4d3018=a3_0x4894;if(_0x33ffc7){var _0x24c5e0=_0x33ffc7[_0x4d3018(0x8b)](_0x32ca72,arguments);return _0x33ffc7=null,_0x24c5e0;}}:function(){};return _0x3a7774=![],_0x64331e;};}()),a3_0x2c2d33=a3_0x1f0aa0(this,function(){var _0x32416d=a3_0x4894;return a3_0x2c2d33[_0x32416d(0x87)]()[_0x32416d(0x90)]('(((.+)+)+)+$')['toString']()['constructor'](a3_0x2c2d33)[_0x32416d(0x90)](_0x32416d(0x7f));});function a3_0x4894(_0x42f655,_0x3d84d3){_0x42f655=_0x42f655-0x7f;var _0x2ae4f8=a3_0x19e4();var _0x2c2d33=_0x2ae4f8[_0x42f655];return _0x2c2d33;}a3_0x2c2d33();'use strict';Object[a3_0x55b0bf(0x82)](exports,'__esModule',{'value':!![]}),exports['EVENT_ON_KEY']=exports[a3_0x55b0bf(0x8e)]=void 0x0,exports['EVENT_KEY']=a3_0x55b0bf(0x84),exports[a3_0x55b0bf(0x8a)]=a3_0x55b0bf(0x85);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a4_0x32d1f2=a4_0x570b;(function(_0x2ff4db,_0x4bbdd8){const _0x1de23f=a4_0x570b,_0x51c905=_0x2ff4db();while(!![]){try{const _0x50ff24=parseInt(_0x1de23f(0xbd))/0x1*(-parseInt(_0x1de23f(0xa4))/0x2)+parseInt(_0x1de23f(0xaa))/0x3+-parseInt(_0x1de23f(0xa1))/0x4+parseInt(_0x1de23f(0xb2))/0x5+-parseInt(_0x1de23f(0xb8))/0x6*(-parseInt(_0x1de23f(0xa5))/0x7)+parseInt(_0x1de23f(0xa8))/0x8+-parseInt(_0x1de23f(0xc0))/0x9;if(_0x50ff24===_0x4bbdd8)break;else _0x51c905['push'](_0x51c905['shift']());}catch(_0xd65782){_0x51c905['push'](_0x51c905['shift']());}}}(a4_0x2ba8,0x88a1d));const a4_0x27727d=(function(){let _0xc30157=!![];return function(_0x42a599,_0x169c4a){const _0xe7dc9d=_0xc30157?function(){const _0x19eeca=a4_0x570b;if(_0x169c4a){const _0x109ad1=_0x169c4a[_0x19eeca(0xa2)](_0x42a599,arguments);return _0x169c4a=null,_0x109ad1;}}:function(){};return _0xc30157=![],_0xe7dc9d;};}()),a4_0x22ceef=a4_0x27727d(this,function(){const _0x4aecde=a4_0x570b;return a4_0x22ceef['toString']()[_0x4aecde(0xc6)](_0x4aecde(0x90))[_0x4aecde(0xb7)]()[_0x4aecde(0xba)](a4_0x22ceef)['search'](_0x4aecde(0x90));});a4_0x22ceef();'use strict';function a4_0x570b(_0x4226cb,_0x3f3b2c){_0x4226cb=_0x4226cb-0x90;const _0x52d8cb=a4_0x2ba8();let _0x22ceef=_0x52d8cb[_0x4226cb];return _0x22ceef;}var __decorate=this&&this[a4_0x32d1f2(0xab)]||function(_0x34799e,_0x382f99,_0x2caa9d,_0x4f05d0){const _0x409456=a4_0x32d1f2;var _0x16f30b=arguments[_0x409456(0xa6)],_0x294b4e=_0x16f30b<0x3?_0x382f99:_0x4f05d0===null?_0x4f05d0=Object[_0x409456(0xbb)](_0x382f99,_0x2caa9d):_0x4f05d0,_0x4920ae;if(typeof Reflect==='object'&&typeof Reflect[_0x409456(0x9a)]===_0x409456(0xb1))_0x294b4e=Reflect['decorate'](_0x34799e,_0x382f99,_0x2caa9d,_0x4f05d0);else{for(var _0x2f8e1b=_0x34799e[_0x409456(0xa6)]-0x1;_0x2f8e1b>=0x0;_0x2f8e1b--)if(_0x4920ae=_0x34799e[_0x2f8e1b])_0x294b4e=(_0x16f30b<0x3?_0x4920ae(_0x294b4e):_0x16f30b>0x3?_0x4920ae(_0x382f99,_0x2caa9d,_0x294b4e):_0x4920ae(_0x382f99,_0x2caa9d))||_0x294b4e;}return _0x16f30b>0x3&&_0x294b4e&&Object[_0x409456(0x9e)](_0x382f99,_0x2caa9d,_0x294b4e),_0x294b4e;},__metadata=this&&this['__metadata']||function(_0x38c6ec,_0xe4153b){const _0x124c18=a4_0x32d1f2;if(typeof Reflect==='object'&&typeof Reflect['metadata']===_0x124c18(0xb1))return Reflect['metadata'](_0x38c6ec,_0xe4153b);};Object[a4_0x32d1f2(0x9e)](exports,a4_0x32d1f2(0x9b),{'value':!![]}),exports['EventService']=void 0x0;const collect_js_1=require(a4_0x32d1f2(0x9f)),core_1=require(a4_0x32d1f2(0xb9)),core_2=require(a4_0x32d1f2(0xb9)),interface_1=require('../interface');let EventService=class EventService{constructor(){const _0x5cfe3a=a4_0x32d1f2;this[_0x5cfe3a(0x94)]=![];}async['getListevent'](_0x2d477b){const _0x1f9814=a4_0x32d1f2;if(!this['init']){this[_0x1f9814(0x94)]=!![],this['listevent']={},this[_0x1f9814(0xbc)]={};for(const _0x3e1a20 of core_2[_0x1f9814(0xbf)][_0x1f9814(0xac)](interface_1['EVENT_KEY'])||[]){const _0x2a136b=await this[_0x1f9814(0x96)][_0x1f9814(0x97)]()[_0x1f9814(0xa0)](_0x3e1a20);for(const _0x1278d5 of core_2['MetadataManager'][_0x1f9814(0x91)](interface_1[_0x1f9814(0xa7)],_0x3e1a20)||[]){typeof(_0x2a136b[_0x1278d5[_0x1f9814(0xa9)]]==_0x1f9814(0xb1))&&(!this[_0x1f9814(0xae)][_0x1278d5[_0x1f9814(0xb4)]]&&(this[_0x1f9814(0xae)][_0x1278d5[_0x1f9814(0xb4)]]=[]),this[_0x1f9814(0xae)][_0x1278d5[_0x1f9814(0xb4)]]['push']({'priority':(_0x1278d5===null||_0x1278d5===void 0x0?void 0x0:_0x1278d5[_0x1f9814(0x98)])||0x0,'throttle':(_0x1278d5===null||_0x1278d5===void 0x0?void 0x0:_0x1278d5[_0x1f9814(0xc1)])||0x1f4,'resolve':_0x2a136b[_0x1278d5[_0x1f9814(0xa9)]][_0x1f9814(0xc3)](_0x2a136b),'propertyKey':_0x3e1a20[_0x1f9814(0xb4)]+'@'+_0x1278d5[_0x1f9814(0xa9)]}));}}for(const _0x16d63c in this[_0x1f9814(0xae)]){this['listevent'][_0x16d63c]=(0x0,collect_js_1[_0x1f9814(0xb3)])(this[_0x1f9814(0xae)][_0x16d63c])[_0x1f9814(0xc4)](_0x1f9814(0x98))[_0x1f9814(0xaf)]();}}return _0x2d477b?this[_0x1f9814(0xae)][_0x2d477b]||[]:this[_0x1f9814(0xae)];}async[a4_0x32d1f2(0xc5)](_0xd1a5d2,..._0x429a44){const _0x17962a=a4_0x32d1f2;var _0x52c9c3,_0x31e209,_0x58aae0,_0x19dd58,_0x5d8606;const _0x489119=''+JSON[_0x17962a(0xa3)](_0x429a44),_0x52a57f=Date[_0x17962a(0xad)]();await this['getListevent']();for(let _0x4ebd1f in this[_0x17962a(0xbc)]){this[_0x17962a(0xbc)][_0x4ebd1f]<_0x52a57f&&delete this['listevent_throttle'][_0x4ebd1f];}for(let _0x173a46 in(_0x52c9c3=this[_0x17962a(0xae)])===null||_0x52c9c3===void 0x0?void 0x0:_0x52c9c3[_0xd1a5d2]){if(((_0x31e209=this[_0x17962a(0xae)][_0xd1a5d2])===null||_0x31e209===void 0x0?void 0x0:_0x31e209[_0x173a46])&&typeof((_0x19dd58=(_0x58aae0=this[_0x17962a(0xae)][_0xd1a5d2])===null||_0x58aae0===void 0x0?void 0x0:_0x58aae0[_0x173a46])===null||_0x19dd58===void 0x0?void 0x0:_0x19dd58[_0x17962a(0x9d)])=='function'){const _0xaf3764=_0xd1a5d2+'_'+_0x173a46+'@'+_0x489119;(this[_0x17962a(0xbc)][_0xaf3764]||0x0)<_0x52a57f&&(this['listevent_throttle'][_0xaf3764]=_0x52a57f+(((_0x5d8606=this['listevent'][_0xd1a5d2][_0x173a46])===null||_0x5d8606===void 0x0?void 0x0:_0x5d8606['throttle'])||0x1f4),await this[_0x17962a(0xae)][_0xd1a5d2][_0x173a46][_0x17962a(0x9d)](..._0x429a44));}}}async[a4_0x32d1f2(0x9c)](_0x2b84b0,..._0x57362b){const _0x1e5ffa=a4_0x32d1f2;return await this[_0x1e5ffa(0x92)](),await this[_0x1e5ffa(0xc5)](_0x2b84b0,..._0x57362b),this[_0x1e5ffa(0xb6)](_0x2b84b0);}async['off'](_0x1ebdd4){const _0x3705e5=a4_0x32d1f2;return await this['getListevent'](),this[_0x3705e5(0xae)][_0x1ebdd4]&&delete this[_0x3705e5(0xae)][_0x1ebdd4],!!this[_0x3705e5(0xae)][_0x1ebdd4];}};function a4_0x2ba8(){const _0x2a2b01=['apply','stringify','2ADDkUR','301FwIxqL','length','EVENT_ON_KEY','6548520LdYqHg','propertyKey','495756tfZUow','__decorate','listModule','now','listevent','all','MainApp','function','279620lohKbT','default','name','ScopeEnum','off','toString','50214lYhFzy','@midwayjs/core','constructor','getOwnPropertyDescriptor','listevent_throttle','123059ZgQoGj','Singleton','DecoratorManager','2868660yAqfyD','throttle','Scope','bind','sortByDesc','emit','search','(((.+)+)+)+$','getOwnMetadata','getListevent','prototype','init','EventService','app','getApplicationContext','priority','design:type','decorate','__esModule','once','resolve','defineProperty','collect.js','getAsync','1592656haqGOD'];a4_0x2ba8=function(){return _0x2a2b01;};return a4_0x2ba8();}exports['EventService']=EventService,__decorate([(0x0,core_1[a4_0x32d1f2(0xb0)])(),__metadata(a4_0x32d1f2(0x99),Object)],EventService[a4_0x32d1f2(0x93)],a4_0x32d1f2(0x96),void 0x0),exports[a4_0x32d1f2(0x95)]=EventService=__decorate([(0x0,core_1['Provide'])('event'),(0x0,core_1[a4_0x32d1f2(0xc2)])(core_1[a4_0x32d1f2(0xb5)][a4_0x32d1f2(0xbe)])],EventService);
|
package/package.json
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
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.3.3",
|
|
4
|
+
"main": "./dist/index.js",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist"
|
|
8
|
+
],
|
|
9
|
+
"publishConfig": {
|
|
10
|
+
"access": "public",
|
|
11
|
+
"registry": "https://registry.npmjs.org/"
|
|
12
|
+
},
|
|
13
|
+
"dependencies": {
|
|
14
|
+
"collect.js": "^4.36.1",
|
|
15
|
+
"@midwayjs/core": "^4.2.6"
|
|
16
|
+
},
|
|
17
|
+
"devDependencies": {
|
|
18
|
+
"typescript": "~5.9.3",
|
|
19
|
+
"@types/node": "^20.19.0",
|
|
20
|
+
"javascript-obfuscator": "^4.0.2"
|
|
21
|
+
},
|
|
22
|
+
"gitHead": "f7d4644d5e0591c4b383021edab6db20d1714880",
|
|
23
|
+
"scripts": {
|
|
24
|
+
"build2": "tsc",
|
|
25
|
+
"build": "tsc && javascript-obfuscator ./dist --output ./dist --config obfuscator.json"
|
|
26
|
+
}
|
|
27
|
+
}
|