@cdk8s/awscdk-resolver 0.0.284 → 0.0.285
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/.jsii +3 -3
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.js +1 -0
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +1 -4
- package/node_modules/@aws-sdk/client-cloudformation/package.json +11 -11
- package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +1 -0
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +1 -4
- package/node_modules/@aws-sdk/client-sso/package.json +10 -10
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +33 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.js +16 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/index.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.js +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +5 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.d.ts +8 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.d.ts +4 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts +1 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.d.ts +1 -0
- package/node_modules/@aws-sdk/core/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +3 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js +1 -0
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sts/runtimeConfig.d.ts +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts +1 -4
- package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts +1 -4
- package/node_modules/@aws-sdk/nested-clients/package.json +10 -10
- package/node_modules/@aws-sdk/token-providers/package.json +2 -2
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
- package/node_modules/@smithy/core/dist-cjs/index.js +27 -1
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/resolveAuthOptions.js +1 -0
- package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +4 -1
- package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/resolveAuthOptions.js +20 -0
- package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +2 -1
- package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/resolveAuthOptions.d.ts +10 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/httpAuthSchemeMiddleware.d.ts +2 -1
- package/node_modules/@smithy/core/dist-types/ts3.4/middleware-http-auth-scheme/resolveAuthOptions.d.ts +10 -0
- package/node_modules/@smithy/core/package.json +1 -1
- package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
- package/node_modules/@smithy/middleware-retry/package.json +2 -2
- package/node_modules/@smithy/smithy-client/package.json +3 -3
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
- package/package.json +5 -5
package/.jsii
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
"url": "https://aws.amazon.com"
|
8
8
|
},
|
9
9
|
"bundled": {
|
10
|
-
"@aws-sdk/client-cloudformation": "^3.
|
10
|
+
"@aws-sdk/client-cloudformation": "^3.799.0"
|
11
11
|
},
|
12
12
|
"dependencies": {
|
13
13
|
"aws-cdk-lib": "^2.106.1",
|
@@ -4056,6 +4056,6 @@
|
|
4056
4056
|
"symbolId": "src/resolve:AwsCdkResolver"
|
4057
4057
|
}
|
4058
4058
|
},
|
4059
|
-
"version": "0.0.
|
4060
|
-
"fingerprint": "
|
4059
|
+
"version": "0.0.285",
|
4060
|
+
"fingerprint": "16aS1W7judQuY3Hj8a0lZDYLzA3QamIzyA7bDnbUMOc="
|
4061
4061
|
}
|
package/lib/resolve.js
CHANGED
@@ -61,5 +61,5 @@ class AwsCdkResolver {
|
|
61
61
|
}
|
62
62
|
exports.AwsCdkResolver = AwsCdkResolver;
|
63
63
|
_a = JSII_RTTI_SYMBOL_1;
|
64
|
-
AwsCdkResolver[_a] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.
|
64
|
+
AwsCdkResolver[_a] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.285" };
|
65
65
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9yZXNvbHZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsaURBQTZDO0FBQzdDLDZCQUE2QjtBQUM3Qiw2Q0FBK0U7QUFJL0UsTUFBYSxjQUFjO0lBRWxCLE9BQU8sQ0FBQyxPQUEwQjtRQUV2QyxJQUFJLENBQUMsbUJBQUssQ0FBQyxZQUFZLENBQUMsT0FBTyxDQUFDLEtBQUssQ0FBQyxFQUFFLENBQUM7WUFDdkMsT0FBTztRQUNULENBQUM7UUFFRCxJQUFJLE9BQU8sT0FBTyxDQUFDLEtBQUssS0FBSyxRQUFRLEVBQUUsQ0FBQztZQUN0QywrREFBK0Q7WUFDL0QsbUJBQW1CO1lBQ25CLE1BQU0sSUFBSSxLQUFLLENBQUMsdUJBQXVCLE9BQU0sQ0FBQyxPQUFPLENBQUMsS0FBSyxDQUFDLHNCQUFzQixDQUFDLENBQUM7UUFDdEYsQ0FBQztRQUVELE1BQU0sTUFBTSxHQUFHLElBQUksQ0FBQyxVQUFVLENBQUMsT0FBTyxDQUFDLEtBQUssQ0FBQyxDQUFDO1FBQzlDLElBQUksQ0FBQztZQUNILE1BQU0sV0FBVyxHQUFHLElBQUksQ0FBQyxnQkFBZ0IsQ0FBQyxNQUFN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hY2tOYW1lLFxuICAgICAgb3V0cHV0Lm5vZGUuaWQsXG4gICAgXSwgeyBlbmNvZGluZzogJ3V0Zi04Jywgc3RkaW86IFsncGlwZSddIH0pLnRvU3RyaW5nKCkudHJpbSgpKTtcblxuICB9XG5cbn1cbiJdfQ==
|
@@ -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
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
34
35
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
@@ -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 { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
4
4
|
import { NODE_APP_ID_CONFIG_OPTIONS, createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-node";
|
5
5
|
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";
|
@@ -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
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
30
31
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
@@ -6,6 +6,7 @@ import { CloudFormationClientConfig } from "./CloudFormationClient";
|
|
6
6
|
export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
|
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
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
11
12
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
@@ -38,7 +39,6 @@ export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
|
|
38
39
|
}) => import("@smithy/types").EndpointV2;
|
39
40
|
tls?: boolean | undefined;
|
40
41
|
serviceConfiguredEndpoint?: undefined;
|
41
|
-
authSchemePreference?: string[] | import("@smithy/types").Provider<string[]> | undefined;
|
42
42
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
43
43
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudFormationHttpAuthSchemeProvider;
|
44
44
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
@@ -5,6 +5,7 @@ export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
|
|
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
|
credentialDefaultProvider:
|
10
11
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
@@ -73,10 +74,6 @@ export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
|
|
73
74
|
) => import("@smithy/types").EndpointV2;
|
74
75
|
tls?: boolean | undefined;
|
75
76
|
serviceConfiguredEndpoint?: undefined;
|
76
|
-
authSchemePreference?:
|
77
|
-
| string[]
|
78
|
-
| import("@smithy/types").Provider<string[]>
|
79
|
-
| undefined;
|
80
77
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
81
78
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudFormationHttpAuthSchemeProvider;
|
82
79
|
credentials?:
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/client-cloudformation",
|
3
3
|
"description": "AWS SDK for JavaScript Cloudformation Client for Node.js, Browser and React Native",
|
4
|
-
"version": "3.
|
4
|
+
"version": "3.799.0",
|
5
5
|
"scripts": {
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cloudformation",
|
@@ -20,38 +20,38 @@
|
|
20
20
|
"dependencies": {
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
23
|
-
"@aws-sdk/core": "3.
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
23
|
+
"@aws-sdk/core": "3.799.0",
|
24
|
+
"@aws-sdk/credential-provider-node": "3.799.0",
|
25
25
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
26
26
|
"@aws-sdk/middleware-logger": "3.775.0",
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.799.0",
|
29
29
|
"@aws-sdk/region-config-resolver": "3.775.0",
|
30
30
|
"@aws-sdk/types": "3.775.0",
|
31
31
|
"@aws-sdk/util-endpoints": "3.787.0",
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.799.0",
|
34
34
|
"@smithy/config-resolver": "^4.1.0",
|
35
|
-
"@smithy/core": "^3.
|
35
|
+
"@smithy/core": "^3.3.0",
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.2",
|
37
37
|
"@smithy/hash-node": "^4.0.2",
|
38
38
|
"@smithy/invalid-dependency": "^4.0.2",
|
39
39
|
"@smithy/middleware-content-length": "^4.0.2",
|
40
|
-
"@smithy/middleware-endpoint": "^4.1.
|
41
|
-
"@smithy/middleware-retry": "^4.1.
|
40
|
+
"@smithy/middleware-endpoint": "^4.1.1",
|
41
|
+
"@smithy/middleware-retry": "^4.1.1",
|
42
42
|
"@smithy/middleware-serde": "^4.0.3",
|
43
43
|
"@smithy/middleware-stack": "^4.0.2",
|
44
44
|
"@smithy/node-config-provider": "^4.0.2",
|
45
45
|
"@smithy/node-http-handler": "^4.0.4",
|
46
46
|
"@smithy/protocol-http": "^5.1.0",
|
47
|
-
"@smithy/smithy-client": "^4.2.
|
47
|
+
"@smithy/smithy-client": "^4.2.1",
|
48
48
|
"@smithy/types": "^4.2.0",
|
49
49
|
"@smithy/url-parser": "^4.0.2",
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.9",
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.9",
|
55
55
|
"@smithy/util-endpoints": "^3.0.2",
|
56
56
|
"@smithy/util-middleware": "^4.0.2",
|
57
57
|
"@smithy/util-retry": "^4.0.2",
|
@@ -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 }),
|
@@ -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 }),
|
@@ -6,6 +6,7 @@ import { SSOClientConfig } from "./SSOClient";
|
|
6
6
|
export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
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: SSOClientConfig) => {
|
|
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;
|
@@ -5,6 +5,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
|
|
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: SSOClientConfig) => {
|
|
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
|
| (
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/client-sso",
|
3
3
|
"description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
|
4
|
-
"version": "3.
|
4
|
+
"version": "3.799.0",
|
5
5
|
"scripts": {
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-sso",
|
@@ -20,37 +20,37 @@
|
|
20
20
|
"dependencies": {
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
23
|
-
"@aws-sdk/core": "3.
|
23
|
+
"@aws-sdk/core": "3.799.0",
|
24
24
|
"@aws-sdk/middleware-host-header": "3.775.0",
|
25
25
|
"@aws-sdk/middleware-logger": "3.775.0",
|
26
26
|
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
27
|
-
"@aws-sdk/middleware-user-agent": "3.
|
27
|
+
"@aws-sdk/middleware-user-agent": "3.799.0",
|
28
28
|
"@aws-sdk/region-config-resolver": "3.775.0",
|
29
29
|
"@aws-sdk/types": "3.775.0",
|
30
30
|
"@aws-sdk/util-endpoints": "3.787.0",
|
31
31
|
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
32
|
-
"@aws-sdk/util-user-agent-node": "3.
|
32
|
+
"@aws-sdk/util-user-agent-node": "3.799.0",
|
33
33
|
"@smithy/config-resolver": "^4.1.0",
|
34
|
-
"@smithy/core": "^3.
|
34
|
+
"@smithy/core": "^3.3.0",
|
35
35
|
"@smithy/fetch-http-handler": "^5.0.2",
|
36
36
|
"@smithy/hash-node": "^4.0.2",
|
37
37
|
"@smithy/invalid-dependency": "^4.0.2",
|
38
38
|
"@smithy/middleware-content-length": "^4.0.2",
|
39
|
-
"@smithy/middleware-endpoint": "^4.1.
|
40
|
-
"@smithy/middleware-retry": "^4.1.
|
39
|
+
"@smithy/middleware-endpoint": "^4.1.1",
|
40
|
+
"@smithy/middleware-retry": "^4.1.1",
|
41
41
|
"@smithy/middleware-serde": "^4.0.3",
|
42
42
|
"@smithy/middleware-stack": "^4.0.2",
|
43
43
|
"@smithy/node-config-provider": "^4.0.2",
|
44
44
|
"@smithy/node-http-handler": "^4.0.4",
|
45
45
|
"@smithy/protocol-http": "^5.1.0",
|
46
|
-
"@smithy/smithy-client": "^4.2.
|
46
|
+
"@smithy/smithy-client": "^4.2.1",
|
47
47
|
"@smithy/types": "^4.2.0",
|
48
48
|
"@smithy/url-parser": "^4.0.2",
|
49
49
|
"@smithy/util-base64": "^4.0.0",
|
50
50
|
"@smithy/util-body-length-browser": "^4.0.0",
|
51
51
|
"@smithy/util-body-length-node": "^4.0.0",
|
52
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
53
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
52
|
+
"@smithy/util-defaults-mode-browser": "^4.0.9",
|
53
|
+
"@smithy/util-defaults-mode-node": "^4.0.9",
|
54
54
|
"@smithy/util-endpoints": "^3.0.2",
|
55
55
|
"@smithy/util-middleware": "^4.0.2",
|
56
56
|
"@smithy/util-retry": "^4.0.2",
|
@@ -24,6 +24,7 @@ __export(index_exports, {
|
|
24
24
|
AWSSDKSigV4Signer: () => AWSSDKSigV4Signer,
|
25
25
|
AwsSdkSigV4ASigner: () => AwsSdkSigV4ASigner,
|
26
26
|
AwsSdkSigV4Signer: () => AwsSdkSigV4Signer,
|
27
|
+
NODE_AUTH_SCHEME_PREFERENCE_OPTIONS: () => NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,
|
27
28
|
NODE_SIGV4A_CONFIG_OPTIONS: () => NODE_SIGV4A_CONFIG_OPTIONS,
|
28
29
|
resolveAWSSDKSigV4Config: () => resolveAWSSDKSigV4Config,
|
29
30
|
resolveAwsSdkSigV4AConfig: () => resolveAwsSdkSigV4AConfig,
|
@@ -159,6 +160,37 @@ var AwsSdkSigV4ASigner = class extends AwsSdkSigV4Signer {
|
|
159
160
|
}
|
160
161
|
};
|
161
162
|
|
163
|
+
// src/submodules/httpAuthSchemes/utils/getArrayForCommaSeparatedString.ts
|
164
|
+
var getArrayForCommaSeparatedString = /* @__PURE__ */ __name((str) => typeof str === "string" && str.length > 0 ? str.split(",").map((item) => item.trim()) : [], "getArrayForCommaSeparatedString");
|
165
|
+
|
166
|
+
// src/submodules/httpAuthSchemes/aws_sdk/NODE_AUTH_SCHEME_PREFERENCE_OPTIONS.ts
|
167
|
+
var NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY = "AWS_AUTH_SCHEME_PREFERENCE";
|
168
|
+
var NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY = "auth_scheme_preference";
|
169
|
+
var NODE_AUTH_SCHEME_PREFERENCE_OPTIONS = {
|
170
|
+
/**
|
171
|
+
* Retrieves auth scheme preference from environment variables
|
172
|
+
* @param env - Node process environment object
|
173
|
+
* @returns Array of auth scheme strings if preference is set, undefined otherwise
|
174
|
+
*/
|
175
|
+
environmentVariableSelector: /* @__PURE__ */ __name((env) => {
|
176
|
+
if (!(NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY in env)) return void 0;
|
177
|
+
return getArrayForCommaSeparatedString(env[NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY]);
|
178
|
+
}, "environmentVariableSelector"),
|
179
|
+
/**
|
180
|
+
* Retrieves auth scheme preference from config file
|
181
|
+
* @param profile - Config profile object
|
182
|
+
* @returns Array of auth scheme strings if preference is set, undefined otherwise
|
183
|
+
*/
|
184
|
+
configFileSelector: /* @__PURE__ */ __name((profile) => {
|
185
|
+
if (!(NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY in profile)) return void 0;
|
186
|
+
return getArrayForCommaSeparatedString(profile[NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY]);
|
187
|
+
}, "configFileSelector"),
|
188
|
+
/**
|
189
|
+
* Default auth scheme preference if not specified in environment or config
|
190
|
+
*/
|
191
|
+
default: []
|
192
|
+
};
|
193
|
+
|
162
194
|
// src/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.ts
|
163
195
|
var import_core = require("@smithy/core");
|
164
196
|
var import_property_provider = require("@smithy/property-provider");
|
@@ -341,6 +373,7 @@ __name(bindCallerConfig, "bindCallerConfig");
|
|
341
373
|
AWSSDKSigV4Signer,
|
342
374
|
AwsSdkSigV4ASigner,
|
343
375
|
AwsSdkSigV4Signer,
|
376
|
+
NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,
|
344
377
|
NODE_SIGV4A_CONFIG_OPTIONS,
|
345
378
|
resolveAWSSDKSigV4Config,
|
346
379
|
resolveAwsSdkSigV4AConfig,
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { getArrayForCommaSeparatedString } from "../utils/getArrayForCommaSeparatedString";
|
2
|
+
const NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY = "AWS_AUTH_SCHEME_PREFERENCE";
|
3
|
+
const NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY = "auth_scheme_preference";
|
4
|
+
export const NODE_AUTH_SCHEME_PREFERENCE_OPTIONS = {
|
5
|
+
environmentVariableSelector: (env) => {
|
6
|
+
if (!(NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY in env))
|
7
|
+
return undefined;
|
8
|
+
return getArrayForCommaSeparatedString(env[NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY]);
|
9
|
+
},
|
10
|
+
configFileSelector: (profile) => {
|
11
|
+
if (!(NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY in profile))
|
12
|
+
return undefined;
|
13
|
+
return getArrayForCommaSeparatedString(profile[NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY]);
|
14
|
+
},
|
15
|
+
default: [],
|
16
|
+
};
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export { AwsSdkSigV4Signer, AWSSDKSigV4Signer, validateSigningProperties } from "./AwsSdkSigV4Signer";
|
2
2
|
export { AwsSdkSigV4ASigner } from "./AwsSdkSigV4ASigner";
|
3
|
+
export * from "./NODE_AUTH_SCHEME_PREFERENCE_OPTIONS";
|
3
4
|
export * from "./resolveAwsSdkSigV4AConfig";
|
4
5
|
export * from "./resolveAwsSdkSigV4Config";
|
@@ -0,0 +1 @@
|
|
1
|
+
export const getArrayForCommaSeparatedString = (str) => typeof str === "string" && str.length > 0 ? str.split(",").map((item) => item.trim()) : [];
|
@@ -1,4 +1,5 @@
|
|
1
1
|
export { AwsSdkSigV4Signer, AWSSDKSigV4Signer, validateSigningProperties } from "./AwsSdkSigV4Signer";
|
2
2
|
export { AwsSdkSigV4ASigner } from "./AwsSdkSigV4ASigner";
|
3
|
+
export * from "./NODE_AUTH_SCHEME_PREFERENCE_OPTIONS";
|
3
4
|
export * from "./resolveAwsSdkSigV4AConfig";
|
4
5
|
export * from "./resolveAwsSdkSigV4Config";
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/**
|
2
|
+
* Converts a comma-separated string into an array of trimmed strings
|
3
|
+
* @param str The comma-separated input string to split
|
4
|
+
* @returns Array of trimmed strings split from the input
|
5
|
+
*
|
6
|
+
* @internal
|
7
|
+
*/
|
8
|
+
export declare const getArrayForCommaSeparatedString: (str: string) => string[];
|
package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/index.d.ts
CHANGED
@@ -4,5 +4,6 @@ export {
|
|
4
4
|
validateSigningProperties,
|
5
5
|
} from "./AwsSdkSigV4Signer";
|
6
6
|
export { AwsSdkSigV4ASigner } from "./AwsSdkSigV4ASigner";
|
7
|
+
export * from "./NODE_AUTH_SCHEME_PREFERENCE_OPTIONS";
|
7
8
|
export * from "./resolveAwsSdkSigV4AConfig";
|
8
9
|
export * from "./resolveAwsSdkSigV4Config";
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const getArrayForCommaSeparatedString: (str: string) => string[];
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/core",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.799.0",
|
4
4
|
"description": "Core functions & classes shared by multiple AWS SDK clients.",
|
5
5
|
"scripts": {
|
6
6
|
"build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
@@ -82,12 +82,12 @@
|
|
82
82
|
"license": "Apache-2.0",
|
83
83
|
"dependencies": {
|
84
84
|
"@aws-sdk/types": "3.775.0",
|
85
|
-
"@smithy/core": "^3.
|
85
|
+
"@smithy/core": "^3.3.0",
|
86
86
|
"@smithy/node-config-provider": "^4.0.2",
|
87
87
|
"@smithy/property-provider": "^4.0.2",
|
88
88
|
"@smithy/protocol-http": "^5.1.0",
|
89
89
|
"@smithy/signature-v4": "^5.1.0",
|
90
|
-
"@smithy/smithy-client": "^4.2.
|
90
|
+
"@smithy/smithy-client": "^4.2.1",
|
91
91
|
"@smithy/types": "^4.2.0",
|
92
92
|
"@smithy/util-middleware": "^4.0.2",
|
93
93
|
"fast-xml-parser": "4.4.1",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/credential-provider-env",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.799.0",
|
4
4
|
"description": "AWS credential provider that sources credentials from known environment variables",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -25,7 +25,7 @@
|
|
25
25
|
},
|
26
26
|
"license": "Apache-2.0",
|
27
27
|
"dependencies": {
|
28
|
-
"@aws-sdk/core": "3.
|
28
|
+
"@aws-sdk/core": "3.799.0",
|
29
29
|
"@aws-sdk/types": "3.775.0",
|
30
30
|
"@smithy/property-provider": "^4.0.2",
|
31
31
|
"@smithy/types": "^4.2.0",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/credential-provider-http",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.799.0",
|
4
4
|
"description": "AWS credential provider for containers and HTTP sources",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -27,13 +27,13 @@
|
|
27
27
|
},
|
28
28
|
"license": "Apache-2.0",
|
29
29
|
"dependencies": {
|
30
|
-
"@aws-sdk/core": "3.
|
30
|
+
"@aws-sdk/core": "3.799.0",
|
31
31
|
"@aws-sdk/types": "3.775.0",
|
32
32
|
"@smithy/fetch-http-handler": "^5.0.2",
|
33
33
|
"@smithy/node-http-handler": "^4.0.4",
|
34
34
|
"@smithy/property-provider": "^4.0.2",
|
35
35
|
"@smithy/protocol-http": "^5.1.0",
|
36
|
-
"@smithy/smithy-client": "^4.2.
|
36
|
+
"@smithy/smithy-client": "^4.2.1",
|
37
37
|
"@smithy/types": "^4.2.0",
|
38
38
|
"@smithy/util-stream": "^4.2.0",
|
39
39
|
"tslib": "^2.6.2"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/credential-provider-ini",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.799.0",
|
4
4
|
"description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -27,13 +27,13 @@
|
|
27
27
|
},
|
28
28
|
"license": "Apache-2.0",
|
29
29
|
"dependencies": {
|
30
|
-
"@aws-sdk/core": "3.
|
31
|
-
"@aws-sdk/credential-provider-env": "3.
|
32
|
-
"@aws-sdk/credential-provider-http": "3.
|
33
|
-
"@aws-sdk/credential-provider-process": "3.
|
34
|
-
"@aws-sdk/credential-provider-sso": "3.
|
35
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
36
|
-
"@aws-sdk/nested-clients": "3.
|
30
|
+
"@aws-sdk/core": "3.799.0",
|
31
|
+
"@aws-sdk/credential-provider-env": "3.799.0",
|
32
|
+
"@aws-sdk/credential-provider-http": "3.799.0",
|
33
|
+
"@aws-sdk/credential-provider-process": "3.799.0",
|
34
|
+
"@aws-sdk/credential-provider-sso": "3.799.0",
|
35
|
+
"@aws-sdk/credential-provider-web-identity": "3.799.0",
|
36
|
+
"@aws-sdk/nested-clients": "3.799.0",
|
37
37
|
"@aws-sdk/types": "3.775.0",
|
38
38
|
"@smithy/credential-provider-imds": "^4.0.2",
|
39
39
|
"@smithy/property-provider": "^4.0.2",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/credential-provider-node",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.799.0",
|
4
4
|
"description": "AWS credential provider that sources credentials from a Node.JS environment. ",
|
5
5
|
"engines": {
|
6
6
|
"node": ">=18.0.0"
|
@@ -29,12 +29,12 @@
|
|
29
29
|
},
|
30
30
|
"license": "Apache-2.0",
|
31
31
|
"dependencies": {
|
32
|
-
"@aws-sdk/credential-provider-env": "3.
|
33
|
-
"@aws-sdk/credential-provider-http": "3.
|
34
|
-
"@aws-sdk/credential-provider-ini": "3.
|
35
|
-
"@aws-sdk/credential-provider-process": "3.
|
36
|
-
"@aws-sdk/credential-provider-sso": "3.
|
37
|
-
"@aws-sdk/credential-provider-web-identity": "3.
|
32
|
+
"@aws-sdk/credential-provider-env": "3.799.0",
|
33
|
+
"@aws-sdk/credential-provider-http": "3.799.0",
|
34
|
+
"@aws-sdk/credential-provider-ini": "3.799.0",
|
35
|
+
"@aws-sdk/credential-provider-process": "3.799.0",
|
36
|
+
"@aws-sdk/credential-provider-sso": "3.799.0",
|
37
|
+
"@aws-sdk/credential-provider-web-identity": "3.799.0",
|
38
38
|
"@aws-sdk/types": "3.775.0",
|
39
39
|
"@smithy/credential-provider-imds": "^4.0.2",
|
40
40
|
"@smithy/property-provider": "^4.0.2",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/credential-provider-process",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.799.0",
|
4
4
|
"description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -25,7 +25,7 @@
|
|
25
25
|
},
|
26
26
|
"license": "Apache-2.0",
|
27
27
|
"dependencies": {
|
28
|
-
"@aws-sdk/core": "3.
|
28
|
+
"@aws-sdk/core": "3.799.0",
|
29
29
|
"@aws-sdk/types": "3.775.0",
|
30
30
|
"@smithy/property-provider": "^4.0.2",
|
31
31
|
"@smithy/shared-ini-file-loader": "^4.0.2",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/credential-provider-sso",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.799.0",
|
4
4
|
"description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -25,9 +25,9 @@
|
|
25
25
|
},
|
26
26
|
"license": "Apache-2.0",
|
27
27
|
"dependencies": {
|
28
|
-
"@aws-sdk/client-sso": "3.
|
29
|
-
"@aws-sdk/core": "3.
|
30
|
-
"@aws-sdk/token-providers": "3.
|
28
|
+
"@aws-sdk/client-sso": "3.799.0",
|
29
|
+
"@aws-sdk/core": "3.799.0",
|
30
|
+
"@aws-sdk/token-providers": "3.799.0",
|
31
31
|
"@aws-sdk/types": "3.775.0",
|
32
32
|
"@smithy/property-provider": "^4.0.2",
|
33
33
|
"@smithy/shared-ini-file-loader": "^4.0.2",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/credential-provider-web-identity",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.799.0",
|
4
4
|
"description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -33,8 +33,8 @@
|
|
33
33
|
},
|
34
34
|
"license": "Apache-2.0",
|
35
35
|
"dependencies": {
|
36
|
-
"@aws-sdk/core": "3.
|
37
|
-
"@aws-sdk/nested-clients": "3.
|
36
|
+
"@aws-sdk/core": "3.799.0",
|
37
|
+
"@aws-sdk/nested-clients": "3.799.0",
|
38
38
|
"@aws-sdk/types": "3.775.0",
|
39
39
|
"@smithy/property-provider": "^4.0.2",
|
40
40
|
"@smithy/types": "^4.2.0",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/middleware-user-agent",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.799.0",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline middleware-user-agent",
|
@@ -24,10 +24,10 @@
|
|
24
24
|
},
|
25
25
|
"license": "Apache-2.0",
|
26
26
|
"dependencies": {
|
27
|
-
"@aws-sdk/core": "3.
|
27
|
+
"@aws-sdk/core": "3.799.0",
|
28
28
|
"@aws-sdk/types": "3.775.0",
|
29
29
|
"@aws-sdk/util-endpoints": "3.787.0",
|
30
|
-
"@smithy/core": "^3.
|
30
|
+
"@smithy/core": "^3.3.0",
|
31
31
|
"@smithy/protocol-http": "^5.1.0",
|
32
32
|
"@smithy/types": "^4.2.0",
|
33
33
|
"tslib": "^2.6.2"
|
@@ -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 }),
|
package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/runtimeConfig.d.ts
CHANGED
@@ -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;
|
package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/runtimeConfig.d.ts
CHANGED
@@ -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
|
| (
|
package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sts/runtimeConfig.d.ts
CHANGED
@@ -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
|
@@ -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",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/token-providers",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.799.0",
|
4
4
|
"description": "A collection of token providers",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -27,7 +27,7 @@
|
|
27
27
|
},
|
28
28
|
"license": "Apache-2.0",
|
29
29
|
"dependencies": {
|
30
|
-
"@aws-sdk/nested-clients": "3.
|
30
|
+
"@aws-sdk/nested-clients": "3.799.0",
|
31
31
|
"@aws-sdk/types": "3.775.0",
|
32
32
|
"@smithy/property-provider": "^4.0.2",
|
33
33
|
"@smithy/shared-ini-file-loader": "^4.0.2",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-sdk/util-user-agent-node",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.799.0",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline util-user-agent-node",
|
@@ -21,7 +21,7 @@
|
|
21
21
|
},
|
22
22
|
"license": "Apache-2.0",
|
23
23
|
"dependencies": {
|
24
|
-
"@aws-sdk/middleware-user-agent": "3.
|
24
|
+
"@aws-sdk/middleware-user-agent": "3.799.0",
|
25
25
|
"@aws-sdk/types": "3.775.0",
|
26
26
|
"@smithy/node-config-provider": "^4.0.2",
|
27
27
|
"@smithy/types": "^4.2.0",
|
@@ -51,6 +51,30 @@ var getSmithyContext = /* @__PURE__ */ __name((context) => context[import_types.
|
|
51
51
|
|
52
52
|
// src/middleware-http-auth-scheme/httpAuthSchemeMiddleware.ts
|
53
53
|
var import_util_middleware = require("@smithy/util-middleware");
|
54
|
+
|
55
|
+
// src/middleware-http-auth-scheme/resolveAuthOptions.ts
|
56
|
+
var resolveAuthOptions = /* @__PURE__ */ __name((candidateAuthOptions, authSchemePreference) => {
|
57
|
+
if (!authSchemePreference || authSchemePreference.length === 0) {
|
58
|
+
return candidateAuthOptions;
|
59
|
+
}
|
60
|
+
const preferredAuthOptions = [];
|
61
|
+
for (const preferredSchemeName of authSchemePreference) {
|
62
|
+
for (const candidateAuthOption of candidateAuthOptions) {
|
63
|
+
const candidateAuthSchemeName = candidateAuthOption.schemeId.split("#")[1];
|
64
|
+
if (candidateAuthSchemeName === preferredSchemeName) {
|
65
|
+
preferredAuthOptions.push(candidateAuthOption);
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
for (const candidateAuthOption of candidateAuthOptions) {
|
70
|
+
if (!preferredAuthOptions.find(({ schemeId }) => schemeId === candidateAuthOption.schemeId)) {
|
71
|
+
preferredAuthOptions.push(candidateAuthOption);
|
72
|
+
}
|
73
|
+
}
|
74
|
+
return preferredAuthOptions;
|
75
|
+
}, "resolveAuthOptions");
|
76
|
+
|
77
|
+
// src/middleware-http-auth-scheme/httpAuthSchemeMiddleware.ts
|
54
78
|
function convertHttpAuthSchemesToMap(httpAuthSchemes) {
|
55
79
|
const map = /* @__PURE__ */ new Map();
|
56
80
|
for (const scheme of httpAuthSchemes) {
|
@@ -63,10 +87,12 @@ var httpAuthSchemeMiddleware = /* @__PURE__ */ __name((config, mwOptions) => (ne
|
|
63
87
|
const options = config.httpAuthSchemeProvider(
|
64
88
|
await mwOptions.httpAuthSchemeParametersProvider(config, context, args.input)
|
65
89
|
);
|
90
|
+
const authSchemePreference = config.authSchemePreference ? await config.authSchemePreference() : [];
|
91
|
+
const resolvedOptions = resolveAuthOptions(options, authSchemePreference);
|
66
92
|
const authSchemes = convertHttpAuthSchemesToMap(config.httpAuthSchemes);
|
67
93
|
const smithyContext = (0, import_util_middleware.getSmithyContext)(context);
|
68
94
|
const failureReasons = [];
|
69
|
-
for (const option of
|
95
|
+
for (const option of resolvedOptions) {
|
70
96
|
const scheme = authSchemes.get(option.schemeId);
|
71
97
|
if (!scheme) {
|
72
98
|
failureReasons.push(`HttpAuthScheme \`${option.schemeId}\` was not enabled for this service.`);
|
@@ -0,0 +1 @@
|
|
1
|
+
module.exports = require("../index.js");
|
package/node_modules/@smithy/core/dist-es/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
2
2
|
import { getSmithyContext } from "@smithy/util-middleware";
|
3
|
+
import { resolveAuthOptions } from "./resolveAuthOptions";
|
3
4
|
function convertHttpAuthSchemesToMap(httpAuthSchemes) {
|
4
5
|
const map = new Map();
|
5
6
|
for (const scheme of httpAuthSchemes) {
|
@@ -9,10 +10,12 @@ function convertHttpAuthSchemesToMap(httpAuthSchemes) {
|
|
9
10
|
}
|
10
11
|
export const httpAuthSchemeMiddleware = (config, mwOptions) => (next, context) => async (args) => {
|
11
12
|
const options = config.httpAuthSchemeProvider(await mwOptions.httpAuthSchemeParametersProvider(config, context, args.input));
|
13
|
+
const authSchemePreference = config.authSchemePreference ? await config.authSchemePreference() : [];
|
14
|
+
const resolvedOptions = resolveAuthOptions(options, authSchemePreference);
|
12
15
|
const authSchemes = convertHttpAuthSchemesToMap(config.httpAuthSchemes);
|
13
16
|
const smithyContext = getSmithyContext(context);
|
14
17
|
const failureReasons = [];
|
15
|
-
for (const option of
|
18
|
+
for (const option of resolvedOptions) {
|
16
19
|
const scheme = authSchemes.get(option.schemeId);
|
17
20
|
if (!scheme) {
|
18
21
|
failureReasons.push(`HttpAuthScheme \`${option.schemeId}\` was not enabled for this service.`);
|
@@ -0,0 +1,20 @@
|
|
1
|
+
export const resolveAuthOptions = (candidateAuthOptions, authSchemePreference) => {
|
2
|
+
if (!authSchemePreference || authSchemePreference.length === 0) {
|
3
|
+
return candidateAuthOptions;
|
4
|
+
}
|
5
|
+
const preferredAuthOptions = [];
|
6
|
+
for (const preferredSchemeName of authSchemePreference) {
|
7
|
+
for (const candidateAuthOption of candidateAuthOptions) {
|
8
|
+
const candidateAuthSchemeName = candidateAuthOption.schemeId.split("#")[1];
|
9
|
+
if (candidateAuthSchemeName === preferredSchemeName) {
|
10
|
+
preferredAuthOptions.push(candidateAuthOption);
|
11
|
+
}
|
12
|
+
}
|
13
|
+
}
|
14
|
+
for (const candidateAuthOption of candidateAuthOptions) {
|
15
|
+
if (!preferredAuthOptions.find(({ schemeId }) => schemeId === candidateAuthOption.schemeId)) {
|
16
|
+
preferredAuthOptions.push(candidateAuthOption);
|
17
|
+
}
|
18
|
+
}
|
19
|
+
return preferredAuthOptions;
|
20
|
+
};
|
@@ -1,8 +1,9 @@
|
|
1
|
-
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, IdentityProviderConfig, SelectedHttpAuthScheme, SerializeMiddleware, SMITHY_CONTEXT_KEY } from "@smithy/types";
|
1
|
+
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, IdentityProviderConfig, Provider, SelectedHttpAuthScheme, SerializeMiddleware, SMITHY_CONTEXT_KEY } from "@smithy/types";
|
2
2
|
/**
|
3
3
|
* @internal
|
4
4
|
*/
|
5
5
|
export interface PreviouslyResolved<TParameters extends HttpAuthSchemeParameters> {
|
6
|
+
authSchemePreference?: Provider<string[]>;
|
6
7
|
httpAuthSchemes: HttpAuthScheme[];
|
7
8
|
httpAuthSchemeProvider: HttpAuthSchemeProvider<TParameters>;
|
8
9
|
}
|
package/node_modules/@smithy/core/dist-types/middleware-http-auth-scheme/resolveAuthOptions.d.ts
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
import { HttpAuthOption } from "@smithy/types";
|
2
|
+
/**
|
3
|
+
* Resolves list of auth options based on the supported ones, vs the preference list.
|
4
|
+
*
|
5
|
+
* @param candidateAuthOptions list of supported auth options selected by the standard
|
6
|
+
* resolution process (model-based, endpoints 2.0, etc.)
|
7
|
+
* @param authSchemePreference list of auth schemes preferred by user.
|
8
|
+
* @returns
|
9
|
+
*/
|
10
|
+
export declare const resolveAuthOptions: (candidateAuthOptions: HttpAuthOption[], authSchemePreference: string[]) => HttpAuthOption[];
|
@@ -1,8 +1,9 @@
|
|
1
|
-
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, IdentityProviderConfig, SelectedHttpAuthScheme, SerializeMiddleware, SMITHY_CONTEXT_KEY } from "@smithy/types";
|
1
|
+
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, IdentityProviderConfig, Provider, SelectedHttpAuthScheme, SerializeMiddleware, SMITHY_CONTEXT_KEY } from "@smithy/types";
|
2
2
|
/**
|
3
3
|
* @internal
|
4
4
|
*/
|
5
5
|
export interface PreviouslyResolved<TParameters extends HttpAuthSchemeParameters> {
|
6
|
+
authSchemePreference?: Provider<string[]>;
|
6
7
|
httpAuthSchemes: HttpAuthScheme[];
|
7
8
|
httpAuthSchemeProvider: HttpAuthSchemeProvider<TParameters>;
|
8
9
|
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { HttpAuthOption } from "@smithy/types";
|
2
|
+
/**
|
3
|
+
* Resolves list of auth options based on the supported ones, vs the preference list.
|
4
|
+
*
|
5
|
+
* @param candidateAuthOptions list of supported auth options selected by the standard
|
6
|
+
* resolution process (model-based, endpoints 2.0, etc.)
|
7
|
+
* @param authSchemePreference list of auth schemes preferred by user.
|
8
|
+
* @returns
|
9
|
+
*/
|
10
|
+
export declare const resolveAuthOptions: (candidateAuthOptions: HttpAuthOption[], authSchemePreference: string[]) => HttpAuthOption[];
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/middleware-endpoint",
|
3
|
-
"version": "4.1.
|
3
|
+
"version": "4.1.1",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline middleware-endpoint",
|
@@ -24,7 +24,7 @@
|
|
24
24
|
},
|
25
25
|
"license": "Apache-2.0",
|
26
26
|
"dependencies": {
|
27
|
-
"@smithy/core": "^3.
|
27
|
+
"@smithy/core": "^3.3.0",
|
28
28
|
"@smithy/middleware-serde": "^4.0.3",
|
29
29
|
"@smithy/node-config-provider": "^4.0.2",
|
30
30
|
"@smithy/shared-ini-file-loader": "^4.0.2",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/middleware-retry",
|
3
|
-
"version": "4.1.
|
3
|
+
"version": "4.1.1",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline middleware-retry",
|
@@ -36,7 +36,7 @@
|
|
36
36
|
"@smithy/node-config-provider": "^4.0.2",
|
37
37
|
"@smithy/protocol-http": "^5.1.0",
|
38
38
|
"@smithy/service-error-classification": "^4.0.2",
|
39
|
-
"@smithy/smithy-client": "^4.2.
|
39
|
+
"@smithy/smithy-client": "^4.2.1",
|
40
40
|
"@smithy/types": "^4.2.0",
|
41
41
|
"@smithy/util-middleware": "^4.0.2",
|
42
42
|
"@smithy/util-retry": "^4.0.2",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/smithy-client",
|
3
|
-
"version": "4.2.
|
3
|
+
"version": "4.2.1",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline smithy-client",
|
@@ -24,8 +24,8 @@
|
|
24
24
|
},
|
25
25
|
"license": "Apache-2.0",
|
26
26
|
"dependencies": {
|
27
|
-
"@smithy/core": "^3.
|
28
|
-
"@smithy/middleware-endpoint": "^4.1.
|
27
|
+
"@smithy/core": "^3.3.0",
|
28
|
+
"@smithy/middleware-endpoint": "^4.1.1",
|
29
29
|
"@smithy/middleware-stack": "^4.0.2",
|
30
30
|
"@smithy/protocol-http": "^5.1.0",
|
31
31
|
"@smithy/types": "^4.2.0",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-defaults-mode-browser",
|
3
|
-
"version": "4.0.
|
3
|
+
"version": "4.0.9",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline util-defaults-mode-browser",
|
@@ -24,7 +24,7 @@
|
|
24
24
|
"license": "Apache-2.0",
|
25
25
|
"dependencies": {
|
26
26
|
"@smithy/property-provider": "^4.0.2",
|
27
|
-
"@smithy/smithy-client": "^4.2.
|
27
|
+
"@smithy/smithy-client": "^4.2.1",
|
28
28
|
"@smithy/types": "^4.2.0",
|
29
29
|
"bowser": "^2.11.0",
|
30
30
|
"tslib": "^2.6.2"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-defaults-mode-node",
|
3
|
-
"version": "4.0.
|
3
|
+
"version": "4.0.9",
|
4
4
|
"scripts": {
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
|
6
6
|
"build:cjs": "node ../../scripts/inline util-defaults-mode-node",
|
@@ -27,7 +27,7 @@
|
|
27
27
|
"@smithy/credential-provider-imds": "^4.0.2",
|
28
28
|
"@smithy/node-config-provider": "^4.0.2",
|
29
29
|
"@smithy/property-provider": "^4.0.2",
|
30
|
-
"@smithy/smithy-client": "^4.2.
|
30
|
+
"@smithy/smithy-client": "^4.2.1",
|
31
31
|
"@smithy/types": "^4.2.0",
|
32
32
|
"tslib": "^2.6.2"
|
33
33
|
},
|
package/package.json
CHANGED
@@ -42,7 +42,7 @@
|
|
42
42
|
"organization": false
|
43
43
|
},
|
44
44
|
"devDependencies": {
|
45
|
-
"@cdk8s/projen-common": "0.0.
|
45
|
+
"@cdk8s/projen-common": "0.0.600",
|
46
46
|
"@stylistic/eslint-plugin": "^2",
|
47
47
|
"@types/fs-extra": "^11.0.4",
|
48
48
|
"@types/jest": "^27",
|
@@ -52,7 +52,7 @@
|
|
52
52
|
"aws-cdk": "^2.1012.0",
|
53
53
|
"aws-cdk-lib": "2.177.0",
|
54
54
|
"cdk8s": "2.68.91",
|
55
|
-
"cdk8s-cli": "^2.200.
|
55
|
+
"cdk8s-cli": "^2.200.56",
|
56
56
|
"commit-and-tag-version": "^12",
|
57
57
|
"constructs": "10.3.0",
|
58
58
|
"eslint": "^9",
|
@@ -66,7 +66,7 @@
|
|
66
66
|
"jsii-docgen": "^10.5.0",
|
67
67
|
"jsii-pacmak": "^1.111.0",
|
68
68
|
"jsii-rosetta": "^5",
|
69
|
-
"projen": "^0.91.
|
69
|
+
"projen": "^0.91.28",
|
70
70
|
"ts-jest": "^27",
|
71
71
|
"ts-node": "^10.9.2",
|
72
72
|
"typescript": "^5.8.3"
|
@@ -77,7 +77,7 @@
|
|
77
77
|
"constructs": "^10.3.0"
|
78
78
|
},
|
79
79
|
"dependencies": {
|
80
|
-
"@aws-sdk/client-cloudformation": "^3.
|
80
|
+
"@aws-sdk/client-cloudformation": "^3.799.0"
|
81
81
|
},
|
82
82
|
"bundledDependencies": [
|
83
83
|
"@aws-sdk/client-cloudformation"
|
@@ -93,7 +93,7 @@
|
|
93
93
|
"publishConfig": {
|
94
94
|
"access": "public"
|
95
95
|
},
|
96
|
-
"version": "0.0.
|
96
|
+
"version": "0.0.285",
|
97
97
|
"jest": {
|
98
98
|
"coverageProvider": "v8",
|
99
99
|
"testMatch": [
|