@aeriajs/http 0.0.84 → 0.0.86

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/routing.d.ts CHANGED
@@ -29,13 +29,13 @@ export declare const wrapRouteExecution: (response: GenericResponse, cb: () => a
29
29
  export declare const createRouter: (options?: Partial<RouterOptions>) => ProxiedRouter<{
30
30
  route: <const TContractWithRoles extends ContractWithRoles, TCallback extends (TContractWithRoles extends {
31
31
  response: infer Response;
32
- } ? InferResponse<Response> : any) extends infer Response_1 ? (context: TypedContext<TContractWithRoles>) => Response_1 : never>(method: RequestMethod | RequestMethod[], exp: RouteUri, cb: TCallback, contract?: TContractWithRoles) => void;
32
+ } ? InferResponse<Response> : any) extends infer Response ? (context: TypedContext<TContractWithRoles>) => Response : never>(method: RequestMethod | RequestMethod[], exp: RouteUri, cb: TCallback, contract?: TContractWithRoles) => void;
33
33
  routes: ((_: unknown, context: RouteContext, groupOptions?: RouteGroupOptions) => ReturnType<typeof registerRoute>)[];
34
34
  routesMeta: RoutesMeta;
35
35
  group: <TRouter extends {
36
36
  install: (context: RouteContext, options?: RouterOptions) => any;
37
37
  routesMeta: RoutesMeta;
38
38
  }>(exp: RouteUri, router: TRouter, middleware?: Middleware) => void;
39
- install: (_context: RouteContext, _options?: RouterOptions) => Promise<any>;
39
+ install: (_context: RouteContext, _options?: RouterOptions) => ReturnType<(value: unknown, context: RouteContext, groupOptions?: RouteGroupOptions | undefined) => Promise<any>>;
40
40
  }>;
41
41
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aeriajs/http",
3
- "version": "0.0.84",
3
+ "version": "0.0.86",
4
4
  "description": "## Installation",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -28,10 +28,10 @@
28
28
  "@aeriajs/validation": "link:../validation"
29
29
  },
30
30
  "peerDependencies": {
31
- "@aeriajs/common": "^0.0.73",
32
- "@aeriajs/entrypoint": "^0.0.75",
33
- "@aeriajs/types": "^0.0.64",
34
- "@aeriajs/validation": "^0.0.76"
31
+ "@aeriajs/common": "^0.0.75",
32
+ "@aeriajs/entrypoint": "^0.0.77",
33
+ "@aeriajs/types": "^0.0.65",
34
+ "@aeriajs/validation": "^0.0.78"
35
35
  },
36
36
  "scripts": {
37
37
  "test": "echo skipping",