Socket
Socket
Sign inDemoInstall

@bearer/functions

Package Overview
Dependencies
Maintainers
4
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bearer/functions - npm Package Compare versions

Comparing version 1.8.3 to 1.10.0

11

CHANGELOG.md

@@ -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 @@

4

lib/functions/fetch.js

@@ -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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc