@pxp-nd/core 1.2.5 → 1.2.6

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.
Files changed (2) hide show
  1. package/dist/PxpApp.js +6 -2
  2. package/package.json +1 -1
package/dist/PxpApp.js CHANGED
@@ -125,8 +125,12 @@ class PxpApp {
125
125
  }
126
126
  next();
127
127
  });
128
- this.app.use(express_1.default.json(Object.assign({}, this.config.expressJsonConfig)));
129
- this.app.use(express_1.default.urlencoded(Object.assign({ extended: false }, this.config.expressUrlEncodedConfig)));
128
+ this.app.use(express_1.default.json({ limit: '50mb' }));
129
+ this.app.use(express_1.default.urlencoded({ limit: '50mb' }));
130
+ /*this.app.use(express.json());
131
+ this.app.use(express.urlencoded({ extended: false }));
132
+ this.app.use(bodyParser.json({limit: '50mb'}));
133
+ this.app.use(bodyParser.urlencoded({limit: '50mb', extended: true}));*/
130
134
  this.app.use(express_fileupload_1.default({
131
135
  limits: { fileSize: 5 * 1024 * 1024 },
132
136
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pxp-nd/core",
3
- "version": "1.2.5",
3
+ "version": "1.2.6",
4
4
  "description": "Contains main files for pxp-nd",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",