@eggjs/tegg-eventbus-runtime 1.4.1 → 1.5.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.
@@ -1,5 +1,5 @@
1
1
  import { EggContext } from '@eggjs/tegg-runtime';
2
- export declare type ContextCreator = (parentContext?: EggContext) => EggContext;
2
+ export type ContextCreator = (parentContext?: EggContext) => EggContext;
3
3
  export declare class EventContextFactory {
4
4
  private creator;
5
5
  createContext(parentContext?: EggContext): EggContext;
@@ -1,6 +1,6 @@
1
1
  import { EventBus, Events, EventWaiter, EventName } from '@eggjs/eventbus-decorator';
2
2
  import { EggContext } from '@eggjs/tegg-runtime';
3
- declare type Arguments<T> = [T] extends [(...args: infer U) => any] ? U : [T] extends [void] ? [] : [T];
3
+ type Arguments<T> = [T] extends [(...args: infer U) => any] ? U : [T] extends [void] ? [] : [T];
4
4
  export declare class SingletonEventBus implements EventBus, EventWaiter {
5
5
  private readonly emitter;
6
6
  private readonly eventContextFactory;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eggjs/tegg-eventbus-runtime",
3
- "version": "1.4.1",
3
+ "version": "1.5.1",
4
4
  "description": "tegg eventbus runtime",
5
5
  "keywords": [
6
6
  "egg",
@@ -38,8 +38,8 @@
38
38
  "directory": "core/eventbus-runtime"
39
39
  },
40
40
  "dependencies": {
41
- "@eggjs/core-decorator": "^1.3.0",
42
- "@eggjs/eventbus-decorator": "^1.3.0",
41
+ "@eggjs/core-decorator": "^1.4.1",
42
+ "@eggjs/eventbus-decorator": "^1.4.1",
43
43
  "await-event": "^2.1.0",
44
44
  "await-first": "^1.0.0",
45
45
  "typed-emitter": "^1.3.1"
@@ -48,10 +48,10 @@
48
48
  "node": ">=14.0.0"
49
49
  },
50
50
  "devDependencies": {
51
- "@eggjs/tegg-common-util": "^1.1.1",
52
- "@eggjs/tegg-loader": "^1.3.0",
53
- "@eggjs/tegg-metadata": "^1.3.0",
54
- "@eggjs/tegg-runtime": "^1.3.0",
51
+ "@eggjs/tegg-common-util": "^1.2.1",
52
+ "@eggjs/tegg-loader": "^1.4.1",
53
+ "@eggjs/tegg-metadata": "^1.4.1",
54
+ "@eggjs/tegg-runtime": "^1.4.1",
55
55
  "coffee": "^5.4.0",
56
56
  "egg": "^2.29.3",
57
57
  "mm": "^3.2.0"
@@ -59,5 +59,5 @@
59
59
  "publishConfig": {
60
60
  "access": "public"
61
61
  },
62
- "gitHead": "70062f4509048d32d7797856b40c84e4a3029bde"
62
+ "gitHead": "d5e18b9e9af115d0fe02e3b3190e364244b698ac"
63
63
  }