@aws-sdk/middleware-api-key 3.972.23 → 3.972.24
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.
|
@@ -7,5 +7,5 @@ export interface ApiKeyResolvedConfig {
|
|
|
7
7
|
apiKey?: Provider<string>;
|
|
8
8
|
}
|
|
9
9
|
export declare const resolveApiKeyConfig: <T>(
|
|
10
|
-
input: T & ApiKeyPreviouslyResolved & ApiKeyInputConfig
|
|
10
|
+
input: T & ApiKeyPreviouslyResolved & ApiKeyInputConfig,
|
|
11
11
|
) => T & ApiKeyResolvedConfig;
|
|
@@ -5,15 +5,12 @@ import {
|
|
|
5
5
|
RelativeMiddlewareOptions,
|
|
6
6
|
} from "@smithy/types";
|
|
7
7
|
import { ApiKeyResolvedConfig } from "./apiKeyConfiguration";
|
|
8
|
-
export declare const apiKeyMiddleware: <
|
|
9
|
-
Input extends object,
|
|
10
|
-
Output extends object
|
|
11
|
-
>(
|
|
8
|
+
export declare const apiKeyMiddleware: <Input extends object, Output extends object>(
|
|
12
9
|
pluginConfig: ApiKeyResolvedConfig,
|
|
13
|
-
middlewareConfig: HttpAuthDefinition
|
|
10
|
+
middlewareConfig: HttpAuthDefinition,
|
|
14
11
|
) => FinalizeRequestMiddleware<Input, Output>;
|
|
15
12
|
export declare const apiKeyMiddlewareOptions: RelativeMiddlewareOptions;
|
|
16
13
|
export declare const getApiKeyPlugin: (
|
|
17
14
|
pluginConfig: ApiKeyResolvedConfig,
|
|
18
|
-
middlewareConfig: HttpAuthDefinition
|
|
15
|
+
middlewareConfig: HttpAuthDefinition,
|
|
19
16
|
) => Pluggable<any, any>;
|
|
@@ -4,8 +4,4 @@ export {
|
|
|
4
4
|
ApiKeyPreviouslyResolved,
|
|
5
5
|
ApiKeyResolvedConfig,
|
|
6
6
|
} from "./apiKeyConfiguration";
|
|
7
|
-
export {
|
|
8
|
-
apiKeyMiddleware,
|
|
9
|
-
apiKeyMiddlewareOptions,
|
|
10
|
-
getApiKeyPlugin,
|
|
11
|
-
} from "./apiKeyMiddleware";
|
|
7
|
+
export { apiKeyMiddleware, apiKeyMiddlewareOptions, getApiKeyPlugin } from "./apiKeyMiddleware";
|
package/package.json
CHANGED
|
@@ -1,6 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-api-key",
|
|
3
|
-
"version": "3.972.
|
|
3
|
+
"version": "3.972.24",
|
|
4
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/middleware-api-key",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"author": {
|
|
7
|
+
"name": "AWS SDK for JavaScript Team",
|
|
8
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
9
|
+
},
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
13
|
+
"directory": "packages-internal/middleware-api-key"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist-*/**"
|
|
17
|
+
],
|
|
18
|
+
"sideEffects": false,
|
|
19
|
+
"main": "./dist-cjs/index.js",
|
|
20
|
+
"module": "./dist-es/index.js",
|
|
21
|
+
"types": "./dist-types/index.d.ts",
|
|
22
|
+
"typesVersions": {
|
|
23
|
+
"<4.5": {
|
|
24
|
+
"dist-types/*": [
|
|
25
|
+
"dist-types/ts3.4/*"
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
},
|
|
4
29
|
"scripts": {
|
|
5
30
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
6
31
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -12,45 +37,20 @@
|
|
|
12
37
|
"test": "yarn g:vitest run",
|
|
13
38
|
"test:watch": "yarn g:vitest watch"
|
|
14
39
|
},
|
|
15
|
-
"main": "./dist-cjs/index.js",
|
|
16
|
-
"module": "./dist-es/index.js",
|
|
17
|
-
"types": "./dist-types/index.d.ts",
|
|
18
|
-
"sideEffects": false,
|
|
19
|
-
"author": {
|
|
20
|
-
"name": "AWS SDK for JavaScript Team",
|
|
21
|
-
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
22
|
-
},
|
|
23
|
-
"license": "Apache-2.0",
|
|
24
40
|
"dependencies": {
|
|
25
|
-
"@aws-sdk/types": "^3.974.
|
|
26
|
-
"@smithy/core": "^3.29.
|
|
41
|
+
"@aws-sdk/types": "^3.974.2",
|
|
42
|
+
"@smithy/core": "^3.29.4",
|
|
27
43
|
"@smithy/types": "^4.16.1",
|
|
28
44
|
"tslib": "^2.6.2"
|
|
29
45
|
},
|
|
30
|
-
"engines": {
|
|
31
|
-
"node": ">= 12.0.0"
|
|
32
|
-
},
|
|
33
|
-
"typesVersions": {
|
|
34
|
-
"<4.5": {
|
|
35
|
-
"dist-types/*": [
|
|
36
|
-
"dist-types/ts3.4/*"
|
|
37
|
-
]
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
"files": [
|
|
41
|
-
"dist-*/**"
|
|
42
|
-
],
|
|
43
|
-
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/middleware-api-key",
|
|
44
|
-
"repository": {
|
|
45
|
-
"type": "git",
|
|
46
|
-
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
47
|
-
"directory": "packages-internal/middleware-api-key"
|
|
48
|
-
},
|
|
49
46
|
"devDependencies": {
|
|
50
47
|
"@tsconfig/recommended": "1.0.1",
|
|
51
48
|
"concurrently": "7.0.0",
|
|
52
49
|
"downlevel-dts": "0.10.1",
|
|
53
50
|
"premove": "4.0.0",
|
|
54
51
|
"typescript": "~5.8.3"
|
|
52
|
+
},
|
|
53
|
+
"engines": {
|
|
54
|
+
"node": ">= 12.0.0"
|
|
55
55
|
}
|
|
56
56
|
}
|