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