@authsignal/browser 0.0.3 → 0.0.4

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.
package/dist/cjs/index.js CHANGED
@@ -3566,7 +3566,7 @@ var PopupHandler = /** @class */ (function () {
3566
3566
  // Create CSS for dialog
3567
3567
  var style = document.createElement("style");
3568
3568
  style.setAttribute("id", STYLE_ID);
3569
- style.textContent = "\n #".concat(CONTAINER_ID, ",\n #").concat(OVERLAY_ID, " {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n }\n\n #").concat(CONTAINER_ID, " {\n z-index: 2;\n display: flex;\n }\n\n #").concat(CONTAINER_ID, "[aria-hidden='true'] {\n display: none;\n }\n\n #").concat(OVERLAY_ID, " {\n background-color: rgba(43, 46, 56, 0.9);\n }\n\n #").concat(CONTENT_ID, " {\n margin: auto;\n z-index: 2;\n position: relative;\n background-color: white;\n }\n ");
3569
+ style.textContent = "\n #".concat(CONTAINER_ID, ",\n #").concat(OVERLAY_ID, " {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n }\n\n #").concat(CONTAINER_ID, " {\n z-index: 2;\n display: flex;\n }\n\n #").concat(CONTAINER_ID, "[aria-hidden='true'] {\n display: none;\n }\n\n #").concat(OVERLAY_ID, " {\n background-color: rgba(43, 46, 56, 0.9);\n }\n\n #").concat(CONTENT_ID, " {\n margin: auto;\n z-index: 2;\n position: relative;\n background-color: white;\n height: 600px;\n width: 600px;\n border-radius: 5px;\n }\n\n #").concat(CONTENT_ID, " iframe {\n width: 100%;\n height: 100%;\n }\n ");
3570
3570
  // Attach the created elements
3571
3571
  document.head.insertAdjacentElement("beforeend", style);
3572
3572
  container.appendChild(overlay);
@@ -3591,8 +3591,6 @@ var PopupHandler = /** @class */ (function () {
3591
3591
  iframe.setAttribute("name", "authsignal");
3592
3592
  iframe.setAttribute("title", "Authsignal multi-factor authentication challenge");
3593
3593
  iframe.setAttribute("src", challengeUrl);
3594
- iframe.setAttribute("width", "600");
3595
- iframe.setAttribute("height", "600");
3596
3594
  iframe.setAttribute("frameborder", "0");
3597
3595
  var dialogContent = document.querySelector("#".concat(CONTENT_ID));
3598
3596
  if (dialogContent) {