@adastradev/user-management-sdk
Advanced tools
Comparing version 2.0.0-beta.2 to 2.0.0-beta.3
@@ -152,10 +152,5 @@ "use strict"; | ||
_this.iamCredentials = _this.buildCognitoIdentityCredentials(tokens); | ||
_this.iamCredentials.get(function (error) { | ||
if (error) { | ||
rej(error); | ||
} | ||
else { | ||
console.log("Credentials.get() called - credential expiry: " + _this.iamCredentials.expireTime); | ||
res(); | ||
} | ||
_this.iamCredentials.getPromise().then(function () { | ||
console.log("Credentials.get() called - credential expiry: " + _this.iamCredentials.expireTime); | ||
res(); | ||
}); | ||
@@ -162,0 +157,0 @@ } |
{ | ||
"name": "@adastradev/user-management-sdk", | ||
"version": "2.0.0-beta.2", | ||
"version": "2.0.0-beta.3", | ||
"description": "Astra user management SDK for JavaScript in the browser and Node.js", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
42071
543