@aws-sdk/middleware-sdk-api-gateway 3.357.0 → 3.369.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +1 -1
- package/dist-es/index.js +1 -1
- package/dist-types/index.d.ts +1 -1
- package/dist-types/ts3.4/index.d.ts +1 -5
- package/package.json +4 -3
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getAcceptHeaderPlugin = exports.acceptHeaderMiddlewareOptions = exports.acceptHeaderMiddleware = void 0;
|
|
4
|
-
const protocol_http_1 = require("@
|
|
4
|
+
const protocol_http_1 = require("@smithy/protocol-http");
|
|
5
5
|
function acceptHeaderMiddleware() {
|
|
6
6
|
return (next) => async (args) => {
|
|
7
7
|
const { request } = args;
|
package/dist-es/index.js
CHANGED
package/dist-types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BuildHandlerOptions, BuildMiddleware, Pluggable } from "@
|
|
1
|
+
import { BuildHandlerOptions, BuildMiddleware, Pluggable } from "@smithy/types";
|
|
2
2
|
export declare function acceptHeaderMiddleware(): BuildMiddleware<any, any>;
|
|
3
3
|
export declare const acceptHeaderMiddlewareOptions: BuildHandlerOptions;
|
|
4
4
|
export declare const getAcceptHeaderPlugin: (unused: any) => Pluggable<any, any>;
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
BuildHandlerOptions,
|
|
3
|
-
BuildMiddleware,
|
|
4
|
-
Pluggable,
|
|
5
|
-
} from "@aws-sdk/types";
|
|
1
|
+
import { BuildHandlerOptions, BuildMiddleware, Pluggable } from "@smithy/types";
|
|
6
2
|
export declare function acceptHeaderMiddleware(): BuildMiddleware<any, any>;
|
|
7
3
|
export declare const acceptHeaderMiddlewareOptions: BuildHandlerOptions;
|
|
8
4
|
export declare const getAcceptHeaderPlugin: (
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-sdk-api-gateway",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.369.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,8 +21,9 @@
|
|
|
21
21
|
},
|
|
22
22
|
"license": "Apache-2.0",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/
|
|
25
|
-
"@
|
|
24
|
+
"@aws-sdk/types": "3.369.0",
|
|
25
|
+
"@smithy/protocol-http": "^1.1.0",
|
|
26
|
+
"@smithy/types": "^1.1.0",
|
|
26
27
|
"tslib": "^2.5.0"
|
|
27
28
|
},
|
|
28
29
|
"engines": {
|