Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@beforeyoubid/alpha

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@beforeyoubid/alpha - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

13

lib/adapters/helpers/lambdaEvent.js

@@ -23,2 +23,15 @@ "use strict";

if (config.addRequestContext) {
event.requestContext = {
stage: process.env.STAGE,
identity: {
sourceIp: ''
},
authorizer: {
principalId: ''
},
elb: false
};
}
return event;

@@ -25,0 +38,0 @@ };

12

lib/adapters/lambda-handler.js

@@ -18,13 +18,3 @@ "use strict";

context: {},
event: lambdaEvent(config),
requestContext: {
stage: process.env.STAGE,
identity: {
sourceIp: ''
},
authorizer: {
principalId: ''
},
elb: false
}
event: lambdaEvent(config)
};

@@ -31,0 +21,0 @@ const handler = promisify(config.lambda);

@@ -13,2 +13,3 @@ declare module '@lifeomic/alpha' {

retry?: RetryOptions,
addRequestContext?: Boolean,
lambda?: Function

@@ -15,0 +16,0 @@ }

@@ -33,3 +33,3 @@ "use strict";

const ALPHA_CONFIG = ['adapter', 'lambda', 'Lambda', 'retry', '__retryCount'];
const ALPHA_CONFIG = ['adapter', 'lambda', 'Lambda', 'retry', 'addRequestContext', '__retryCount'];
const Axios = axios.Axios;

@@ -36,0 +36,0 @@

{
"name": "@beforeyoubid/alpha",
"version": "1.2.2",
"version": "1.2.3",
"description": "Unified client for HTTP services.",

@@ -5,0 +5,0 @@ "main": "lib/Alpha",

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