@aws-sdk/nested-clients 3.797.0 → 3.799.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/submodules/sso-oidc/runtimeConfig.js +1 -0
- package/dist-cjs/submodules/sts/runtimeConfig.js +1 -0
- package/dist-es/submodules/sso-oidc/runtimeConfig.js +2 -1
- package/dist-es/submodules/sts/runtimeConfig.js +2 -1
- package/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +1 -1
- package/dist-types/submodules/sts/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +1 -4
- package/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +1 -4
- package/package.json +10 -10
|
@@ -28,6 +28,7 @@ const getRuntimeConfig = (config) => {
|
|
|
28
28
|
...config,
|
|
29
29
|
runtime: "node",
|
|
30
30
|
defaultsMode,
|
|
31
|
+
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, profileConfig),
|
|
31
32
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
32
33
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
33
34
|
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
@@ -29,6 +29,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
29
|
...config,
|
|
30
30
|
runtime: "node",
|
|
31
31
|
defaultsMode,
|
|
32
|
+
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, profileConfig),
|
|
32
33
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
33
34
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
34
35
|
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import packageInfo from "../../../package.json";
|
|
2
|
-
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
|
|
2
|
+
import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
|
|
3
3
|
import { NODE_APP_ID_CONFIG_OPTIONS, createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-node";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
5
5
|
import { Hash } from "@smithy/hash-node";
|
|
@@ -24,6 +24,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
24
24
|
...config,
|
|
25
25
|
runtime: "node",
|
|
26
26
|
defaultsMode,
|
|
27
|
+
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, profileConfig),
|
|
27
28
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
28
29
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
29
30
|
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import packageInfo from "../../../package.json";
|
|
2
|
-
import { AwsSdkSigV4Signer, emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
|
|
2
|
+
import { AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, emitWarningIfUnsupportedVersion as awsCheckVersion, } from "@aws-sdk/core";
|
|
3
3
|
import { NODE_APP_ID_CONFIG_OPTIONS, createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-node";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
5
5
|
import { NoAuthSigner } from "@smithy/core";
|
|
@@ -25,6 +25,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
25
25
|
...config,
|
|
26
26
|
runtime: "node",
|
|
27
27
|
defaultsMode,
|
|
28
|
+
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, profileConfig),
|
|
28
29
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
29
30
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
30
31
|
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
@@ -6,6 +6,7 @@ import { SSOOIDCClientConfig } from "./SSOOIDCClient";
|
|
|
6
6
|
export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
|
+
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
9
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
@@ -37,7 +38,6 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
37
38
|
}) => import("@smithy/types").EndpointV2;
|
|
38
39
|
tls?: boolean | undefined;
|
|
39
40
|
serviceConfiguredEndpoint?: undefined;
|
|
40
|
-
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
|
|
41
41
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | ({
|
|
42
42
|
schemeId: string;
|
|
43
43
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
@@ -8,6 +8,7 @@ import { STSClientConfig } from "./STSClient";
|
|
|
8
8
|
export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
9
9
|
runtime: string;
|
|
10
10
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
11
|
+
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
11
12
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
12
13
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
13
14
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | {
|
|
@@ -45,7 +46,6 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
45
46
|
} | undefined) => import("@smithy/types").EndpointV2;
|
|
46
47
|
tls?: boolean | undefined;
|
|
47
48
|
serviceConfiguredEndpoint?: undefined;
|
|
48
|
-
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
|
|
49
49
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
|
|
50
50
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
51
51
|
signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
|
|
@@ -5,6 +5,7 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
5
5
|
defaultsMode: import("@smithy/types").Provider<
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
|
+
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
8
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
10
|
defaultUserAgentProvider: (
|
|
10
11
|
config?:
|
|
@@ -64,10 +65,6 @@ export declare const getRuntimeConfig: (config: SSOOIDCClientConfig) => {
|
|
|
64
65
|
) => import("@smithy/types").EndpointV2;
|
|
65
66
|
tls?: boolean | undefined;
|
|
66
67
|
serviceConfiguredEndpoint?: undefined;
|
|
67
|
-
authSchemePreference?:
|
|
68
|
-
| string[]
|
|
69
|
-
| import("@smithy/types").Provider<string[]>
|
|
70
|
-
| undefined;
|
|
71
68
|
httpAuthSchemes:
|
|
72
69
|
| import("@smithy/types").HttpAuthScheme[]
|
|
73
70
|
| (
|
|
@@ -7,6 +7,7 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
7
7
|
defaultsMode: import("@smithy/types").Provider<
|
|
8
8
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
9
9
|
>;
|
|
10
|
+
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
10
11
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
12
|
defaultUserAgentProvider: (
|
|
12
13
|
config?:
|
|
@@ -84,10 +85,6 @@ export declare const getRuntimeConfig: (config: STSClientConfig) => {
|
|
|
84
85
|
) => import("@smithy/types").EndpointV2;
|
|
85
86
|
tls?: boolean | undefined;
|
|
86
87
|
serviceConfiguredEndpoint?: undefined;
|
|
87
|
-
authSchemePreference?:
|
|
88
|
-
| string[]
|
|
89
|
-
| import("@smithy/types").Provider<string[]>
|
|
90
|
-
| undefined;
|
|
91
88
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").STSHttpAuthSchemeProvider;
|
|
92
89
|
credentials?:
|
|
93
90
|
| import("@smithy/types").AwsCredentialIdentity
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/nested-clients",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.799.0",
|
|
4
4
|
"description": "Nested clients for AWS SDK packages.",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -28,37 +28,37 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
30
30
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
31
|
-
"@aws-sdk/core": "3.
|
|
31
|
+
"@aws-sdk/core": "3.799.0",
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.775.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.799.0",
|
|
36
36
|
"@aws-sdk/region-config-resolver": "3.775.0",
|
|
37
37
|
"@aws-sdk/types": "3.775.0",
|
|
38
38
|
"@aws-sdk/util-endpoints": "3.787.0",
|
|
39
39
|
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
|
40
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
40
|
+
"@aws-sdk/util-user-agent-node": "3.799.0",
|
|
41
41
|
"@smithy/config-resolver": "^4.1.0",
|
|
42
|
-
"@smithy/core": "^3.
|
|
42
|
+
"@smithy/core": "^3.3.0",
|
|
43
43
|
"@smithy/fetch-http-handler": "^5.0.2",
|
|
44
44
|
"@smithy/hash-node": "^4.0.2",
|
|
45
45
|
"@smithy/invalid-dependency": "^4.0.2",
|
|
46
46
|
"@smithy/middleware-content-length": "^4.0.2",
|
|
47
|
-
"@smithy/middleware-endpoint": "^4.1.
|
|
48
|
-
"@smithy/middleware-retry": "^4.1.
|
|
47
|
+
"@smithy/middleware-endpoint": "^4.1.1",
|
|
48
|
+
"@smithy/middleware-retry": "^4.1.1",
|
|
49
49
|
"@smithy/middleware-serde": "^4.0.3",
|
|
50
50
|
"@smithy/middleware-stack": "^4.0.2",
|
|
51
51
|
"@smithy/node-config-provider": "^4.0.2",
|
|
52
52
|
"@smithy/node-http-handler": "^4.0.4",
|
|
53
53
|
"@smithy/protocol-http": "^5.1.0",
|
|
54
|
-
"@smithy/smithy-client": "^4.2.
|
|
54
|
+
"@smithy/smithy-client": "^4.2.1",
|
|
55
55
|
"@smithy/types": "^4.2.0",
|
|
56
56
|
"@smithy/url-parser": "^4.0.2",
|
|
57
57
|
"@smithy/util-base64": "^4.0.0",
|
|
58
58
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
59
59
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
60
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
61
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
60
|
+
"@smithy/util-defaults-mode-browser": "^4.0.9",
|
|
61
|
+
"@smithy/util-defaults-mode-node": "^4.0.9",
|
|
62
62
|
"@smithy/util-endpoints": "^3.0.2",
|
|
63
63
|
"@smithy/util-middleware": "^4.0.2",
|
|
64
64
|
"@smithy/util-retry": "^4.0.2",
|