fge-auth-component 5.2.13 → 5.2.16

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.
@@ -30768,11 +30768,15 @@ function $P(t) {
30768
30768
  return ah.stringify(oh.parse(t));
30769
30769
  }
30770
30770
  function YP(t) {
30771
- return ah.parse(t).toString(oh);
30771
+ try {
30772
+ return ah.parse(t).toString(oh);
30773
+ } catch (e) {
30774
+ return console.error("Error al desencriptar", e), localStorage.removeItem("LOGIN_STORE"), "";
30775
+ }
30772
30776
  }
30773
30777
  const GP = QP({
30774
30778
  stores: [
30775
- { name: "LOGIN_STORE", storage: localStorage, ciphertext: !1 }
30779
+ { name: "LOGIN_STORE", storage: localStorage, ciphertext: !0 }
30776
30780
  // { name: 'STATE_STORE',storage: }
30777
30781
  ],
30778
30782
  encrypt: $P,