@jaw.id/ui 0.1.11 → 0.2.0
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/{ccip-4PR3jcQs.js → ccip-BfAhePO-.js} +1 -1
- package/dist/components/ConnectDialog/index.d.ts.map +1 -1
- package/dist/components/Eip712Dialog/index.d.ts.map +1 -1
- package/dist/components/PermissionDialog/index.d.ts.map +1 -1
- package/dist/components/SignatureDialog/index.d.ts.map +1 -1
- package/dist/components/SiweDialog/index.d.ts.map +1 -1
- package/dist/components/TransactionDialog/DecodedCalldata.d.ts.map +1 -1
- package/dist/components/TransactionDialog/index.d.ts.map +1 -1
- package/dist/{index-DZxjK0Pr.js → index-CeOEl89-.js} +10321 -10224
- package/dist/index.css +1 -1
- package/dist/index.js +17 -16
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/resolveChainLabel.d.ts +9 -0
- package/dist/utils/resolveChainLabel.d.ts.map +1 -0
- package/package.json +1 -1
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
|
|
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-CeOEl89-.js";
|
|
2
2
|
export {
|
|
3
3
|
s as BORDER_RADIUS_MAP,
|
|
4
4
|
o as BadgeDollarIcon,
|
|
@@ -12,8 +12,8 @@ export {
|
|
|
12
12
|
I as Eip712Dialog,
|
|
13
13
|
D as EthIcon,
|
|
14
14
|
g as EyeIcon,
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
C as FONT_STACK_MAP,
|
|
16
|
+
d as FeeTokenSelector,
|
|
17
17
|
h as GenericTokenIcon,
|
|
18
18
|
A as LockIcon,
|
|
19
19
|
E as OnboardingDialog,
|
|
@@ -24,8 +24,8 @@ export {
|
|
|
24
24
|
u as SignatureDialog,
|
|
25
25
|
p as SiweDialog,
|
|
26
26
|
_ as TransactionDialog,
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
L as UsdcIcon,
|
|
28
|
+
U as UsdtIcon,
|
|
29
29
|
R as WalletIcon,
|
|
30
30
|
y as applyThemeToContainer,
|
|
31
31
|
F as clearTokenPriceCache,
|
|
@@ -34,17 +34,18 @@ export {
|
|
|
34
34
|
v as fetchTokenBalance,
|
|
35
35
|
x as fetchTokenPrice,
|
|
36
36
|
G as formatAddress,
|
|
37
|
-
M as
|
|
38
|
-
N as
|
|
37
|
+
M as getChainLabel,
|
|
38
|
+
N as getDisplayAddress,
|
|
39
|
+
b as getJustaNameInstance,
|
|
39
40
|
B as getSystemColorScheme,
|
|
40
41
|
K as hexToOklch,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
42
|
+
w as isNativeToken,
|
|
43
|
+
H as oklchToString,
|
|
44
|
+
J as resolveTheme,
|
|
45
|
+
W as useChainIconURI,
|
|
46
|
+
j as useColorScheme,
|
|
47
|
+
q as useDecodedCalldata,
|
|
48
|
+
z as useFeeTokenPrice,
|
|
49
|
+
Q as useGasEstimation,
|
|
50
|
+
V as useIsMobile
|
|
50
51
|
};
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Resolves a chainId to its human-readable interop label (e.g., 42161 → "arbitrum")
|
|
3
|
+
* by querying the on.eth ChainResolver contract on Ethereum mainnet.
|
|
4
|
+
*
|
|
5
|
+
* Results are cached in localStorage (persistent) and memory (fast).
|
|
6
|
+
* Returns null if the chain is not registered or the query fails.
|
|
7
|
+
*/
|
|
8
|
+
export declare function getChainLabel(chainId: number, rpcUrl: string): Promise<string | null>;
|
|
9
|
+
//# sourceMappingURL=resolveChainLabel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolveChainLabel.d.ts","sourceRoot":"","sources":["../../src/utils/resolveChainLabel.ts"],"names":[],"mappings":"AAsEA;;;;;;GAMG;AACH,wBAAsB,aAAa,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CA0B3F"}
|