@eggjs/eventbus-decorator 1.1.1 → 1.4.0

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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.3.0](https://github.com/eggjs/tegg/compare/v1.2.0...v1.3.0) (2022-07-01)
7
+
8
+ **Note:** Version bump only for package @eggjs/eventbus-decorator
9
+
10
+
11
+
12
+
13
+
6
14
  # [0.2.0](https://github.com/eggjs/tegg/compare/v0.1.19...v0.2.0) (2022-01-20)
7
15
 
8
16
  **Note:** Version bump only for package @eggjs/eventbus-decorator
package/dist/index.js CHANGED
@@ -1,7 +1,11 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
3
  if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
5
9
  }) : (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
7
11
  o[k2] = m[k];
@@ -13,4 +17,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
13
17
  __exportStar(require("./src/EventBus"), exports);
14
18
  __exportStar(require("./src/Event"), exports);
15
19
  __exportStar(require("./src/EventInfoUtil"), exports);
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFBQSxpREFBK0I7QUFDL0IsOENBQTRCO0FBQzVCLHNEQUFvQyJ9
20
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsaURBQStCO0FBQy9CLDhDQUE0QjtBQUM1QixzREFBb0MifQ==
@@ -1,12 +1,12 @@
1
1
  import TypedEventEmitter, { Arguments } from 'typed-emitter';
2
2
  import { Events } from '@eggjs/tegg';
3
- export declare type EventName = string | symbol;
3
+ export type EventName = string | symbol;
4
4
  /**
5
5
  * use `emit` to emit a event
6
6
  */
7
7
  export interface EventBus extends Pick<TypedEventEmitter<Events>, 'emit'> {
8
8
  }
9
- export declare type EventKeys = keyof Events;
9
+ export type EventKeys = keyof Events;
10
10
  /**
11
11
  * use to ensure event will happen
12
12
  * Can not inject for now, only use for unittest
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eggjs/eventbus-decorator",
3
- "version": "1.1.1",
3
+ "version": "1.4.0",
4
4
  "description": "tegg eventbus decorator",
5
5
  "keywords": [
6
6
  "egg",
@@ -35,8 +35,8 @@
35
35
  "directory": "core/eventbus-decorator"
36
36
  },
37
37
  "dependencies": {
38
- "@eggjs/core-decorator": "^1.1.1",
39
- "@eggjs/tegg-common-util": "^1.1.1",
38
+ "@eggjs/core-decorator": "^1.4.0",
39
+ "@eggjs/tegg-common-util": "^1.2.0",
40
40
  "typed-emitter": "^1.3.1"
41
41
  },
42
42
  "engines": {
@@ -48,5 +48,5 @@
48
48
  "publishConfig": {
49
49
  "access": "public"
50
50
  },
51
- "gitHead": "9d4984de5de24ac446d70fe8f5f0108afc160521"
51
+ "gitHead": "6bd085c1c265921d31110811f4d707875dc7acea"
52
52
  }