@stacksjs/events 0.75.80 → 0.75.81

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -81,7 +81,7 @@ export declare function scope<Events extends EventMap>(underlying: Emitter<Event
81
81
  export declare function defineEvents<const T extends Events & Record< Exclude<keyof T, EventName>, { 'this event name is not declared on AppEvents or AuthEvents': never } >,>(events: T): T;
82
82
  // Singleton-friendly scope alias (#1878 E-5). Use to create a
83
83
  // per-tenant / per-plugin wrapper that auto-prefixes event names.
84
- export declare function scopedEvents(prefix: string): void;
84
+ export declare function scopedEvents(prefix: string): unknown;
85
85
  /**
86
86
  * Backward-compatible alias for the legacy `mitt()` export. Behaves
87
87
  * identically to {@link createEmitter}.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@stacksjs/events",
3
3
  "type": "module",
4
4
  "sideEffects": false,
5
- "version": "0.75.80",
5
+ "version": "0.75.81",
6
6
  "description": "Functional event emitting.",
7
7
  "author": "Chris Breuer",
8
8
  "contributors": [