@aws-sdk/config 3.1068.0 → 3.1070.0

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,2 +1 @@
1
- 'use strict';
2
1
 
@@ -1,16 +1,2 @@
1
- 'use strict';
2
-
3
- var credentialProviders = require('@aws-sdk/credential-providers');
4
-
5
-
6
-
7
- Object.prototype.hasOwnProperty.call(credentialProviders, '__proto__') &&
8
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
9
- Object.defineProperty(exports, '__proto__', {
10
- enumerable: true,
11
- value: credentialProviders['__proto__']
12
- });
13
-
14
- Object.keys(credentialProviders).forEach(function (k) {
15
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = credentialProviders[k];
16
- });
1
+ var __exportStar = (m, e) => { Object.assign(e, m); };
2
+ __exportStar(require("@aws-sdk/credential-providers"), exports);
@@ -1,6 +1,5 @@
1
- 'use strict';
2
-
3
- var client = require('@smithy/core/client');
1
+ const { NoOpLogger } = require("@smithy/core/client");
2
+ exports.NoOpLogger = NoOpLogger;
4
3
 
5
4
  class LogLevel {
6
5
  minimum;
@@ -33,5 +32,4 @@ class LogLevel {
33
32
  }
34
33
  }
35
34
 
36
- exports.NoOpLogger = client.NoOpLogger;
37
35
  exports.LogLevel = LogLevel;
@@ -1,17 +1,12 @@
1
- 'use strict';
2
-
3
- var protocols = require('@aws-sdk/core/protocols');
4
- var protocols$1 = require('@smithy/core/protocols');
5
-
6
-
7
-
8
- exports.AwsJson1_0Protocol = protocols.AwsJson1_0Protocol;
9
- exports.AwsJson1_1Protocol = protocols.AwsJson1_1Protocol;
10
- exports.AwsJsonRpcProtocol = protocols.AwsJsonRpcProtocol;
11
- exports.AwsQueryProtocol = protocols.AwsQueryProtocol;
12
- exports.AwsRestJsonProtocol = protocols.AwsRestJsonProtocol;
13
- exports.AwsRestXmlProtocol = protocols.AwsRestXmlProtocol;
14
- exports.AwsSmithyRpcV2CborProtocol = protocols.AwsSmithyRpcV2CborProtocol;
15
- exports.HttpBindingProtocol = protocols$1.HttpBindingProtocol;
16
- exports.HttpProtocol = protocols$1.HttpProtocol;
17
- exports.RpcProtocol = protocols$1.RpcProtocol;
1
+ const { AwsJson1_0Protocol, AwsJson1_1Protocol, AwsJsonRpcProtocol, AwsQueryProtocol, AwsRestJsonProtocol, AwsRestXmlProtocol, AwsSmithyRpcV2CborProtocol } = require("@aws-sdk/core/protocols");
2
+ exports.AwsJson1_0Protocol = AwsJson1_0Protocol;
3
+ exports.AwsJson1_1Protocol = AwsJson1_1Protocol;
4
+ exports.AwsJsonRpcProtocol = AwsJsonRpcProtocol;
5
+ exports.AwsQueryProtocol = AwsQueryProtocol;
6
+ exports.AwsRestJsonProtocol = AwsRestJsonProtocol;
7
+ exports.AwsRestXmlProtocol = AwsRestXmlProtocol;
8
+ exports.AwsSmithyRpcV2CborProtocol = AwsSmithyRpcV2CborProtocol;
9
+ const { HttpBindingProtocol, HttpProtocol, RpcProtocol } = require("@smithy/core/protocols");
10
+ exports.HttpBindingProtocol = HttpBindingProtocol;
11
+ exports.HttpProtocol = HttpProtocol;
12
+ exports.RpcProtocol = RpcProtocol;
@@ -1,13 +1,8 @@
1
- 'use strict';
2
-
3
- var protocols = require('@smithy/core/protocols');
4
- var fetchHttpHandler = require('@smithy/fetch-http-handler');
5
- var nodeHttpHandler = require('@smithy/node-http-handler');
6
-
7
-
8
-
9
- exports.HttpRequest = protocols.HttpRequest;
10
- exports.HttpResponse = protocols.HttpResponse;
11
- exports.FetchHttpHandler = fetchHttpHandler.FetchHttpHandler;
12
- exports.NodeHttp2Handler = nodeHttpHandler.NodeHttp2Handler;
13
- exports.NodeHttpHandler = nodeHttpHandler.NodeHttpHandler;
1
+ const { HttpRequest, HttpResponse } = require("@smithy/core/protocols");
2
+ exports.HttpRequest = HttpRequest;
3
+ exports.HttpResponse = HttpResponse;
4
+ const { FetchHttpHandler } = require("@smithy/fetch-http-handler");
5
+ exports.FetchHttpHandler = FetchHttpHandler;
6
+ const { NodeHttp2Handler, NodeHttpHandler } = require("@smithy/node-http-handler");
7
+ exports.NodeHttp2Handler = NodeHttp2Handler;
8
+ exports.NodeHttpHandler = NodeHttpHandler;
@@ -1,13 +1,8 @@
1
- 'use strict';
2
-
3
- var retry = require('@smithy/core/retry');
4
-
5
-
6
-
7
- exports.AdaptiveRetryStrategy = retry.AdaptiveRetryStrategy;
8
- exports.ConfiguredRetryStrategy = retry.ConfiguredRetryStrategy;
9
- exports.DEFAULT_MAX_ATTEMPTS = retry.DEFAULT_MAX_ATTEMPTS;
10
- exports.DEFAULT_RETRY_MODE = retry.DEFAULT_RETRY_MODE;
11
- exports.DefaultRateLimiter = retry.DefaultRateLimiter;
12
- exports.RETRY_MODES = retry.RETRY_MODES;
13
- exports.StandardRetryStrategy = retry.StandardRetryStrategy;
1
+ const { AdaptiveRetryStrategy, ConfiguredRetryStrategy, DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE, DefaultRateLimiter, RETRY_MODES, StandardRetryStrategy } = require("@smithy/core/retry");
2
+ exports.AdaptiveRetryStrategy = AdaptiveRetryStrategy;
3
+ exports.ConfiguredRetryStrategy = ConfiguredRetryStrategy;
4
+ exports.DEFAULT_MAX_ATTEMPTS = DEFAULT_MAX_ATTEMPTS;
5
+ exports.DEFAULT_RETRY_MODE = DEFAULT_RETRY_MODE;
6
+ exports.DefaultRateLimiter = DefaultRateLimiter;
7
+ exports.RETRY_MODES = RETRY_MODES;
8
+ exports.StandardRetryStrategy = StandardRetryStrategy;
@@ -1,8 +1,3 @@
1
- 'use strict';
2
-
3
- var typecheck = require('@smithy/typecheck');
4
-
5
-
6
-
7
- exports.getRuntimeTypecheckPlugin = typecheck.getRuntimeTypecheckPlugin;
8
- exports.validateSchema = typecheck.validateSchema;
1
+ const { getRuntimeTypecheckPlugin, validateSchema } = require("@smithy/typecheck");
2
+ exports.getRuntimeTypecheckPlugin = getRuntimeTypecheckPlugin;
3
+ exports.validateSchema = validateSchema;
package/package.json CHANGED
@@ -1,17 +1,18 @@
1
1
  {
2
2
  "name": "@aws-sdk/config",
3
- "version": "3.1068.0",
3
+ "version": "3.1070.0",
4
4
  "description": "Injectable dependencies, extensions, and other plugins for AWS SDK clients.",
5
5
  "scripts": {
6
- "build": "yarn lint && concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
+ "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline && premove ./dist-cjs/api-extractor-type-index.js",
8
- "build:es": "tsc -p tsconfig.es.json && premove ./dist-es/api-extractor-type-index.js",
8
+ "build:es": "premove dist-es && tsc -p tsconfig.es.json && premove ./dist-es/api-extractor-type-index.js",
9
9
  "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
10
- "build:types": "tsc -p tsconfig.types.json",
10
+ "build:types": "premove dist-types && tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
12
+ "clean": "premove dist-cjs dist-es dist-types",
13
13
  "extract:docs": "api-extractor run --local",
14
14
  "lint": "node ../../scripts/validation/submodules-linter.js",
15
+ "prebuild": "yarn lint",
15
16
  "test": "yarn g:vitest run",
16
17
  "test:watch": "yarn g:vitest watch",
17
18
  "test:integration": "yarn g:vitest run -c vitest.config.integ.mts",
@@ -86,9 +87,9 @@
86
87
  },
87
88
  "license": "Apache-2.0",
88
89
  "dependencies": {
89
- "@aws-sdk/core": "^3.974.20",
90
- "@aws-sdk/credential-providers": "3.1068.0",
91
- "@aws-sdk/types": "^3.973.12",
90
+ "@aws-sdk/core": "^3.974.21",
91
+ "@aws-sdk/credential-providers": "3.1070.0",
92
+ "@aws-sdk/types": "^3.973.13",
92
93
  "@smithy/core": "^3.24.6",
93
94
  "@smithy/fetch-http-handler": "^5.4.6",
94
95
  "@smithy/node-http-handler": "^4.7.6",