@velajs/vela 0.6.0 → 0.6.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,3 +1,4 @@
1
+ import type { Context } from 'hono';
1
2
  import type { CanActivate, ExceptionFilter, NestInterceptor, NestMiddleware, PipeTransform } from '../pipeline/types';
2
3
  export type Type<T = any> = new (...args: any[]) => T;
3
4
  export type Constructor = Function;
@@ -26,7 +27,7 @@ export interface ParameterMetadata {
26
27
  type: string;
27
28
  name?: string;
28
29
  pipes?: PipeType[];
29
- factory?: (data: unknown, ctx: unknown) => unknown;
30
+ factory?: (data: unknown, ctx: Context) => unknown;
30
31
  }
31
32
  export interface HttpHandlerMeta {
32
33
  httpCode?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@velajs/vela",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "NestJS-compatible framework for edge runtimes, powered by Hono",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",