@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 +1 -1
- package/dist/lib/pxp/Controller.js +1 -0
- package/package.json +1 -1
- package/yalc.lock +4 -0
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
|
-
|
|
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