@tsed/platform-fastify 8.13.2 → 8.13.4

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.
@@ -233,6 +233,7 @@ export class PlatformFastify extends PlatformAdapter {
233
233
  // TODO maybe we can use platform exception here?
234
234
  throw req.$ctx.error;
235
235
  }
236
+ return $ctx.response.raw;
236
237
  });
237
238
  };
238
239
  }
@@ -40,6 +40,6 @@ export declare class PlatformFastify extends PlatformAdapter<FastifyInstance> {
40
40
  getServers(): any[];
41
41
  bodyParser(type: string, opts: Record<string, any> | undefined): any;
42
42
  statics(endpoint: string, options: PlatformStaticsOptions): any;
43
- protected compose(layer: PlatformLayer, wildcard?: string): (req: FastifyRequest, _: FastifyReply) => Promise<Promise<void>>;
43
+ protected compose(layer: PlatformLayer, wildcard?: string): (req: FastifyRequest, _: FastifyReply) => Promise<Promise<any>>;
44
44
  protected resolvePlugins(): Promise<PlatformFastifyPluginLoadingOptions[]>;
45
45
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tsed/platform-fastify",
3
3
  "type": "module",
4
- "version": "8.13.2",
4
+ "version": "8.13.4",
5
5
  "description": "Fastify package for Ts.ED framework",
6
6
  "source": "./src/index.ts",
7
7
  "main": "./lib/esm/index.js",
@@ -61,11 +61,11 @@
61
61
  "@fastify/cookie": "11.0.1",
62
62
  "@fastify/formbody": "8.0.1",
63
63
  "@fastify/session": "11.0.1",
64
- "@tsed/barrels": "8.13.2",
65
- "@tsed/core": "8.13.2",
66
- "@tsed/di": "8.13.2",
67
- "@tsed/platform-http": "8.13.2",
68
- "@tsed/platform-test-sdk": "8.13.2",
64
+ "@tsed/barrels": "8.13.4",
65
+ "@tsed/core": "8.13.4",
66
+ "@tsed/di": "8.13.4",
67
+ "@tsed/platform-http": "8.13.4",
68
+ "@tsed/platform-test-sdk": "8.13.4",
69
69
  "@types/content-disposition": "^0.5.4",
70
70
  "cross-env": "7.0.3",
71
71
  "fastify": "5.3.2",