@aws-sdk/middleware-sdk-api-gateway
Advanced tools
Comparing version 1.0.0-alpha.8 to 1.0.0-alpha.9
@@ -12,5 +12,5 @@ "use strict"; | ||
if (protocol_http_1.HttpRequest.isInstance(request)) { | ||
request.headers = tslib_1.__assign({}, request.headers, { accept: "application/json" }); | ||
request.headers = tslib_1.__assign(tslib_1.__assign({}, request.headers), { accept: "application/json" }); | ||
} | ||
return [2 /*return*/, next(tslib_1.__assign({}, args, { request: request }))]; | ||
return [2 /*return*/, next(tslib_1.__assign(tslib_1.__assign({}, args), { request: request }))]; | ||
}); | ||
@@ -30,2 +30,2 @@ }); }; }; | ||
}); }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBU0Esd0RBQXFEO0FBRXJELFNBQWdCLHNCQUFzQjtJQUF0QyxpQkFrQkM7SUFqQkMsT0FBTyxVQUNMLElBQStCLElBQ0QsT0FBQSxVQUM5QixJQUFnQzs7O1lBRTFCLE9BQU8sR0FBSyxJQUFJLFFBQVQsQ0FBVTtZQUN2QixJQUFJLDJCQUFXLENBQUMsVUFBVSxDQUFDLE9BQU8sQ0FBQyxFQUFFO2dCQUNuQyxPQUFPLENBQUMsT0FBTyx3QkFDVixPQUFPLENBQUMsT0FBTyxJQUNsQixNQUFNLEVBQUUsa0JBQWtCLEdBQzNCLENBQUM7YUFDSDtZQUNELHNCQUFPLElBQUksc0JBQ04sSUFBSSxJQUNQLE9BQU8sU0FBQSxJQUNQLEVBQUM7O1NBQ0osRUFkK0IsQ0FjL0IsQ0FBQztBQUNKLENBQUM7QUFsQkQsd0RBa0JDO0FBRVksUUFBQSw2QkFBNkIsR0FBd0I7SUFDaEUsSUFBSSxFQUFFLE9BQU87SUFDYixJQUFJLEVBQUUsQ0FBQyxtQkFBbU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IFBsdWdnYWJsZTxhbnksIGFueT4gPT4gKHtcbiAgYXBwbHlUb1N0YWNrOiBjbGllbnRTdGFjayA9PiB7XG4gICAgY2xpZW50U3RhY2suYWRkKGFjY2VwdEhlYWRlck1pZGRsZXdhcmUoKSwgYWNjZXB0SGVhZGVyTWlkZGxld2FyZU9wdGlvbnMpO1xuICB9XG59KTtcbiJdfQ== |
@@ -6,6 +6,10 @@ # Change Log | ||
# [1.0.0-alpha.8](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/middleware-sdk-api-gateway@0.1.0-preview.2...@aws-sdk/middleware-sdk-api-gateway@1.0.0-alpha.8) (2020-02-18) | ||
# [1.0.0-alpha.9](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/middleware-sdk-api-gateway@0.1.0-preview.2...@aws-sdk/middleware-sdk-api-gateway@1.0.0-alpha.9) (2020-03-20) | ||
# 1.0.0-alpha.24 (2020-02-19) | ||
# 1.0.0-alpha.13 (2020-01-24) | ||
@@ -32,2 +36,70 @@ | ||
* accept header typo ([#703](https://github.com/aws/aws-sdk-js-v3/issues/703)) ([b8a8a84](https://github.com/aws/aws-sdk-js-v3/commit/b8a8a84fcfd33148c80e6246bfe45b052302a646)) | ||
# 0.9.0 (2020-01-09) | ||
### Bug Fixes | ||
* acceptsHeader plugin param ([#568](https://github.com/aws/aws-sdk-js-v3/issues/568)) ([8d7c337](https://github.com/aws/aws-sdk-js-v3/commit/8d7c3374620cf806d38d68352c62808f9b624579)) | ||
* add protocol-http dependency to apig mw ([#659](https://github.com/aws/aws-sdk-js-v3/issues/659)) ([6be2920](https://github.com/aws/aws-sdk-js-v3/commit/6be2920263ce0dd81ab0e9889e2d3e0930507aba)) | ||
# 0.6.0 (2019-10-30) | ||
# 0.3.0 (2019-09-09) | ||
### Features | ||
* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed45fd5580ef9633da78f13aaa6aa472805)) | ||
# 0.2.0 (2019-07-12) | ||
### Features | ||
* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10cb6b0ebc32004b797556bfc171c96bbf16)) | ||
* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab4ac5343058eaf7d448a428d8c4b72c844)) | ||
# 0.1.0 (2019-04-19) | ||
# [1.0.0-alpha.8](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/middleware-sdk-api-gateway@0.1.0-preview.2...@aws-sdk/middleware-sdk-api-gateway@1.0.0-alpha.8) (2020-02-19) | ||
# 1.0.0-alpha.13 (2020-01-24) | ||
# 1.0.0-alpha.12 (2020-01-22) | ||
# 1.0.0-alpha.8 (2020-01-16) | ||
# 1.0.0-alpha.2 (2020-01-10) | ||
# 1.0.0-alpha.1 (2020-01-10) | ||
### Bug Fixes | ||
* accept header typo ([#703](https://github.com/aws/aws-sdk-js-v3/issues/703)) ([b8a8a84](https://github.com/aws/aws-sdk-js-v3/commit/b8a8a84)) | ||
@@ -34,0 +106,0 @@ |
{ | ||
"name": "@aws-sdk/middleware-sdk-api-gateway", | ||
"version": "1.0.0-alpha.8", | ||
"version": "1.0.0-alpha.9", | ||
"scripts": { | ||
@@ -17,4 +17,4 @@ "prepublishOnly": "tsc", | ||
"dependencies": { | ||
"@aws-sdk/protocol-http": "^1.0.0-alpha.7", | ||
"@aws-sdk/types": "^1.0.0-alpha.5", | ||
"@aws-sdk/protocol-http": "^1.0.0-alpha.8", | ||
"@aws-sdk/types": "^1.0.0-alpha.6", | ||
"tslib": "^1.8.0" | ||
@@ -25,4 +25,4 @@ }, | ||
"jest": "^24.7.1", | ||
"typescript": "~3.4.0" | ||
"typescript": "~3.8.3" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32576