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

common-types

Package Overview
Dependencies
Maintainers
1
Versions
308
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

common-types - npm Package Compare versions

Comparing version 1.21.1 to 1.21.2

dist/cjs/aws/aws-type-guards.d.ts

4

dist/cjs/aws/aws.d.ts

@@ -185,3 +185,3 @@ import { IDictionary } from "../basics";

body: string;
pathParameters?: any;
pathParameters?: Record<string, string | number | boolean>;
isBase64Encoded: boolean;

@@ -213,3 +213,3 @@ stageVariables: IDictionary;

queryStringParameters?: Record<string, string | number | boolean>;
pathParameters?: any;
pathParameters?: Record<string, string | number | boolean>;
requestContext: IAwsLambdaProxyRequestContext;

@@ -216,0 +216,0 @@ /** The payload that the client has sent to you; if the content was originally in JSON/object format you will need to parse it */

export * from "./aws-events";
export * from "./aws-layers";
export * from "./aws-type-guards";
export * from "./aws";

@@ -14,2 +14,9 @@ 'use strict';

/**
* Distinguishes between a V1 and V2 Proxy Integration Request
*/
function isProxyRequestContextV2(ctx) {
return ctx.version === "2.0";
}
/**
* Provides a _type guard_ which identifies if the passed in event

@@ -453,2 +460,3 @@ * is a LambdaProxy request or not. This is useful when you have

exports.isLambdaProxyRequest = isLambdaProxyRequest;
exports.isProxyRequestContextV2 = isProxyRequestContextV2;
exports.isServerlessFunctionHandler = isServerlessFunctionHandler;

@@ -455,0 +463,0 @@ exports.isServerlessFunctionImage = isServerlessFunctionImage;

@@ -185,3 +185,3 @@ import { IDictionary } from "../basics";

body: string;
pathParameters?: any;
pathParameters?: Record<string, string | number | boolean>;
isBase64Encoded: boolean;

@@ -213,3 +213,3 @@ stageVariables: IDictionary;

queryStringParameters?: Record<string, string | number | boolean>;
pathParameters?: any;
pathParameters?: Record<string, string | number | boolean>;
requestContext: IAwsLambdaProxyRequestContext;

@@ -216,0 +216,0 @@ /** The payload that the client has sent to you; if the content was originally in JSON/object format you will need to parse it */

export * from "./aws-events";
export * from "./aws-layers";
export * from "./aws-type-guards";
export * from "./aws";

@@ -10,2 +10,9 @@ /**

/**
* Distinguishes between a V1 and V2 Proxy Integration Request
*/
function isProxyRequestContextV2(ctx) {
return ctx.version === "2.0";
}
/**
* Provides a _type guard_ which identifies if the passed in event

@@ -444,3 +451,3 @@ * is a LambdaProxy request or not. This is useful when you have

export { AWS_REGIONS, HttpStatusCodes, LambdaEventParser, StepFunctionMissingDataTreatment, createBindDeploymentConfig, getBodyFromPossibleLambdaProxyRequest, isLambdaProxyRequest, isServerlessFunctionHandler, isServerlessFunctionImage, parseStack, wait };
export { AWS_REGIONS, HttpStatusCodes, LambdaEventParser, StepFunctionMissingDataTreatment, createBindDeploymentConfig, getBodyFromPossibleLambdaProxyRequest, isLambdaProxyRequest, isProxyRequestContextV2, isServerlessFunctionHandler, isServerlessFunctionImage, parseStack, wait };
//# sourceMappingURL=index.js.map
{
"name": "common-types",
"version": "1.21.1",
"version": "1.21.2",
"description": "Common types not included in Typescript",

@@ -5,0 +5,0 @@ "repository": "https://github.com/lifegadget/common-types",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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