@thenamespace/ens-components 0.0.8-alpha → 0.1.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/README.md +34 -26
- package/dist/index.css +1367 -320
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +100 -41
- package/dist/index.js +1024 -1023
- package/dist/index.js.map +1 -1
- package/dist/styles.js +2 -2
- package/dist/types/components/atoms/button/Button.d.ts +1 -1
- package/dist/types/components/atoms/card/Card.d.ts +7 -0
- package/dist/types/components/atoms/icon/Icon.d.ts +1 -1
- package/dist/types/components/atoms/index.d.ts +1 -0
- package/dist/types/components/atoms/tooltip/Tooltip.d.ts +4 -4
- package/dist/types/components/ens-names-card/EnsNameCard.d.ts +14 -0
- package/dist/types/components/ens-navbar-profile-card/NavbarProfileCard.d.ts +14 -0
- package/dist/types/components/ens-profile-card/ProfileCard.d.ts +24 -0
- package/dist/types/components/index.d.ts +5 -3
- package/dist/types/components/molecules/index.d.ts +1 -0
- package/dist/types/components/molecules/profileheader/ProfileHeader.d.ts +17 -0
- package/dist/types/components/select-records-form/records-selector/RecordsSelector.d.ts +1 -1
- package/dist/types/hooks/useWaitForTransaction.d.ts +1 -1
- package/dist/types/hooks/useWeb3Clients.d.ts +18 -18
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { EnsRecords as EnsRecords$1, ChainName as ChainName$1, ContenthashProtocol as ContenthashProtocol$1, EnsTextRecord as EnsTextRecord$1, EnsAddressRecord as EnsAddressRecord$1, EnsContenthashRecord as EnsContenthashRecord$1 } from '@/types';
|
|
2
3
|
import React$1, { ReactNode } from 'react';
|
|
3
|
-
import { ChainName as ChainName$1, ContenthashProtocol as ContenthashProtocol$1, EnsRecords as EnsRecords$1, EnsTextRecord as EnsTextRecord$1, EnsAddressRecord as EnsAddressRecord$1, EnsContenthashRecord as EnsContenthashRecord$1 } from '@/types';
|
|
4
|
-
import * as viem from 'viem';
|
|
5
|
-
import { Address as Address$1, Hash } from 'viem';
|
|
6
4
|
import { IconName as IconName$1 } from '@/components';
|
|
7
5
|
import * as node_modules_viem__types_actions_siwe_verifySiweMessage from 'node_modules/viem/_types/actions/siwe/verifySiweMessage';
|
|
8
6
|
import * as wagmi from 'wagmi';
|
|
9
7
|
import * as node_modules_viem__types_utils_ccip from 'node_modules/viem/_types/utils/ccip';
|
|
8
|
+
import * as viem from 'viem';
|
|
9
|
+
|
|
10
|
+
interface SelectRecordsFormProps {
|
|
11
|
+
records: EnsRecords$1;
|
|
12
|
+
onRecordsUpdated: (records: EnsRecords$1) => void;
|
|
13
|
+
}
|
|
14
|
+
declare const SelectRecordsForm: ({ records, onRecordsUpdated, }: SelectRecordsFormProps) => react_jsx_runtime.JSX.Element;
|
|
10
15
|
|
|
11
16
|
declare enum TransactionState {
|
|
12
17
|
InProgress = "In Progress",
|
|
@@ -21,9 +26,59 @@ interface PendingTransactionProps {
|
|
|
21
26
|
}
|
|
22
27
|
declare const PendingTransaction: ({ state, blockExplorerUrl, transactionHash, className, }: PendingTransactionProps) => react_jsx_runtime.JSX.Element;
|
|
23
28
|
|
|
29
|
+
/**
|
|
30
|
+
* Card for displaying ENS name details.
|
|
31
|
+
* @param {ENSNameCardProps} props
|
|
32
|
+
*/
|
|
33
|
+
interface ENSNameCardProps {
|
|
34
|
+
name: string;
|
|
35
|
+
imageUrl: string;
|
|
36
|
+
expires: string;
|
|
37
|
+
chain?: ChainName$1;
|
|
38
|
+
className?: string;
|
|
39
|
+
}
|
|
40
|
+
declare const ENSNameCard: ({ name, imageUrl, expires, chain, className, }: ENSNameCardProps) => react_jsx_runtime.JSX.Element;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Card for displaying ENS profile details.
|
|
44
|
+
* @param {ProfileCardProps} props
|
|
45
|
+
*/
|
|
46
|
+
interface ProfileCardProps {
|
|
47
|
+
bannerUrl: string;
|
|
48
|
+
avatarUrl: string;
|
|
49
|
+
name: string;
|
|
50
|
+
username: string;
|
|
51
|
+
bio: string;
|
|
52
|
+
address: string;
|
|
53
|
+
followers?: number;
|
|
54
|
+
following?: number;
|
|
55
|
+
ownedBy: string;
|
|
56
|
+
expires: string;
|
|
57
|
+
records?: string[];
|
|
58
|
+
website?: string;
|
|
59
|
+
subnames?: number;
|
|
60
|
+
profit?: number;
|
|
61
|
+
volume?: number;
|
|
62
|
+
className?: string;
|
|
63
|
+
}
|
|
64
|
+
declare const ProfileCard: ({ bannerUrl, avatarUrl, name, username, bio, address, followers, following, ownedBy, expires, records, website, subnames, profit, volume, className, }: ProfileCardProps) => react_jsx_runtime.JSX.Element;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Compact profile card for navigation bars.
|
|
68
|
+
* @param {NavbarProfileCardProps} props
|
|
69
|
+
*/
|
|
70
|
+
interface NavbarProfileCardProps {
|
|
71
|
+
imageUrl: string;
|
|
72
|
+
name: string;
|
|
73
|
+
address: string;
|
|
74
|
+
onLogout?: () => void;
|
|
75
|
+
className?: string;
|
|
76
|
+
}
|
|
77
|
+
declare const NavbarProfileCard: React$1.FC<NavbarProfileCardProps>;
|
|
78
|
+
|
|
24
79
|
type ButtonVariant = "solid" | "outline" | "ghost";
|
|
25
80
|
type ButtonSize = "sm" | "md" | "lg";
|
|
26
|
-
interface ButtonProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>,
|
|
81
|
+
interface ButtonProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "prefix"> {
|
|
27
82
|
variant?: ButtonVariant;
|
|
28
83
|
size?: ButtonSize;
|
|
29
84
|
loading?: boolean;
|
|
@@ -57,7 +112,7 @@ interface TextProps extends React$1.HTMLAttributes<HTMLSpanElement> {
|
|
|
57
112
|
}
|
|
58
113
|
declare const Text: React$1.FC<TextProps>;
|
|
59
114
|
|
|
60
|
-
type IconName = "person" | "x" | "search" | "square-user" | "globe" | "pin" | "box" | "book" | "map-pin" | "mail" | "discord" | "github" | "telegram" | "youtube" | "image" | "circle-person" | "twitter" | "circle-alert" | "check-circle" | "alert-triangle" | "info" | "x-circle" | "rotate-circle";
|
|
115
|
+
type IconName = "person" | "x" | "search" | "square-user" | "globe" | "pin" | "box" | "book" | "map-pin" | "mail" | "discord" | "github" | "telegram" | "youtube" | "image" | "circle-person" | "twitter" | "circle-alert" | "check-circle" | "alert-triangle" | "info" | "x-circle" | "rotate-circle" | "logout" | "edit" | "copy" | "clock";
|
|
61
116
|
interface IconProps {
|
|
62
117
|
name: IconName;
|
|
63
118
|
color?: string;
|
|
@@ -73,7 +128,7 @@ interface ChainIconProps extends React$1.SVGProps<SVGSVGElement> {
|
|
|
73
128
|
}
|
|
74
129
|
declare const ChainIcon: React$1.FC<ChainIconProps>;
|
|
75
130
|
|
|
76
|
-
type TooltipPosition =
|
|
131
|
+
type TooltipPosition = "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end";
|
|
77
132
|
interface TooltipProps {
|
|
78
133
|
children: ReactNode;
|
|
79
134
|
content: ReactNode;
|
|
@@ -82,12 +137,17 @@ interface TooltipProps {
|
|
|
82
137
|
disabled?: boolean;
|
|
83
138
|
className?: string;
|
|
84
139
|
contentClassName?: string;
|
|
85
|
-
trigger?:
|
|
140
|
+
trigger?: "hover" | "click" | "focus";
|
|
86
141
|
maxWidth?: number;
|
|
87
142
|
offset?: number;
|
|
88
143
|
}
|
|
89
144
|
declare const Tooltip: React$1.FC<TooltipProps>;
|
|
90
145
|
|
|
146
|
+
interface CardProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
147
|
+
children: React$1.ReactNode;
|
|
148
|
+
}
|
|
149
|
+
declare const Card: ({ children, className, ...props }: CardProps) => react_jsx_runtime.JSX.Element;
|
|
150
|
+
|
|
91
151
|
interface DropdownProps {
|
|
92
152
|
trigger: React$1.ReactNode;
|
|
93
153
|
children: React$1.ReactNode;
|
|
@@ -137,21 +197,20 @@ interface ModalProps {
|
|
|
137
197
|
}
|
|
138
198
|
declare const Modal: React$1.FC<ModalProps>;
|
|
139
199
|
|
|
140
|
-
interface
|
|
141
|
-
|
|
142
|
-
|
|
200
|
+
interface ProfileHeaderProps {
|
|
201
|
+
bannerUrl: string;
|
|
202
|
+
avatarUrl: string;
|
|
203
|
+
chainIcon?: string;
|
|
143
204
|
name: string;
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
records: EnsRecords$1;
|
|
152
|
-
onRecordsUpdated: (records: EnsRecords$1) => void;
|
|
205
|
+
username?: string;
|
|
206
|
+
bio?: string;
|
|
207
|
+
followers?: number;
|
|
208
|
+
following?: number;
|
|
209
|
+
primary?: boolean;
|
|
210
|
+
onFollowClick?: () => void;
|
|
211
|
+
dataTestId?: string;
|
|
153
212
|
}
|
|
154
|
-
declare const
|
|
213
|
+
declare const ProfileHeader: React$1.FC<ProfileHeaderProps>;
|
|
155
214
|
|
|
156
215
|
interface SupportedEnsAddress {
|
|
157
216
|
validateFunc?: (value: string) => boolean;
|
|
@@ -191,7 +250,7 @@ interface SupportedTextRecord {
|
|
|
191
250
|
declare const supportedTexts: SupportedTextRecord[];
|
|
192
251
|
declare const getSupportedText: (key: string) => SupportedTextRecord | undefined;
|
|
193
252
|
|
|
194
|
-
declare const useWaitForTransaction: ({ chainId: number }: {
|
|
253
|
+
declare const useWaitForTransaction: ({ chainId: number, }: {
|
|
195
254
|
chainId: number;
|
|
196
255
|
}) => void;
|
|
197
256
|
|
|
@@ -4695,11 +4754,13 @@ declare const useWeb3Client: ({ chainId }: {
|
|
|
4695
4754
|
[x: `bytes8[${string}]`]: undefined;
|
|
4696
4755
|
[x: `bytes2[${string}]`]: undefined;
|
|
4697
4756
|
[x: `bytes10[${string}]`]: undefined;
|
|
4698
|
-
[x: `bytes16[${string}]`]: undefined;
|
|
4699
4757
|
[x: `bytes18[${string}]`]: undefined;
|
|
4758
|
+
[x: `bytes16[${string}]`]: undefined;
|
|
4700
4759
|
[x: `bytes22[${string}]`]: undefined;
|
|
4701
4760
|
[x: `bytes12[${string}]`]: undefined;
|
|
4702
4761
|
[x: `bytes30[${string}]`]: undefined;
|
|
4762
|
+
[x: `bytes25[${string}]`]: undefined;
|
|
4763
|
+
[x: `bytes14[${string}]`]: undefined;
|
|
4703
4764
|
[x: `bytes4[${string}]`]: undefined;
|
|
4704
4765
|
[x: `bytes5[${string}]`]: undefined;
|
|
4705
4766
|
[x: `bytes6[${string}]`]: undefined;
|
|
@@ -4707,13 +4768,11 @@ declare const useWeb3Client: ({ chainId }: {
|
|
|
4707
4768
|
[x: `bytes9[${string}]`]: undefined;
|
|
4708
4769
|
[x: `bytes11[${string}]`]: undefined;
|
|
4709
4770
|
[x: `bytes13[${string}]`]: undefined;
|
|
4710
|
-
[x: `bytes14[${string}]`]: undefined;
|
|
4711
4771
|
[x: `bytes15[${string}]`]: undefined;
|
|
4712
4772
|
[x: `bytes17[${string}]`]: undefined;
|
|
4713
4773
|
[x: `bytes19[${string}]`]: undefined;
|
|
4714
4774
|
[x: `bytes21[${string}]`]: undefined;
|
|
4715
4775
|
[x: `bytes23[${string}]`]: undefined;
|
|
4716
|
-
[x: `bytes25[${string}]`]: undefined;
|
|
4717
4776
|
[x: `bytes26[${string}]`]: undefined;
|
|
4718
4777
|
[x: `bytes27[${string}]`]: undefined;
|
|
4719
4778
|
[x: `bytes28[${string}]`]: undefined;
|
|
@@ -4795,11 +4854,13 @@ declare const useWeb3Client: ({ chainId }: {
|
|
|
4795
4854
|
bytes8?: undefined;
|
|
4796
4855
|
bytes2?: undefined;
|
|
4797
4856
|
bytes10?: undefined;
|
|
4798
|
-
bytes16?: undefined;
|
|
4799
4857
|
bytes18?: undefined;
|
|
4858
|
+
bytes16?: undefined;
|
|
4800
4859
|
bytes22?: undefined;
|
|
4801
4860
|
bytes12?: undefined;
|
|
4802
4861
|
bytes30?: undefined;
|
|
4862
|
+
bytes25?: undefined;
|
|
4863
|
+
bytes14?: undefined;
|
|
4803
4864
|
bytes4?: undefined;
|
|
4804
4865
|
bytes5?: undefined;
|
|
4805
4866
|
bytes6?: undefined;
|
|
@@ -4807,13 +4868,11 @@ declare const useWeb3Client: ({ chainId }: {
|
|
|
4807
4868
|
bytes9?: undefined;
|
|
4808
4869
|
bytes11?: undefined;
|
|
4809
4870
|
bytes13?: undefined;
|
|
4810
|
-
bytes14?: undefined;
|
|
4811
4871
|
bytes15?: undefined;
|
|
4812
4872
|
bytes17?: undefined;
|
|
4813
4873
|
bytes19?: undefined;
|
|
4814
4874
|
bytes21?: undefined;
|
|
4815
4875
|
bytes23?: undefined;
|
|
4816
|
-
bytes25?: undefined;
|
|
4817
4876
|
bytes26?: undefined;
|
|
4818
4877
|
bytes27?: undefined;
|
|
4819
4878
|
bytes28?: undefined;
|
|
@@ -4905,7 +4964,7 @@ declare const useWeb3Client: ({ chainId }: {
|
|
|
4905
4964
|
transport?: undefined;
|
|
4906
4965
|
type?: undefined;
|
|
4907
4966
|
uid?: undefined;
|
|
4908
|
-
} & viem.ExactPartial<Pick<viem.PublicActions<wagmi.Transport<string, Record<string, any>, viem.EIP1193RequestFn>, viem.Chain, viem.Account>, "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "
|
|
4967
|
+
} & viem.ExactPartial<Pick<viem.PublicActions<wagmi.Transport<string, Record<string, any>, viem.EIP1193RequestFn>, viem.Chain, viem.Account>, "getChainId" | "prepareTransactionRequest" | "sendRawTransaction" | "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "readContract" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<viem.WalletActions<viem.Chain, viem.Account>, "sendTransaction" | "writeContract">>>(fn: (client: viem.Client<wagmi.Transport<string, Record<string, any>, viem.EIP1193RequestFn>, viem.Chain, viem.Account, viem.WalletRpcSchema, viem.WalletActions<viem.Chain, viem.Account>>) => client) => viem.Client<wagmi.Transport<string, Record<string, any>, viem.EIP1193RequestFn>, viem.Chain, viem.Account, viem.WalletRpcSchema, { [K in keyof client]: client[K]; } & viem.WalletActions<viem.Chain, viem.Account>>;
|
|
4909
4968
|
} | undefined;
|
|
4910
4969
|
publicClient: {
|
|
4911
4970
|
account: undefined;
|
|
@@ -4976,6 +5035,7 @@ declare const useWeb3Client: ({ chainId }: {
|
|
|
4976
5035
|
s: viem.Hex;
|
|
4977
5036
|
v: bigint;
|
|
4978
5037
|
chainId?: number | undefined;
|
|
5038
|
+
yParity?: undefined | undefined;
|
|
4979
5039
|
gas: bigint;
|
|
4980
5040
|
maxFeePerBlobGas?: undefined | undefined;
|
|
4981
5041
|
gasPrice: bigint;
|
|
@@ -4985,7 +5045,6 @@ declare const useWeb3Client: ({ chainId }: {
|
|
|
4985
5045
|
blobVersionedHashes?: undefined | undefined;
|
|
4986
5046
|
authorizationList?: undefined | undefined;
|
|
4987
5047
|
hash: viem.Hash;
|
|
4988
|
-
yParity?: undefined | undefined;
|
|
4989
5048
|
typeHex: viem.Hex | null;
|
|
4990
5049
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T ? T extends (blockTag extends "pending" ? true : false) ? T extends true ? null : bigint : never : never;
|
|
4991
5050
|
blockHash: (blockTag extends "pending" ? true : false) extends infer T_1 ? T_1 extends (blockTag extends "pending" ? true : false) ? T_1 extends true ? null : `0x${string}` : never : never;
|
|
@@ -5001,6 +5060,7 @@ declare const useWeb3Client: ({ chainId }: {
|
|
|
5001
5060
|
s: viem.Hex;
|
|
5002
5061
|
v: bigint;
|
|
5003
5062
|
chainId: number;
|
|
5063
|
+
yParity: number;
|
|
5004
5064
|
gas: bigint;
|
|
5005
5065
|
maxFeePerBlobGas?: undefined | undefined;
|
|
5006
5066
|
gasPrice: bigint;
|
|
@@ -5010,7 +5070,6 @@ declare const useWeb3Client: ({ chainId }: {
|
|
|
5010
5070
|
blobVersionedHashes?: undefined | undefined;
|
|
5011
5071
|
authorizationList?: undefined | undefined;
|
|
5012
5072
|
hash: viem.Hash;
|
|
5013
|
-
yParity: number;
|
|
5014
5073
|
typeHex: viem.Hex | null;
|
|
5015
5074
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T_3 ? T_3 extends (blockTag extends "pending" ? true : false) ? T_3 extends true ? null : bigint : never : never;
|
|
5016
5075
|
blockHash: (blockTag extends "pending" ? true : false) extends infer T_4 ? T_4 extends (blockTag extends "pending" ? true : false) ? T_4 extends true ? null : `0x${string}` : never : never;
|
|
@@ -5026,6 +5085,7 @@ declare const useWeb3Client: ({ chainId }: {
|
|
|
5026
5085
|
s: viem.Hex;
|
|
5027
5086
|
v: bigint;
|
|
5028
5087
|
chainId: number;
|
|
5088
|
+
yParity: number;
|
|
5029
5089
|
gas: bigint;
|
|
5030
5090
|
maxFeePerBlobGas?: undefined | undefined;
|
|
5031
5091
|
gasPrice?: undefined | undefined;
|
|
@@ -5035,7 +5095,6 @@ declare const useWeb3Client: ({ chainId }: {
|
|
|
5035
5095
|
blobVersionedHashes?: undefined | undefined;
|
|
5036
5096
|
authorizationList?: undefined | undefined;
|
|
5037
5097
|
hash: viem.Hash;
|
|
5038
|
-
yParity: number;
|
|
5039
5098
|
typeHex: viem.Hex | null;
|
|
5040
5099
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T_6 ? T_6 extends (blockTag extends "pending" ? true : false) ? T_6 extends true ? null : bigint : never : never;
|
|
5041
5100
|
blockHash: (blockTag extends "pending" ? true : false) extends infer T_7 ? T_7 extends (blockTag extends "pending" ? true : false) ? T_7 extends true ? null : `0x${string}` : never : never;
|
|
@@ -5051,6 +5110,7 @@ declare const useWeb3Client: ({ chainId }: {
|
|
|
5051
5110
|
s: viem.Hex;
|
|
5052
5111
|
v: bigint;
|
|
5053
5112
|
chainId: number;
|
|
5113
|
+
yParity: number;
|
|
5054
5114
|
gas: bigint;
|
|
5055
5115
|
maxFeePerBlobGas: bigint;
|
|
5056
5116
|
gasPrice?: undefined | undefined;
|
|
@@ -5060,7 +5120,6 @@ declare const useWeb3Client: ({ chainId }: {
|
|
|
5060
5120
|
blobVersionedHashes: readonly viem.Hex[];
|
|
5061
5121
|
authorizationList?: undefined | undefined;
|
|
5062
5122
|
hash: viem.Hash;
|
|
5063
|
-
yParity: number;
|
|
5064
5123
|
typeHex: viem.Hex | null;
|
|
5065
5124
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T_9 ? T_9 extends (blockTag extends "pending" ? true : false) ? T_9 extends true ? null : bigint : never : never;
|
|
5066
5125
|
blockHash: (blockTag extends "pending" ? true : false) extends infer T_10 ? T_10 extends (blockTag extends "pending" ? true : false) ? T_10 extends true ? null : `0x${string}` : never : never;
|
|
@@ -5076,6 +5135,7 @@ declare const useWeb3Client: ({ chainId }: {
|
|
|
5076
5135
|
s: viem.Hex;
|
|
5077
5136
|
v: bigint;
|
|
5078
5137
|
chainId: number;
|
|
5138
|
+
yParity: number;
|
|
5079
5139
|
gas: bigint;
|
|
5080
5140
|
maxFeePerBlobGas?: undefined | undefined;
|
|
5081
5141
|
gasPrice?: undefined | undefined;
|
|
@@ -5085,7 +5145,6 @@ declare const useWeb3Client: ({ chainId }: {
|
|
|
5085
5145
|
blobVersionedHashes?: undefined | undefined;
|
|
5086
5146
|
authorizationList: viem.SignedAuthorizationList;
|
|
5087
5147
|
hash: viem.Hash;
|
|
5088
|
-
yParity: number;
|
|
5089
5148
|
typeHex: viem.Hex | null;
|
|
5090
5149
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T_12 ? T_12 extends (blockTag extends "pending" ? true : false) ? T_12 extends true ? null : bigint : never : never;
|
|
5091
5150
|
blockHash: (blockTag extends "pending" ? true : false) extends infer T_13 ? T_13 extends (blockTag extends "pending" ? true : false) ? T_13 extends true ? null : `0x${string}` : never : never;
|
|
@@ -5126,6 +5185,7 @@ declare const useWeb3Client: ({ chainId }: {
|
|
|
5126
5185
|
s: viem.Hex;
|
|
5127
5186
|
v: bigint;
|
|
5128
5187
|
chainId?: number | undefined;
|
|
5188
|
+
yParity?: undefined | undefined;
|
|
5129
5189
|
gas: bigint;
|
|
5130
5190
|
maxFeePerBlobGas?: undefined | undefined;
|
|
5131
5191
|
gasPrice: bigint;
|
|
@@ -5135,7 +5195,6 @@ declare const useWeb3Client: ({ chainId }: {
|
|
|
5135
5195
|
blobVersionedHashes?: undefined | undefined;
|
|
5136
5196
|
authorizationList?: undefined | undefined;
|
|
5137
5197
|
hash: viem.Hash;
|
|
5138
|
-
yParity?: undefined | undefined;
|
|
5139
5198
|
typeHex: viem.Hex | null;
|
|
5140
5199
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T ? T extends (blockTag extends "pending" ? true : false) ? T extends true ? null : bigint : never : never;
|
|
5141
5200
|
blockHash: (blockTag extends "pending" ? true : false) extends infer T_1 ? T_1 extends (blockTag extends "pending" ? true : false) ? T_1 extends true ? null : `0x${string}` : never : never;
|
|
@@ -5151,6 +5210,7 @@ declare const useWeb3Client: ({ chainId }: {
|
|
|
5151
5210
|
s: viem.Hex;
|
|
5152
5211
|
v: bigint;
|
|
5153
5212
|
chainId: number;
|
|
5213
|
+
yParity: number;
|
|
5154
5214
|
gas: bigint;
|
|
5155
5215
|
maxFeePerBlobGas?: undefined | undefined;
|
|
5156
5216
|
gasPrice: bigint;
|
|
@@ -5160,7 +5220,6 @@ declare const useWeb3Client: ({ chainId }: {
|
|
|
5160
5220
|
blobVersionedHashes?: undefined | undefined;
|
|
5161
5221
|
authorizationList?: undefined | undefined;
|
|
5162
5222
|
hash: viem.Hash;
|
|
5163
|
-
yParity: number;
|
|
5164
5223
|
typeHex: viem.Hex | null;
|
|
5165
5224
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T_3 ? T_3 extends (blockTag extends "pending" ? true : false) ? T_3 extends true ? null : bigint : never : never;
|
|
5166
5225
|
blockHash: (blockTag extends "pending" ? true : false) extends infer T_4 ? T_4 extends (blockTag extends "pending" ? true : false) ? T_4 extends true ? null : `0x${string}` : never : never;
|
|
@@ -5176,6 +5235,7 @@ declare const useWeb3Client: ({ chainId }: {
|
|
|
5176
5235
|
s: viem.Hex;
|
|
5177
5236
|
v: bigint;
|
|
5178
5237
|
chainId: number;
|
|
5238
|
+
yParity: number;
|
|
5179
5239
|
gas: bigint;
|
|
5180
5240
|
maxFeePerBlobGas?: undefined | undefined;
|
|
5181
5241
|
gasPrice?: undefined | undefined;
|
|
@@ -5185,7 +5245,6 @@ declare const useWeb3Client: ({ chainId }: {
|
|
|
5185
5245
|
blobVersionedHashes?: undefined | undefined;
|
|
5186
5246
|
authorizationList?: undefined | undefined;
|
|
5187
5247
|
hash: viem.Hash;
|
|
5188
|
-
yParity: number;
|
|
5189
5248
|
typeHex: viem.Hex | null;
|
|
5190
5249
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T_6 ? T_6 extends (blockTag extends "pending" ? true : false) ? T_6 extends true ? null : bigint : never : never;
|
|
5191
5250
|
blockHash: (blockTag extends "pending" ? true : false) extends infer T_7 ? T_7 extends (blockTag extends "pending" ? true : false) ? T_7 extends true ? null : `0x${string}` : never : never;
|
|
@@ -5201,6 +5260,7 @@ declare const useWeb3Client: ({ chainId }: {
|
|
|
5201
5260
|
s: viem.Hex;
|
|
5202
5261
|
v: bigint;
|
|
5203
5262
|
chainId: number;
|
|
5263
|
+
yParity: number;
|
|
5204
5264
|
gas: bigint;
|
|
5205
5265
|
maxFeePerBlobGas: bigint;
|
|
5206
5266
|
gasPrice?: undefined | undefined;
|
|
@@ -5210,7 +5270,6 @@ declare const useWeb3Client: ({ chainId }: {
|
|
|
5210
5270
|
blobVersionedHashes: readonly viem.Hex[];
|
|
5211
5271
|
authorizationList?: undefined | undefined;
|
|
5212
5272
|
hash: viem.Hash;
|
|
5213
|
-
yParity: number;
|
|
5214
5273
|
typeHex: viem.Hex | null;
|
|
5215
5274
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T_9 ? T_9 extends (blockTag extends "pending" ? true : false) ? T_9 extends true ? null : bigint : never : never;
|
|
5216
5275
|
blockHash: (blockTag extends "pending" ? true : false) extends infer T_10 ? T_10 extends (blockTag extends "pending" ? true : false) ? T_10 extends true ? null : `0x${string}` : never : never;
|
|
@@ -5226,6 +5285,7 @@ declare const useWeb3Client: ({ chainId }: {
|
|
|
5226
5285
|
s: viem.Hex;
|
|
5227
5286
|
v: bigint;
|
|
5228
5287
|
chainId: number;
|
|
5288
|
+
yParity: number;
|
|
5229
5289
|
gas: bigint;
|
|
5230
5290
|
maxFeePerBlobGas?: undefined | undefined;
|
|
5231
5291
|
gasPrice?: undefined | undefined;
|
|
@@ -5235,7 +5295,6 @@ declare const useWeb3Client: ({ chainId }: {
|
|
|
5235
5295
|
blobVersionedHashes?: undefined | undefined;
|
|
5236
5296
|
authorizationList: viem.SignedAuthorizationList;
|
|
5237
5297
|
hash: viem.Hash;
|
|
5238
|
-
yParity: number;
|
|
5239
5298
|
typeHex: viem.Hex | null;
|
|
5240
5299
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T_12 ? T_12 extends (blockTag extends "pending" ? true : false) ? T_12 extends true ? null : bigint : never : never;
|
|
5241
5300
|
blockHash: (blockTag extends "pending" ? true : false) extends infer T_13 ? T_13 extends (blockTag extends "pending" ? true : false) ? T_13 extends true ? null : `0x${string}` : never : never;
|
|
@@ -8529,7 +8588,7 @@ declare const useWeb3Client: ({ chainId }: {
|
|
|
8529
8588
|
transport?: undefined;
|
|
8530
8589
|
type?: undefined;
|
|
8531
8590
|
uid?: undefined;
|
|
8532
|
-
} & viem.ExactPartial<Pick<viem.PublicActions<wagmi.Transport<string, Record<string, any>, viem.EIP1193RequestFn>, viem.Chain, undefined>, "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "
|
|
8591
|
+
} & viem.ExactPartial<Pick<viem.PublicActions<wagmi.Transport<string, Record<string, any>, viem.EIP1193RequestFn>, viem.Chain, undefined>, "getChainId" | "prepareTransactionRequest" | "sendRawTransaction" | "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "readContract" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<viem.WalletActions<viem.Chain, undefined>, "sendTransaction" | "writeContract">>>(fn: (client: viem.Client<wagmi.Transport<string, Record<string, any>, viem.EIP1193RequestFn>, viem.Chain, undefined, viem.PublicRpcSchema, viem.PublicActions<wagmi.Transport<string, Record<string, any>, viem.EIP1193RequestFn>, viem.Chain>>) => client) => viem.Client<wagmi.Transport<string, Record<string, any>, viem.EIP1193RequestFn>, viem.Chain, undefined, viem.PublicRpcSchema, { [K in keyof client]: client[K]; } & viem.PublicActions<wagmi.Transport<string, Record<string, any>, viem.EIP1193RequestFn>, viem.Chain>>;
|
|
8533
8592
|
} | undefined;
|
|
8534
8593
|
};
|
|
8535
8594
|
|
|
@@ -8650,5 +8709,5 @@ interface ThemeProviderProps {
|
|
|
8650
8709
|
declare const ThemeProvider: React$1.FC<ThemeProviderProps>;
|
|
8651
8710
|
declare const useTheme: () => ThemeContextValue;
|
|
8652
8711
|
|
|
8653
|
-
export { Alert, Button, ChainIcon, ContenthashIcon, ContenthashProtocol, Dropdown,
|
|
8654
|
-
export type { AlertProps, AlertVariant, ButtonProps, ButtonSize, ButtonVariant, ChainName, DropdownProps, EnsAddressRecord, EnsContenthashRecord, EnsRecords, EnsRecordsDiff, EnsTextRecord, IconName, IconProps, InputProps, InputSize, InputType, ModalProps, ModalSize,
|
|
8712
|
+
export { Alert, Button, Card, ChainIcon, ContenthashIcon, ContenthashProtocol, Dropdown, ENSNameCard, ENS_RESOLVER_ABI, Icon, Input, MULTICALL, Modal, NavbarProfileCard, PendingTransaction, ProfileCard, ProfileHeader, SET_ADDRESS_FUNC, SET_CONTENTHASH_FUNC, SET_TEXT_FUNC, SelectRecordsForm, Text, TextRecordCategory, ThemeProvider, Tooltip, TransactionState, capitalize, convertEVMChainIdToCoinType, deepCopy, equalsIgnoreCase, getEnsRecordsDiff, getSupportedAddressByCoin, getSupportedAddressByName, getSupportedAddressMap, getSupportedChashByProtocol, getSupportedText, isContenthashValid, supportedAddresses, supportedContenthashRecords, supportedTexts, useTheme, useWaitForTransaction, useWeb3Client };
|
|
8713
|
+
export type { AlertProps, AlertVariant, ButtonProps, ButtonSize, ButtonVariant, ChainName, DropdownProps, EnsAddressRecord, EnsContenthashRecord, EnsRecords, EnsRecordsDiff, EnsTextRecord, IconName, IconProps, InputProps, InputSize, InputType, ModalProps, ModalSize, ProfileHeaderProps, SupportedContenthashRecord, SupportedEnsAddress, SupportedTextRecord, TextColor, TextProps, TextSize, TextWeight, ThemeContextValue, ThemeName, ThemeProviderProps, TooltipPosition, TooltipProps };
|