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.13 to 0.2.14

6

dist/apigClient.js

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

defaultAcceptType: 'application/json',
systemClockOffset: 0
systemClockOffset: 0,
headers: {}
}, removeEmpty(config));

@@ -93,3 +94,4 @@

retries: config.retries,
retryCondition: config.retryCondition
retryCondition: config.retryCondition,
headers: config.headers
};

@@ -96,0 +98,0 @@

@@ -7,2 +7,18 @@ 'use strict';

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/* eslint max-len: ["error", 100]*/
var _axios = require('axios');

@@ -22,18 +38,3 @@

var simpleHttpClientFactory = {}; /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/* eslint max-len: ["error", 100]*/
var simpleHttpClientFactory = {};
simpleHttpClientFactory.newClient = function (config) {

@@ -66,6 +67,3 @@ function buildCanonicalQueryString(queryParams) {

}
var headers = _utils2.default.copy(request.headers);
if (headers === undefined) {
headers = {};
}
var headers = _extends({}, _utils2.default.copy(request.headers), config.headers);

@@ -72,0 +70,0 @@ // If the user has not specified an override for Content type the use default

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

@@ -5,0 +5,0 @@ "repository": {

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