@cdk8s/awscdk-resolver 0.0.269 → 0.0.271
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/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +17 -18
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormationClient.js +2 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/endpoint/EndpointParameters.js +2 -3
- package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeExtensions.js +2 -14
- package/node_modules/@aws-sdk/client-cloudformation/package.json +34 -34
- package/node_modules/@aws-sdk/client-sso/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +17 -18
- package/node_modules/@aws-sdk/client-sso/dist-es/SSOClient.js +2 -1
- package/node_modules/@aws-sdk/client-sso/dist-es/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/endpoint/EndpointParameters.js +2 -3
- package/node_modules/@aws-sdk/client-sso/dist-es/runtimeExtensions.js +2 -14
- package/node_modules/@aws-sdk/client-sso/package.json +32 -32
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/account-id-endpoint/index.js +13 -15
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +3 -3
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +82 -33
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +4 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.js +4 -4
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.js +70 -27
- package/node_modules/@aws-sdk/core/dist-types/api-extractor-type-index.d.ts +5 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConfigResolver.d.ts +0 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/account-id-endpoint/AccountIdEndpointModeConstants.d.ts +9 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.d.ts +2 -1
- package/node_modules/@aws-sdk/core/dist-types/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +25 -3
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/json/parseJsonBody.d.ts +9 -0
- package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/xml/parseXmlBody.d.ts +9 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/api-extractor-type-index.d.ts +5 -0
- package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.d.ts +11 -1
- package/node_modules/@aws-sdk/core/package.json +22 -22
- package/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/credential-provider-env/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-http/package.json +10 -10
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -13
- package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
- package/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/credential-provider-process/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +8 -8
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +6 -6
- package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +7 -9
- package/node_modules/@aws-sdk/middleware-host-header/dist-types/index.d.ts +15 -0
- package/node_modules/@aws-sdk/middleware-host-header/package.json +5 -4
- package/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js +5 -5
- package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
- package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js +11 -11
- package/node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js +4 -4
- package/node_modules/@aws-sdk/middleware-user-agent/package.json +7 -7
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +17 -18
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js +2 -5
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js +2 -3
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js +2 -14
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/SSOOIDCClient.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +1 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/EndpointParameters.js +2 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeExtensions.js +2 -14
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/STSClient.js +2 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +2 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/EndpointParameters.js +2 -3
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeExtensions.js +2 -14
- package/node_modules/@aws-sdk/nested-clients/package.json +36 -36
- package/node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js +15 -26
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/extensions/index.js +2 -12
- package/node_modules/@aws-sdk/region-config-resolver/dist-es/regionConfig/resolveRegionConfig.js +2 -3
- package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
- package/node_modules/@aws-sdk/token-providers/package.json +6 -6
- package/node_modules/@aws-sdk/types/dist-cjs/index.js +3 -3
- package/node_modules/@aws-sdk/types/dist-es/function.js +1 -0
- package/node_modules/@aws-sdk/types/dist-es/index.js +1 -0
- package/node_modules/@aws-sdk/types/dist-types/function.d.ts +7 -0
- package/node_modules/@aws-sdk/types/dist-types/index.d.ts +1 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/function.d.ts +7 -0
- package/node_modules/@aws-sdk/types/dist-types/ts3.4/index.d.ts +1 -0
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +5 -7
- package/node_modules/@aws-sdk/util-endpoints/package.json +4 -4
- package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
- package/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js +5 -5
- package/node_modules/@aws-sdk/util-user-agent-node/package.json +5 -5
- package/node_modules/@smithy/abort-controller/package.json +5 -5
- package/node_modules/@smithy/config-resolver/dist-cjs/index.js +11 -14
- package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveCustomEndpointsConfig.js +5 -6
- package/node_modules/@smithy/config-resolver/dist-es/endpointsConfig/resolveEndpointsConfig.js +4 -5
- package/node_modules/@smithy/config-resolver/dist-es/regionConfig/resolveRegionConfig.js +2 -3
- package/node_modules/@smithy/config-resolver/package.json +7 -7
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +41 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +1 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js +9 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/submodules/serde/value/NumericValue.d.ts +31 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/index.d.ts +1 -0
- package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/value/NumericValue.d.ts +31 -0
- package/node_modules/@smithy/core/package.json +17 -8
- package/node_modules/@smithy/core/serde.d.ts +7 -0
- package/node_modules/@smithy/core/serde.js +6 -0
- package/node_modules/@smithy/credential-provider-imds/package.json +8 -8
- package/node_modules/@smithy/fetch-http-handler/package.json +8 -8
- package/node_modules/@smithy/hash-node/package.json +5 -5
- package/node_modules/@smithy/invalid-dependency/package.json +5 -5
- package/node_modules/@smithy/middleware-content-length/package.json +6 -6
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +5 -6
- package/node_modules/@smithy/middleware-endpoint/dist-es/resolveEndpointConfig.js +5 -6
- package/node_modules/@smithy/middleware-endpoint/package.json +10 -10
- package/node_modules/@smithy/middleware-retry/README.md +1 -1
- package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +5 -6
- package/node_modules/@smithy/middleware-retry/dist-es/configurations.js +5 -6
- package/node_modules/@smithy/middleware-retry/package.json +10 -10
- package/node_modules/@smithy/middleware-serde/package.json +4 -4
- package/node_modules/@smithy/middleware-stack/package.json +5 -5
- package/node_modules/@smithy/node-config-provider/package.json +7 -7
- package/node_modules/@smithy/node-http-handler/package.json +7 -7
- package/node_modules/@smithy/property-provider/package.json +5 -5
- package/node_modules/@smithy/protocol-http/dist-cjs/index.js +4 -5
- package/node_modules/@smithy/protocol-http/dist-es/extensions/httpExtensionConfiguration.js +4 -5
- package/node_modules/@smithy/protocol-http/package.json +5 -5
- package/node_modules/@smithy/querystring-builder/package.json +5 -5
- package/node_modules/@smithy/querystring-parser/package.json +5 -5
- package/node_modules/@smithy/service-error-classification/package.json +5 -5
- package/node_modules/@smithy/shared-ini-file-loader/package.json +5 -5
- package/node_modules/@smithy/signature-v4/package.json +7 -7
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +6 -14
- package/node_modules/@smithy/smithy-client/dist-es/extensions/checksum.js +2 -3
- package/node_modules/@smithy/smithy-client/dist-es/extensions/defaultExtensionConfiguration.js +2 -8
- package/node_modules/@smithy/smithy-client/dist-es/extensions/retry.js +2 -3
- package/node_modules/@smithy/smithy-client/dist-types/client.d.ts +8 -0
- package/node_modules/@smithy/smithy-client/dist-types/extensions/checksum.d.ts +0 -1
- package/node_modules/@smithy/smithy-client/dist-types/extensions/defaultExtensionConfiguration.d.ts +6 -6
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts +8 -0
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/checksum.d.ts +0 -1
- package/node_modules/@smithy/smithy-client/dist-types/ts3.4/extensions/defaultExtensionConfiguration.d.ts +6 -6
- package/node_modules/@smithy/smithy-client/package.json +9 -9
- package/node_modules/@smithy/types/dist-cjs/index.js +4 -9
- package/node_modules/@smithy/types/dist-es/extensions/checksum.js +2 -3
- package/node_modules/@smithy/types/dist-es/extensions/defaultClientConfiguration.js +2 -6
- package/node_modules/@smithy/types/package.json +4 -4
- package/node_modules/@smithy/url-parser/package.json +6 -6
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +6 -6
- package/node_modules/@smithy/util-defaults-mode-node/package.json +9 -9
- package/node_modules/@smithy/util-endpoints/package.json +6 -6
- package/node_modules/@smithy/util-middleware/package.json +5 -5
- package/node_modules/@smithy/util-retry/README.md +1 -1
- package/node_modules/@smithy/util-retry/package.json +6 -6
- package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js +1 -1
- package/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js +3 -3
- package/node_modules/@smithy/util-stream/dist-es/createBufferedReadable.js +1 -1
- package/node_modules/@smithy/util-stream/dist-es/createBufferedReadableStream.js +3 -3
- package/node_modules/@smithy/util-stream/dist-types/createBufferedReadableStream.d.ts +3 -2
- package/node_modules/@smithy/util-stream/dist-types/ts3.4/createBufferedReadableStream.d.ts +3 -2
- package/node_modules/@smithy/util-stream/package.json +6 -6
- package/node_modules/@smithy/util-waiter/package.json +6 -6
- package/package.json +4 -4
@@ -1,8 +1,8 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/shared-ini-file-loader",
|
3
|
-
"version": "4.0.
|
3
|
+
"version": "4.0.2",
|
4
4
|
"dependencies": {
|
5
|
-
"@smithy/types": "^4.
|
5
|
+
"@smithy/types": "^4.2.0",
|
6
6
|
"tslib": "^2.6.2"
|
7
7
|
},
|
8
8
|
"devDependencies": {
|
@@ -21,7 +21,7 @@
|
|
21
21
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
22
22
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
23
23
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
24
|
-
"format": "prettier --config ../../prettier.config.js --ignore-path
|
24
|
+
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
|
25
25
|
"extract:docs": "api-extractor run --local",
|
26
26
|
"test": "yarn g:vitest run",
|
27
27
|
"test:watch": "yarn g:vitest watch"
|
@@ -57,10 +57,10 @@
|
|
57
57
|
"files": [
|
58
58
|
"dist-*/**"
|
59
59
|
],
|
60
|
-
"homepage": "https://github.com/
|
60
|
+
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/shared-ini-file-loader",
|
61
61
|
"repository": {
|
62
62
|
"type": "git",
|
63
|
-
"url": "https://github.com/
|
63
|
+
"url": "https://github.com/smithy-lang/smithy-typescript.git",
|
64
64
|
"directory": "packages/shared-ini-file-loader"
|
65
65
|
},
|
66
66
|
"typedoc": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/signature-v4",
|
3
|
-
"version": "5.0.
|
3
|
+
"version": "5.0.2",
|
4
4
|
"description": "A standalone implementation of the AWS Signature V4 request signing algorithm",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -14,7 +14,7 @@
|
|
14
14
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
15
15
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
16
16
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
17
|
-
"format": "prettier --config ../../prettier.config.js --ignore-path
|
17
|
+
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
|
18
18
|
"extract:docs": "api-extractor run --local",
|
19
19
|
"test": "yarn g:vitest run",
|
20
20
|
"test:watch": "yarn g:vitest watch"
|
@@ -26,10 +26,10 @@
|
|
26
26
|
"license": "Apache-2.0",
|
27
27
|
"dependencies": {
|
28
28
|
"@smithy/is-array-buffer": "^4.0.0",
|
29
|
-
"@smithy/protocol-http": "^5.0
|
30
|
-
"@smithy/types": "^4.
|
29
|
+
"@smithy/protocol-http": "^5.1.0",
|
30
|
+
"@smithy/types": "^4.2.0",
|
31
31
|
"@smithy/util-hex-encoding": "^4.0.0",
|
32
|
-
"@smithy/util-middleware": "^4.0.
|
32
|
+
"@smithy/util-middleware": "^4.0.2",
|
33
33
|
"@smithy/util-uri-escape": "^4.0.0",
|
34
34
|
"@smithy/util-utf8": "^4.0.0",
|
35
35
|
"tslib": "^2.6.2"
|
@@ -54,10 +54,10 @@
|
|
54
54
|
"files": [
|
55
55
|
"dist-*/**"
|
56
56
|
],
|
57
|
-
"homepage": "https://github.com/
|
57
|
+
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/signature-v4",
|
58
58
|
"repository": {
|
59
59
|
"type": "git",
|
60
|
-
"url": "https://github.com/
|
60
|
+
"url": "https://github.com/smithy-lang/smithy-typescript.git",
|
61
61
|
"directory": "packages/signature-v4"
|
62
62
|
},
|
63
63
|
"typedoc": {
|
@@ -937,12 +937,11 @@ var getChecksumConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
937
937
|
});
|
938
938
|
}
|
939
939
|
return {
|
940
|
-
_checksumAlgorithms: checksumAlgorithms,
|
941
940
|
addChecksumAlgorithm(algo) {
|
942
|
-
|
941
|
+
checksumAlgorithms.push(algo);
|
943
942
|
},
|
944
943
|
checksumAlgorithms() {
|
945
|
-
return
|
944
|
+
return checksumAlgorithms;
|
946
945
|
}
|
947
946
|
};
|
948
947
|
}, "getChecksumConfiguration");
|
@@ -956,13 +955,12 @@ var resolveChecksumRuntimeConfig = /* @__PURE__ */ __name((clientConfig) => {
|
|
956
955
|
|
957
956
|
// src/extensions/retry.ts
|
958
957
|
var getRetryConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
959
|
-
let _retryStrategy = runtimeConfig.retryStrategy;
|
960
958
|
return {
|
961
959
|
setRetryStrategy(retryStrategy) {
|
962
|
-
|
960
|
+
runtimeConfig.retryStrategy = retryStrategy;
|
963
961
|
},
|
964
962
|
retryStrategy() {
|
965
|
-
return
|
963
|
+
return runtimeConfig.retryStrategy;
|
966
964
|
}
|
967
965
|
};
|
968
966
|
}, "getRetryConfiguration");
|
@@ -974,17 +972,11 @@ var resolveRetryRuntimeConfig = /* @__PURE__ */ __name((retryStrategyConfigurati
|
|
974
972
|
|
975
973
|
// src/extensions/defaultExtensionConfiguration.ts
|
976
974
|
var getDefaultExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
977
|
-
return
|
978
|
-
...getChecksumConfiguration(runtimeConfig),
|
979
|
-
...getRetryConfiguration(runtimeConfig)
|
980
|
-
};
|
975
|
+
return Object.assign(getChecksumConfiguration(runtimeConfig), getRetryConfiguration(runtimeConfig));
|
981
976
|
}, "getDefaultExtensionConfiguration");
|
982
977
|
var getDefaultClientConfiguration = getDefaultExtensionConfiguration;
|
983
978
|
var resolveDefaultRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
984
|
-
return
|
985
|
-
...resolveChecksumRuntimeConfig(config),
|
986
|
-
...resolveRetryRuntimeConfig(config)
|
987
|
-
};
|
979
|
+
return Object.assign(resolveChecksumRuntimeConfig(config), resolveRetryRuntimeConfig(config));
|
988
980
|
}, "resolveDefaultRuntimeConfig");
|
989
981
|
|
990
982
|
// src/get-array-if-single-item.ts
|
@@ -13,12 +13,11 @@ export const getChecksumConfiguration = (runtimeConfig) => {
|
|
13
13
|
});
|
14
14
|
}
|
15
15
|
return {
|
16
|
-
_checksumAlgorithms: checksumAlgorithms,
|
17
16
|
addChecksumAlgorithm(algo) {
|
18
|
-
|
17
|
+
checksumAlgorithms.push(algo);
|
19
18
|
},
|
20
19
|
checksumAlgorithms() {
|
21
|
-
return
|
20
|
+
return checksumAlgorithms;
|
22
21
|
},
|
23
22
|
};
|
24
23
|
};
|
package/node_modules/@smithy/smithy-client/dist-es/extensions/defaultExtensionConfiguration.js
CHANGED
@@ -1,15 +1,9 @@
|
|
1
1
|
import { getChecksumConfiguration, resolveChecksumRuntimeConfig } from "./checksum";
|
2
2
|
import { getRetryConfiguration, resolveRetryRuntimeConfig } from "./retry";
|
3
3
|
export const getDefaultExtensionConfiguration = (runtimeConfig) => {
|
4
|
-
return
|
5
|
-
...getChecksumConfiguration(runtimeConfig),
|
6
|
-
...getRetryConfiguration(runtimeConfig),
|
7
|
-
};
|
4
|
+
return Object.assign(getChecksumConfiguration(runtimeConfig), getRetryConfiguration(runtimeConfig));
|
8
5
|
};
|
9
6
|
export const getDefaultClientConfiguration = getDefaultExtensionConfiguration;
|
10
7
|
export const resolveDefaultRuntimeConfig = (config) => {
|
11
|
-
return
|
12
|
-
...resolveChecksumRuntimeConfig(config),
|
13
|
-
...resolveRetryRuntimeConfig(config),
|
14
|
-
};
|
8
|
+
return Object.assign(resolveChecksumRuntimeConfig(config), resolveRetryRuntimeConfig(config));
|
15
9
|
};
|
@@ -1,11 +1,10 @@
|
|
1
1
|
export const getRetryConfiguration = (runtimeConfig) => {
|
2
|
-
let _retryStrategy = runtimeConfig.retryStrategy;
|
3
2
|
return {
|
4
3
|
setRetryStrategy(retryStrategy) {
|
5
|
-
|
4
|
+
runtimeConfig.retryStrategy = retryStrategy;
|
6
5
|
},
|
7
6
|
retryStrategy() {
|
8
|
-
return
|
7
|
+
return runtimeConfig.retryStrategy;
|
9
8
|
},
|
10
9
|
};
|
11
10
|
};
|
@@ -41,6 +41,14 @@ export type SmithyResolvedConfiguration<HandlerOptions> = {
|
|
41
41
|
export declare class Client<HandlerOptions, ClientInput extends object, ClientOutput extends MetadataBearer, ResolvedClientConfiguration extends SmithyResolvedConfiguration<HandlerOptions>> implements IClient<ClientInput, ClientOutput, ResolvedClientConfiguration> {
|
42
42
|
readonly config: ResolvedClientConfiguration;
|
43
43
|
middlewareStack: MiddlewareStack<ClientInput, ClientOutput>;
|
44
|
+
/**
|
45
|
+
* Holds an object reference to the initial configuration object.
|
46
|
+
* Used to check that the config resolver stack does not create
|
47
|
+
* dangling instances of an intermediate form of the configuration object.
|
48
|
+
*
|
49
|
+
* @internal
|
50
|
+
*/
|
51
|
+
initConfig?: object;
|
44
52
|
/**
|
45
53
|
* May be used to cache the resolved handler function for a Command class.
|
46
54
|
*/
|
@@ -15,7 +15,6 @@ export type PartialChecksumRuntimeConfigType = Partial<{
|
|
15
15
|
* @internal
|
16
16
|
*/
|
17
17
|
export declare const getChecksumConfiguration: (runtimeConfig: PartialChecksumRuntimeConfigType) => {
|
18
|
-
_checksumAlgorithms: ChecksumAlgorithm[];
|
19
18
|
addChecksumAlgorithm(algo: ChecksumAlgorithm): void;
|
20
19
|
checksumAlgorithms(): ChecksumAlgorithm[];
|
21
20
|
};
|
package/node_modules/@smithy/smithy-client/dist-types/extensions/defaultExtensionConfiguration.d.ts
CHANGED
@@ -11,11 +11,11 @@ export type DefaultExtensionRuntimeConfigType = PartialRetryRuntimeConfigType &
|
|
11
11
|
* Helper function to resolve default extension configuration from runtime config
|
12
12
|
*/
|
13
13
|
export declare const getDefaultExtensionConfiguration: (runtimeConfig: DefaultExtensionRuntimeConfigType) => {
|
14
|
-
setRetryStrategy(retryStrategy: import("@smithy/types").Provider<import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2>): void;
|
15
|
-
retryStrategy(): import("@smithy/types").Provider<import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2>;
|
16
|
-
_checksumAlgorithms: import("@smithy/types").ChecksumAlgorithm[];
|
17
14
|
addChecksumAlgorithm(algo: import("@smithy/types").ChecksumAlgorithm): void;
|
18
15
|
checksumAlgorithms(): import("@smithy/types").ChecksumAlgorithm[];
|
16
|
+
} & {
|
17
|
+
setRetryStrategy(retryStrategy: import("@smithy/types").Provider<import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2>): void;
|
18
|
+
retryStrategy(): import("@smithy/types").Provider<import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2>;
|
19
19
|
};
|
20
20
|
/**
|
21
21
|
* @deprecated use getDefaultExtensionConfiguration
|
@@ -24,11 +24,11 @@ export declare const getDefaultExtensionConfiguration: (runtimeConfig: DefaultEx
|
|
24
24
|
* Helper function to resolve default extension configuration from runtime config
|
25
25
|
*/
|
26
26
|
export declare const getDefaultClientConfiguration: (runtimeConfig: DefaultExtensionRuntimeConfigType) => {
|
27
|
-
setRetryStrategy(retryStrategy: import("@smithy/types").Provider<import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2>): void;
|
28
|
-
retryStrategy(): import("@smithy/types").Provider<import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2>;
|
29
|
-
_checksumAlgorithms: import("@smithy/types").ChecksumAlgorithm[];
|
30
27
|
addChecksumAlgorithm(algo: import("@smithy/types").ChecksumAlgorithm): void;
|
31
28
|
checksumAlgorithms(): import("@smithy/types").ChecksumAlgorithm[];
|
29
|
+
} & {
|
30
|
+
setRetryStrategy(retryStrategy: import("@smithy/types").Provider<import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2>): void;
|
31
|
+
retryStrategy(): import("@smithy/types").Provider<import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2>;
|
32
32
|
};
|
33
33
|
/**
|
34
34
|
* @internal
|
@@ -41,6 +41,14 @@ export type SmithyResolvedConfiguration<HandlerOptions> = {
|
|
41
41
|
export declare class Client<HandlerOptions, ClientInput extends object, ClientOutput extends MetadataBearer, ResolvedClientConfiguration extends SmithyResolvedConfiguration<HandlerOptions>> implements IClient<ClientInput, ClientOutput, ResolvedClientConfiguration> {
|
42
42
|
readonly config: ResolvedClientConfiguration;
|
43
43
|
middlewareStack: MiddlewareStack<ClientInput, ClientOutput>;
|
44
|
+
/**
|
45
|
+
* Holds an object reference to the initial configuration object.
|
46
|
+
* Used to check that the config resolver stack does not create
|
47
|
+
* dangling instances of an intermediate form of the configuration object.
|
48
|
+
*
|
49
|
+
* @internal
|
50
|
+
*/
|
51
|
+
initConfig?: object;
|
44
52
|
/**
|
45
53
|
* May be used to cache the resolved handler function for a Command class.
|
46
54
|
*/
|
@@ -15,7 +15,6 @@ export type PartialChecksumRuntimeConfigType = Partial<{
|
|
15
15
|
* @internal
|
16
16
|
*/
|
17
17
|
export declare const getChecksumConfiguration: (runtimeConfig: PartialChecksumRuntimeConfigType) => {
|
18
|
-
_checksumAlgorithms: ChecksumAlgorithm[];
|
19
18
|
addChecksumAlgorithm(algo: ChecksumAlgorithm): void;
|
20
19
|
checksumAlgorithms(): ChecksumAlgorithm[];
|
21
20
|
};
|
@@ -11,11 +11,11 @@ export type DefaultExtensionRuntimeConfigType = PartialRetryRuntimeConfigType &
|
|
11
11
|
* Helper function to resolve default extension configuration from runtime config
|
12
12
|
*/
|
13
13
|
export declare const getDefaultExtensionConfiguration: (runtimeConfig: DefaultExtensionRuntimeConfigType) => {
|
14
|
-
setRetryStrategy(retryStrategy: import("@smithy/types").Provider<import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2>): void;
|
15
|
-
retryStrategy(): import("@smithy/types").Provider<import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2>;
|
16
|
-
_checksumAlgorithms: import("@smithy/types").ChecksumAlgorithm[];
|
17
14
|
addChecksumAlgorithm(algo: import("@smithy/types").ChecksumAlgorithm): void;
|
18
15
|
checksumAlgorithms(): import("@smithy/types").ChecksumAlgorithm[];
|
16
|
+
} & {
|
17
|
+
setRetryStrategy(retryStrategy: import("@smithy/types").Provider<import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2>): void;
|
18
|
+
retryStrategy(): import("@smithy/types").Provider<import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2>;
|
19
19
|
};
|
20
20
|
/**
|
21
21
|
* @deprecated use getDefaultExtensionConfiguration
|
@@ -24,11 +24,11 @@ export declare const getDefaultExtensionConfiguration: (runtimeConfig: DefaultEx
|
|
24
24
|
* Helper function to resolve default extension configuration from runtime config
|
25
25
|
*/
|
26
26
|
export declare const getDefaultClientConfiguration: (runtimeConfig: DefaultExtensionRuntimeConfigType) => {
|
27
|
-
setRetryStrategy(retryStrategy: import("@smithy/types").Provider<import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2>): void;
|
28
|
-
retryStrategy(): import("@smithy/types").Provider<import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2>;
|
29
|
-
_checksumAlgorithms: import("@smithy/types").ChecksumAlgorithm[];
|
30
27
|
addChecksumAlgorithm(algo: import("@smithy/types").ChecksumAlgorithm): void;
|
31
28
|
checksumAlgorithms(): import("@smithy/types").ChecksumAlgorithm[];
|
29
|
+
} & {
|
30
|
+
setRetryStrategy(retryStrategy: import("@smithy/types").Provider<import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2>): void;
|
31
|
+
retryStrategy(): import("@smithy/types").Provider<import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2>;
|
32
32
|
};
|
33
33
|
/**
|
34
34
|
* @internal
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/smithy-client",
|
3
|
-
"version": "4.
|
3
|
+
"version": "4.2.0",
|
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,12 +24,12 @@
|
|
24
24
|
},
|
25
25
|
"license": "Apache-2.0",
|
26
26
|
"dependencies": {
|
27
|
-
"@smithy/core": "^3.
|
28
|
-
"@smithy/middleware-endpoint": "^4.0
|
29
|
-
"@smithy/middleware-stack": "^4.0.
|
30
|
-
"@smithy/protocol-http": "^5.0
|
31
|
-
"@smithy/types": "^4.
|
32
|
-
"@smithy/util-stream": "^4.
|
27
|
+
"@smithy/core": "^3.2.0",
|
28
|
+
"@smithy/middleware-endpoint": "^4.1.0",
|
29
|
+
"@smithy/middleware-stack": "^4.0.2",
|
30
|
+
"@smithy/protocol-http": "^5.1.0",
|
31
|
+
"@smithy/types": "^4.2.0",
|
32
|
+
"@smithy/util-stream": "^4.2.0",
|
33
33
|
"tslib": "^2.6.2"
|
34
34
|
},
|
35
35
|
"engines": {
|
@@ -45,10 +45,10 @@
|
|
45
45
|
"files": [
|
46
46
|
"dist-*/**"
|
47
47
|
],
|
48
|
-
"homepage": "https://github.com/
|
48
|
+
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/smithy-client",
|
49
49
|
"repository": {
|
50
50
|
"type": "git",
|
51
|
-
"url": "https://github.com/
|
51
|
+
"url": "https://github.com/smithy-lang/smithy-typescript.git",
|
52
52
|
"directory": "packages/smithy-client"
|
53
53
|
},
|
54
54
|
"devDependencies": {
|
@@ -78,12 +78,11 @@ var getChecksumConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
78
78
|
});
|
79
79
|
}
|
80
80
|
return {
|
81
|
-
_checksumAlgorithms: checksumAlgorithms,
|
82
81
|
addChecksumAlgorithm(algo) {
|
83
|
-
|
82
|
+
checksumAlgorithms.push(algo);
|
84
83
|
},
|
85
84
|
checksumAlgorithms() {
|
86
|
-
return
|
85
|
+
return checksumAlgorithms;
|
87
86
|
}
|
88
87
|
};
|
89
88
|
}, "getChecksumConfiguration");
|
@@ -97,14 +96,10 @@ var resolveChecksumRuntimeConfig = /* @__PURE__ */ __name((clientConfig) => {
|
|
97
96
|
|
98
97
|
// src/extensions/defaultClientConfiguration.ts
|
99
98
|
var getDefaultClientConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
100
|
-
return
|
101
|
-
...getChecksumConfiguration(runtimeConfig)
|
102
|
-
};
|
99
|
+
return getChecksumConfiguration(runtimeConfig);
|
103
100
|
}, "getDefaultClientConfiguration");
|
104
101
|
var resolveDefaultRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
105
|
-
return
|
106
|
-
...resolveChecksumRuntimeConfig(config)
|
107
|
-
};
|
102
|
+
return resolveChecksumRuntimeConfig(config);
|
108
103
|
}, "resolveDefaultRuntimeConfig");
|
109
104
|
|
110
105
|
// src/http.ts
|
@@ -21,12 +21,11 @@ export const getChecksumConfiguration = (runtimeConfig) => {
|
|
21
21
|
});
|
22
22
|
}
|
23
23
|
return {
|
24
|
-
_checksumAlgorithms: checksumAlgorithms,
|
25
24
|
addChecksumAlgorithm(algo) {
|
26
|
-
|
25
|
+
checksumAlgorithms.push(algo);
|
27
26
|
},
|
28
27
|
checksumAlgorithms() {
|
29
|
-
return
|
28
|
+
return checksumAlgorithms;
|
30
29
|
},
|
31
30
|
};
|
32
31
|
};
|
@@ -1,11 +1,7 @@
|
|
1
1
|
import { getChecksumConfiguration, resolveChecksumRuntimeConfig } from "./checksum";
|
2
2
|
export const getDefaultClientConfiguration = (runtimeConfig) => {
|
3
|
-
return
|
4
|
-
...getChecksumConfiguration(runtimeConfig),
|
5
|
-
};
|
3
|
+
return getChecksumConfiguration(runtimeConfig);
|
6
4
|
};
|
7
5
|
export const resolveDefaultRuntimeConfig = (config) => {
|
8
|
-
return
|
9
|
-
...resolveChecksumRuntimeConfig(config),
|
10
|
-
};
|
6
|
+
return resolveChecksumRuntimeConfig(config);
|
11
7
|
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/types",
|
3
|
-
"version": "4.
|
3
|
+
"version": "4.2.0",
|
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 types",
|
@@ -10,7 +10,7 @@
|
|
10
10
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
12
12
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
13
|
-
"format": "prettier --config ../../prettier.config.js --ignore-path
|
13
|
+
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
|
14
14
|
"test": "yarn g:tsc -p tsconfig.test.json",
|
15
15
|
"extract:docs": "api-extractor run --local"
|
16
16
|
},
|
@@ -39,10 +39,10 @@
|
|
39
39
|
"files": [
|
40
40
|
"dist-*/**"
|
41
41
|
],
|
42
|
-
"homepage": "https://github.com/
|
42
|
+
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/types",
|
43
43
|
"repository": {
|
44
44
|
"type": "git",
|
45
|
-
"url": "https://github.com/
|
45
|
+
"url": "https://github.com/smithy-lang/smithy-typescript.git",
|
46
46
|
"directory": "packages/types"
|
47
47
|
},
|
48
48
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/url-parser",
|
3
|
-
"version": "4.0.
|
3
|
+
"version": "4.0.2",
|
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 url-parser",
|
@@ -10,7 +10,7 @@
|
|
10
10
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
12
12
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
13
|
-
"format": "prettier --config ../../prettier.config.js --ignore-path
|
13
|
+
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
|
14
14
|
"test": "yarn g:vitest run",
|
15
15
|
"test:watch": "yarn g:vitest watch"
|
16
16
|
},
|
@@ -23,8 +23,8 @@
|
|
23
23
|
},
|
24
24
|
"license": "Apache-2.0",
|
25
25
|
"dependencies": {
|
26
|
-
"@smithy/querystring-parser": "^4.0.
|
27
|
-
"@smithy/types": "^4.
|
26
|
+
"@smithy/querystring-parser": "^4.0.2",
|
27
|
+
"@smithy/types": "^4.2.0",
|
28
28
|
"tslib": "^2.6.2"
|
29
29
|
},
|
30
30
|
"typesVersions": {
|
@@ -37,10 +37,10 @@
|
|
37
37
|
"files": [
|
38
38
|
"dist-*/**"
|
39
39
|
],
|
40
|
-
"homepage": "https://github.com/
|
40
|
+
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/url-parser",
|
41
41
|
"repository": {
|
42
42
|
"type": "git",
|
43
|
-
"url": "https://github.com/
|
43
|
+
"url": "https://github.com/smithy-lang/smithy-typescript.git",
|
44
44
|
"directory": "packages/url-parser"
|
45
45
|
},
|
46
46
|
"devDependencies": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-defaults-mode-browser",
|
3
|
-
"version": "4.0.
|
3
|
+
"version": "4.0.8",
|
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",
|
@@ -23,9 +23,9 @@
|
|
23
23
|
},
|
24
24
|
"license": "Apache-2.0",
|
25
25
|
"dependencies": {
|
26
|
-
"@smithy/property-provider": "^4.0.
|
27
|
-
"@smithy/smithy-client": "^4.
|
28
|
-
"@smithy/types": "^4.
|
26
|
+
"@smithy/property-provider": "^4.0.2",
|
27
|
+
"@smithy/smithy-client": "^4.2.0",
|
28
|
+
"@smithy/types": "^4.2.0",
|
29
29
|
"bowser": "^2.11.0",
|
30
30
|
"tslib": "^2.6.2"
|
31
31
|
},
|
@@ -51,10 +51,10 @@
|
|
51
51
|
],
|
52
52
|
"react-native": {},
|
53
53
|
"browser": {},
|
54
|
-
"homepage": "https://github.com/
|
54
|
+
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/util-defaults-mode-node",
|
55
55
|
"repository": {
|
56
56
|
"type": "git",
|
57
|
-
"url": "https://github.com/
|
57
|
+
"url": "https://github.com/smithy-lang/smithy-typescript.git",
|
58
58
|
"directory": "packages/util-defaults-mode-node"
|
59
59
|
},
|
60
60
|
"typedoc": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-defaults-mode-node",
|
3
|
-
"version": "4.0.
|
3
|
+
"version": "4.0.8",
|
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",
|
@@ -23,12 +23,12 @@
|
|
23
23
|
},
|
24
24
|
"license": "Apache-2.0",
|
25
25
|
"dependencies": {
|
26
|
-
"@smithy/config-resolver": "^4.0
|
27
|
-
"@smithy/credential-provider-imds": "^4.0.
|
28
|
-
"@smithy/node-config-provider": "^4.0.
|
29
|
-
"@smithy/property-provider": "^4.0.
|
30
|
-
"@smithy/smithy-client": "^4.
|
31
|
-
"@smithy/types": "^4.
|
26
|
+
"@smithy/config-resolver": "^4.1.0",
|
27
|
+
"@smithy/credential-provider-imds": "^4.0.2",
|
28
|
+
"@smithy/node-config-provider": "^4.0.2",
|
29
|
+
"@smithy/property-provider": "^4.0.2",
|
30
|
+
"@smithy/smithy-client": "^4.2.0",
|
31
|
+
"@smithy/types": "^4.2.0",
|
32
32
|
"tslib": "^2.6.2"
|
33
33
|
},
|
34
34
|
"devDependencies": {
|
@@ -51,10 +51,10 @@
|
|
51
51
|
"files": [
|
52
52
|
"dist-*/**"
|
53
53
|
],
|
54
|
-
"homepage": "https://github.com/
|
54
|
+
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/util-defaults-mode-node",
|
55
55
|
"repository": {
|
56
56
|
"type": "git",
|
57
|
-
"url": "https://github.com/
|
57
|
+
"url": "https://github.com/smithy-lang/smithy-typescript.git",
|
58
58
|
"directory": "packages/util-defaults-mode-node"
|
59
59
|
},
|
60
60
|
"typedoc": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-endpoints",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.2",
|
4
4
|
"description": "Utilities to help with endpoint resolution.",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -13,7 +13,7 @@
|
|
13
13
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
14
14
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
15
15
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
16
|
-
"format": "prettier --config ../../prettier.config.js --ignore-path
|
16
|
+
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
|
17
17
|
"test": "yarn g:vitest run",
|
18
18
|
"test:integration": "yarn g:vitest run -c vitest.config.integ.ts",
|
19
19
|
"test:watch": "yarn g:vitest watch",
|
@@ -28,8 +28,8 @@
|
|
28
28
|
},
|
29
29
|
"license": "Apache-2.0",
|
30
30
|
"dependencies": {
|
31
|
-
"@smithy/node-config-provider": "^4.0.
|
32
|
-
"@smithy/types": "^4.
|
31
|
+
"@smithy/node-config-provider": "^4.0.2",
|
32
|
+
"@smithy/types": "^4.2.0",
|
33
33
|
"tslib": "^2.6.2"
|
34
34
|
},
|
35
35
|
"devDependencies": {
|
@@ -53,10 +53,10 @@
|
|
53
53
|
"files": [
|
54
54
|
"dist-*/**"
|
55
55
|
],
|
56
|
-
"homepage": "https://github.com/
|
56
|
+
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/master/packages/util-endpoints",
|
57
57
|
"repository": {
|
58
58
|
"type": "git",
|
59
|
-
"url": "https://github.com/
|
59
|
+
"url": "https://github.com/smithy-lang/smithy-typescript.git",
|
60
60
|
"directory": "packages/util-endpoints"
|
61
61
|
},
|
62
62
|
"typedoc": {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@smithy/util-middleware",
|
3
|
-
"version": "4.0.
|
3
|
+
"version": "4.0.2",
|
4
4
|
"description": "Shared utilities for to be used in middleware packages.",
|
5
5
|
"main": "./dist-cjs/index.js",
|
6
6
|
"module": "./dist-es/index.js",
|
@@ -13,7 +13,7 @@
|
|
13
13
|
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",
|
14
14
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
15
15
|
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"",
|
16
|
-
"format": "prettier --config ../../prettier.config.js --ignore-path
|
16
|
+
"format": "prettier --config ../../prettier.config.js --ignore-path ../../.prettierignore --write \"**/*.{ts,md,json}\"",
|
17
17
|
"test": "yarn g:vitest run",
|
18
18
|
"test:watch": "yarn g:vitest watch"
|
19
19
|
},
|
@@ -27,7 +27,7 @@
|
|
27
27
|
},
|
28
28
|
"license": "Apache-2.0",
|
29
29
|
"dependencies": {
|
30
|
-
"@smithy/types": "^4.
|
30
|
+
"@smithy/types": "^4.2.0",
|
31
31
|
"tslib": "^2.6.2"
|
32
32
|
},
|
33
33
|
"devDependencies": {
|
@@ -51,10 +51,10 @@
|
|
51
51
|
"files": [
|
52
52
|
"dist-*/**"
|
53
53
|
],
|
54
|
-
"homepage": "https://github.com/
|
54
|
+
"homepage": "https://github.com/smithy-lang/smithy-typescript/tree/master/packages/util-middleware",
|
55
55
|
"repository": {
|
56
56
|
"type": "git",
|
57
|
-
"url": "https://github.com/
|
57
|
+
"url": "https://github.com/smithy-lang/smithy-typescript.git",
|
58
58
|
"directory": "packages/util-middleware"
|
59
59
|
},
|
60
60
|
"typedoc": {
|
@@ -74,5 +74,5 @@ const client = new S3Client({
|
|
74
74
|
|
75
75
|
You can implement the `RetryStrategyV2` interface.
|
76
76
|
|
77
|
-
Source: https://github.com/
|
77
|
+
Source: https://github.com/smithy-lang/smithy-typescript/blob/main/packages/types/src/retry.ts
|
78
78
|
API Docs: https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-types/Interface/RetryStrategyV2/
|