@trivikr-test/credential-provider-web-identity
Advanced tools
Comparing version 3.52.0 to 3.55.0
@@ -22,5 +22,5 @@ "use strict"; | ||
} | ||
return fromWebToken_1.fromWebToken({ | ||
return (0, fromWebToken_1.fromWebToken)({ | ||
...init, | ||
webIdentityToken: fs_1.readFileSync(webIdentityTokenFile, { encoding: "ascii" }), | ||
webIdentityToken: (0, fs_1.readFileSync)(webIdentityTokenFile, { encoding: "ascii" }), | ||
roleArn, | ||
@@ -27,0 +27,0 @@ roleSessionName, |
@@ -6,3 +6,3 @@ import { CredentialsProviderError } from "@aws-sdk/property-provider"; | ||
if (!roleAssumerWithWebIdentity) { | ||
throw new CredentialsProviderError("Role Arn '" + roleArn + "' needs to be assumed with web identity," + | ||
throw new CredentialsProviderError("Role Arn '".concat(roleArn, "' needs to be assumed with web identity,") + | ||
" but no role assumption callback was provided.", false); | ||
@@ -12,3 +12,3 @@ } | ||
RoleArn: roleArn, | ||
RoleSessionName: roleSessionName !== null && roleSessionName !== void 0 ? roleSessionName : "aws-sdk-js-session-" + Date.now(), | ||
RoleSessionName: roleSessionName !== null && roleSessionName !== void 0 ? roleSessionName : "aws-sdk-js-session-".concat(Date.now()), | ||
WebIdentityToken: webIdentityToken, | ||
@@ -15,0 +15,0 @@ ProviderId: providerId, |
{ | ||
"name": "@trivikr-test/credential-provider-web-identity", | ||
"version": "3.52.0", | ||
"version": "3.55.0", | ||
"description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials", | ||
@@ -34,5 +34,5 @@ "main": "./dist-cjs/index.js", | ||
"dependencies": { | ||
"@trivikr-test/property-provider": "3.52.0", | ||
"@trivikr-test/types": "3.52.0", | ||
"tslib": "^2.3.0" | ||
"@trivikr-test/property-provider": "3.55.0", | ||
"@trivikr-test/types": "3.55.0", | ||
"tslib": "^2.3.1" | ||
}, | ||
@@ -46,3 +46,3 @@ "devDependencies": { | ||
"typedoc": "0.19.2", | ||
"typescript": "~4.3.5" | ||
"typescript": "~4.6.2" | ||
}, | ||
@@ -49,0 +49,0 @@ "types": "./dist-types/index.d.ts", |
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
29428
+ Added@trivikr-test/property-provider@3.55.0(transitive)
+ Added@trivikr-test/types@3.55.0(transitive)
- Removed@trivikr-test/property-provider@3.52.0(transitive)
- Removed@trivikr-test/types@3.52.0(transitive)
Updated@trivikr-test/types@3.55.0
Updatedtslib@^2.3.1