Socket
Socket
Sign inDemoInstall

lambda-proxy-utils

Package Overview
Dependencies
14
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.2 to 2.1.0

2

package.json
{
"name": "lambda-proxy-utils",
"version": "2.0.2",
"version": "2.1.0",
"description": "Lambda Proxy event helpers",

@@ -5,0 +5,0 @@ "author": "Geoff Dutton <g.dutton@gmail.com>",

@@ -119,4 +119,7 @@ # lambda-proxy-utils

// Get an AWS API Gateay requestContext property
// Get an AWS API Gateway requestContext property
req.context('requestId') // '08e3e2d0-daca-11e6-8d84-394b4374a71a'
// Get the unmodified Lambda Proxy event
req.getLambdaEvent()
}

@@ -123,0 +126,0 @@ ```

@@ -175,2 +175,11 @@ 'use strict'

/**
* Returns the unmodified Lambda Proxy Event
*
* @returns {object} - Lambda event
*/
getLambdaEvent () {
return this.rawLambdaEvent
}
/**
* Returns true if the incoming request’s “Content-Type” HTTP header field matches the MIME type

@@ -177,0 +186,0 @@ * specified by the type parameter. Returns false otherwise.

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc