@tsed/platform-fastify 8.38.1 → 8.38.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.
@@ -28,19 +28,13 @@ export class PlatformFastify extends PlatformAdapter {
28
28
  }
29
29
  static create(module, settings) {
30
30
  return new PlatformBuilder({
31
- rootModule: settings ? module : undefined,
32
31
  httpsPort: false,
33
32
  httpPort: false,
34
- ...(settings || module),
35
- adapter: PlatformFastify
33
+ ...PlatformBuilder.options(PlatformFastify, module, settings)
36
34
  });
37
35
  }
38
36
  static bootstrap(module, settings) {
39
- return new PlatformBuilder({
40
- rootModule: settings ? module : undefined,
41
- ...(settings || module),
42
- adapter: PlatformFastify
43
- }).bootstrap();
37
+ return new PlatformBuilder(PlatformBuilder.options(PlatformFastify, module, settings)).bootstrap();
44
38
  }
45
39
  async mapLayers(layers) {
46
40
  const { app } = this;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsed/platform-fastify",
3
- "version": "8.38.1",
3
+ "version": "8.38.4",
4
4
  "description": "Fastify package for Ts.ED framework",
5
5
  "keywords": [
6
6
  "Controller",
@@ -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.38.1",
65
- "@tsed/core": "8.38.1",
66
- "@tsed/di": "8.38.1",
67
- "@tsed/platform-http": "8.38.1",
68
- "@tsed/platform-test-sdk": "8.38.1",
64
+ "@tsed/barrels": "8.38.4",
65
+ "@tsed/core": "8.38.4",
66
+ "@tsed/di": "8.38.4",
67
+ "@tsed/platform-http": "8.38.4",
68
+ "@tsed/platform-test-sdk": "8.38.4",
69
69
  "@types/content-disposition": "^0.5.4",
70
70
  "cross-env": "7.0.3",
71
71
  "fastify": "5.8.3",