@wooksjs/event-core 0.5.10 → 0.5.12
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.cjs +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -289,7 +289,7 @@ declare function useRouteParams<T extends object = Record<string, string | strin
|
|
|
289
289
|
declare class ContextInjector<N> {
|
|
290
290
|
with<T>(name: N, attributes: Record<string, string | number | boolean>, cb: TContextInjectorCallback<T>): T;
|
|
291
291
|
with<T>(name: N, cb: TContextInjectorCallback<T>): T;
|
|
292
|
-
hook(name: 'Handler:not_found' | 'Handler:routed', route?: string): void;
|
|
292
|
+
hook(method: string, name: 'Handler:not_found' | 'Handler:routed', route?: string): void;
|
|
293
293
|
}
|
|
294
294
|
type TContextInjectorCallback<T> = () => T;
|
|
295
295
|
declare function getContextInjector<N = TContextInjectorHooks>(): ContextInjector<N>;
|
package/dist/index.mjs
CHANGED