@aws-sdk/core
Advanced tools
Comparing version 3.496.0 to 3.511.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [3.511.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.510.0...v3.511.0) (2024-02-09) | ||
### Bug Fixes | ||
* **credential-provider-node:** pass client region to inner credential client region ([#5758](https://github.com/aws/aws-sdk-js-v3/issues/5758)) ([8c0b29e](https://github.com/aws/aws-sdk-js-v3/commit/8c0b29eabfe0ce8dbd2cbdcfb8b0a31b003bc3f2)) | ||
# [3.496.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.495.0...v3.496.0) (2024-01-19) | ||
@@ -8,0 +19,0 @@ |
@@ -157,3 +157,9 @@ var __defProp = Object.defineProperty; | ||
if (config.credentialDefaultProvider) { | ||
normalizedCreds = (0, import_core.normalizeProvider)(config.credentialDefaultProvider(config)); | ||
normalizedCreds = (0, import_core.normalizeProvider)( | ||
config.credentialDefaultProvider( | ||
Object.assign({}, config, { | ||
parentClientConfig: config | ||
}) | ||
) | ||
); | ||
} else { | ||
@@ -307,12 +313,12 @@ normalizedCreds = /* @__PURE__ */ __name(async () => { | ||
0 && (module.exports = { | ||
emitWarningIfUnsupportedVersion, | ||
AwsSdkSigV4Signer, | ||
AWSSDKSigV4Signer, | ||
AwsSdkSigV4Signer, | ||
resolveAwsSdkSigV4Config, | ||
resolveAWSSDKSigV4Config, | ||
_toStr, | ||
_toBool, | ||
_toNum, | ||
_toStr, | ||
awsExpectUnion, | ||
emitWarningIfUnsupportedVersion, | ||
resolveAWSSDKSigV4Config, | ||
resolveAwsSdkSigV4Config | ||
awsExpectUnion | ||
}); | ||
@@ -10,6 +10,10 @@ import { doesIdentityRequireRefresh, isIdentityExpired, memoizeIdentityProvider, normalizeProvider, } from "@smithy/core"; | ||
if (config.credentialDefaultProvider) { | ||
normalizedCreds = normalizeProvider(config.credentialDefaultProvider(config)); | ||
normalizedCreds = normalizeProvider(config.credentialDefaultProvider(Object.assign({}, config, { | ||
parentClientConfig: config, | ||
}))); | ||
} | ||
else { | ||
normalizedCreds = async () => { throw new Error("`credentials` is missing"); }; | ||
normalizedCreds = async () => { | ||
throw new Error("`credentials` is missing"); | ||
}; | ||
} | ||
@@ -16,0 +20,0 @@ } |
{ | ||
"name": "@aws-sdk/core", | ||
"version": "3.496.0", | ||
"version": "3.511.0", | ||
"description": "Core functions & classes shared by multiple AWS SDK clients", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -114,5 +114,13 @@ import { | ||
if (config.credentialDefaultProvider) { | ||
normalizedCreds = normalizeProvider(config.credentialDefaultProvider(config as any)); | ||
normalizedCreds = normalizeProvider( | ||
config.credentialDefaultProvider( | ||
Object.assign({}, config as any, { | ||
parentClientConfig: config, | ||
}) | ||
) | ||
); | ||
} else { | ||
normalizedCreds = async () => { throw new Error("`credentials` is missing") }; | ||
normalizedCreds = async () => { | ||
throw new Error("`credentials` is missing"); | ||
}; | ||
} | ||
@@ -119,0 +127,0 @@ } |
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
230484
1613
57
6
57
9
1