@evervault/sdk
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -234,5 +234,10 @@ /** @format */ | ||
.then((res) => res.json()) | ||
.then(({ accessToken }) => accessToken) | ||
.then(({ accessToken }) => { | ||
if (!accessToken) { | ||
throw new Error('Unable to retrive access token'); | ||
} | ||
return accessToken | ||
}) | ||
.catch((err) => { | ||
throw err; | ||
throw new Error('Unable to retrieve refresh token', err); | ||
}); | ||
@@ -239,0 +244,0 @@ }, |
{ | ||
"name": "@evervault/sdk", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "evervault Browser SDK", | ||
@@ -5,0 +5,0 @@ "repository": { |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
42226
627
1