@cdk8s/awscdk-resolver 0.0.730 → 0.0.732

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.
Files changed (30) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudformation/package.json +4 -4
  5. package/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js +1 -2
  6. package/node_modules/@aws-sdk/core/dist-es/submodules/client/setFeature.js +0 -2
  7. package/node_modules/@aws-sdk/core/package.json +4 -5
  8. package/node_modules/@aws-sdk/credential-provider-env/package.json +3 -3
  9. package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
  10. package/node_modules/@aws-sdk/credential-provider-ini/package.json +10 -10
  11. package/node_modules/@aws-sdk/credential-provider-login/package.json +4 -4
  12. package/node_modules/@aws-sdk/credential-provider-node/package.json +8 -8
  13. package/node_modules/@aws-sdk/credential-provider-process/package.json +3 -3
  14. package/node_modules/@aws-sdk/credential-provider-sso/package.json +5 -5
  15. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +4 -4
  16. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +1 -1
  17. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +1 -1
  18. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +1 -1
  19. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +1 -1
  20. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +1 -1
  21. package/node_modules/@aws-sdk/nested-clients/package.json +3 -3
  22. package/node_modules/@aws-sdk/token-providers/package.json +4 -4
  23. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.browser.js +8 -8
  24. package/node_modules/@smithy/core/dist-cjs/submodules/retry/index.js +8 -8
  25. package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/StandardRetryStrategy.js +2 -2
  26. package/node_modules/@smithy/core/dist-es/submodules/retry/util-retry/retries-2026-config.js +6 -6
  27. package/node_modules/@smithy/core/dist-types/submodules/retry/util-retry/retries-2026-config.d.ts +16 -6
  28. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/retry/util-retry/retries-2026-config.d.ts +16 -6
  29. package/node_modules/@smithy/core/package.json +1 -1
  30. package/package.json +4 -4
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.1165.0"
10
+ "@aws-sdk/client-cloudformation": "^3.1166.0"
11
11
  },
12
12
  "dependencies": {
13
13
  "aws-cdk-lib": "^2.195.0",
@@ -4083,6 +4083,6 @@
4083
4083
  "symbolId": "src/resolve:AwsCdkResolver"
4084
4084
  }
4085
4085
  },
4086
- "version": "0.0.730",
4087
- "fingerprint": "p0IvR1YlRLmTzl0uSH7u60SUZaQXBKOA1kGsZu6FHps="
4086
+ "version": "0.0.732",
4087
+ "fingerprint": "7W9VUPuinhv6gVUiGlzXJC80b2vun9dw9wVVyHGXQ/E="
4088
4088
  }
package/lib/resolve.js CHANGED
@@ -39,7 +39,7 @@ const child_process_1 = require("child_process");
39
39
  const path = __importStar(require("path"));
40
40
  const aws_cdk_lib_1 = require("aws-cdk-lib");
41
41
  class AwsCdkResolver {
42
- static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.730" };
42
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.732" };
43
43
  resolve(context) {
44
44
  if (!aws_cdk_lib_1.Token.isUnresolved(context.value)) {
45
45
  return;
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1164.0";
72
+ var version = "3.1165.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudformation",
3
- "version": "3.1165.0",
3
+ "version": "3.1166.0",
4
4
  "description": "AWS SDK for JavaScript Cloudformation Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cloudformation",
6
6
  "license": "Apache-2.0",
@@ -48,10 +48,10 @@
48
48
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
49
49
  },
50
50
  "dependencies": {
51
- "@aws-sdk/core": "^3.980.2",
52
- "@aws-sdk/credential-provider-node": "^3.972.95",
51
+ "@aws-sdk/core": "^3.981.0",
52
+ "@aws-sdk/credential-provider-node": "^3.972.96",
53
53
  "@aws-sdk/types": "^3.975.1",
54
- "@smithy/core": "^3.39.0",
54
+ "@smithy/core": "^3.40.0",
55
55
  "@smithy/fetch-http-handler": "^5.8.1",
56
56
  "@smithy/node-http-handler": "^4.14.2",
57
57
  "@smithy/types": "^4.20.0",
@@ -1,7 +1,7 @@
1
- const { Retry, RETRY_MODES } = require("@smithy/core/retry");
2
1
  const { HttpRequest, parseUrl } = require("@smithy/core/protocols");
3
2
  const { InvokeStore } = require("@aws/lambda-invoke-store");
4
3
  const { normalizeProvider } = require("@smithy/core");
4
+ const { RETRY_MODES } = require("@smithy/core/retry");
5
5
  const { platform, release } = require("node:os");
6
6
  const { versions, env } = require("node:process");
7
7
  const { isValidHostLabel, isIpAddress, customEndpointFunctions } = require("@smithy/core/endpoints");
@@ -66,7 +66,6 @@ function setCredentialFeature(credentials, feature, value) {
66
66
  return credentials;
67
67
  }
68
68
 
69
- Retry.v2026 ||= typeof process === "object" && process.env?.AWS_NEW_RETRIES_2026 === "true";
70
69
  function setFeature(context, feature, value) {
71
70
  if (!context.__aws_sdk_context) {
72
71
  context.__aws_sdk_context = {
@@ -1,5 +1,3 @@
1
- import { Retry } from "@smithy/core/retry";
2
- Retry.v2026 ||= typeof process === "object" && process.env?.AWS_NEW_RETRIES_2026 === "true";
3
1
  export function setFeature(context, feature, value) {
4
2
  if (!context.__aws_sdk_context) {
5
3
  context.__aws_sdk_context = {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/core",
3
- "version": "3.980.2",
3
+ "version": "3.981.0",
4
4
  "description": "Core functions & classes shared by multiple AWS SDK clients.",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/core",
6
6
  "license": "Apache-2.0",
@@ -119,15 +119,14 @@
119
119
  "prebuild": "yarn lint",
120
120
  "test": "yarn g:vitest run",
121
121
  "test:watch": "yarn g:vitest watch",
122
- "test:integration": "yarn g:vitest run -c vitest.config.integ.mts && yarn test:temp:retry",
123
- "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts",
124
- "test:temp:retry": "SMITHY_NEW_RETRIES_2026=true node ./integ/retry.integ.spec && AWS_NEW_RETRIES_2026=true node ./integ/retry.integ.spec && node ./integ/retry.integ.spec"
122
+ "test:integration": "yarn g:vitest run -c vitest.config.integ.mts",
123
+ "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
125
124
  },
126
125
  "dependencies": {
127
126
  "@aws-sdk/types": "^3.975.1",
128
127
  "@aws-sdk/xml-builder": "^3.972.43",
129
128
  "@aws/lambda-invoke-store": "^0.3.0",
130
- "@smithy/core": "^3.39.0",
129
+ "@smithy/core": "^3.40.0",
131
130
  "@smithy/signature-v4": "^5.7.5",
132
131
  "@smithy/types": "^4.20.0",
133
132
  "bowser": "^2.11.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-env",
3
- "version": "3.972.83",
3
+ "version": "3.972.84",
4
4
  "description": "AWS credential provider that sources credentials from known environment variables",
5
5
  "keywords": [
6
6
  "aws",
@@ -43,9 +43,9 @@
43
43
  "test:watch": "yarn g:vitest watch"
44
44
  },
45
45
  "dependencies": {
46
- "@aws-sdk/core": "^3.980.2",
46
+ "@aws-sdk/core": "^3.981.0",
47
47
  "@aws-sdk/types": "^3.975.1",
48
- "@smithy/core": "^3.39.0",
48
+ "@smithy/core": "^3.40.0",
49
49
  "@smithy/types": "^4.20.0",
50
50
  "tslib": "^2.6.2"
51
51
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-http",
3
- "version": "3.972.85",
3
+ "version": "3.972.86",
4
4
  "description": "AWS credential provider for containers and HTTP sources",
5
5
  "keywords": [
6
6
  "aws",
@@ -53,9 +53,9 @@
53
53
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
54
54
  },
55
55
  "dependencies": {
56
- "@aws-sdk/core": "^3.980.2",
56
+ "@aws-sdk/core": "^3.981.0",
57
57
  "@aws-sdk/types": "^3.975.1",
58
- "@smithy/core": "^3.39.0",
58
+ "@smithy/core": "^3.40.0",
59
59
  "@smithy/fetch-http-handler": "^5.8.1",
60
60
  "@smithy/node-http-handler": "^4.14.2",
61
61
  "@smithy/types": "^4.20.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-ini",
3
- "version": "3.973.28",
3
+ "version": "3.973.29",
4
4
  "description": "AWS credential provider that sources credentials from ~/.aws/credentials and ~/.aws/config",
5
5
  "keywords": [
6
6
  "aws",
@@ -45,16 +45,16 @@
45
45
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
46
46
  },
47
47
  "dependencies": {
48
- "@aws-sdk/core": "^3.980.2",
49
- "@aws-sdk/credential-provider-env": "^3.972.83",
50
- "@aws-sdk/credential-provider-http": "^3.972.85",
51
- "@aws-sdk/credential-provider-login": "^3.972.90",
52
- "@aws-sdk/credential-provider-process": "^3.972.83",
53
- "@aws-sdk/credential-provider-sso": "^3.973.27",
54
- "@aws-sdk/credential-provider-web-identity": "^3.972.89",
55
- "@aws-sdk/nested-clients": "^3.998.2",
48
+ "@aws-sdk/core": "^3.981.0",
49
+ "@aws-sdk/credential-provider-env": "^3.972.84",
50
+ "@aws-sdk/credential-provider-http": "^3.972.86",
51
+ "@aws-sdk/credential-provider-login": "^3.972.91",
52
+ "@aws-sdk/credential-provider-process": "^3.972.84",
53
+ "@aws-sdk/credential-provider-sso": "^3.973.28",
54
+ "@aws-sdk/credential-provider-web-identity": "^3.972.90",
55
+ "@aws-sdk/nested-clients": "^3.998.3",
56
56
  "@aws-sdk/types": "^3.975.1",
57
- "@smithy/core": "^3.39.0",
57
+ "@smithy/core": "^3.40.0",
58
58
  "@smithy/credential-provider-imds": "^4.5.2",
59
59
  "@smithy/types": "^4.20.0",
60
60
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-login",
3
- "version": "3.972.90",
3
+ "version": "3.972.91",
4
4
  "description": "AWS credential provider that sources credentials from aws login cached tokens",
5
5
  "keywords": [
6
6
  "aws",
@@ -45,10 +45,10 @@
45
45
  "test:watch": "yarn g:vitest watch"
46
46
  },
47
47
  "dependencies": {
48
- "@aws-sdk/core": "^3.980.2",
49
- "@aws-sdk/nested-clients": "^3.998.2",
48
+ "@aws-sdk/core": "^3.981.0",
49
+ "@aws-sdk/nested-clients": "^3.998.3",
50
50
  "@aws-sdk/types": "^3.975.1",
51
- "@smithy/core": "^3.39.0",
51
+ "@smithy/core": "^3.40.0",
52
52
  "@smithy/types": "^4.20.0",
53
53
  "tslib": "^2.6.2"
54
54
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-node",
3
- "version": "3.972.95",
3
+ "version": "3.972.96",
4
4
  "description": "AWS credential provider that sources credentials from a Node.JS environment. ",
5
5
  "keywords": [
6
6
  "aws",
@@ -45,14 +45,14 @@
45
45
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
46
46
  },
47
47
  "dependencies": {
48
- "@aws-sdk/credential-provider-env": "^3.972.83",
49
- "@aws-sdk/credential-provider-http": "^3.972.85",
50
- "@aws-sdk/credential-provider-ini": "^3.973.28",
51
- "@aws-sdk/credential-provider-process": "^3.972.83",
52
- "@aws-sdk/credential-provider-sso": "^3.973.27",
53
- "@aws-sdk/credential-provider-web-identity": "^3.972.89",
48
+ "@aws-sdk/credential-provider-env": "^3.972.84",
49
+ "@aws-sdk/credential-provider-http": "^3.972.86",
50
+ "@aws-sdk/credential-provider-ini": "^3.973.29",
51
+ "@aws-sdk/credential-provider-process": "^3.972.84",
52
+ "@aws-sdk/credential-provider-sso": "^3.973.28",
53
+ "@aws-sdk/credential-provider-web-identity": "^3.972.90",
54
54
  "@aws-sdk/types": "^3.975.1",
55
- "@smithy/core": "^3.39.0",
55
+ "@smithy/core": "^3.40.0",
56
56
  "@smithy/credential-provider-imds": "^4.5.2",
57
57
  "@smithy/types": "^4.20.0",
58
58
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-process",
3
- "version": "3.972.83",
3
+ "version": "3.972.84",
4
4
  "description": "AWS credential provider that sources credential_process from ~/.aws/credentials and ~/.aws/config",
5
5
  "keywords": [
6
6
  "aws",
@@ -43,9 +43,9 @@
43
43
  "test:watch": "yarn g:vitest watch"
44
44
  },
45
45
  "dependencies": {
46
- "@aws-sdk/core": "^3.980.2",
46
+ "@aws-sdk/core": "^3.981.0",
47
47
  "@aws-sdk/types": "^3.975.1",
48
- "@smithy/core": "^3.39.0",
48
+ "@smithy/core": "^3.40.0",
49
49
  "@smithy/types": "^4.20.0",
50
50
  "tslib": "^2.6.2"
51
51
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-sso",
3
- "version": "3.973.27",
3
+ "version": "3.973.28",
4
4
  "description": "AWS credential provider that exchanges a resolved SSO login token file for temporary AWS credentials",
5
5
  "keywords": [
6
6
  "aws",
@@ -45,11 +45,11 @@
45
45
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
46
46
  },
47
47
  "dependencies": {
48
- "@aws-sdk/core": "^3.980.2",
49
- "@aws-sdk/nested-clients": "^3.998.2",
50
- "@aws-sdk/token-providers": "3.1165.0",
48
+ "@aws-sdk/core": "^3.981.0",
49
+ "@aws-sdk/nested-clients": "^3.998.3",
50
+ "@aws-sdk/token-providers": "3.1166.0",
51
51
  "@aws-sdk/types": "^3.975.1",
52
- "@smithy/core": "^3.39.0",
52
+ "@smithy/core": "^3.40.0",
53
53
  "@smithy/types": "^4.20.0",
54
54
  "tslib": "^2.6.2"
55
55
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-web-identity",
3
- "version": "3.972.89",
3
+ "version": "3.972.90",
4
4
  "description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",
5
5
  "keywords": [
6
6
  "aws",
@@ -50,10 +50,10 @@
50
50
  "test:watch": "yarn g:vitest watch"
51
51
  },
52
52
  "dependencies": {
53
- "@aws-sdk/core": "^3.980.2",
54
- "@aws-sdk/nested-clients": "^3.998.2",
53
+ "@aws-sdk/core": "^3.981.0",
54
+ "@aws-sdk/nested-clients": "^3.998.3",
55
55
  "@aws-sdk/types": "^3.975.1",
56
- "@smithy/core": "^3.39.0",
56
+ "@smithy/core": "^3.40.0",
57
57
  "@smithy/types": "^4.20.0",
58
58
  "tslib": "^2.6.2"
59
59
  },
@@ -83,7 +83,7 @@ const commonParams = {
83
83
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
84
84
  };
85
85
 
86
- var version = "3.998.1";
86
+ var version = "3.998.2";
87
87
  var packageInfo = {
88
88
  version: version};
89
89
 
@@ -78,7 +78,7 @@ const commonParams = {
78
78
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
79
79
  };
80
80
 
81
- var version = "3.998.1";
81
+ var version = "3.998.2";
82
82
  var packageInfo = {
83
83
  version: version};
84
84
 
@@ -78,7 +78,7 @@ const commonParams = {
78
78
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
79
79
  };
80
80
 
81
- var version = "3.998.1";
81
+ var version = "3.998.2";
82
82
  var packageInfo = {
83
83
  version: version};
84
84
 
@@ -78,7 +78,7 @@ const commonParams = {
78
78
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
79
79
  };
80
80
 
81
- var version = "3.998.1";
81
+ var version = "3.998.2";
82
82
  var packageInfo = {
83
83
  version: version};
84
84
 
@@ -258,7 +258,7 @@ const commonParams = {
258
258
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
259
259
  };
260
260
 
261
- var version = "3.998.1";
261
+ var version = "3.998.2";
262
262
  var packageInfo = {
263
263
  version: version};
264
264
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/nested-clients",
3
- "version": "3.998.2",
3
+ "version": "3.998.3",
4
4
  "description": "Nested clients for AWS SDK packages.",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients",
6
6
  "license": "Apache-2.0",
@@ -100,10 +100,10 @@
100
100
  "test:watch": "yarn g:vitest watch"
101
101
  },
102
102
  "dependencies": {
103
- "@aws-sdk/core": "^3.980.2",
103
+ "@aws-sdk/core": "^3.981.0",
104
104
  "@aws-sdk/signature-v4-multi-region": "^3.996.52",
105
105
  "@aws-sdk/types": "^3.975.1",
106
- "@smithy/core": "^3.39.0",
106
+ "@smithy/core": "^3.40.0",
107
107
  "@smithy/fetch-http-handler": "^5.8.1",
108
108
  "@smithy/node-http-handler": "^4.14.2",
109
109
  "@smithy/types": "^4.20.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.1165.0",
3
+ "version": "3.1166.0",
4
4
  "description": "A collection of token providers",
5
5
  "keywords": [
6
6
  "aws",
@@ -48,10 +48,10 @@
48
48
  "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
49
49
  },
50
50
  "dependencies": {
51
- "@aws-sdk/core": "^3.980.2",
52
- "@aws-sdk/nested-clients": "^3.998.2",
51
+ "@aws-sdk/core": "^3.981.0",
52
+ "@aws-sdk/nested-clients": "^3.998.3",
53
53
  "@aws-sdk/types": "^3.975.1",
54
- "@smithy/core": "^3.39.0",
54
+ "@smithy/core": "^3.40.0",
55
55
  "@smithy/types": "^4.20.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
@@ -399,21 +399,21 @@ class DefaultRateLimiter {
399
399
  }
400
400
 
401
401
  class Retry {
402
- static v2026 = typeof process !== "undefined" && process.env?.SMITHY_NEW_RETRIES_2026 === "true";
402
+ static v2026 = true;
403
403
  static delay() {
404
- return Retry.v2026 ? 50 : 100;
404
+ return 50;
405
405
  }
406
406
  static throttlingDelay() {
407
- return Retry.v2026 ? 1_000 : 500;
407
+ return 1_000;
408
408
  }
409
409
  static cost() {
410
- return Retry.v2026 ? 14 : 5;
410
+ return 14;
411
411
  }
412
412
  static throttlingCost() {
413
- return Retry.v2026 ? 5 : 10;
413
+ return 5;
414
414
  }
415
415
  static modifiedCostType() {
416
- return Retry.v2026 ? "THROTTLING" : "TRANSIENT";
416
+ return "THROTTLING";
417
417
  }
418
418
  }
419
419
 
@@ -494,7 +494,7 @@ let StandardRetryStrategy$1 = class StandardRetryStrategy {
494
494
  this.retryBackoffStrategy ??= new DefaultRetryBackoffStrategy();
495
495
  }
496
496
  async acquireInitialRetryToken(retryTokenScope) {
497
- return new DefaultRetryToken(Retry.delay(), 0, undefined, Retry.v2026 && retryTokenScope.includes(":longpoll"));
497
+ return new DefaultRetryToken(Retry.delay(), 0, undefined, retryTokenScope.includes(":longpoll"));
498
498
  }
499
499
  async refreshRetryTokenForRetry(token, errorInfo) {
500
500
  const maxAttempts = await this.getMaxAttempts();
@@ -510,7 +510,7 @@ let StandardRetryStrategy$1 = class StandardRetryStrategy {
510
510
  retryDelay = Math.max(delayFromErrorType, Math.min(errorInfo.retryAfterHint.getTime() - Date.now(), delayFromErrorType + 5_000));
511
511
  }
512
512
  if (!shouldRetry) {
513
- const longPollBackoff = Retry.v2026 && retryCode === refusal.capacity && isLongPoll ? retryDelay : 0;
513
+ const longPollBackoff = retryCode === refusal.capacity && isLongPoll ? retryDelay : 0;
514
514
  if (longPollBackoff > 0) {
515
515
  await new Promise((r) => setTimeout(r, longPollBackoff));
516
516
  }
@@ -401,21 +401,21 @@ class DefaultRateLimiter {
401
401
  }
402
402
 
403
403
  class Retry {
404
- static v2026 = typeof process !== "undefined" && process.env?.SMITHY_NEW_RETRIES_2026 === "true";
404
+ static v2026 = true;
405
405
  static delay() {
406
- return Retry.v2026 ? 50 : 100;
406
+ return 50;
407
407
  }
408
408
  static throttlingDelay() {
409
- return Retry.v2026 ? 1_000 : 500;
409
+ return 1_000;
410
410
  }
411
411
  static cost() {
412
- return Retry.v2026 ? 14 : 5;
412
+ return 14;
413
413
  }
414
414
  static throttlingCost() {
415
- return Retry.v2026 ? 5 : 10;
415
+ return 5;
416
416
  }
417
417
  static modifiedCostType() {
418
- return Retry.v2026 ? "THROTTLING" : "TRANSIENT";
418
+ return "THROTTLING";
419
419
  }
420
420
  }
421
421
 
@@ -496,7 +496,7 @@ let StandardRetryStrategy$1 = class StandardRetryStrategy {
496
496
  this.retryBackoffStrategy ??= new DefaultRetryBackoffStrategy();
497
497
  }
498
498
  async acquireInitialRetryToken(retryTokenScope) {
499
- return new DefaultRetryToken(Retry.delay(), 0, undefined, Retry.v2026 && retryTokenScope.includes(":longpoll"));
499
+ return new DefaultRetryToken(Retry.delay(), 0, undefined, retryTokenScope.includes(":longpoll"));
500
500
  }
501
501
  async refreshRetryTokenForRetry(token, errorInfo) {
502
502
  const maxAttempts = await this.getMaxAttempts();
@@ -512,7 +512,7 @@ let StandardRetryStrategy$1 = class StandardRetryStrategy {
512
512
  retryDelay = Math.max(delayFromErrorType, Math.min(errorInfo.retryAfterHint.getTime() - Date.now(), delayFromErrorType + 5_000));
513
513
  }
514
514
  if (!shouldRetry) {
515
- const longPollBackoff = Retry.v2026 && retryCode === refusal.capacity && isLongPoll ? retryDelay : 0;
515
+ const longPollBackoff = retryCode === refusal.capacity && isLongPoll ? retryDelay : 0;
516
516
  if (longPollBackoff > 0) {
517
517
  await new Promise((r) => setTimeout(r, longPollBackoff));
518
518
  }
@@ -31,7 +31,7 @@ export class StandardRetryStrategy {
31
31
  this.retryBackoffStrategy ??= new DefaultRetryBackoffStrategy();
32
32
  }
33
33
  async acquireInitialRetryToken(retryTokenScope) {
34
- return new DefaultRetryToken(Retry.delay(), 0, undefined, Retry.v2026 && retryTokenScope.includes(":longpoll"));
34
+ return new DefaultRetryToken(Retry.delay(), 0, undefined, retryTokenScope.includes(":longpoll"));
35
35
  }
36
36
  async refreshRetryTokenForRetry(token, errorInfo) {
37
37
  const maxAttempts = await this.getMaxAttempts();
@@ -47,7 +47,7 @@ export class StandardRetryStrategy {
47
47
  retryDelay = Math.max(delayFromErrorType, Math.min(errorInfo.retryAfterHint.getTime() - Date.now(), delayFromErrorType + 5_000));
48
48
  }
49
49
  if (!shouldRetry) {
50
- const longPollBackoff = Retry.v2026 && retryCode === refusal.capacity && isLongPoll ? retryDelay : 0;
50
+ const longPollBackoff = retryCode === refusal.capacity && isLongPoll ? retryDelay : 0;
51
51
  if (longPollBackoff > 0) {
52
52
  await new Promise((r) => setTimeout(r, longPollBackoff));
53
53
  }
@@ -1,18 +1,18 @@
1
1
  export class Retry {
2
- static v2026 = typeof process !== "undefined" && process.env?.SMITHY_NEW_RETRIES_2026 === "true";
2
+ static v2026 = true;
3
3
  static delay() {
4
- return Retry.v2026 ? 50 : 100;
4
+ return 50;
5
5
  }
6
6
  static throttlingDelay() {
7
- return Retry.v2026 ? 1_000 : 500;
7
+ return 1_000;
8
8
  }
9
9
  static cost() {
10
- return Retry.v2026 ? 14 : 5;
10
+ return 14;
11
11
  }
12
12
  static throttlingCost() {
13
- return Retry.v2026 ? 5 : 10;
13
+ return 5;
14
14
  }
15
15
  static modifiedCostType() {
16
- return Retry.v2026 ? "THROTTLING" : "TRANSIENT";
16
+ return "THROTTLING";
17
17
  }
18
18
  }
@@ -1,11 +1,21 @@
1
1
  /**
2
+ * Retry parameters used by the standard retry strategy.
3
+ *
4
+ * The public constants in `./constants` keep their earlier values, which the
5
+ * deprecated pre-SRA retry strategy still uses.
6
+ *
2
7
  * @internal
3
8
  */
4
9
  export declare abstract class Retry {
5
- static v2026: boolean;
6
- static delay(): 50 | 100;
7
- static throttlingDelay(): 500 | 1000;
8
- static cost(): 5 | 14;
9
- static throttlingCost(): 5 | 10;
10
- static modifiedCostType(): "THROTTLING" | "TRANSIENT";
10
+ /**
11
+ * Always true. Kept because previously published packages read this flag.
12
+ *
13
+ * @deprecated the 2026 retry behavior is always enabled. May be removed in a future major version.
14
+ */
15
+ static readonly v2026 = true;
16
+ static delay(): number;
17
+ static throttlingDelay(): number;
18
+ static cost(): number;
19
+ static throttlingCost(): number;
20
+ static modifiedCostType(): "THROTTLING";
11
21
  }
@@ -1,11 +1,21 @@
1
1
  /**
2
+ * Retry parameters used by the standard retry strategy.
3
+ *
4
+ * The public constants in `./constants` keep their earlier values, which the
5
+ * deprecated pre-SRA retry strategy still uses.
6
+ *
2
7
  * @internal
3
8
  */
4
9
  export declare abstract class Retry {
5
- static v2026: boolean;
6
- static delay(): 50 | 100;
7
- static throttlingDelay(): 500 | 1000;
8
- static cost(): 5 | 14;
9
- static throttlingCost(): 5 | 10;
10
- static modifiedCostType(): "THROTTLING" | "TRANSIENT";
10
+ /**
11
+ * Always true. Kept because previously published packages read this flag.
12
+ *
13
+ * @deprecated the 2026 retry behavior is always enabled. May be removed in a future major version.
14
+ */
15
+ static readonly v2026 = true;
16
+ static delay(): number;
17
+ static throttlingDelay(): number;
18
+ static cost(): number;
19
+ static throttlingCost(): number;
20
+ static modifiedCostType(): "THROTTLING";
11
21
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/core",
3
- "version": "3.39.0",
3
+ "version": "3.40.0",
4
4
  "homepage": "https://github.com/smithy-lang/smithy-typescript/tree/main/packages/core",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
package/package.json CHANGED
@@ -43,7 +43,7 @@
43
43
  "organization": false
44
44
  },
45
45
  "devDependencies": {
46
- "@cdk8s/projen-common": "0.1.45",
46
+ "@cdk8s/projen-common": "0.1.46",
47
47
  "@stylistic/eslint-plugin": "^2",
48
48
  "@types/fs-extra": "^11.0.4",
49
49
  "@types/jest": "^27",
@@ -53,7 +53,7 @@
53
53
  "aws-cdk": "^2.1148.0",
54
54
  "aws-cdk-lib": "2.195.0",
55
55
  "cdk8s": "2.68.91",
56
- "cdk8s-cli": "^2.207.79",
56
+ "cdk8s-cli": "^2.207.80",
57
57
  "commit-and-tag-version": "^13",
58
58
  "constructs": "10.3.0",
59
59
  "eslint": "^9",
@@ -78,7 +78,7 @@
78
78
  "constructs": "^10.3.0"
79
79
  },
80
80
  "dependencies": {
81
- "@aws-sdk/client-cloudformation": "^3.1165.0"
81
+ "@aws-sdk/client-cloudformation": "^3.1166.0"
82
82
  },
83
83
  "bundledDependencies": [
84
84
  "@aws-sdk/client-cloudformation"
@@ -92,7 +92,7 @@
92
92
  "publishConfig": {
93
93
  "access": "public"
94
94
  },
95
- "version": "0.0.730",
95
+ "version": "0.0.732",
96
96
  "jest": {
97
97
  "coverageProvider": "v8",
98
98
  "testMatch": [