Socket
Socket
Sign inDemoInstall

aws-api-gateway-client

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-api-gateway-client - npm Package Compare versions

Comparing version 0.1.10 to 0.1.11

4

apigClient.js

@@ -96,4 +96,4 @@ /*

path: pathComponent + uritemplate.parse(pathTemplate).expand(params),
headers: apiGateway.core.utils.parseParametersToObject(params, []),
queryParams: apiGateway.core.utils.parseParametersToObject(params, []),
headers: params,
queryParams: params,
body: body

@@ -100,0 +100,0 @@ };

{
"name": "aws-api-gateway-client",
"version": "0.1.10",
"description": "A node.js moduel for AWS API Gateway client",
"version": "0.1.11",
"description": "Node.js moduel for AWS API Gateway client",
"main": "apigClient.js",

@@ -6,0 +6,0 @@ "scripts": {

@@ -83,1 +83,14 @@ [![dependencies Status](https://david-dm.org/kndt84/aws-api-gateway-client/status.svg)](https://david-dm.org/kndt84/aws-api-gateway-client)

```
#Troubleshooting
The standard Javascript SDK as generated by AWS API Gateway hard codes assertions for your query parameters and headers, which is not possible in this module. Therefore, the params object passed to your `apigClient.invokeApi()` must contain keys that conform exactly to your API definitions.
```
http://example.com/prod?userId=123&info=hello&state=NY
var params = {
userId: '123',
info: 'hello',
state: 'NY'
}
```
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