@aws-sdk/core
Advanced tools
Comparing version 3.474.0 to 3.476.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [3.476.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.475.0...v3.476.0) (2023-12-18) | ||
### Bug Fixes | ||
* **core:** wrap `credentialDefaultProvider` with `normalizeProvider` ([#5592](https://github.com/aws/aws-sdk-js-v3/issues/5592)) ([9faa8ad](https://github.com/aws/aws-sdk-js-v3/commit/9faa8ad8dfd3eeb642c7a237a72c8be745ab5ba4)) | ||
# [3.474.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.473.0...v3.474.0) (2023-12-14) | ||
@@ -8,0 +19,0 @@ |
@@ -13,3 +13,3 @@ "use strict"; | ||
if (config.credentialDefaultProvider) { | ||
normalizedCreds = config.credentialDefaultProvider(config); | ||
normalizedCreds = (0, core_1.normalizeProvider)(config.credentialDefaultProvider(config)); | ||
} | ||
@@ -16,0 +16,0 @@ else { |
@@ -10,3 +10,3 @@ import { doesIdentityRequireRefresh, isIdentityExpired, memoizeIdentityProvider, normalizeProvider, } from "@smithy/core"; | ||
if (config.credentialDefaultProvider) { | ||
normalizedCreds = config.credentialDefaultProvider(config); | ||
normalizedCreds = normalizeProvider(config.credentialDefaultProvider(config)); | ||
} | ||
@@ -13,0 +13,0 @@ else { |
{ | ||
"name": "@aws-sdk/core", | ||
"version": "3.474.0", | ||
"version": "3.476.0", | ||
"description": "Core functions & classes shared by multiple AWS SDK clients", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -114,3 +114,3 @@ import { | ||
if (config.credentialDefaultProvider) { | ||
normalizedCreds = config.credentialDefaultProvider(config as any); | ||
normalizedCreds = normalizeProvider(config.credentialDefaultProvider(config as any)); | ||
} else { | ||
@@ -117,0 +117,0 @@ normalizedCreds = async () => { throw new Error("`credentials` is missing") }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
249443