@nest-omni/core 3.1.2-1 → 3.1.2-2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nest-omni/core",
3
- "version": "3.1.2-1",
3
+ "version": "3.1.2-2",
4
4
  "description": "A comprehensive NestJS framework for building enterprise-grade applications with best practices",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -119,6 +119,7 @@ const class_validator_1 = require("class-validator");
119
119
  const setup_1 = require("@sentry/nestjs/setup");
120
120
  const vault_1 = require("../vault");
121
121
  const dto_1 = require("../common/dto");
122
+ const express_1 = require("express");
122
123
  function bootstrapSetup(AppModule, SetupSwagger) {
123
124
  return __awaiter(this, void 0, void 0, function* () {
124
125
  yield vault_1.VaultConfigLoader.loadVaultConfig();
@@ -139,7 +140,10 @@ function bootstrapSetup(AppModule, SetupSwagger) {
139
140
  app.enableShutdownHooks();
140
141
  app.enableVersioning();
141
142
  app.enable('trust proxy');
142
- app.use(bodyParse.json({ limit: '50mb' }), new nestjs_cls_1.ClsMiddleware({
143
+ app.use((0, express_1.urlencoded)({
144
+ extended: true,
145
+ parameterLimit: 1000,
146
+ }), bodyParse.json({ limit: '50mb' }), new nestjs_cls_1.ClsMiddleware({
143
147
  saveReq: true,
144
148
  }).use, (0, __1.RequestIdMiddleware)(), (0, __1.PowerByMiddleware)(), (0, __1.OmniAuthMiddleware)(), compression());
145
149
  const reflector = app.get(core_1.Reflector);