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

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.2.9 to 0.2.10

2

dist/lib/apiGatewayCore/sigV4Client.js

@@ -225,3 +225,3 @@ 'use strict';

var queryString = buildCanonicalQueryString(queryParams);
if (queryString != '') {
if (queryString !== '') {
url += '?' + queryString;

@@ -228,0 +228,0 @@ }

@@ -83,3 +83,3 @@ 'use strict';

var queryString = buildCanonicalQueryString(queryParams);
if (queryString != '') {
if (queryString !== '') {
url += '?' + queryString;

@@ -86,0 +86,0 @@ }

@@ -69,3 +69,4 @@ 'use strict';

copy: function copy(obj) {
if (null == obj || 'object' != (typeof obj === 'undefined' ? 'undefined' : _typeof(obj))) return obj;
if (null === obj || 'object' !== (typeof obj === 'undefined' ? 'undefined' : _typeof(obj))) return obj;
if (Buffer.isBuffer(obj)) return Buffer.from(obj);
var copy = obj.constructor();

@@ -79,3 +80,3 @@ var attr = null;

mergeInto: function mergeInto(baseObj, additionalProps) {
if (null == baseObj || 'object' != (typeof baseObj === 'undefined' ? 'undefined' : _typeof(baseObj))) return baseObj;
if (null === baseObj || 'object' !== (typeof baseObj === 'undefined' ? 'undefined' : _typeof(baseObj))) return baseObj;
var merged = baseObj.constructor();

@@ -82,0 +83,0 @@ var attr = null;

{
"name": "aws-api-gateway-client",
"version": "0.2.9",
"version": "0.2.10",
"description": "A moduel for AWS API Gateway client",

@@ -67,8 +67,10 @@ "repository": {

"import/extensions": "off",
"import/no-extraneous-dependencies": "off"
"import/no-extraneous-dependencies": "off",
"comma-dangle": "off",
"no-useless-escape": "off"
}
},
"dependencies": {
"axios": "^0.16.1",
"axios-retry": "^1.2.0",
"axios": "^0.17.1",
"axios-retry": "^3.0.1",
"crypto-js": "^3.1.9-1",

@@ -80,3 +82,3 @@ "url": "^0.11.0",

"@ava/babel-preset-stage-4": "^1.0.0",
"ava": "^0.18.2",
"ava": "^0.21.0",
"babel-cli": "^6.24.1",

@@ -92,9 +94,9 @@ "babel-core": "^6.24.1",

"babel-register": "^6.24.1",
"eslint": "^3.19.0",
"eslint-config-google": "^0.7.1",
"eslint": "^4.3.0",
"eslint-config-google": "^0.9.1",
"eslint-loader": "^1.7.1",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^4.0.0",
"nyc": "^10.2.0"
"eslint-plugin-jsx-a11y": "^6.0.2",
"nyc": "^11.1.0"
}
}
[![dependencies Status](https://david-dm.org/kndt84/aws-api-gateway-client/status.svg)](https://david-dm.org/kndt84/aws-api-gateway-client)
# Overview
A module for AWS API gateway client based on auto-generated JavaScript SDK. This module can be used not only for Node.js but for front-end.
A module for AWS API gateway client based on auto-generated JavaScript SDK. This module can be used not only for Node.js but for front-end. In addition, it generalizes original SDK's endpoint specific methods.

@@ -63,3 +63,3 @@ Reference:

#Using AWS IAM for authorization
# Using AWS IAM for authorization
To initialize the SDK with AWS Credentials use the code below. Note, if you use credentials all requests to the API will be signed. This means you will have to set the appropiate CORS accept-* headers for each request.

@@ -81,3 +81,3 @@

#Using API Keys
# Using API Keys
To use an API Key with the client SDK you can pass the key as a parameter to the Factory object. Note, if you use an apiKey it will be attached as the header 'x-api-key' to all requests to the API will be signed. This means you will have to set the appropiate CORS accept-* headers for each request.

@@ -91,3 +91,3 @@

#Troubleshooting
# 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.

@@ -94,0 +94,0 @@

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