nectiasw 0.0.132 → 0.0.133

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/index.es.js CHANGED
@@ -47736,16 +47736,19 @@ class zO {
47736
47736
  icon: "error",
47737
47737
  title: "Tu sesión ha expirado",
47738
47738
  text: "Por favor inicia sesión nuevamente.",
47739
- confirmButtonText: "Ir a Login",
47740
47739
  allowOutsideClick: !1,
47741
47740
  customClass: {
47742
47741
  popup: "z-50"
47743
- }
47744
- }), window.location.href = `${window.location.origin}/login`;
47745
- const l = new CustomEvent("@unauthorized", {
47742
+ },
47743
+ showCloseButton: !0,
47744
+ showConfirmButton: !1
47745
+ });
47746
+ const l = `${window.location.origin}/login`;
47747
+ console.log("Redirigiendo a:", l), window.location.href = l;
47748
+ const c = new CustomEvent("@unauthorized", {
47746
47749
  detail: a
47747
47750
  });
47748
- dispatchEvent(l);
47751
+ dispatchEvent(c);
47749
47752
  }
47750
47753
  return Promise.reject(a);
47751
47754
  }