@jaw.id/ui 0.4.4 → 0.4.5
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/components/ConnectDialog/index.d.ts.map +1 -1
- package/dist/components/Eip712Dialog/index.d.ts.map +1 -1
- package/dist/components/IdentityAvatar.d.ts +10 -0
- package/dist/components/IdentityAvatar.d.ts.map +1 -0
- 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/ClearSignedView.d.ts.map +1 -1
- package/dist/components/TransactionDialog/DecodedCalldata.d.ts +2 -1
- package/dist/components/TransactionDialog/DecodedCalldata.d.ts.map +1 -1
- package/dist/components/TransactionDialog/index.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +550 -462
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/reverseResolve.d.ts +13 -0
- package/dist/utils/reverseResolve.d.ts.map +1 -0
- package/package.json +1 -1
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;AACpC,cAAc,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface ReverseInput {
|
|
2
|
+
address: string;
|
|
3
|
+
chainId: number;
|
|
4
|
+
}
|
|
5
|
+
export interface ResolvedIdentity {
|
|
6
|
+
name: string;
|
|
7
|
+
avatar?: string;
|
|
8
|
+
}
|
|
9
|
+
/** Reverse-resolve addresses to ENS names in one batched request (deduped, chunked at 50, parallel). Never rejects; unresolved addresses are omitted. Returns lowercased address -> name. */
|
|
10
|
+
export declare function reverseResolveAddresses(inputs: ReverseInput[], rpcUrl: string): Promise<Record<string, string>>;
|
|
11
|
+
/** Like {@link reverseResolveAddresses} but with `records=true`, so each name's avatar comes back in the same request. Returns lowercased address -> { name, avatar? }. */
|
|
12
|
+
export declare function reverseResolveWithAvatars(inputs: ReverseInput[], rpcUrl: string): Promise<Record<string, ResolvedIdentity>>;
|
|
13
|
+
//# sourceMappingURL=reverseResolve.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reverseResolve.d.ts","sourceRoot":"","sources":["../../src/utils/reverseResolve.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAiFD,6LAA6L;AAC7L,wBAAsB,uBAAuB,CAAC,MAAM,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAOrH;AAED,2KAA2K;AAC3K,wBAAsB,yBAAyB,CAC7C,MAAM,EAAE,YAAY,EAAE,EACtB,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC,CAE3C"}
|