@aeriajs/builtins 0.0.288 → 0.0.290

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.
@@ -27,7 +27,7 @@ declare const Payload: Partial<{} & Omit<Readonly<import("@aeriajs/types").Filte
27
27
  noSerialize: boolean;
28
28
  router: boolean;
29
29
  }, never>>;
30
- export declare const describe: (contextOrPayload: RouteContext | typeof Payload) => Promise<import("@aeriajs/types").GenericResponse | {
30
+ export declare const describe: (contextOrPayload: RouteContext | typeof Payload) => Promise<string | {
31
31
  readonly _tag: "Error";
32
32
  readonly error: {
33
33
  readonly httpStatus: 422;
@@ -99,5 +99,5 @@ export const describe = async (contextOrPayload) => {
99
99
  return Result.result(result);
100
100
  }
101
101
  contextOrPayload.response.setHeader('content-type', 'application/bson');
102
- return contextOrPayload.response.end(serialize(result));
102
+ return serialize(result);
103
103
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aeriajs/builtins",
3
3
  "type": "module",
4
- "version": "0.0.288",
4
+ "version": "0.0.290",
5
5
  "description": "## Installation",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -38,14 +38,14 @@
38
38
  "@aeriajs/entrypoint": "link:../entrypoint",
39
39
  "@aeriajs/types": "link:../types",
40
40
  "@aeriajs/validation": "link:../validation",
41
- "mongodb": "^6.19.0"
41
+ "mongodb": "^6.20.0"
42
42
  },
43
43
  "peerDependencies": {
44
- "@aeriajs/common": "^0.0.162",
45
- "@aeriajs/core": "^0.0.288",
46
- "@aeriajs/entrypoint": "^0.0.170",
47
- "@aeriajs/types": "^0.0.137",
48
- "@aeriajs/validation": "^0.0.186"
44
+ "@aeriajs/common": "^0.0.163",
45
+ "@aeriajs/core": "^0.0.290",
46
+ "@aeriajs/entrypoint": "^0.0.171",
47
+ "@aeriajs/types": "^0.0.138",
48
+ "@aeriajs/validation": "^0.0.187"
49
49
  },
50
50
  "scripts": {
51
51
  "test": "echo skipping",