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

@types/aws-lambda

Package Overview
Dependencies
Maintainers
1
Versions
181
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/aws-lambda - npm Package Compare versions

Comparing version 0.0.22 to 0.0.23

50

aws-lambda/index.d.ts

@@ -13,2 +13,3 @@ // Type definitions for AWS Lambda

// Kostya Misura <https://github.com/kostya-misura>
// Markus Tacker <https://github.com/coderbyheart>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -351,2 +352,51 @@ // TypeScript Version: 2.2

/**
* CloudFront events
* http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-event-structure.html
*/
type CloudFrontHeaders = {
[name: string]: {
key: string;
value: string;
}[]
};
type CloudFrontResponse = {
status: string;
statusDescription: string;
headers: CloudFrontHeaders;
};
type CloudFrontRequest = {
clientIp: string;
method: string;
uri: string;
querystring: string;
headers: CloudFrontHeaders;
};
type CloudFrontEvent = {
config: {
distributionId: string;
requestId: string;
}
}
export type CloudFrontResponseEvent = {
Records: {
cf: CloudFrontEvent & {
request: CloudFrontRequest;
response: CloudFrontResponse;
}
}[]
};
export type CloudFrontRequestEvent = {
Records: {
cf: CloudFrontEvent & {
request: CloudFrontRequest;
}
}[]
};
/**
* AWS Lambda handler function.

@@ -353,0 +403,0 @@ * http://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html

9

aws-lambda/package.json
{
"name": "@types/aws-lambda",
"version": "0.0.22",
"version": "0.0.23",
"description": "TypeScript definitions for AWS Lambda",

@@ -54,2 +54,7 @@ "license": "MIT",

"githubUsername": "kostya-misura"
},
{
"name": "Markus Tacker",
"url": "https://github.com/coderbyheart",
"githubUsername": "coderbyheart"
}

@@ -64,4 +69,4 @@ ],

"dependencies": {},
"typesPublisherContentHash": "6b5c5bef4eec0009d89285e8a1c542fc882fa54be98b93913c2055d549f97941",
"typesPublisherContentHash": "e8af3aafc482b9718591be939b40ed6905dd6a19cf9e477b076fe15cf0ae48a1",
"typeScriptVersion": "2.2"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Sun, 03 Dec 2017 16:26:41 GMT
* Last updated: Mon, 11 Dec 2017 23:33:53 GMT
* Dependencies: none

@@ -17,2 +17,2 @@ * Global values: AWSLambda

# Credits
These definitions were written by James Darbyshire <https://github.com/darbio/aws-lambda-typescript>, Michael Skarum <https://github.com/skarum>, Stef Heyenrath <https://github.com/StefH/DefinitelyTyped>, Toby Hede <https://github.com/tobyhede>, Rich Buggy <https://github.com/buggy>, Yoriki Yamaguchi <https://github.com/y13i>, wwwy3y3 <https://github.com/wwwy3y3>, Ishaan Malhi <https://github.com/OrthoDex>, Daniel Cottone <https://github.com/daniel-cottone>, Kostya Misura <https://github.com/kostya-misura>.
These definitions were written by James Darbyshire <https://github.com/darbio/aws-lambda-typescript>, Michael Skarum <https://github.com/skarum>, Stef Heyenrath <https://github.com/StefH/DefinitelyTyped>, Toby Hede <https://github.com/tobyhede>, Rich Buggy <https://github.com/buggy>, Yoriki Yamaguchi <https://github.com/y13i>, wwwy3y3 <https://github.com/wwwy3y3>, Ishaan Malhi <https://github.com/OrthoDex>, Daniel Cottone <https://github.com/daniel-cottone>, Kostya Misura <https://github.com/kostya-misura>, Markus Tacker <https://github.com/coderbyheart>.
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