@jaw.id/ui 0.1.1 → 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.
@@ -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-Bf8BuT-t.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-eqLakRIC.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.", {
@@ -40251,7 +40251,7 @@ async function dh(t, e) {
40251
40251
  });
40252
40252
  return z === "0x" ? { data: void 0 } : { data: z };
40253
40253
  } catch (_) {
40254
- const M = NW(_), { offchainLookup: T, offchainLookupSignature: C } = await import("./ccip-CV_WxFD2.js");
40254
+ const M = NW(_), { offchainLookup: T, offchainLookupSignature: C } = await import("./ccip-DvzMdJQ1.js");
40255
40255
  if (t.ccipRead !== !1 && M?.slice(0, 10) === C && x)
40256
40256
  return { data: await T(t, { data: M, to: x }) };
40257
40257
  throw N && M?.slice(0, 10) === "0x101bb98d" ? new iK({ factory: h }) : v5(_, {
@@ -69290,7 +69290,7 @@ function zl(t = 768) {
69290
69290
  return r.addListener(s), () => r.removeListener(s);
69291
69291
  }, [t]), e;
69292
69292
  }
69293
- const Mm = "https://api.justaname.id", _h = `${Mm}/proxy/v1`, ui = `${_h}/rpc`, $l = `${ui}/erc20-paymaster`, Oce = "0x5803c076563C85799989d42Fc00292A8aE52fa9E", nS = "JustanAccount", rS = "1", lo = "0xf1b40E3D5701C04d86F7828f0EB367B9C90901D8", N2 = "0x888888888888Ec68A58AB8094Cc1AD20Ba3D2402", Nce = "0.1.0";
69293
+ const Mm = "https://api.justaname.id", _h = `${Mm}/proxy/v1`, ui = `${_h}/rpc`, $l = `${ui}/erc20-paymaster`, Oce = "0x5803c076563C85799989d42Fc00292A8aE52fa9E", nS = "JustanAccount", rS = "1", lo = "0xf1b40E3D5701C04d86F7828f0EB367B9C90901D8", N2 = "0x888888888888Ec68A58AB8094Cc1AD20Ba3D2402", Nce = "0.1.1";
69294
69294
  var A1 = { exports: {} }, sS;
69295
69295
  function kce() {
69296
69296
  return sS || (sS = 1, (function(t) {
@@ -69558,7 +69558,7 @@ async function Dce(t, e) {
69558
69558
  ...t,
69559
69559
  jsonrpc: "2.0",
69560
69560
  id: crypto.randomUUID()
69561
- }, r = await window.fetch(e, {
69561
+ }, r = await fetch(e, {
69562
69562
  method: "POST",
69563
69563
  body: JSON.stringify(n),
69564
69564
  mode: "cors",
@@ -76475,7 +76475,9 @@ const Ffe = () => ({
76475
76475
  ...Gfe(...t)
76476
76476
  }), {
76477
76477
  name: "jawsdk.store",
76478
- storage: jU(() => localStorage),
76478
+ storage: jU(() => typeof localStorage < "u" ? localStorage : { getItem: () => null, setItem() {
76479
+ }, removeItem() {
76480
+ } }),
76479
76481
  partialize: (t) => {
76480
76482
  const e = Object.entries(t.callStatuses).reduce((n, [r, s]) => (n[r] = {
76481
76483
  ...s,
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { h as e, C as o, j as n, k as c, m as i, D as t, E as l, n as r, o as I, F as d, G as g, L as D, O as k, p as u, P as T, R as C, S as p, q as h, T as m, U as f, r as E, W as P, t as S, u as U, v as y, w as A, x as F, y as G, z as N, A as O, I as R, J as b, K as v, M as w, N as x } from "./index-Bf8BuT-t.js";
1
+ import { h as e, C as o, j as n, k as c, m as i, D as t, E as l, n as r, o as I, F as d, G as g, L as D, O as k, p as u, P as T, R as C, S as p, q as h, T as m, U as f, r as E, W as P, t as S, u as U, v as y, w as A, x as F, y as G, z as N, A as O, I as R, J as b, K as v, M as w, N as x } from "./index-eqLakRIC.js";
2
2
  export {
3
3
  e as BadgeDollarIcon,
4
4
  o as CloseIcon,
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.1.1",
4
+ "version": "0.1.2",
5
5
  "type": "module",
6
6
  "sideEffects": [
7
7
  "**/*.css",
@@ -39,7 +39,7 @@
39
39
  "react-dom": ">=18.0.0"
40
40
  },
41
41
  "dependencies": {
42
- "@jaw.id/core": "0.0.3",
42
+ "@jaw.id/core": "0.1.1",
43
43
  "@hookform/resolvers": "^5.2.2",
44
44
  "@justaname.id/sdk": "^0.2.204",
45
45
  "@radix-ui/react-accordion": "^1.2.12",