@lark-apaas/fullstack-nestjs-core 1.0.4 → 1.0.5

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/index.cjs CHANGED
@@ -334,7 +334,9 @@ var PlatformModule = class _PlatformModule {
334
334
  },
335
335
  {
336
336
  provide: import_core.APP_PIPE,
337
- useClass: import_common5.ValidationPipe
337
+ useValue: new import_common5.ValidationPipe({
338
+ transform: true
339
+ })
338
340
  }
339
341
  ],
340
342
  exports: [
package/dist/index.js CHANGED
@@ -292,7 +292,9 @@ var PlatformModule = class _PlatformModule {
292
292
  },
293
293
  {
294
294
  provide: APP_PIPE,
295
- useClass: ValidationPipe
295
+ useValue: new ValidationPipe({
296
+ transform: true
297
+ })
296
298
  }
297
299
  ],
298
300
  exports: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/fullstack-nestjs-core",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "FullStack Nestjs Core",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",