@seidor-cloud-produtos/orbit-backend-lib 2.0.68 → 2.0.70

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.
@@ -11,6 +11,9 @@ class MappingModel {
11
11
  const params = body ? body['api-gateway-params'] : undefined;
12
12
  if (!params)
13
13
  return this.next();
14
+ if (!params.context) {
15
+ params.context = {};
16
+ }
14
17
  for (const key in params.header) {
15
18
  if (this.getHeaders()[key] === undefined ||
16
19
  (key?.toUpperCase && ['ACCEPT'].includes(key.toUpperCase()))) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seidor-cloud-produtos/orbit-backend-lib",
3
- "version": "2.0.68",
3
+ "version": "2.0.70",
4
4
  "description": "Internal lib for backend components",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",