@aws-sdk/config 3.995.0 → 3.997.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.
@@ -4,9 +4,13 @@ var credentialProviders = require('@aws-sdk/credential-providers');
4
4
 
5
5
 
6
6
 
7
- Object.keys(credentialProviders).forEach(function (k) {
8
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
7
+ Object.prototype.hasOwnProperty.call(credentialProviders, '__proto__') &&
8
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
9
+ Object.defineProperty(exports, '__proto__', {
9
10
  enumerable: true,
10
- get: function () { return credentialProviders[k]; }
11
+ value: credentialProviders['__proto__']
11
12
  });
13
+
14
+ Object.keys(credentialProviders).forEach(function (k) {
15
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = credentialProviders[k];
12
16
  });
@@ -33,8 +33,5 @@ class LogLevel {
33
33
  }
34
34
  }
35
35
 
36
- Object.defineProperty(exports, "NoOpLogger", {
37
- enumerable: true,
38
- get: function () { return smithyClient.NoOpLogger; }
39
- });
36
+ exports.NoOpLogger = smithyClient.NoOpLogger;
40
37
  exports.LogLevel = LogLevel;
@@ -5,43 +5,13 @@ var protocols$1 = require('@smithy/core/protocols');
5
5
 
6
6
 
7
7
 
8
- Object.defineProperty(exports, "AwsJson1_0Protocol", {
9
- enumerable: true,
10
- get: function () { return protocols.AwsJson1_0Protocol; }
11
- });
12
- Object.defineProperty(exports, "AwsJson1_1Protocol", {
13
- enumerable: true,
14
- get: function () { return protocols.AwsJson1_1Protocol; }
15
- });
16
- Object.defineProperty(exports, "AwsJsonRpcProtocol", {
17
- enumerable: true,
18
- get: function () { return protocols.AwsJsonRpcProtocol; }
19
- });
20
- Object.defineProperty(exports, "AwsQueryProtocol", {
21
- enumerable: true,
22
- get: function () { return protocols.AwsQueryProtocol; }
23
- });
24
- Object.defineProperty(exports, "AwsRestJsonProtocol", {
25
- enumerable: true,
26
- get: function () { return protocols.AwsRestJsonProtocol; }
27
- });
28
- Object.defineProperty(exports, "AwsRestXmlProtocol", {
29
- enumerable: true,
30
- get: function () { return protocols.AwsRestXmlProtocol; }
31
- });
32
- Object.defineProperty(exports, "AwsSmithyRpcV2CborProtocol", {
33
- enumerable: true,
34
- get: function () { return protocols.AwsSmithyRpcV2CborProtocol; }
35
- });
36
- Object.defineProperty(exports, "HttpBindingProtocol", {
37
- enumerable: true,
38
- get: function () { return protocols$1.HttpBindingProtocol; }
39
- });
40
- Object.defineProperty(exports, "HttpProtocol", {
41
- enumerable: true,
42
- get: function () { return protocols$1.HttpProtocol; }
43
- });
44
- Object.defineProperty(exports, "RpcProtocol", {
45
- enumerable: true,
46
- get: function () { return protocols$1.RpcProtocol; }
47
- });
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;
@@ -6,19 +6,7 @@ var protocolHttp = require('@smithy/protocol-http');
6
6
 
7
7
 
8
8
 
9
- Object.defineProperty(exports, "FetchHttpHandler", {
10
- enumerable: true,
11
- get: function () { return fetchHttpHandler.FetchHttpHandler; }
12
- });
13
- Object.defineProperty(exports, "NodeHttpHandler", {
14
- enumerable: true,
15
- get: function () { return nodeHttpHandler.NodeHttpHandler; }
16
- });
17
- Object.defineProperty(exports, "HttpRequest", {
18
- enumerable: true,
19
- get: function () { return protocolHttp.HttpRequest; }
20
- });
21
- Object.defineProperty(exports, "HttpResponse", {
22
- enumerable: true,
23
- get: function () { return protocolHttp.HttpResponse; }
24
- });
9
+ exports.FetchHttpHandler = fetchHttpHandler.FetchHttpHandler;
10
+ exports.NodeHttpHandler = nodeHttpHandler.NodeHttpHandler;
11
+ exports.HttpRequest = protocolHttp.HttpRequest;
12
+ exports.HttpResponse = protocolHttp.HttpResponse;
@@ -4,31 +4,10 @@ var utilRetry = require('@smithy/util-retry');
4
4
 
5
5
 
6
6
 
7
- Object.defineProperty(exports, "AdaptiveRetryStrategy", {
8
- enumerable: true,
9
- get: function () { return utilRetry.AdaptiveRetryStrategy; }
10
- });
11
- Object.defineProperty(exports, "ConfiguredRetryStrategy", {
12
- enumerable: true,
13
- get: function () { return utilRetry.ConfiguredRetryStrategy; }
14
- });
15
- Object.defineProperty(exports, "DEFAULT_MAX_ATTEMPTS", {
16
- enumerable: true,
17
- get: function () { return utilRetry.DEFAULT_MAX_ATTEMPTS; }
18
- });
19
- Object.defineProperty(exports, "DEFAULT_RETRY_MODE", {
20
- enumerable: true,
21
- get: function () { return utilRetry.DEFAULT_RETRY_MODE; }
22
- });
23
- Object.defineProperty(exports, "DefaultRateLimiter", {
24
- enumerable: true,
25
- get: function () { return utilRetry.DefaultRateLimiter; }
26
- });
27
- Object.defineProperty(exports, "RETRY_MODES", {
28
- enumerable: true,
29
- get: function () { return utilRetry.RETRY_MODES; }
30
- });
31
- Object.defineProperty(exports, "StandardRetryStrategy", {
32
- enumerable: true,
33
- get: function () { return utilRetry.StandardRetryStrategy; }
34
- });
7
+ exports.AdaptiveRetryStrategy = utilRetry.AdaptiveRetryStrategy;
8
+ exports.ConfiguredRetryStrategy = utilRetry.ConfiguredRetryStrategy;
9
+ exports.DEFAULT_MAX_ATTEMPTS = utilRetry.DEFAULT_MAX_ATTEMPTS;
10
+ exports.DEFAULT_RETRY_MODE = utilRetry.DEFAULT_RETRY_MODE;
11
+ exports.DefaultRateLimiter = utilRetry.DefaultRateLimiter;
12
+ exports.RETRY_MODES = utilRetry.RETRY_MODES;
13
+ exports.StandardRetryStrategy = utilRetry.StandardRetryStrategy;
@@ -4,11 +4,5 @@ var typecheck = require('@smithy/typecheck');
4
4
 
5
5
 
6
6
 
7
- Object.defineProperty(exports, "getRuntimeTypecheckPlugin", {
8
- enumerable: true,
9
- get: function () { return typecheck.getRuntimeTypecheckPlugin; }
10
- });
11
- Object.defineProperty(exports, "validateSchema", {
12
- enumerable: true,
13
- get: function () { return typecheck.validateSchema; }
14
- });
7
+ exports.getRuntimeTypecheckPlugin = typecheck.getRuntimeTypecheckPlugin;
8
+ exports.validateSchema = typecheck.validateSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/config",
3
- "version": "3.995.0",
3
+ "version": "3.997.0",
4
4
  "description": "Injectable dependencies, extensions, and other plugins for AWS SDK clients.",
5
5
  "scripts": {
6
6
  "build": "yarn lint && concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
@@ -86,17 +86,17 @@
86
86
  },
87
87
  "license": "Apache-2.0",
88
88
  "dependencies": {
89
- "@aws-sdk/core": "^3.973.11",
90
- "@aws-sdk/credential-providers": "3.995.0",
91
- "@aws-sdk/types": "^3.973.1",
92
- "@smithy/core": "^3.23.2",
93
- "@smithy/fetch-http-handler": "^5.3.9",
94
- "@smithy/node-http-handler": "^4.4.10",
95
- "@smithy/protocol-http": "^5.3.8",
96
- "@smithy/smithy-client": "^4.11.5",
97
- "@smithy/typecheck": "^1.0.10",
98
- "@smithy/types": "^4.12.0",
99
- "@smithy/util-retry": "^4.2.8",
89
+ "@aws-sdk/core": "^3.973.13",
90
+ "@aws-sdk/credential-providers": "3.997.0",
91
+ "@aws-sdk/types": "^3.973.2",
92
+ "@smithy/core": "^3.23.4",
93
+ "@smithy/fetch-http-handler": "^5.3.10",
94
+ "@smithy/node-http-handler": "^4.4.11",
95
+ "@smithy/protocol-http": "^5.3.9",
96
+ "@smithy/smithy-client": "^4.11.7",
97
+ "@smithy/typecheck": "^1.0.12",
98
+ "@smithy/types": "^4.12.1",
99
+ "@smithy/util-retry": "^4.2.9",
100
100
  "tslib": "^2.6.2"
101
101
  },
102
102
  "devDependencies": {