vona-module-a-broadcast 5.0.28 → 5.0.29
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/index.js +10 -10
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { BeanInfo, BeanBase, BeanSimple, BeanScopeBase, createBeanDecorator } from 'vona';
|
|
2
|
+
import { __decorate } from 'tslib';
|
|
2
3
|
import { isNil } from '@cabloy/utils';
|
|
3
4
|
import { Service, Scope } from 'vona-module-a-bean';
|
|
4
5
|
import { getRedisClientKeyPrefix } from 'vona-module-a-redis';
|
|
5
6
|
|
|
6
|
-
|
|
7
|
-
let ServiceBroadcast = (_dec$1 = Service(), _dec2$1 = BeanInfo({
|
|
8
|
-
module: "a-broadcast"
|
|
9
|
-
}), _dec$1(_class$1 = _dec2$1(_class$1 = class ServiceBroadcast extends BeanBase {
|
|
7
|
+
let ServiceBroadcast = class ServiceBroadcast extends BeanBase {
|
|
10
8
|
constructor(...args) {
|
|
11
9
|
super(...args);
|
|
12
10
|
this.__callerId = void 0;
|
|
@@ -25,7 +23,7 @@ let ServiceBroadcast = (_dec$1 = Service(), _dec2$1 = BeanInfo({
|
|
|
25
23
|
this._performTask(JSON.parse(info)).then(() => {
|
|
26
24
|
// do nothing
|
|
27
25
|
}).catch(err => {
|
|
28
|
-
this
|
|
26
|
+
this.app.handleError(err);
|
|
29
27
|
});
|
|
30
28
|
});
|
|
31
29
|
}
|
|
@@ -68,7 +66,10 @@ let ServiceBroadcast = (_dec$1 = Service(), _dec2$1 = BeanInfo({
|
|
|
68
66
|
instance
|
|
69
67
|
});
|
|
70
68
|
}
|
|
71
|
-
}
|
|
69
|
+
};
|
|
70
|
+
ServiceBroadcast = __decorate([Service(), BeanInfo({
|
|
71
|
+
module: "a-broadcast"
|
|
72
|
+
})], ServiceBroadcast);
|
|
72
73
|
|
|
73
74
|
const __ThisModule__ = 'a-broadcast';
|
|
74
75
|
|
|
@@ -92,11 +93,10 @@ class Main extends BeanSimple {
|
|
|
92
93
|
async configLoaded(_config) {}
|
|
93
94
|
}
|
|
94
95
|
|
|
95
|
-
|
|
96
|
-
|
|
96
|
+
let ScopeModuleABroadcast = class ScopeModuleABroadcast extends BeanScopeBase {};
|
|
97
|
+
ScopeModuleABroadcast = __decorate([Scope(), BeanInfo({
|
|
97
98
|
module: "a-broadcast"
|
|
98
|
-
}),
|
|
99
|
-
|
|
99
|
+
})], ScopeModuleABroadcast);
|
|
100
100
|
/** scope: end */
|
|
101
101
|
|
|
102
102
|
class BeanBroadcastBase extends BeanBase {
|