@bearer/functions
Advanced tools
Comparing version 1.8.3 to 1.10.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [1.10.0](https://github.com/Bearer/bearer/compare/v1.9.0...v1.10.0) (2019-08-26) | ||
### Features | ||
* **functions:** add correlation ids to environment ([#728](https://github.com/Bearer/bearer/issues/728)) ([5ba9033](https://github.com/Bearer/bearer/commit/5ba9033)) | ||
## [1.8.3](https://github.com/Bearer/bearer/compare/v1.8.2...v1.8.3) (2019-07-31) | ||
@@ -8,0 +19,0 @@ |
@@ -53,3 +53,3 @@ "use strict"; | ||
const context = event.context || {}; | ||
const { clientId, integrationUuid, organizationIdentifier } = context; | ||
const { clientId, integrationUuid, internalCorrelationId, organizationIdentifier, userCorrelationId } = context; | ||
logger('%j', { | ||
@@ -61,3 +61,5 @@ message: `Injecting ${JSON.stringify({ clientId, integrationUuid, organizationIdentifier })} `, | ||
process.env.environmentId = clientId; | ||
process.env.internalCorrelationId = internalCorrelationId; | ||
process.env.scenarioUuid = integrationUuid; | ||
process.env.userCorrelationId = userCorrelationId; | ||
}; | ||
@@ -64,0 +66,0 @@ class FetchActionExecutionError extends Error { |
{ | ||
"private": false, | ||
"name": "@bearer/functions", | ||
"version": "1.8.3", | ||
"version": "1.10.0", | ||
"description": "Bearer Functions", | ||
@@ -36,3 +36,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "351454118e84e68a0de18b3f1d98e34d7f536ece" | ||
"gitHead": "4bf6ca697e1d9f60a592314e9923ba73cc974374" | ||
} |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances 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
49396
493
7