@jaw.id/ui 0.2.8 → 0.4.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-BMy8ZQ8H.js → ccip-BaE8Nb4B.js} +1 -1
- package/dist/components/Eip712Dialog/index.d.ts.map +1 -1
- package/dist/components/TransactionDialog/ClearSignedView.d.ts +9 -0
- package/dist/components/TransactionDialog/ClearSignedView.d.ts.map +1 -0
- package/dist/components/TransactionDialog/DecodedCalldata.d.ts.map +1 -1
- package/dist/components/TransactionDialog/index.d.ts.map +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/useClearSigningTypedData.d.ts +13 -0
- package/dist/hooks/useClearSigningTypedData.d.ts.map +1 -0
- package/dist/hooks/useDecodedCalldata.d.ts +12 -2
- package/dist/hooks/useDecodedCalldata.d.ts.map +1 -1
- package/dist/{index-Cn-KXVdD.js → index-D1Fqo6z9.js} +14474 -13498
- package/dist/index.css +1 -1
- package/dist/index.js +54 -43
- package/dist/utils/clearSigning.d.ts +161 -0
- package/dist/utils/clearSigning.d.ts.map +1 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,51 +1,62 @@
|
|
|
1
|
-
import { h as s, j as o, C as
|
|
1
|
+
import { h as s, j as o, C as t, k as n, m as c, n as r, D as i, o as l, p as T, E as D, q as g, r as d, F as p, t as I, G as C, L as h, O as S, u, P as m, v as A, R as E, S as k, w as P, T as y, U as v, x as _, W as L, y as R, z as U, A as f, I as F, J as O, K as b, M as N, N as x, Q as G, V as M, X as B, Y as H, Z as K, _ as W, $ as w, a0 as J, a1 as j, a2 as q, a3 as z, a4 as Q, a5 as V, a6 as X, a7 as Y, a8 as Z, a9 as $, aa, ab as ea, ac as sa, ad as oa, ae as ta, af as na, ag as ca } from "./index-D1Fqo6z9.js";
|
|
2
2
|
export {
|
|
3
3
|
s as BORDER_RADIUS_MAP,
|
|
4
4
|
o as BadgeDollarIcon,
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
t as CloseIcon,
|
|
6
|
+
n as ConnectDialog,
|
|
7
|
+
c as CopiedIcon,
|
|
8
|
+
r as CopyIcon,
|
|
9
|
+
i as DEFAULT_DARK_PALETTE,
|
|
10
|
+
l as DEFAULT_LIGHT_PALETTE,
|
|
11
11
|
T as DefaultDialog,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
12
|
+
D as Eip712Dialog,
|
|
13
|
+
g as EthIcon,
|
|
14
|
+
d as EyeIcon,
|
|
15
|
+
p as FONT_STACK_MAP,
|
|
16
|
+
I as FeeTokenSelector,
|
|
17
|
+
C as GenericTokenIcon,
|
|
18
|
+
h as LockIcon,
|
|
19
|
+
S as OnboardingDialog,
|
|
20
|
+
u as OrSeparator,
|
|
21
21
|
m as PermissionDialog,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
22
|
+
A as PortalContainerContext,
|
|
23
|
+
E as ReactUIHandler,
|
|
24
|
+
k as SignatureDialog,
|
|
25
|
+
P as SiweDialog,
|
|
26
|
+
y as TransactionDialog,
|
|
27
|
+
v as UsdcIcon,
|
|
28
|
+
_ as UsdtIcon,
|
|
29
|
+
L as WalletIcon,
|
|
30
|
+
R as applyFormat,
|
|
31
|
+
U as applyThemeToContainer,
|
|
32
|
+
f as caip10,
|
|
31
33
|
F as clearTokenPriceCache,
|
|
32
34
|
O as cn,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
x as
|
|
36
|
-
G as
|
|
37
|
-
M as
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
w as
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
35
|
+
b as createTokenResolver,
|
|
36
|
+
N as decodeCalldataWithSignature,
|
|
37
|
+
x as deriveAccentPalette,
|
|
38
|
+
G as eip712TypeHash,
|
|
39
|
+
M as fetchTokenBalance,
|
|
40
|
+
B as fetchTokenPrice,
|
|
41
|
+
H as formatAddress,
|
|
42
|
+
K as getChainLabel,
|
|
43
|
+
W as getDefaultDescriptorSource,
|
|
44
|
+
w as getDisplayAddress,
|
|
45
|
+
J as getJustaNameInstance,
|
|
46
|
+
j as getNativeSymbol,
|
|
47
|
+
q as getSystemColorScheme,
|
|
48
|
+
z as hexToOklch,
|
|
49
|
+
Q as isNativeToken,
|
|
50
|
+
V as oklchToString,
|
|
51
|
+
X as resolveCalldataDescriptor,
|
|
52
|
+
Y as resolveEip712Descriptor,
|
|
53
|
+
Z as resolvePath,
|
|
54
|
+
$ as resolveTheme,
|
|
55
|
+
aa as useChainIconURI,
|
|
56
|
+
ea as useClearSigningTypedData,
|
|
57
|
+
sa as useColorScheme,
|
|
58
|
+
oa as useDecodedCalldata,
|
|
59
|
+
ta as useFeeTokenPrice,
|
|
60
|
+
na as useGasEstimation,
|
|
61
|
+
ca as useIsMobile
|
|
51
62
|
};
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { AbiFunction, Hex } from 'viem';
|
|
2
|
+
export type FieldFormatKind = 'raw' | 'addressName' | 'tokenAmount' | 'amount' | 'date' | 'unit' | 'nftName' | 'duration' | 'enum' | 'calldata';
|
|
3
|
+
export interface FieldFormatParams {
|
|
4
|
+
tokenPath?: string;
|
|
5
|
+
nativeCurrencyAddress?: string | string[];
|
|
6
|
+
threshold?: string;
|
|
7
|
+
message?: string;
|
|
8
|
+
encoding?: 'timestamp' | 'blockheight';
|
|
9
|
+
decimals?: number;
|
|
10
|
+
base?: string;
|
|
11
|
+
prefix?: string | boolean;
|
|
12
|
+
trustedSources?: string[];
|
|
13
|
+
types?: string[];
|
|
14
|
+
sources?: string[];
|
|
15
|
+
}
|
|
16
|
+
export interface DescriptorField {
|
|
17
|
+
path: string;
|
|
18
|
+
label?: string;
|
|
19
|
+
format?: FieldFormatKind;
|
|
20
|
+
params?: FieldFormatParams;
|
|
21
|
+
$ref?: string;
|
|
22
|
+
visible?: boolean | 'always' | 'never';
|
|
23
|
+
fields?: DescriptorField[];
|
|
24
|
+
}
|
|
25
|
+
export interface DescriptorFormat {
|
|
26
|
+
$id?: string;
|
|
27
|
+
intent?: string | Record<string, string>;
|
|
28
|
+
fields?: DescriptorField[];
|
|
29
|
+
required?: string[];
|
|
30
|
+
excluded?: string[];
|
|
31
|
+
}
|
|
32
|
+
export interface DescriptorDefinitions {
|
|
33
|
+
[name: string]: Partial<DescriptorField>;
|
|
34
|
+
}
|
|
35
|
+
export interface DescriptorMetadata {
|
|
36
|
+
owner?: string;
|
|
37
|
+
info?: {
|
|
38
|
+
legalName?: string;
|
|
39
|
+
url?: string;
|
|
40
|
+
lastUpdate?: string;
|
|
41
|
+
};
|
|
42
|
+
token?: {
|
|
43
|
+
name?: string;
|
|
44
|
+
ticker?: string;
|
|
45
|
+
decimals?: number;
|
|
46
|
+
};
|
|
47
|
+
enums?: Record<string, Record<string, string>>;
|
|
48
|
+
contractName?: string;
|
|
49
|
+
}
|
|
50
|
+
export interface DescriptorDeployment {
|
|
51
|
+
chainId: number;
|
|
52
|
+
address: string;
|
|
53
|
+
}
|
|
54
|
+
export interface Descriptor {
|
|
55
|
+
context: {
|
|
56
|
+
$id?: string;
|
|
57
|
+
contract?: {
|
|
58
|
+
deployments?: DescriptorDeployment[];
|
|
59
|
+
abi?: unknown;
|
|
60
|
+
};
|
|
61
|
+
eip712?: {
|
|
62
|
+
domain?: {
|
|
63
|
+
name?: string;
|
|
64
|
+
chainId?: number;
|
|
65
|
+
verifyingContract?: string;
|
|
66
|
+
version?: string;
|
|
67
|
+
};
|
|
68
|
+
schemas?: unknown;
|
|
69
|
+
deployments?: DescriptorDeployment[];
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
metadata?: DescriptorMetadata;
|
|
73
|
+
display: {
|
|
74
|
+
definitions?: DescriptorDefinitions;
|
|
75
|
+
formats: Record<string, DescriptorFormat>;
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
export type CalldataIndex = Record<string, string>;
|
|
79
|
+
export type Eip712IndexEntry = Record<string, // primaryType
|
|
80
|
+
Array<{
|
|
81
|
+
path: string;
|
|
82
|
+
encodeTypeHashes?: string[];
|
|
83
|
+
}>>;
|
|
84
|
+
export type Eip712Index = Record<string, Eip712IndexEntry>;
|
|
85
|
+
export type DisplayRowKind = 'address' | 'tokenAmount' | 'amount' | 'date' | 'unit' | 'text' | 'raw';
|
|
86
|
+
export interface DisplayRow {
|
|
87
|
+
label: string;
|
|
88
|
+
/** Pre-formatted user-facing value. */
|
|
89
|
+
value: string;
|
|
90
|
+
kind: DisplayRowKind;
|
|
91
|
+
/** Raw underlying value (hex address, bigint string, …) — used for copy / ENS resolution. */
|
|
92
|
+
rawValue?: string;
|
|
93
|
+
/** When kind === 'tokenAmount' or 'amount': the symbol shown next to the value. */
|
|
94
|
+
symbol?: string;
|
|
95
|
+
/** When kind === 'tokenAmount': the underlying ERC-20 address (for icon lookup). */
|
|
96
|
+
tokenAddress?: string;
|
|
97
|
+
}
|
|
98
|
+
export interface ClearSigningDisplay {
|
|
99
|
+
/** Title for the signing screen (e.g. "Swap", "Permit"). */
|
|
100
|
+
intent?: string;
|
|
101
|
+
/** Human-friendly contract name from descriptor metadata, e.g. "Uniswap V3 Router 2". */
|
|
102
|
+
contractName?: string;
|
|
103
|
+
/** Descriptor owner / issuer attribution, e.g. "Aave DAO". */
|
|
104
|
+
owner?: string;
|
|
105
|
+
/** URL provided by the descriptor for additional info on the issuer. */
|
|
106
|
+
ownerUrl?: string;
|
|
107
|
+
rows: DisplayRow[];
|
|
108
|
+
}
|
|
109
|
+
interface PathContext {
|
|
110
|
+
args: Record<string, unknown>;
|
|
111
|
+
tx: Record<string, unknown>;
|
|
112
|
+
}
|
|
113
|
+
export declare function resolvePath(path: string, ctx: PathContext): unknown;
|
|
114
|
+
export interface DescriptorSource {
|
|
115
|
+
getCalldataIndex(): Promise<CalldataIndex>;
|
|
116
|
+
getEip712Index(): Promise<Eip712Index>;
|
|
117
|
+
getDescriptor(path: string): Promise<Descriptor>;
|
|
118
|
+
}
|
|
119
|
+
export declare function getDefaultDescriptorSource(): DescriptorSource;
|
|
120
|
+
/** Build a CAIP-10 identifier (`eip155:<chainId>:<address.lowercased>`) used by the ERC-7730 indexes. */
|
|
121
|
+
export declare const caip10: (chainId: number, address: string) => string;
|
|
122
|
+
export interface CalldataMatch {
|
|
123
|
+
descriptor: Descriptor;
|
|
124
|
+
formatKey: string;
|
|
125
|
+
format: DescriptorFormat;
|
|
126
|
+
}
|
|
127
|
+
export declare function resolveCalldataDescriptor(source: DescriptorSource, chainId: number, to: string, data: string): Promise<CalldataMatch | null>;
|
|
128
|
+
export interface Eip712Match {
|
|
129
|
+
descriptor: Descriptor;
|
|
130
|
+
formatKey: string;
|
|
131
|
+
format: DescriptorFormat;
|
|
132
|
+
}
|
|
133
|
+
export type Eip712Types = Record<string, ReadonlyArray<{
|
|
134
|
+
name: string;
|
|
135
|
+
type: string;
|
|
136
|
+
}>>;
|
|
137
|
+
/** Compute the 32-byte EIP-712 type hash for a primaryType, or null if undefined. */
|
|
138
|
+
export declare function eip712TypeHash(types: Eip712Types, primaryType: string): Hex | null;
|
|
139
|
+
export declare function resolveEip712Descriptor(source: DescriptorSource, chainId: number, verifyingContract: string, primaryType: string, types: Eip712Types): Promise<Eip712Match | null>;
|
|
140
|
+
export interface TokenInfo {
|
|
141
|
+
address: string;
|
|
142
|
+
decimals: number;
|
|
143
|
+
symbol: string;
|
|
144
|
+
}
|
|
145
|
+
export interface FormatterContext extends PathContext {
|
|
146
|
+
chainId: number;
|
|
147
|
+
resolveToken?: (address: string) => Promise<TokenInfo | null> | TokenInfo | null;
|
|
148
|
+
nativeSymbol?: string;
|
|
149
|
+
}
|
|
150
|
+
export declare function applyFormat(descriptor: Descriptor, format: DescriptorFormat, ctx: FormatterContext): Promise<ClearSigningDisplay>;
|
|
151
|
+
export interface DecodedArgs {
|
|
152
|
+
abiItem: AbiFunction;
|
|
153
|
+
args: Record<string, unknown>;
|
|
154
|
+
}
|
|
155
|
+
export declare function decodeCalldataWithSignature(formatKey: string, data: string): DecodedArgs | null;
|
|
156
|
+
/** Build a `resolveToken` callback bound to a specific chain (and optional JAW API key). */
|
|
157
|
+
export declare function createTokenResolver(chainId: number, apiKey?: string): (address: string) => Promise<TokenInfo | null>;
|
|
158
|
+
/** Native-coin symbol for a chain, sourced from viem's chain config via `SUPPORTED_CHAINS`. */
|
|
159
|
+
export declare function getNativeSymbol(chainId: number): string;
|
|
160
|
+
export {};
|
|
161
|
+
//# sourceMappingURL=clearSigning.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clearSigning.d.ts","sourceRoot":"","sources":["../../src/utils/clearSigning.ts"],"names":[],"mappings":"AAcA,OAAO,EAWL,KAAK,WAAW,EAChB,KAAK,GAAG,EACT,MAAM,MAAM,CAAC;AAOd,MAAM,MAAM,eAAe,GACvB,KAAK,GACL,aAAa,GACb,aAAa,GACb,QAAQ,GACR,MAAM,GACN,MAAM,GACN,SAAS,GACT,UAAU,GACV,MAAM,GACN,UAAU,CAAC;AAEf,MAAM,WAAW,iBAAiB;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qBAAqB,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,WAAW,GAAG,aAAa,CAAC;IACvC,QAAQ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,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC;IACjF,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAiMD,wBAAsB,WAAW,CAC/B,UAAU,EAAE,UAAU,EACtB,MAAM,EAAE,gBAAgB,EACxB,GAAG,EAAE,gBAAgB,GACpB,OAAO,CAAC,mBAAmB,CAAC,CAqB9B;AASD,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAC/B;AAED,wBAAgB,2BAA2B,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,IAAI,CAsB/F;AA+BD,4FAA4F;AAC5F,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,IAE/B,SAAS,MAAM,KAAG,OAAO,CAAC,SAAS,GAAG,IAAI,CAAC,CAwB/E;AAED,+FAA+F;AAC/F,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAEvD"}
|
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;AAC/B,cAAc,qBAAqB,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;AACpC,cAAc,gBAAgB,CAAC"}
|
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.
|
|
4
|
+
"version": "0.4.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"sideEffects": [
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"react-dom": ">=18.0.0"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@jaw.id/core": "0.
|
|
43
|
+
"@jaw.id/core": "0.4.0",
|
|
44
44
|
"@hookform/resolvers": "^5.2.2",
|
|
45
45
|
"@justaname.id/sdk": "^0.2.204",
|
|
46
46
|
"@radix-ui/react-accordion": "^1.2.12",
|