@sap/xssec
Advanced tools
Comparing version 3.2.9 to 3.2.10
# Change Log | ||
All notable changes to this project will be documented in this file. | ||
## 3.2.10 - 2021-11-02 | ||
- fix correlationID header names to "x-vcap-request-id" or "x-correlationid" | ||
## 3.2.9 - 2021-10-22 | ||
@@ -5,0 +8,0 @@ - custom domain support for IAS |
@@ -19,2 +19,3 @@ 'use strict'; | ||
const X_ZONE_ID_HEADER_NAME = "x-zid"; | ||
const CORRELATIONID_HEADER = "x-vcap-request-id"; | ||
@@ -155,3 +156,3 @@ const DEFAULT_TIMEOUT = 2000; | ||
if(attributes.correlationId) { | ||
options.headers['x-correlation-id'] = attributes.correlationId; | ||
options.headers[CORRELATIONID_HEADER] = attributes.correlationId; | ||
} | ||
@@ -177,3 +178,3 @@ } | ||
if(attributes.correlationId) { | ||
options.headers['x-correlation-id'] = attributes.correlationId; | ||
options.headers[CORRELATIONID_HEADER] = attributes.correlationId; | ||
} | ||
@@ -203,3 +204,3 @@ } | ||
if(attributes.correlationId) { | ||
options.headers['x-correlation-id'] = attributes.correlationId; | ||
options.headers[CORRELATIONID_HEADER] = attributes.correlationId; | ||
} | ||
@@ -321,3 +322,3 @@ } | ||
if(attributes.correlationId) { | ||
options.headers['x-correlation-id'] = attributes.correlationId; | ||
options.headers[CORRELATIONID_HEADER] = attributes.correlationId; | ||
} | ||
@@ -324,0 +325,0 @@ } |
@@ -71,3 +71,3 @@ 'use strict'; | ||
const correlationId = req.headers["x-correlation-id"] || req.headers["vcap_request_id"]; | ||
const correlationId = req.headers["x-correlationid"] || req.headers["x-vcap-request-id"]; | ||
@@ -74,0 +74,0 @@ try { |
{ | ||
"name": "@sap/xssec", | ||
"version": "3.2.9", | ||
"version": "3.2.10", | ||
"description": "XS Advanced Container Security API for node.js", | ||
@@ -5,0 +5,0 @@ "main": "./lib", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
125387
1760