@aws-sdk/client-sts 3.995.0 → 3.996.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.
Files changed (2) hide show
  1. package/dist-cjs/index.js +23 -17
  2. package/package.json +6 -6
package/dist-cjs/index.js CHANGED
@@ -279,14 +279,8 @@ const decorateDefaultCredentialProvider = (provider) => (input) => provider({
279
279
  ...input,
280
280
  });
281
281
 
282
- Object.defineProperty(exports, "$Command", {
283
- enumerable: true,
284
- get: function () { return smithyClient.Command; }
285
- });
286
- Object.defineProperty(exports, "STSServiceException", {
287
- enumerable: true,
288
- get: function () { return STSServiceException.STSServiceException; }
289
- });
282
+ exports.$Command = smithyClient.Command;
283
+ exports.STSServiceException = STSServiceException.STSServiceException;
290
284
  exports.AssumeRoleCommand = AssumeRoleCommand;
291
285
  exports.AssumeRoleWithSAMLCommand = AssumeRoleWithSAMLCommand;
292
286
  exports.AssumeRoleWithWebIdentityCommand = AssumeRoleWithWebIdentityCommand;
@@ -302,21 +296,33 @@ exports.STS = STS;
302
296
  exports.decorateDefaultCredentialProvider = decorateDefaultCredentialProvider;
303
297
  exports.getDefaultRoleAssumer = getDefaultRoleAssumer;
304
298
  exports.getDefaultRoleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity;
305
- Object.keys(STSClient).forEach(function (k) {
306
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
299
+ Object.prototype.hasOwnProperty.call(STSClient, '__proto__') &&
300
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
301
+ Object.defineProperty(exports, '__proto__', {
307
302
  enumerable: true,
308
- get: function () { return STSClient[k]; }
303
+ value: STSClient['__proto__']
309
304
  });
305
+
306
+ Object.keys(STSClient).forEach(function (k) {
307
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = STSClient[k];
310
308
  });
311
- Object.keys(schemas_0).forEach(function (k) {
312
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
309
+ Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
310
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
311
+ Object.defineProperty(exports, '__proto__', {
313
312
  enumerable: true,
314
- get: function () { return schemas_0[k]; }
313
+ value: schemas_0['__proto__']
315
314
  });
315
+
316
+ Object.keys(schemas_0).forEach(function (k) {
317
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
316
318
  });
317
- Object.keys(errors).forEach(function (k) {
318
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
319
+ Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
320
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
321
+ Object.defineProperty(exports, '__proto__', {
319
322
  enumerable: true,
320
- get: function () { return errors[k]; }
323
+ value: errors['__proto__']
321
324
  });
325
+
326
+ Object.keys(errors).forEach(function (k) {
327
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
322
328
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sts",
3
3
  "description": "AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",
4
- "version": "3.995.0",
4
+ "version": "3.996.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sts",
@@ -25,17 +25,17 @@
25
25
  "dependencies": {
26
26
  "@aws-crypto/sha256-browser": "5.2.0",
27
27
  "@aws-crypto/sha256-js": "5.2.0",
28
- "@aws-sdk/core": "^3.973.11",
29
- "@aws-sdk/credential-provider-node": "^3.972.10",
28
+ "@aws-sdk/core": "^3.973.12",
29
+ "@aws-sdk/credential-provider-node": "^3.972.11",
30
30
  "@aws-sdk/middleware-host-header": "^3.972.3",
31
31
  "@aws-sdk/middleware-logger": "^3.972.3",
32
32
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
33
- "@aws-sdk/middleware-user-agent": "^3.972.11",
33
+ "@aws-sdk/middleware-user-agent": "^3.972.12",
34
34
  "@aws-sdk/region-config-resolver": "^3.972.3",
35
35
  "@aws-sdk/types": "^3.973.1",
36
- "@aws-sdk/util-endpoints": "3.995.0",
36
+ "@aws-sdk/util-endpoints": "3.996.0",
37
37
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
38
- "@aws-sdk/util-user-agent-node": "^3.972.10",
38
+ "@aws-sdk/util-user-agent-node": "^3.972.11",
39
39
  "@smithy/config-resolver": "^4.4.6",
40
40
  "@smithy/core": "^3.23.2",
41
41
  "@smithy/fetch-http-handler": "^5.3.9",