@aws-sdk/middleware-sdk-api-gateway
Advanced tools
Comparing version
@@ -32,6 +32,5 @@ "use strict"; | ||
return (next) => async (args) => { | ||
var _a; | ||
const { request } = args; | ||
if (import_protocol_http.HttpRequest.isInstance(request)) { | ||
if (((_a = request.headers) == null ? void 0 : _a.accept) === void 0) { | ||
if (request.headers?.accept === void 0) { | ||
request.headers.accept = "application/json"; | ||
@@ -38,0 +37,0 @@ } |
{ | ||
"name": "@aws-sdk/middleware-sdk-api-gateway", | ||
"version": "3.714.0", | ||
"version": "3.723.0", | ||
"scripts": { | ||
@@ -26,9 +26,9 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", | ||
"dependencies": { | ||
"@aws-sdk/types": "3.714.0", | ||
"@smithy/protocol-http": "^4.1.8", | ||
"@smithy/types": "^3.7.2", | ||
"@aws-sdk/types": "3.723.0", | ||
"@smithy/protocol-http": "^5.0.0", | ||
"@smithy/types": "^4.0.0", | ||
"tslib": "^2.6.2" | ||
}, | ||
"engines": { | ||
"node": ">=16.0.0" | ||
"node": ">=18.0.0" | ||
}, | ||
@@ -56,4 +56,4 @@ "typesVersions": { | ||
"rimraf": "3.0.2", | ||
"typescript": "~4.9.5" | ||
"typescript": "~5.2.2" | ||
} | ||
} |
17136
-0.24%96
-1.03%+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
Updated
Updated
Updated