@pxp-nd/core 1.2.84 → 1.2.86

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/PxpApp.d.ts CHANGED
@@ -43,7 +43,7 @@ declare class PxpApp {
43
43
  initializeAuthentication(configAuth: any): Promise<void>;
44
44
  initializeErrorHandling(): void;
45
45
  private initializePassport;
46
- private configCors;
46
+ protected configCors(): void;
47
47
  private initializeSession;
48
48
  private initializeRoutes;
49
49
  private showRoutes;
@@ -165,6 +165,7 @@ class Controller {
165
165
  // const params = { ...req.query, ...req.body, ...req.params };
166
166
  const params = Object.assign(Object.assign({}, req.files), req.paramasMerge);
167
167
  this.pxpParams = req.pxpParams;
168
+ this.headers = req.headers;
168
169
  this.transactionCode = (this.module + this.path + route.path)
169
170
  .split('/')
170
171
  .join('.')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pxp-nd/core",
3
- "version": "1.2.84",
3
+ "version": "1.2.86",
4
4
  "description": "Contains main files for pxp-nd",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/yalc.lock CHANGED
@@ -5,6 +5,10 @@
5
5
  "signature": "c8114cdb0b6ff484731ec780c5ae951e",
6
6
  "file": true,
7
7
  "replaced": "^1.0.0"
8
+ },
9
+ "@pxp-nd/core": {
10
+ "signature": "acafdfbb1bce699b8a3eff2b9bc45099",
11
+ "file": true
8
12
  }
9
13
  }
10
14
  }