@aws-sdk/credential-providers 3.731.0 → 3.731.1
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.
|
@@ -32,7 +32,7 @@ const fromTemporaryCredentials = (options, credentialDefaultProvider) => {
|
|
|
32
32
|
const params = { ...options.params, RoleSessionName: options.params.RoleSessionName ?? "aws-sdk-js-" + Date.now() };
|
|
33
33
|
if (params?.SerialNumber) {
|
|
34
34
|
if (!options.mfaCodeProvider) {
|
|
35
|
-
throw new property_provider_1.CredentialsProviderError(`Temporary credential requires multi-factor authentication
|
|
35
|
+
throw new property_provider_1.CredentialsProviderError(`Temporary credential requires multi-factor authentication, but no MFA code callback was provided.`, {
|
|
36
36
|
tryNextLink: false,
|
|
37
37
|
logger: options.logger,
|
|
38
38
|
});
|
|
@@ -6,7 +6,7 @@ export const fromTemporaryCredentials = (options, credentialDefaultProvider) =>
|
|
|
6
6
|
const params = { ...options.params, RoleSessionName: options.params.RoleSessionName ?? "aws-sdk-js-" + Date.now() };
|
|
7
7
|
if (params?.SerialNumber) {
|
|
8
8
|
if (!options.mfaCodeProvider) {
|
|
9
|
-
throw new CredentialsProviderError(`Temporary credential requires multi-factor authentication
|
|
9
|
+
throw new CredentialsProviderError(`Temporary credential requires multi-factor authentication, but no MFA code callback was provided.`, {
|
|
10
10
|
tryNextLink: false,
|
|
11
11
|
logger: options.logger,
|
|
12
12
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/credential-providers",
|
|
3
|
-
"version": "3.731.
|
|
3
|
+
"version": "3.731.1",
|
|
4
4
|
"description": "A collection of credential providers, without requiring service clients like STS, Cognito",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -30,17 +30,17 @@
|
|
|
30
30
|
},
|
|
31
31
|
"license": "Apache-2.0",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@aws-sdk/client-cognito-identity": "3.731.
|
|
33
|
+
"@aws-sdk/client-cognito-identity": "3.731.1",
|
|
34
34
|
"@aws-sdk/core": "3.731.0",
|
|
35
|
-
"@aws-sdk/credential-provider-cognito-identity": "3.731.
|
|
35
|
+
"@aws-sdk/credential-provider-cognito-identity": "3.731.1",
|
|
36
36
|
"@aws-sdk/credential-provider-env": "3.731.0",
|
|
37
37
|
"@aws-sdk/credential-provider-http": "3.731.0",
|
|
38
|
-
"@aws-sdk/credential-provider-ini": "3.731.
|
|
39
|
-
"@aws-sdk/credential-provider-node": "3.731.
|
|
38
|
+
"@aws-sdk/credential-provider-ini": "3.731.1",
|
|
39
|
+
"@aws-sdk/credential-provider-node": "3.731.1",
|
|
40
40
|
"@aws-sdk/credential-provider-process": "3.731.0",
|
|
41
|
-
"@aws-sdk/credential-provider-sso": "3.731.
|
|
42
|
-
"@aws-sdk/credential-provider-web-identity": "3.731.
|
|
43
|
-
"@aws-sdk/nested-clients": "3.731.
|
|
41
|
+
"@aws-sdk/credential-provider-sso": "3.731.1",
|
|
42
|
+
"@aws-sdk/credential-provider-web-identity": "3.731.1",
|
|
43
|
+
"@aws-sdk/nested-clients": "3.731.1",
|
|
44
44
|
"@aws-sdk/types": "3.731.0",
|
|
45
45
|
"@smithy/credential-provider-imds": "^4.0.0",
|
|
46
46
|
"@smithy/property-provider": "^4.0.0",
|