@aws-sdk/core 3.974.2 → 3.974.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var utilRetry = require('@smithy/util-retry');
|
|
3
4
|
var protocolHttp = require('@smithy/protocol-http');
|
|
4
5
|
var core = require('@smithy/core');
|
|
5
6
|
var propertyProvider = require('@smithy/property-provider');
|
|
@@ -54,6 +55,7 @@ function setCredentialFeature(credentials, feature, value) {
|
|
|
54
55
|
return credentials;
|
|
55
56
|
}
|
|
56
57
|
|
|
58
|
+
utilRetry.Retry.v2026 ||= typeof process === "object" && process.env?.AWS_NEW_RETRIES_2026 === "true";
|
|
57
59
|
function setFeature(context, feature, value) {
|
|
58
60
|
if (!context.__aws_sdk_context) {
|
|
59
61
|
context.__aws_sdk_context = {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var utilRetry = require('@smithy/util-retry');
|
|
4
|
+
|
|
3
5
|
const state = {
|
|
4
6
|
warningEmitted: false,
|
|
5
7
|
};
|
|
@@ -40,6 +42,7 @@ function setCredentialFeature(credentials, feature, value) {
|
|
|
40
42
|
return credentials;
|
|
41
43
|
}
|
|
42
44
|
|
|
45
|
+
utilRetry.Retry.v2026 ||= typeof process === "object" && process.env?.AWS_NEW_RETRIES_2026 === "true";
|
|
43
46
|
function setFeature(context, feature, value) {
|
|
44
47
|
if (!context.__aws_sdk_context) {
|
|
45
48
|
context.__aws_sdk_context = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { AwsHandlerExecutionContext, AwsSdkFeatures } from "@aws-sdk/types";
|
|
2
2
|
/**
|
|
3
|
-
* @internal
|
|
4
3
|
* Indicates to the request context that a given feature is active.
|
|
4
|
+
* @internal
|
|
5
5
|
*
|
|
6
6
|
* @param context - handler execution context.
|
|
7
7
|
* @param feature - readable name of feature.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/core",
|
|
3
|
-
"version": "3.974.
|
|
3
|
+
"version": "3.974.3",
|
|
4
4
|
"description": "Core functions & classes shared by multiple AWS SDK clients.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn lint && concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
@@ -12,9 +12,10 @@
|
|
|
12
12
|
"lint": "node ../../scripts/validation/submodules-linter.js --pkg core",
|
|
13
13
|
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
14
14
|
"extract:docs": "api-extractor run --local",
|
|
15
|
+
"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",
|
|
15
16
|
"test": "yarn g:vitest run",
|
|
16
17
|
"test:watch": "yarn g:vitest watch",
|
|
17
|
-
"test:integration": "yarn g:vitest run -c vitest.config.integ.mts",
|
|
18
|
+
"test:integration": "yarn g:vitest run -c vitest.config.integ.mts && yarn test:temp:retry",
|
|
18
19
|
"test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
|
|
19
20
|
},
|
|
20
21
|
"main": "./dist-cjs/index.js",
|
|
@@ -83,15 +84,16 @@
|
|
|
83
84
|
"dependencies": {
|
|
84
85
|
"@aws-sdk/types": "^3.973.8",
|
|
85
86
|
"@aws-sdk/xml-builder": "^3.972.18",
|
|
86
|
-
"@smithy/core": "^3.23.
|
|
87
|
+
"@smithy/core": "^3.23.16",
|
|
87
88
|
"@smithy/node-config-provider": "^4.3.14",
|
|
88
89
|
"@smithy/property-provider": "^4.2.14",
|
|
89
90
|
"@smithy/protocol-http": "^5.3.14",
|
|
90
91
|
"@smithy/signature-v4": "^5.3.14",
|
|
91
|
-
"@smithy/smithy-client": "^4.12.
|
|
92
|
+
"@smithy/smithy-client": "^4.12.12",
|
|
92
93
|
"@smithy/types": "^4.14.1",
|
|
93
94
|
"@smithy/util-base64": "^4.3.2",
|
|
94
95
|
"@smithy/util-middleware": "^4.2.14",
|
|
96
|
+
"@smithy/util-retry": "^4.3.3",
|
|
95
97
|
"@smithy/util-utf8": "^4.2.2",
|
|
96
98
|
"tslib": "^2.6.2"
|
|
97
99
|
},
|