@jaw.id/ui 0.2.2 → 0.2.3

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.
@@ -1,4 +1,4 @@
1
- import { B as p, g as m, s as w, d as k, i as b, l as L, a as O, c as R, b as E, e as x, H as y, f as M } from "./index-BjPNFSnG.js";
1
+ import { B as p, g as m, s as w, d as k, i as b, l as L, a as O, c as R, b as E, e as x, H as y, f as M } from "./index-DYSzxQtj.js";
2
2
  class S extends p {
3
3
  constructor({ callbackSelector: s, cause: e, data: o, extraData: n, sender: c, urls: t }) {
4
4
  super(e.shortMessage || "An error occurred while fetching for an offchain result.", {
@@ -40287,7 +40287,7 @@ async function Uu(t, e) {
40287
40287
  });
40288
40288
  return $ === "0x" ? { data: void 0 } : { data: $ };
40289
40289
  } catch (L) {
40290
- const U = YW(L), { offchainLookup: T, offchainLookupSignature: C } = await import("./ccip-DpENlni2.js");
40290
+ const U = YW(L), { offchainLookup: T, offchainLookupSignature: C } = await import("./ccip-DwbBUKYR.js");
40291
40291
  if (t.ccipRead !== !1 && U?.slice(0, 10) === C && x)
40292
40292
  return { data: await T(t, { data: U, to: x }) };
40293
40293
  throw k && U?.slice(0, 10) === "0x101bb98d" ? new OK({ factory: h }) : U5(L, {
@@ -69443,7 +69443,7 @@ function Ju(t = 768) {
69443
69443
  return r.addListener(s), () => r.removeListener(s);
69444
69444
  }, [t]), e;
69445
69445
  }
69446
- const $m = "https://api.justaname.id", Fh = `${$m}/proxy/v1`, hi = `${Fh}/rpc`, Qu = `${hi}/erc20-paymaster`, aU = "0x5803c076563C85799989d42Fc00292A8aE52fa9E", gS = "JustanAccount", bS = "1", Gr = "0xf1b40E3D5701C04d86F7828f0EB367B9C90901D8", yS = "0xef0100", H2 = "0x888888888888Ec68A58AB8094Cc1AD20Ba3D2402", ele = "0.2.4";
69446
+ const $m = "https://api.justaname.id", Fh = `${$m}/proxy/v1`, hi = `${Fh}/rpc`, Qu = `${hi}/erc20-paymaster`, aU = "0x5803c076563C85799989d42Fc00292A8aE52fa9E", gS = "JustanAccount", bS = "1", Gr = "0xf1b40E3D5701C04d86F7828f0EB367B9C90901D8", yS = "0xef0100", H2 = "0x888888888888Ec68A58AB8094Cc1AD20Ba3D2402", ele = "0.2.5";
69447
69447
  var R1 = { exports: {} }, xS;
69448
69448
  function tle() {
69449
69449
  return xS || (xS = 1, (function(t) {
@@ -80839,7 +80839,7 @@ const hhe = "0x0000000000000000000000000000000000000000", mC = ({
80839
80839
  ] }) : /* @__PURE__ */ H("p", { className: "text-muted-foreground text-base font-normal", children: "Unable to estimate" }) })
80840
80840
  ] })
80841
80841
  ] }),
80842
- L?.data && /* @__PURE__ */ ie("div", { className: "border-border flex flex-col gap-2.5 rounded-[6px] border p-3.5", children: [
80842
+ L?.data && L.data !== "0x" && /* @__PURE__ */ ie("div", { className: "border-border flex flex-col gap-2.5 rounded-[6px] border p-3.5", children: [
80843
80843
  /* @__PURE__ */ ie("div", { className: "flex w-full flex-row items-center justify-between", children: [
80844
80844
  /* @__PURE__ */ H("p", { className: "text-foreground text-xs font-bold leading-[133%]", children: "Data" }),
80845
80845
  E[0] ? /* @__PURE__ */ H(fc, { width: 16, height: 16 }) : /* @__PURE__ */ H(
@@ -80961,7 +80961,7 @@ const hhe = "0x0000000000000000000000000000000000000000", mC = ({
80961
80961
  ] })
80962
80962
  ] })
80963
80963
  ] }),
80964
- z.data && /* @__PURE__ */ ie("div", { className: "border-border flex flex-col gap-1 rounded-[6px] border p-2", children: [
80964
+ z.data && z.data !== "0x" && /* @__PURE__ */ ie("div", { className: "border-border flex flex-col gap-1 rounded-[6px] border p-2", children: [
80965
80965
  /* @__PURE__ */ ie("div", { className: "mb-2 flex items-center justify-between", children: [
80966
80966
  /* @__PURE__ */ H("p", { className: "text-muted-foreground text-xs font-bold leading-[133%]", children: "Data" }),
80967
80967
  E[M] ? /* @__PURE__ */ H(fc, { width: 16, height: 16 }) : /* @__PURE__ */ H(
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { h as s, j as o, C as n, k as c, m as t, n as i, D as l, o as r, p as T, E as I, q as D, r as g, F as C, t as d, G as h, L as A, O as E, u as k, P as m, v as P, R as S, S as u, w as p, T as _, U as L, x as U, W as R, y, z as F, A as O, I as f, J as v, K as x, M as G, N as M, Q as N, V as b, X as B, Y as K, Z as w, _ as H, $ as J, a0 as W, a1 as j, a2 as q, a3 as z, a4 as Q, a5 as V } from "./index-BjPNFSnG.js";
1
+ import { h as s, j as o, C as n, k as c, m as t, n as i, D as l, o as r, p as T, E as I, q as D, r as g, F as C, t as d, G as h, L as A, O as E, u as k, P as m, v as P, R as S, S as u, w as p, T as _, U as L, x as U, W as R, y, z as F, A as O, I as f, J as v, K as x, M as G, N as M, Q as N, V as b, X as B, Y as K, Z as w, _ as H, $ as J, a0 as W, a1 as j, a2 as q, a3 as z, a4 as Q, a5 as V } from "./index-DYSzxQtj.js";
2
2
  export {
3
3
  s as BORDER_RADIUS_MAP,
4
4
  o as BadgeDollarIcon,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jaw.id/ui",
3
3
  "description": "Pre-built React dialogs for JAW.id",
4
- "version": "0.2.2",
4
+ "version": "0.2.3",
5
5
  "type": "module",
6
6
  "sideEffects": [
7
7
  "**/*.css",