@latchprotocol/widgets 0.1.0 → 0.1.2

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.
@@ -5699,8 +5699,7 @@ const Nn = {
5699
5699
  note: "Predates proposal expiry. An L1, so the contract block clock is the RPC one (12 s)."
5700
5700
  },
5701
5701
  {
5702
- /* Deployed 2026-09-25 by the release script (ops/deploy/sepolia-deployment.json,
5703
- 19,733 bytes). Read back 2026-09-26 by eth_call:
5702
+ /* Deployed 2026-09-25 by the release script. Read back 2026-09-26 by eth_call:
5704
5703
  19,733 bytes of code, getHooksRegistrationBitmap() 0x0881, CLOCK_MODE "mode=timestamp",
5705
5704
  CONFIG_PROPOSAL_TTL_SECONDS 259,200, owner() the Safe of record 0xeA79…a038, vault() and
5706
5705
  poolManager() this chain's Vault and CL pool manager. */
@@ -13096,7 +13095,7 @@ ue = new WeakMap(), Pe = new WeakMap(), te = new WeakMap(), Ie = new WeakMap(),
13096
13095
  M(this, A, ke).call(this, n, { k: "ready", view: m, chainNow: p.chainNow, readAtMs: p.readAtMs, href: h });
13097
13096
  } catch {
13098
13097
  if (I(this, te).k === "ready") return;
13099
- M(this, A, ke).call(this, n, { k: "message", tone: "error", text: "Locks could not be read: the chain did not answer.", retry: !0 });
13098
+ M(this, A, ke).call(this, n, { k: "message", tone: "error", text: "Couldn't load locks. Try again.", retry: !0 });
13100
13099
  }
13101
13100
  }, ke = function(n, a) {
13102
13101
  n === I(this, Ie) && (R(this, te, a), M(this, A, At).call(this));
@@ -13104,7 +13103,7 @@ ue = new WeakMap(), Pe = new WeakMap(), te = new WeakMap(), Ie = new WeakMap(),
13104
13103
  const n = I(this, Pe);
13105
13104
  if (n === null) return;
13106
13105
  const a = this.getAttribute("theme"), r = I(this, te), i = document.createElement("div");
13107
- i.className = "latch-widget latch-locks latch-locks--badge latch-embed-badge", i.dataset.latchTheme = a === "light" || a === "dark" ? a : "system";
13106
+ i.className = "latch-widget latch-locks latch-locks--badge latch-embed-badge", i.dataset.latchTheme = a === "light" || a === "system" ? a : "dark";
13108
13107
  const o = (d, f, p) => {
13109
13108
  const m = document.createElement("p");
13110
13109
  if (m.className = d, p !== void 0) {
@@ -13115,7 +13114,7 @@ ue = new WeakMap(), Pe = new WeakMap(), te = new WeakMap(), Ie = new WeakMap(),
13115
13114
  return y.textContent = f, m.appendChild(y), m;
13116
13115
  };
13117
13116
  if (r.k === "loading")
13118
- i.appendChild(o("latch-locks__headline latch-locks__headline--muted", "Reading locks…")), i.setAttribute("role", "status");
13117
+ i.appendChild(o("latch-locks__headline latch-locks__headline--muted", "Loading locks…")), i.setAttribute("role", "status");
13119
13118
  else if (r.k === "message") {
13120
13119
  const d = o(`latch-locks__headline${r.tone === "error" ? " latch-locks__headline--error" : ""}`, r.text, r.tone === "none" ? "none" : void 0);
13121
13120
  if (i.appendChild(d), r.retry) {
@@ -13141,7 +13140,7 @@ ue = new WeakMap(), Pe = new WeakMap(), te = new WeakMap(), Ie = new WeakMap(),
13141
13140
  d.src = `${c.trim().replace(/\/+$/, "")}/brand/masters/latch-mark${m}.svg`, d.width = 665, d.height = 765, d.alt = "Latch", s.appendChild(d);
13142
13141
  }
13143
13142
  const l = document.createElement("span");
13144
- l.textContent = "Read from chain", s.appendChild(l);
13143
+ l.textContent = "Live from the chain", s.appendChild(l);
13145
13144
  const u = document.createElement("span");
13146
13145
  if (u.className = "latch-brand__spacer", s.appendChild(u), r.k === "ready" && r.href !== null) {
13147
13146
  const d = document.createElement("a");