@aws-sdk/core 3.974.18 → 3.974.20

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-es/index.js CHANGED
@@ -1,3 +1,3 @@
1
- export { emitWarningIfUnsupportedVersion, getLongPollPlugin, setCredentialFeature, setFeature, setTokenFeature, state, } from "./submodules/client/index";
2
- export { AwsSdkSigV4ASigner, AwsSdkSigV4Signer, AwsSdkSigV4Signer as AWSSDKSigV4Signer, getBearerTokenEnvKey, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, NODE_SIGV4A_CONFIG_OPTIONS, resolveAwsSdkSigV4AConfig, resolveAwsSdkSigV4Config, resolveAwsSdkSigV4Config as resolveAWSSDKSigV4Config, validateSigningProperties, } from "./submodules/httpAuthSchemes/index";
3
- export { _toBool, _toNum, _toStr, awsExpectUnion, AwsEc2QueryProtocol, AwsJson1_0Protocol, AwsJson1_1Protocol, AwsJsonRpcProtocol, AwsQueryProtocol, AwsRestJsonProtocol, AwsRestXmlProtocol, AwsSmithyRpcV2CborProtocol, JsonCodec, JsonShapeDeserializer, JsonShapeSerializer, loadJsonRpcErrorCode, loadRestJsonErrorCode, loadRestXmlErrorCode, parseJsonBody, parseJsonErrorBody, parseXmlBody, parseXmlErrorBody, QueryShapeSerializer, XmlCodec, XmlShapeDeserializer, XmlShapeSerializer, } from "./submodules/protocols/index";
1
+ export { emitWarningIfUnsupportedVersion, getLongPollPlugin, setCredentialFeature, setFeature, setTokenFeature, state, } from "@aws-sdk/core/client";
2
+ export { AwsSdkSigV4ASigner, AwsSdkSigV4Signer, AwsSdkSigV4Signer as AWSSDKSigV4Signer, getBearerTokenEnvKey, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, NODE_SIGV4A_CONFIG_OPTIONS, resolveAwsSdkSigV4AConfig, resolveAwsSdkSigV4Config, resolveAwsSdkSigV4Config as resolveAWSSDKSigV4Config, validateSigningProperties, } from "@aws-sdk/core/httpAuthSchemes";
3
+ export { _toBool, _toNum, _toStr, awsExpectUnion, AwsEc2QueryProtocol, AwsJson1_0Protocol, AwsJson1_1Protocol, AwsJsonRpcProtocol, AwsQueryProtocol, AwsRestJsonProtocol, AwsRestXmlProtocol, AwsSmithyRpcV2CborProtocol, JsonCodec, JsonShapeDeserializer, JsonShapeSerializer, loadJsonRpcErrorCode, loadRestJsonErrorCode, loadRestXmlErrorCode, parseJsonBody, parseJsonErrorBody, parseXmlBody, parseXmlErrorBody, QueryShapeSerializer, XmlCodec, XmlShapeDeserializer, XmlShapeSerializer, } from "@aws-sdk/core/protocols";
@@ -10,11 +10,11 @@
10
10
  *
11
11
  * No additional exports are allowed.
12
12
  */
13
- export { emitWarningIfUnsupportedVersion, getLongPollPlugin, setCredentialFeature, setFeature, setTokenFeature, state, } from "./submodules/client/index";
14
- export { AwsSdkSigV4ASigner, AwsSdkSigV4Signer, AwsSdkSigV4Signer as AWSSDKSigV4Signer, getBearerTokenEnvKey, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, NODE_SIGV4A_CONFIG_OPTIONS, resolveAwsSdkSigV4AConfig, resolveAwsSdkSigV4Config, resolveAwsSdkSigV4Config as resolveAWSSDKSigV4Config, validateSigningProperties, } from "./submodules/httpAuthSchemes/index";
15
- export type { AwsSdkSigV4AAuthInputConfig, AwsSdkSigV4AAuthResolvedConfig, AwsSdkSigV4AAuthResolvedConfig as AwsSdkSigV4APreviouslyResolved, AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthInputConfig as AWSSDKSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4AuthResolvedConfig as AWSSDKSigV4AuthResolvedConfig, AwsSdkSigV4Memoized, AwsSdkSigV4AuthResolvedConfig as AwsSdkSigV4PreviouslyResolved, AwsSdkSigV4AuthResolvedConfig as AWSSDKSigV4PreviouslyResolved, } from "./submodules/httpAuthSchemes/index";
16
- export { _toBool, _toNum, _toStr, awsExpectUnion, AwsEc2QueryProtocol, AwsJson1_0Protocol, AwsJson1_1Protocol, AwsJsonRpcProtocol, AwsQueryProtocol, AwsRestJsonProtocol, AwsRestXmlProtocol, AwsSmithyRpcV2CborProtocol, JsonCodec, JsonShapeDeserializer, JsonShapeSerializer, loadJsonRpcErrorCode, loadRestJsonErrorCode, loadRestXmlErrorCode, parseJsonBody, parseJsonErrorBody, parseXmlBody, parseXmlErrorBody, QueryShapeSerializer, XmlCodec, XmlShapeDeserializer, XmlShapeSerializer, } from "./submodules/protocols/index";
17
- export type { JsonSettings, QuerySerializerSettings, XmlSettings } from "./submodules/protocols/index";
13
+ export { emitWarningIfUnsupportedVersion, getLongPollPlugin, setCredentialFeature, setFeature, setTokenFeature, state, } from "@aws-sdk/core/client";
14
+ export { AwsSdkSigV4ASigner, AwsSdkSigV4Signer, AwsSdkSigV4Signer as AWSSDKSigV4Signer, getBearerTokenEnvKey, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, NODE_SIGV4A_CONFIG_OPTIONS, resolveAwsSdkSigV4AConfig, resolveAwsSdkSigV4Config, resolveAwsSdkSigV4Config as resolveAWSSDKSigV4Config, validateSigningProperties, } from "@aws-sdk/core/httpAuthSchemes";
15
+ export type { AwsSdkSigV4AAuthInputConfig, AwsSdkSigV4AAuthResolvedConfig, AwsSdkSigV4AAuthResolvedConfig as AwsSdkSigV4APreviouslyResolved, AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthInputConfig as AWSSDKSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4AuthResolvedConfig as AWSSDKSigV4AuthResolvedConfig, AwsSdkSigV4Memoized, AwsSdkSigV4AuthResolvedConfig as AwsSdkSigV4PreviouslyResolved, AwsSdkSigV4AuthResolvedConfig as AWSSDKSigV4PreviouslyResolved, } from "@aws-sdk/core/httpAuthSchemes";
16
+ export { _toBool, _toNum, _toStr, awsExpectUnion, AwsEc2QueryProtocol, AwsJson1_0Protocol, AwsJson1_1Protocol, AwsJsonRpcProtocol, AwsQueryProtocol, AwsRestJsonProtocol, AwsRestXmlProtocol, AwsSmithyRpcV2CborProtocol, JsonCodec, JsonShapeDeserializer, JsonShapeSerializer, loadJsonRpcErrorCode, loadRestJsonErrorCode, loadRestXmlErrorCode, parseJsonBody, parseJsonErrorBody, parseXmlBody, parseXmlErrorBody, QueryShapeSerializer, XmlCodec, XmlShapeDeserializer, XmlShapeSerializer, } from "@aws-sdk/core/protocols";
17
+ export type { JsonSettings, QuerySerializerSettings, XmlSettings } from "@aws-sdk/core/protocols";
18
18
  /**
19
19
  * WARNING: do not export any additional submodules from the root of this package. See readme.md for
20
20
  * guide on developing submodules.
@@ -5,7 +5,7 @@ export {
5
5
  setFeature,
6
6
  setTokenFeature,
7
7
  state,
8
- } from "./submodules/client/index";
8
+ } from "@aws-sdk/core/client";
9
9
  export {
10
10
  AwsSdkSigV4ASigner,
11
11
  AwsSdkSigV4Signer,
@@ -17,7 +17,7 @@ export {
17
17
  resolveAwsSdkSigV4Config,
18
18
  resolveAwsSdkSigV4Config as resolveAWSSDKSigV4Config,
19
19
  validateSigningProperties,
20
- } from "./submodules/httpAuthSchemes/index";
20
+ } from "@aws-sdk/core/httpAuthSchemes";
21
21
  export {
22
22
  AwsSdkSigV4AAuthInputConfig,
23
23
  AwsSdkSigV4AAuthResolvedConfig,
@@ -29,7 +29,7 @@ export {
29
29
  AwsSdkSigV4Memoized,
30
30
  AwsSdkSigV4AuthResolvedConfig as AwsSdkSigV4PreviouslyResolved,
31
31
  AwsSdkSigV4AuthResolvedConfig as AWSSDKSigV4PreviouslyResolved,
32
- } from "./submodules/httpAuthSchemes/index";
32
+ } from "@aws-sdk/core/httpAuthSchemes";
33
33
  export {
34
34
  _toBool,
35
35
  _toNum,
@@ -57,9 +57,9 @@ export {
57
57
  XmlCodec,
58
58
  XmlShapeDeserializer,
59
59
  XmlShapeSerializer,
60
- } from "./submodules/protocols/index";
60
+ } from "@aws-sdk/core/protocols";
61
61
  export {
62
62
  JsonSettings,
63
63
  QuerySerializerSettings,
64
64
  XmlSettings,
65
- } from "./submodules/protocols/index";
65
+ } from "@aws-sdk/core/protocols";
package/package.json CHANGED
@@ -1,23 +1,23 @@
1
1
  {
2
2
  "name": "@aws-sdk/core",
3
- "version": "3.974.18",
3
+ "version": "3.974.20",
4
4
  "description": "Core functions & classes shared by multiple AWS SDK clients.",
5
5
  "scripts": {
6
6
  "build": "yarn prebuild && yarn lint && concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
- "prebuild": "node -e \"const j=require('../util-endpoints/src/lib/aws/partitions.json');require('fs').writeFileSync('src/submodules/client/util-endpoints/lib/aws/partitions.ts','export const partitionsInfo = '+JSON.stringify(j)+';\\n')\"",
8
- "build:cjs": "node ../../scripts/compilation/inline core && premove ./dist-cjs/api-extractor-type-index.js",
7
+ "build:cjs": "node ../../scripts/compilation/inline && premove ./dist-cjs/api-extractor-type-index.js",
9
8
  "build:es": "tsc -p tsconfig.es.json && premove ./dist-es/api-extractor-type-index.js",
10
9
  "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
11
10
  "build:types": "premove dist-types tsconfig.types.tsbuildinfo && tsc -p tsconfig.types.json",
12
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
13
- "lint": "node ../../scripts/validation/submodules-linter.js --pkg core",
14
12
  "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
15
13
  "extract:docs": "api-extractor run --local",
16
- "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",
14
+ "lint": "node ../../scripts/validation/submodules-linter.js",
15
+ "prebuild": "node scripts/copy-partitions.js",
17
16
  "test": "yarn g:vitest run",
18
17
  "test:watch": "yarn g:vitest watch",
19
18
  "test:integration": "yarn g:vitest run -c vitest.config.integ.mts && yarn test:temp:retry",
20
- "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts"
19
+ "test:integration:watch": "yarn g:vitest watch -c vitest.config.integ.mts",
20
+ "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"
21
21
  },
22
22
  "main": "./dist-cjs/index.js",
23
23
  "module": "./dist-es/index.js",
@@ -110,8 +110,8 @@
110
110
  },
111
111
  "license": "Apache-2.0",
112
112
  "dependencies": {
113
- "@aws-sdk/types": "^3.973.11",
114
- "@aws-sdk/xml-builder": "^3.972.28",
113
+ "@aws-sdk/types": "^3.973.12",
114
+ "@aws-sdk/xml-builder": "^3.972.29",
115
115
  "@aws/lambda-invoke-store": "^0.2.2",
116
116
  "@smithy/core": "^3.24.6",
117
117
  "@smithy/signature-v4": "^5.4.6",