@aller/cyclops-frontend-vanilla
Advanced tools
Comparing version 2.5.0-alpha.13 to 2.5.0-alpha.14
@@ -224,3 +224,2 @@ var __assign = (this && this.__assign) || function () { | ||
case 0: | ||
console.log("Injecting user info to login button"); | ||
domain = _domain; | ||
@@ -243,3 +242,2 @@ pathname = window.location.pathname; | ||
_a.trys.push([1, 3, , 4]); | ||
console.log("Fetching user info to inject"); | ||
return [4, getCurrentUser()]; | ||
@@ -256,3 +254,2 @@ case 2: | ||
if (loginElement) { | ||
console.log("Updating login container"); | ||
loginContainer.innerHTML = ""; | ||
@@ -320,3 +317,2 @@ loginContainer.appendChild(loginElement); | ||
function loggedInEvent(event) { | ||
console.log("Logged in event triggered"); | ||
if (!event.detail) { | ||
@@ -332,3 +328,2 @@ return; | ||
try { | ||
console.log("Updating login container on event"); | ||
var loginElement = createSignedInElement(event.detail, useInitials); | ||
@@ -335,0 +330,0 @@ loginContainer.innerHTML = ""; |
{ | ||
"name": "@aller/cyclops-frontend-vanilla", | ||
"version": "2.5.0-alpha.13", | ||
"version": "2.5.0-alpha.14", | ||
"description": "Vanilla JS implementation of login-button", | ||
@@ -44,3 +44,3 @@ "author": "kasperrt <kasper@kasperrt.no>", | ||
"dependencies": { | ||
"@aller/cyclops-frontend-api": "^2.5.0-alpha.13", | ||
"@aller/cyclops-frontend-api": "^2.5.0-alpha.14", | ||
"a11y-dialog": "5.3.1", | ||
@@ -69,3 +69,3 @@ "promise-polyfill": "8.1.3" | ||
}, | ||
"gitHead": "c5257a99555966feea760481c916c80111552a6b" | ||
"gitHead": "83fc81b5335a297310cd1b98d3d27835221a1bd4" | ||
} |
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
108850
1492