@slashid/remix 0.2.22 → 0.2.24

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/main.js CHANGED
@@ -16422,11 +16422,12 @@ function V5({ sdk: e }) {
16422
16422
  const t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
16423
16423
  Zl.PUBLIC_READ_EVENTS.forEach((s) => {
16424
16424
  const c = (d) => {
16425
- if (n.has(s))
16425
+ var f;
16426
+ if (n.has(s) && (f = n.get(s)) != null && f.length)
16426
16427
  return;
16427
16428
  t.has(s) || t.set(s, []);
16428
- const f = t.get(s);
16429
- f && f.push(d);
16429
+ const b = t.get(s);
16430
+ b && b.push(d);
16430
16431
  };
16431
16432
  e.subscribe(s, c), r.set(s, c);
16432
16433
  });
@@ -16436,14 +16437,15 @@ function V5({ sdk: e }) {
16436
16437
  d && d.push(c), t.has(s) && (t.get(s).forEach((f) => c(f)), t.delete(s));
16437
16438
  }
16438
16439
  function a(s, c) {
16439
- if (e.unsubscribe(s, c), !n.has(s))
16440
+ var d;
16441
+ if (e.unsubscribe(s, c), !n.has(s) || !((d = n.get(s)) != null && d.length))
16440
16442
  return;
16441
- const d = n.get(s);
16442
- if (d) {
16443
- const f = d.filter(
16444
- (b) => b !== c
16443
+ const f = n.get(s);
16444
+ if (f) {
16445
+ const b = f.filter(
16446
+ (m) => m !== c
16445
16447
  );
16446
- n.set(s, f);
16448
+ n.set(s, b);
16447
16449
  }
16448
16450
  }
16449
16451
  function i() {
@@ -17464,7 +17466,7 @@ function Be() {
17464
17466
  }
17465
17467
  const Xr = () => Ko(Ql), y6 = new RegExp(
17466
17468
  "(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|\"(?:[-\b\v\f-!#-[]-]|\\[- \v\f-])*\")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\\.){3}(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:(?:[-\b\v\f-!-ZS-]|\\[- \v\f-])+)\\])"
17467
- ), cs = 6, w6 = (e) => !(typeof e != "string" || e === ""), _6 = (e) => typeof e != "string" || e === "" ? !1 : y6.test(e), x6 = (e) => typeof e != "string" || e === "" ? !1 : e.length <= 128, Bo = (e) => !(Number.isNaN(Number(e)) || e.length !== cs);
17469
+ ), cs = 6, w6 = (e) => !(typeof e != "string" || e === ""), _6 = (e) => typeof e != "string" || e === "" ? !1 : y6.test(e.toLowerCase()), x6 = (e) => typeof e != "string" || e === "" ? !1 : e.length <= 128, Bo = (e) => !(Number.isNaN(Number(e)) || e.length !== cs);
17468
17470
  function k6(e) {
17469
17471
  return `authenticating.setPassword.validation.${e.failedRules[0].name}`;
17470
17472
  }