@aeriajs/server 0.0.149 → 0.0.151

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/handler.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import type { RouteContext } from '@aeriajs/types';
2
2
  import type { functions } from '@aeriajs/core';
3
- export declare const safeHandle: (fn: (context: RouteContext) => Promise<object>, context: RouteContext) => () => Promise<any>;
3
+ export declare const safeHandle: (fn: (context: RouteContext) => Promise<object>, context: RouteContext) => () => Promise<unknown>;
4
4
  export declare const customVerbs: () => (parentContext: RouteContext) => Promise<any>;
5
5
  export declare const regularVerb: (functionName: keyof typeof functions) => (parentContext: RouteContext) => Promise<any>;
package/dist/routes.d.ts CHANGED
@@ -18,5 +18,5 @@ export declare const registerRoutes: () => import("@aeriajs/http").ProxiedRouter
18
18
  install: (context: RouteContext, options?: import("@aeriajs/http").RouterOptions) => any;
19
19
  routesMeta: import("@aeriajs/http").RoutesMeta;
20
20
  }>(exp: import("@aeriajs/types").RouteUri, router: TRouter, middleware?: (context: RouteContext) => any) => void;
21
- install: (_context: RouteContext, _options?: import("@aeriajs/http").RouterOptions) => ReturnType<(value: unknown, context: RouteContext, groupOptions?: import("@aeriajs/http").RouteGroupOptions | undefined) => Promise<any>>;
21
+ install: (_context: RouteContext, _options?: import("@aeriajs/http").RouterOptions) => ReturnType<(value: unknown, context: RouteContext, groupOptions?: import("@aeriajs/http").RouteGroupOptions | undefined) => Promise<{} | Promise<any> | null>>;
22
22
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aeriajs/server",
3
- "version": "0.0.149",
3
+ "version": "0.0.151",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -33,13 +33,13 @@
33
33
  "mongodb": "^6.5.0"
34
34
  },
35
35
  "peerDependencies": {
36
- "@aeriajs/core": "^0.0.147",
37
- "@aeriajs/builtins": "^0.0.147",
36
+ "@aeriajs/core": "^0.0.149",
37
+ "@aeriajs/builtins": "^0.0.149",
38
38
  "@aeriajs/common": "^0.0.90",
39
39
  "@aeriajs/entrypoint": "^0.0.92",
40
40
  "@aeriajs/http": "^0.0.102",
41
41
  "@aeriajs/node-http": "^0.0.102",
42
- "@aeriajs/server": "^0.0.149",
42
+ "@aeriajs/server": "^0.0.151",
43
43
  "@aeriajs/types": "^0.0.78",
44
44
  "mongodb": "^6.5.0"
45
45
  },