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.3 to 0.1.4

4

apigClient.js

@@ -89,4 +89,3 @@ /*

apigClient.invokeApi = function (params, pathTemplate, method, body, additionalParams) {
if(additionalParams === undefined) { additionalParams = {}; }
apigClient.invokeApi = function (params, pathTemplate, method, additionalParams={}, body='') {

@@ -101,3 +100,2 @@ var request = {

return apiGatewayClient.makeRequest(request, authType, additionalParams, config.apiKey);

@@ -104,0 +102,0 @@ };

{
"name": "aws-api-gateway-client",
"version": "0.1.3",
"version": "0.1.4",
"description": "A node.js moduel for AWS API Gateway client",

@@ -5,0 +5,0 @@ "main": "apigClient.js",

@@ -22,3 +22,3 @@ # Overview

Set config params and create a client. For autholization, additional information is required as explained below.
Set invokeUrl to config and create a client. For autholization, additional information is required as explained below.
```

@@ -54,3 +54,3 @@ config = {invokeUrl:'https://xxxxx.execute-api.us-east-1.amazonaws.com}

apigClient.invokeApi(params, pathTemplate, body, additionalParams)
apigClient.invokeApi(params, pathTemplate, method, additionalParams, body)
.then(function(result){

@@ -57,0 +57,0 @@ //This is where you would put a success callback

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