@matchain/matchid-sdk-react 0.1.53-alpha.3 → 0.1.53-alpha.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.
Files changed (58) hide show
  1. package/dist/assets/icon/index.d.mts +1 -1
  2. package/dist/assets/icon/index.d.ts +1 -1
  3. package/dist/chunk-3CR66BEX.mjs +19 -0
  4. package/dist/chunk-3CR66BEX.mjs.map +1 -0
  5. package/dist/{chunk-HYQ3T6WW.mjs → chunk-JX73EY6V.mjs} +2 -14
  6. package/dist/chunk-JX73EY6V.mjs.map +1 -0
  7. package/dist/{chunk-3YF3P77J.mjs → chunk-LEHYGXVJ.mjs} +780 -188
  8. package/dist/chunk-LEHYGXVJ.mjs.map +1 -0
  9. package/dist/{chunk-4EVF2PXX.mjs → chunk-RT42O3OC.mjs} +2 -2
  10. package/dist/components/index.d.mts +3 -3
  11. package/dist/components/index.d.ts +3 -3
  12. package/dist/components/index.js +843 -217
  13. package/dist/components/index.js.map +1 -1
  14. package/dist/components/index.mjs +6 -3
  15. package/dist/config/chains/index.mjs +2 -1
  16. package/dist/hooks/api/index.d.mts +2 -2
  17. package/dist/hooks/api/index.d.ts +2 -2
  18. package/dist/hooks/api/index.js +169 -58
  19. package/dist/hooks/api/index.js.map +1 -1
  20. package/dist/hooks/api/index.mjs +5 -4
  21. package/dist/hooks/index.d.mts +2 -2
  22. package/dist/hooks/index.d.ts +2 -2
  23. package/dist/hooks/index.js +457 -346
  24. package/dist/hooks/index.js.map +1 -1
  25. package/dist/hooks/index.mjs +4 -3
  26. package/dist/{index-CcN5ls1U.d.ts → index-BaYTgL99.d.mts} +3 -2
  27. package/dist/{index-lKJjj0w4.d.ts → index-BhU3hF7y.d.ts} +2 -2
  28. package/dist/{index-DrEKzXYX.d.mts → index-Bpd2gBNh.d.mts} +1 -1
  29. package/dist/{index-BSUoL5Jo.d.mts → index-C5StsjWY.d.ts} +11 -4
  30. package/dist/{index-DgwlV4ve.d.ts → index-CFqk8eNo.d.ts} +12 -12
  31. package/dist/{index-DXRsJY9h.d.mts → index-D1QeVZyN.d.ts} +3 -2
  32. package/dist/{index-BVO4Bt59.d.ts → index-D_UNctDI.d.mts} +11 -4
  33. package/dist/{index-Cul4qlZl.d.ts → index-DaXXoRxr.d.ts} +1 -1
  34. package/dist/{index-BKHtf1Tu.d.ts → index-Dt92N6yZ.d.ts} +1 -1
  35. package/dist/{index-ba3VTkaV.d.mts → index-W6yjuOKT.d.mts} +1 -1
  36. package/dist/{index-EPwrSSOz.d.mts → index-mxbJ8CFx.d.mts} +12 -12
  37. package/dist/{index-CvVl_Xw1.d.mts → index-wqqEUufi.d.mts} +2 -2
  38. package/dist/index.css +3 -0
  39. package/dist/index.d.mts +7 -7
  40. package/dist/index.d.ts +7 -7
  41. package/dist/index.js +1082 -508
  42. package/dist/index.js.map +1 -1
  43. package/dist/index.mjs +11 -10
  44. package/dist/types/index.d.mts +1 -1
  45. package/dist/types/index.d.ts +1 -1
  46. package/dist/{types-Bgd3Ac92.d.mts → types-Bx_FJ11s.d.mts} +2 -1
  47. package/dist/{types-Bgd3Ac92.d.ts → types-Bx_FJ11s.d.ts} +2 -1
  48. package/dist/ui/index.d.mts +3 -3
  49. package/dist/ui/index.d.ts +3 -3
  50. package/example/src/pages/User/index.tsx +7 -1
  51. package/package.json +2 -1
  52. package/dist/chunk-3YF3P77J.mjs.map +0 -1
  53. package/dist/chunk-HYQ3T6WW.mjs.map +0 -1
  54. package/example/dist/assets/ccip-nxE3Zma4.js +0 -1
  55. package/example/dist/assets/index-BFAv3rdU.css +0 -1
  56. package/example/dist/assets/index-DMWWRDPI.js +0 -1658
  57. package/example/dist/index.html +0 -14
  58. /package/dist/{chunk-4EVF2PXX.mjs.map → chunk-RT42O3OC.mjs.map} +0 -0
@@ -12,13 +12,14 @@ import {
12
12
  useTransaction,
13
13
  useUserInfo,
14
14
  useWallet
15
- } from "../chunk-3YF3P77J.mjs";
15
+ } from "../chunk-LEHYGXVJ.mjs";
16
+ import "../chunk-UA6XHZHX.mjs";
17
+ import "../chunk-OCQ2AIM3.mjs";
16
18
  import {
17
19
  useLayout_exports
18
20
  } from "../chunk-V2S54LGG.mjs";
19
- import "../chunk-OCQ2AIM3.mjs";
20
21
  import "../chunk-3USZ4ZZY.mjs";
21
- import "../chunk-UA6XHZHX.mjs";
22
+ import "../chunk-JX73EY6V.mjs";
22
23
  import "../chunk-J5LGTIGS.mjs";
23
24
  export {
24
25
  useCopyClipboard,
@@ -1,4 +1,4 @@
1
- import { A as Address, e as AnyObject, w as AppConfigType, x as AuthParams, y as BindInfoType, z as BindItemType, F as BindWalletParam, B as ButtonProps, C as CEXType, d as ChainType, G as DeepPartial, D as DrawerProps, E as EmailModalProps, J as EmbeddedWalletsParams, H as Hash, a as IEnvConfigType, K as IEnvName, N as ILoginWalletReq, I as IMatchEvents, b as ISocialLoginMethod, v as IconProps, r as InputProps, L as LocaleType, j as LoginBoxProps, c as LoginMethodType, o as LoginModalProps, n as LoginPanelProps, Q as MessageType, S as MetaPageType, s as ModalProps, M as ModalWithHeaderProps, k as OtherLoginMethodType, O as OverviewInfo, T as PohItemType, V as PohZkpassParams, P as PopoverPositionType, t as PopoverProps, m as PopoverTypeType, R as RecommendLoginMethodType, X as RecoveryType, Y as ThemeType, q as UIProps, h as UserAssetToken, U as UserChainType, g as UserImportTokenType, Z as UserPopoverProps, _ as UserTransactionNextPageParams, $ as UserTransactionRecordType, f as UserTransactionType, i as WalletAssetMergeType, a0 as WalletAssetType, a1 as WalletChainType, W as WalletConfigType, a2 as WalletNFTType, p as WalletPanelProps, a3 as WalletReceiveMessageType, l as WalletType, u as useMatchWalletAssetsProps } from './types-Bgd3Ac92.js';
1
+ import { A as Address, l as AnyObject, p as AppConfigType, q as AuthParams, r as BindInfoType, s as BindItemType, t as BindWalletParam, B as ButtonProps, C as CEXType, k as ChainType, D as DeepPartial, v as DrawerProps, E as EmailModalProps, w as EmbeddedWalletsParams, H as Hash, a as IEnvConfigType, x as IEnvName, y as ILoginWalletReq, I as IMatchEvents, h as ISocialLoginMethod, z as IconProps, F as InputProps, L as LocaleType, b as LoginBoxProps, j as LoginMethodType, f as LoginModalProps, e as LoginPanelProps, G as MessageType, J as MetaPageType, K as ModalProps, M as ModalWithHeaderProps, O as OtherLoginMethodType, i as OverviewInfo, N as PohItemType, Q as PohZkpassParams, P as PopoverPositionType, S as PopoverProps, d as PopoverTypeType, R as RecommendLoginMethodType, T as RecoveryType, V as ThemeType, X as UIProps, o as UserAssetToken, U as UserChainType, n as UserImportTokenType, Y as UserPopoverProps, Z as UserTransactionNextPageParams, _ as UserTransactionRecordType, m as UserTransactionType, g as WalletAssetMergeType, $ as WalletAssetType, a0 as WalletChainType, W as WalletConfigType, a1 as WalletNFTType, a2 as WalletPanelProps, a3 as WalletReceiveMessageType, a4 as WalletStatusType, c as WalletType, u as useMatchWalletAssetsProps } from './types-Bx_FJ11s.mjs';
2
2
 
3
3
  declare const index_Address: typeof Address;
4
4
  declare const index_AnyObject: typeof AnyObject;
@@ -56,10 +56,11 @@ declare const index_WalletConfigType: typeof WalletConfigType;
56
56
  declare const index_WalletNFTType: typeof WalletNFTType;
57
57
  declare const index_WalletPanelProps: typeof WalletPanelProps;
58
58
  declare const index_WalletReceiveMessageType: typeof WalletReceiveMessageType;
59
+ declare const index_WalletStatusType: typeof WalletStatusType;
59
60
  declare const index_WalletType: typeof WalletType;
60
61
  declare const index_useMatchWalletAssetsProps: typeof useMatchWalletAssetsProps;
61
62
  declare namespace index {
62
- export { index_Address as Address, index_AnyObject as AnyObject, index_AppConfigType as AppConfigType, index_AuthParams as AuthParams, index_BindInfoType as BindInfoType, index_BindItemType as BindItemType, index_BindWalletParam as BindWalletParam, index_ButtonProps as ButtonProps, index_CEXType as CEXType, index_ChainType as ChainType, index_DeepPartial as DeepPartial, index_DrawerProps as DrawerProps, index_EmailModalProps as EmailModalProps, index_EmbeddedWalletsParams as EmbeddedWalletsParams, index_Hash as Hash, index_IEnvConfigType as IEnvConfigType, index_IEnvName as IEnvName, index_ILoginWalletReq as ILoginWalletReq, index_IMatchEvents as IMatchEvents, index_ISocialLoginMethod as ISocialLoginMethod, index_IconProps as IconProps, index_InputProps as InputProps, index_LocaleType as LocaleType, index_LoginBoxProps as LoginBoxProps, index_LoginMethodType as LoginMethodType, index_LoginModalProps as LoginModalProps, index_LoginPanelProps as LoginPanelProps, index_MessageType as MessageType, index_MetaPageType as MetaPageType, index_ModalProps as ModalProps, index_ModalWithHeaderProps as ModalWithHeaderProps, index_OtherLoginMethodType as OtherLoginMethodType, index_OverviewInfo as OverviewInfo, index_PohItemType as PohItemType, index_PohZkpassParams as PohZkpassParams, index_PopoverPositionType as PopoverPositionType, index_PopoverProps as PopoverProps, index_PopoverTypeType as PopoverTypeType, index_RecommendLoginMethodType as RecommendLoginMethodType, index_RecoveryType as RecoveryType, index_ThemeType as ThemeType, index_UIProps as UIProps, index_UserAssetToken as UserAssetToken, index_UserChainType as UserChainType, index_UserImportTokenType as UserImportTokenType, index_UserPopoverProps as UserPopoverProps, index_UserTransactionNextPageParams as UserTransactionNextPageParams, index_UserTransactionRecordType as UserTransactionRecordType, index_UserTransactionType as UserTransactionType, index_WalletAssetMergeType as WalletAssetMergeType, index_WalletAssetType as WalletAssetType, index_WalletChainType as WalletChainType, index_WalletConfigType as WalletConfigType, index_WalletNFTType as WalletNFTType, index_WalletPanelProps as WalletPanelProps, index_WalletReceiveMessageType as WalletReceiveMessageType, index_WalletType as WalletType, index_useMatchWalletAssetsProps as useMatchWalletAssetsProps };
63
+ export { index_Address as Address, index_AnyObject as AnyObject, index_AppConfigType as AppConfigType, index_AuthParams as AuthParams, index_BindInfoType as BindInfoType, index_BindItemType as BindItemType, index_BindWalletParam as BindWalletParam, index_ButtonProps as ButtonProps, index_CEXType as CEXType, index_ChainType as ChainType, index_DeepPartial as DeepPartial, index_DrawerProps as DrawerProps, index_EmailModalProps as EmailModalProps, index_EmbeddedWalletsParams as EmbeddedWalletsParams, index_Hash as Hash, index_IEnvConfigType as IEnvConfigType, index_IEnvName as IEnvName, index_ILoginWalletReq as ILoginWalletReq, index_IMatchEvents as IMatchEvents, index_ISocialLoginMethod as ISocialLoginMethod, index_IconProps as IconProps, index_InputProps as InputProps, index_LocaleType as LocaleType, index_LoginBoxProps as LoginBoxProps, index_LoginMethodType as LoginMethodType, index_LoginModalProps as LoginModalProps, index_LoginPanelProps as LoginPanelProps, index_MessageType as MessageType, index_MetaPageType as MetaPageType, index_ModalProps as ModalProps, index_ModalWithHeaderProps as ModalWithHeaderProps, index_OtherLoginMethodType as OtherLoginMethodType, index_OverviewInfo as OverviewInfo, index_PohItemType as PohItemType, index_PohZkpassParams as PohZkpassParams, index_PopoverPositionType as PopoverPositionType, index_PopoverProps as PopoverProps, index_PopoverTypeType as PopoverTypeType, index_RecommendLoginMethodType as RecommendLoginMethodType, index_RecoveryType as RecoveryType, index_ThemeType as ThemeType, index_UIProps as UIProps, index_UserAssetToken as UserAssetToken, index_UserChainType as UserChainType, index_UserImportTokenType as UserImportTokenType, index_UserPopoverProps as UserPopoverProps, index_UserTransactionNextPageParams as UserTransactionNextPageParams, index_UserTransactionRecordType as UserTransactionRecordType, index_UserTransactionType as UserTransactionType, index_WalletAssetMergeType as WalletAssetMergeType, index_WalletAssetType as WalletAssetType, index_WalletChainType as WalletChainType, index_WalletConfigType as WalletConfigType, index_WalletNFTType as WalletNFTType, index_WalletPanelProps as WalletPanelProps, index_WalletReceiveMessageType as WalletReceiveMessageType, index_WalletStatusType as WalletStatusType, index_WalletType as WalletType, index_useMatchWalletAssetsProps as useMatchWalletAssetsProps };
63
64
  }
64
65
 
65
66
  export { index as i };
@@ -1,6 +1,6 @@
1
- import { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-Cul4qlZl.js';
1
+ import { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-DaXXoRxr.js';
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
- import { D as DrawerProps, p as WalletPanelProps, q as UIProps } from './types-Bgd3Ac92.js';
3
+ import { v as DrawerProps, a2 as WalletPanelProps, X as UIProps } from './types-Bx_FJ11s.js';
4
4
  import { Hash, Chain } from 'viem';
5
5
  import { CSSProperties } from 'react';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode, PropsWithChildren } from 'react';
3
- import { r as InputProps, B as ButtonProps, s as ModalProps, M as ModalWithHeaderProps, t as PopoverProps } from './types-Bgd3Ac92.mjs';
3
+ import { F as InputProps, B as ButtonProps, K as ModalProps, M as ModalWithHeaderProps, S as PopoverProps } from './types-Bx_FJ11s.mjs';
4
4
 
5
5
  declare function Field({ label, children, error, required, className }: {
6
6
  label: ReactNode;
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { E as EmailModalProps, j as LoginBoxProps, B as ButtonProps, k as OtherLoginMethodType, R as RecommendLoginMethodType, l as WalletType, P as PopoverPositionType, m as PopoverTypeType, n as LoginPanelProps, o as LoginModalProps, M as ModalWithHeaderProps, i as WalletAssetMergeType, u as useMatchWalletAssetsProps } from './types-Bgd3Ac92.mjs';
3
- import { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-DrEKzXYX.mjs';
2
+ import { E as EmailModalProps, b as LoginBoxProps, B as ButtonProps, O as OtherLoginMethodType, R as RecommendLoginMethodType, c as WalletType, P as PopoverPositionType, d as PopoverTypeType, e as LoginPanelProps, f as LoginModalProps, M as ModalWithHeaderProps, g as WalletAssetMergeType, u as useMatchWalletAssetsProps } from './types-Bx_FJ11s.js';
3
+ import { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-DaXXoRxr.js';
4
4
  import { ReactNode } from 'react';
5
5
 
6
6
  declare function EmailModal({ isOpen, width, onClose, onBack, onLogin }: EmailModalProps): react_jsx_runtime.JSX.Element;
@@ -26,6 +26,12 @@ declare function UsernameModal({ title, isOpen, onSuccess, ...props }: ModalWith
26
26
  onSuccess?: () => void;
27
27
  }): react_jsx_runtime.JSX.Element;
28
28
 
29
+ type EVMModalProps = ModalWithHeaderProps & {
30
+ type?: 'login' | 'bind' | '';
31
+ onSuccess?: () => void;
32
+ };
33
+ declare function EVMModal(props: EVMModalProps): false | react_jsx_runtime.JSX.Element;
34
+
29
35
  type TRONConnectModalProps = ModalWithHeaderProps & {
30
36
  type?: 'login' | 'bind' | '';
31
37
  onSuccess?: () => void;
@@ -77,6 +83,7 @@ declare function TransactionList({ scrollableTarget }: {
77
83
 
78
84
  declare const index_BTCModal: typeof BTCModal;
79
85
  declare const index_Button: typeof Button;
86
+ declare const index_EVMModal: typeof EVMModal;
80
87
  declare const index_EmailModal: typeof EmailModal;
81
88
  declare const index_Field: typeof Field;
82
89
  declare const index_Input: typeof Input;
@@ -98,7 +105,7 @@ declare const index_UsernameModal: typeof UsernameModal;
98
105
  declare const index_WalletAsset: typeof WalletAsset;
99
106
  declare const index_WalletModal: typeof WalletModal;
100
107
  declare namespace index {
101
- export { index_BTCModal as BTCModal, index_Button as Button, index_EmailModal as EmailModal, index_Field as Field, index_Input as Input, index_LoginBox as LoginBox, index_LoginButton as LoginButton, index_LoginModal as LoginModal, index_LoginPanel as LoginPanel, index_Modal as Modal, index_ModalWithHeader as ModalWithHeader, index_Overlay as Overlay, index_Popover as Popover, index_TONModal as TONModal, index_TRONModal as TRONModal, index_TokenDetail as TokenDetail, index_TokenSend as TokenSend, index_TokenSendList as TokenSendList, index_TransactionList as TransactionList, index_UsernameModal as UsernameModal, index_WalletAsset as WalletAsset, index_WalletModal as WalletModal };
108
+ export { index_BTCModal as BTCModal, index_Button as Button, index_EVMModal as EVMModal, index_EmailModal as EmailModal, index_Field as Field, index_Input as Input, index_LoginBox as LoginBox, index_LoginButton as LoginButton, index_LoginModal as LoginModal, index_LoginPanel as LoginPanel, index_Modal as Modal, index_ModalWithHeader as ModalWithHeader, index_Overlay as Overlay, index_Popover as Popover, index_TONModal as TONModal, index_TRONModal as TRONModal, index_TokenDetail as TokenDetail, index_TokenSend as TokenSend, index_TokenSendList as TokenSendList, index_TransactionList as TransactionList, index_UsernameModal as UsernameModal, index_WalletAsset as WalletAsset, index_WalletModal as WalletModal };
102
109
  }
103
110
 
104
- export { BTCModal as B, EmailModal as E, LoginBox as L, TRONModal as T, UsernameModal as U, WalletModal as W, LoginButton as a, LoginPanel as b, LoginModal as c, TONModal as d, WalletAsset as e, TokenDetail as f, TokenSend as g, TokenSendList as h, index as i, TransactionList as j };
111
+ export { BTCModal as B, EmailModal as E, LoginBox as L, TRONModal as T, UsernameModal as U, WalletModal as W, LoginButton as a, LoginPanel as b, LoginModal as c, EVMModal as d, TONModal as e, WalletAsset as f, TokenDetail as g, TokenSend as h, index as i, TokenSendList as j, TransactionList as k };
@@ -1,4 +1,4 @@
1
- import { b as ISocialLoginMethod, O as OverviewInfo, C as CEXType, c as LoginMethodType, I as IMatchEvents, d as ChainType, U as UserChainType, A as Address, H as Hash$1, e as AnyObject, f as UserTransactionType, u as useMatchWalletAssetsProps, g as UserImportTokenType, h as UserAssetToken, i as WalletAssetMergeType } from './types-Bgd3Ac92.js';
1
+ import { h as ISocialLoginMethod, i as OverviewInfo, C as CEXType, j as LoginMethodType, I as IMatchEvents, k as ChainType, U as UserChainType, A as Address, H as Hash$1, l as AnyObject, m as UserTransactionType, u as useMatchWalletAssetsProps, n as UserImportTokenType, o as UserAssetToken, g as WalletAssetMergeType } from './types-Bx_FJ11s.js';
2
2
  import * as viem from 'viem';
3
3
  import { Account, WalletClientConfig, createWalletClient, SignableMessage, Hex, TransactionSerializable, DeployContractParameters, SendTransactionParameters, WriteContractParameters, Chain } from 'viem';
4
4
  import { Hash } from 'viem/types/misc';
@@ -176,9 +176,9 @@ declare function useMatchChain(): {
176
176
  getBlobBaseFee: () => Promise<viem.GetBlobBaseFeeReturnType>;
177
177
  getBlock: <includeTransactions extends boolean = false, blockTag extends viem.BlockTag = "latest">(args?: viem.GetBlockParameters<includeTransactions, blockTag> | undefined) => Promise<{
178
178
  number: blockTag extends "pending" ? null : bigint;
179
+ nonce: blockTag extends "pending" ? null : `0x${string}`;
179
180
  size: bigint;
180
181
  hash: blockTag extends "pending" ? null : `0x${string}`;
181
- nonce: blockTag extends "pending" ? null : `0x${string}`;
182
182
  logsBloom: blockTag extends "pending" ? null : `0x${string}`;
183
183
  baseFeePerGas: bigint | null;
184
184
  blobGasUsed: bigint;
@@ -202,6 +202,7 @@ declare function useMatchChain(): {
202
202
  withdrawalsRoot?: viem.Hex | undefined;
203
203
  transactions: includeTransactions extends true ? ({
204
204
  type: "legacy";
205
+ nonce: number;
205
206
  chainId?: number | undefined;
206
207
  value: bigint;
207
208
  input: viem.Hex;
@@ -212,7 +213,6 @@ declare function useMatchChain(): {
212
213
  hash: viem.Hash;
213
214
  from: viem.Address;
214
215
  gas: bigint;
215
- nonce: number;
216
216
  to: viem.Address | null;
217
217
  blobVersionedHashes?: undefined;
218
218
  gasPrice: bigint;
@@ -226,6 +226,7 @@ declare function useMatchChain(): {
226
226
  transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_2 ? T_2 extends (blockTag extends "pending" ? true : false) ? T_2 extends true ? null : number : never : never;
227
227
  } | {
228
228
  type: "eip2930";
229
+ nonce: number;
229
230
  chainId: number;
230
231
  value: bigint;
231
232
  input: viem.Hex;
@@ -236,7 +237,6 @@ declare function useMatchChain(): {
236
237
  hash: viem.Hash;
237
238
  from: viem.Address;
238
239
  gas: bigint;
239
- nonce: number;
240
240
  to: viem.Address | null;
241
241
  blobVersionedHashes?: undefined;
242
242
  gasPrice: bigint;
@@ -250,6 +250,7 @@ declare function useMatchChain(): {
250
250
  transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_2 ? T_2 extends (blockTag extends "pending" ? true : false) ? T_2 extends true ? null : number : never : never;
251
251
  } | {
252
252
  type: "eip1559";
253
+ nonce: number;
253
254
  chainId: number;
254
255
  value: bigint;
255
256
  input: viem.Hex;
@@ -260,7 +261,6 @@ declare function useMatchChain(): {
260
261
  hash: viem.Hash;
261
262
  from: viem.Address;
262
263
  gas: bigint;
263
- nonce: number;
264
264
  to: viem.Address | null;
265
265
  blobVersionedHashes?: undefined;
266
266
  gasPrice?: undefined;
@@ -274,6 +274,7 @@ declare function useMatchChain(): {
274
274
  transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_2 ? T_2 extends (blockTag extends "pending" ? true : false) ? T_2 extends true ? null : number : never : never;
275
275
  } | {
276
276
  type: "eip4844";
277
+ nonce: number;
277
278
  chainId: number;
278
279
  value: bigint;
279
280
  input: viem.Hex;
@@ -284,7 +285,6 @@ declare function useMatchChain(): {
284
285
  hash: viem.Hash;
285
286
  from: viem.Address;
286
287
  gas: bigint;
287
- nonce: number;
288
288
  to: viem.Address | null;
289
289
  blobVersionedHashes: readonly viem.Hex[];
290
290
  gasPrice?: undefined;
@@ -323,6 +323,7 @@ declare function useMatchChain(): {
323
323
  getStorageAt: (args: viem.GetStorageAtParameters) => Promise<viem.GetStorageAtReturnType>;
324
324
  getTransaction: <blockTag extends viem.BlockTag = "latest">(args: viem.GetTransactionParameters<blockTag>) => Promise<{
325
325
  type: "legacy";
326
+ nonce: number;
326
327
  chainId?: number | undefined;
327
328
  value: bigint;
328
329
  input: viem.Hex;
@@ -333,7 +334,6 @@ declare function useMatchChain(): {
333
334
  hash: viem.Hash;
334
335
  from: viem.Address;
335
336
  gas: bigint;
336
- nonce: number;
337
337
  to: viem.Address | null;
338
338
  blobVersionedHashes?: undefined;
339
339
  gasPrice: bigint;
@@ -347,6 +347,7 @@ declare function useMatchChain(): {
347
347
  transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_2 ? T_2 extends (blockTag extends "pending" ? true : false) ? T_2 extends true ? null : number : never : never;
348
348
  } | {
349
349
  type: "eip2930";
350
+ nonce: number;
350
351
  chainId: number;
351
352
  value: bigint;
352
353
  input: viem.Hex;
@@ -357,7 +358,6 @@ declare function useMatchChain(): {
357
358
  hash: viem.Hash;
358
359
  from: viem.Address;
359
360
  gas: bigint;
360
- nonce: number;
361
361
  to: viem.Address | null;
362
362
  blobVersionedHashes?: undefined;
363
363
  gasPrice: bigint;
@@ -371,6 +371,7 @@ declare function useMatchChain(): {
371
371
  transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_2 ? T_2 extends (blockTag extends "pending" ? true : false) ? T_2 extends true ? null : number : never : never;
372
372
  } | {
373
373
  type: "eip1559";
374
+ nonce: number;
374
375
  chainId: number;
375
376
  value: bigint;
376
377
  input: viem.Hex;
@@ -381,7 +382,6 @@ declare function useMatchChain(): {
381
382
  hash: viem.Hash;
382
383
  from: viem.Address;
383
384
  gas: bigint;
384
- nonce: number;
385
385
  to: viem.Address | null;
386
386
  blobVersionedHashes?: undefined;
387
387
  gasPrice?: undefined;
@@ -395,6 +395,7 @@ declare function useMatchChain(): {
395
395
  transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_2 ? T_2 extends (blockTag extends "pending" ? true : false) ? T_2 extends true ? null : number : never : never;
396
396
  } | {
397
397
  type: "eip4844";
398
+ nonce: number;
398
399
  chainId: number;
399
400
  value: bigint;
400
401
  input: viem.Hex;
@@ -405,7 +406,6 @@ declare function useMatchChain(): {
405
406
  hash: viem.Hash;
406
407
  from: viem.Address;
407
408
  gas: bigint;
408
- nonce: number;
409
409
  to: viem.Address | null;
410
410
  blobVersionedHashes: readonly viem.Hex[];
411
411
  gasPrice?: undefined;
@@ -1810,7 +1810,7 @@ declare function useMatchChain(): {
1810
1810
  sidecars: viem.TransactionSerializableEIP4844["sidecars"];
1811
1811
  }, viem.TransactionSerializableEIP4844>)) | viem.Opaque<viem.TransactionSerializableEIP4844, request> | viem.Opaque<viem.TransactionRequestEIP4844, request> ? "eip4844" : never) | (request["type"] extends string ? request["type"] : never)>) ? T_6 extends "eip4844" ? viem.TransactionRequestEIP4844 : never : never : never)>> & {
1812
1812
  chainId?: number | undefined;
1813
- }, (request["parameters"] extends readonly viem.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "chainId" | "gas" | "nonce" | "blobVersionedHashes" | "fees") extends infer T_7 ? T_7 extends (request["parameters"] extends readonly viem.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "chainId" | "gas" | "nonce" | "blobVersionedHashes" | "fees") ? T_7 extends "fees" ? "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" : T_7 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">) extends infer T ? { [K in keyof T]: (viem.UnionRequiredBy<Extract<viem.UnionOmit<viem.ExtractChainFormatterParameters<viem.DeriveChain<UserChainType, chainOverride>, "transactionRequest", viem.TransactionRequest>, "from"> & (viem.DeriveChain<UserChainType, chainOverride> extends infer T_1 ? T_1 extends viem.DeriveChain<UserChainType, chainOverride> ? T_1 extends viem.Chain ? {
1813
+ }, (request["parameters"] extends readonly viem.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "chainId" | "gas" | "blobVersionedHashes" | "fees") extends infer T_7 ? T_7 extends (request["parameters"] extends readonly viem.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "chainId" | "gas" | "blobVersionedHashes" | "fees") ? T_7 extends "fees" ? "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" : T_7 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">) extends infer T ? { [K in keyof T]: (viem.UnionRequiredBy<Extract<viem.UnionOmit<viem.ExtractChainFormatterParameters<viem.DeriveChain<UserChainType, chainOverride>, "transactionRequest", viem.TransactionRequest>, "from"> & (viem.DeriveChain<UserChainType, chainOverride> extends infer T_1 ? T_1 extends viem.DeriveChain<UserChainType, chainOverride> ? T_1 extends viem.Chain ? {
1814
1814
  chain: T_1;
1815
1815
  } : {
1816
1816
  chain?: undefined;
@@ -3198,7 +3198,7 @@ declare function useMatchChain(): {
3198
3198
  sidecars: viem.TransactionSerializableEIP4844["sidecars"];
3199
3199
  }, viem.TransactionSerializableEIP4844>)) | viem.Opaque<viem.TransactionSerializableEIP4844, request> | viem.Opaque<viem.TransactionRequestEIP4844, request> ? "eip4844" : never) | (request["type"] extends string ? request["type"] : never)>) ? T_6 extends "eip4844" ? viem.TransactionRequestEIP4844 : never : never : never)>> & {
3200
3200
  chainId?: number | undefined;
3201
- }, (request["parameters"] extends readonly viem.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "chainId" | "gas" | "nonce" | "blobVersionedHashes" | "fees") extends infer T_7 ? T_7 extends (request["parameters"] extends readonly viem.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "chainId" | "gas" | "nonce" | "blobVersionedHashes" | "fees") ? T_7 extends "fees" ? "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" : T_7 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">))[K]; } : never>;
3201
+ }, (request["parameters"] extends readonly viem.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "chainId" | "gas" | "blobVersionedHashes" | "fees") extends infer T_7 ? T_7 extends (request["parameters"] extends readonly viem.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "chainId" | "gas" | "blobVersionedHashes" | "fees") ? T_7 extends "fees" ? "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" : T_7 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">))[K]; } : never>;
3202
3202
  readContract: <const abi extends viem.Abi | readonly unknown[], functionName extends viem.ContractFunctionName<abi, "pure" | "view">, args extends viem.ContractFunctionArgs<abi, "pure" | "view", functionName>>(args: viem.ReadContractParameters<abi, functionName, args>) => Promise<viem.ReadContractReturnType<abi, functionName, args>>;
3203
3203
  sendRawTransaction: (args: viem.SendRawTransactionParameters) => Promise<viem.SendRawTransactionReturnType>;
3204
3204
  simulateContract: <const abi extends viem.Abi | readonly unknown[], functionName extends viem.ContractFunctionName<abi, "nonpayable" | "payable">, args_1 extends viem.ContractFunctionArgs<abi, "nonpayable" | "payable", functionName>, chainOverride extends viem.Chain | undefined, accountOverride extends viem.Account | viem.Address | undefined = undefined>(args: viem.SimulateContractParameters<abi, functionName, args_1, UserChainType, chainOverride, accountOverride>) => Promise<viem.SimulateContractReturnType<abi, functionName, args_1, UserChainType, viem.Account | undefined, chainOverride, accountOverride>>;
@@ -1,4 +1,4 @@
1
- import { A as Address, e as AnyObject, w as AppConfigType, x as AuthParams, y as BindInfoType, z as BindItemType, F as BindWalletParam, B as ButtonProps, C as CEXType, d as ChainType, G as DeepPartial, D as DrawerProps, E as EmailModalProps, J as EmbeddedWalletsParams, H as Hash, a as IEnvConfigType, K as IEnvName, N as ILoginWalletReq, I as IMatchEvents, b as ISocialLoginMethod, v as IconProps, r as InputProps, L as LocaleType, j as LoginBoxProps, c as LoginMethodType, o as LoginModalProps, n as LoginPanelProps, Q as MessageType, S as MetaPageType, s as ModalProps, M as ModalWithHeaderProps, k as OtherLoginMethodType, O as OverviewInfo, T as PohItemType, V as PohZkpassParams, P as PopoverPositionType, t as PopoverProps, m as PopoverTypeType, R as RecommendLoginMethodType, X as RecoveryType, Y as ThemeType, q as UIProps, h as UserAssetToken, U as UserChainType, g as UserImportTokenType, Z as UserPopoverProps, _ as UserTransactionNextPageParams, $ as UserTransactionRecordType, f as UserTransactionType, i as WalletAssetMergeType, a0 as WalletAssetType, a1 as WalletChainType, W as WalletConfigType, a2 as WalletNFTType, p as WalletPanelProps, a3 as WalletReceiveMessageType, l as WalletType, u as useMatchWalletAssetsProps } from './types-Bgd3Ac92.mjs';
1
+ import { A as Address, l as AnyObject, p as AppConfigType, q as AuthParams, r as BindInfoType, s as BindItemType, t as BindWalletParam, B as ButtonProps, C as CEXType, k as ChainType, D as DeepPartial, v as DrawerProps, E as EmailModalProps, w as EmbeddedWalletsParams, H as Hash, a as IEnvConfigType, x as IEnvName, y as ILoginWalletReq, I as IMatchEvents, h as ISocialLoginMethod, z as IconProps, F as InputProps, L as LocaleType, b as LoginBoxProps, j as LoginMethodType, f as LoginModalProps, e as LoginPanelProps, G as MessageType, J as MetaPageType, K as ModalProps, M as ModalWithHeaderProps, O as OtherLoginMethodType, i as OverviewInfo, N as PohItemType, Q as PohZkpassParams, P as PopoverPositionType, S as PopoverProps, d as PopoverTypeType, R as RecommendLoginMethodType, T as RecoveryType, V as ThemeType, X as UIProps, o as UserAssetToken, U as UserChainType, n as UserImportTokenType, Y as UserPopoverProps, Z as UserTransactionNextPageParams, _ as UserTransactionRecordType, m as UserTransactionType, g as WalletAssetMergeType, $ as WalletAssetType, a0 as WalletChainType, W as WalletConfigType, a1 as WalletNFTType, a2 as WalletPanelProps, a3 as WalletReceiveMessageType, a4 as WalletStatusType, c as WalletType, u as useMatchWalletAssetsProps } from './types-Bx_FJ11s.js';
2
2
 
3
3
  declare const index_Address: typeof Address;
4
4
  declare const index_AnyObject: typeof AnyObject;
@@ -56,10 +56,11 @@ declare const index_WalletConfigType: typeof WalletConfigType;
56
56
  declare const index_WalletNFTType: typeof WalletNFTType;
57
57
  declare const index_WalletPanelProps: typeof WalletPanelProps;
58
58
  declare const index_WalletReceiveMessageType: typeof WalletReceiveMessageType;
59
+ declare const index_WalletStatusType: typeof WalletStatusType;
59
60
  declare const index_WalletType: typeof WalletType;
60
61
  declare const index_useMatchWalletAssetsProps: typeof useMatchWalletAssetsProps;
61
62
  declare namespace index {
62
- export { index_Address as Address, index_AnyObject as AnyObject, index_AppConfigType as AppConfigType, index_AuthParams as AuthParams, index_BindInfoType as BindInfoType, index_BindItemType as BindItemType, index_BindWalletParam as BindWalletParam, index_ButtonProps as ButtonProps, index_CEXType as CEXType, index_ChainType as ChainType, index_DeepPartial as DeepPartial, index_DrawerProps as DrawerProps, index_EmailModalProps as EmailModalProps, index_EmbeddedWalletsParams as EmbeddedWalletsParams, index_Hash as Hash, index_IEnvConfigType as IEnvConfigType, index_IEnvName as IEnvName, index_ILoginWalletReq as ILoginWalletReq, index_IMatchEvents as IMatchEvents, index_ISocialLoginMethod as ISocialLoginMethod, index_IconProps as IconProps, index_InputProps as InputProps, index_LocaleType as LocaleType, index_LoginBoxProps as LoginBoxProps, index_LoginMethodType as LoginMethodType, index_LoginModalProps as LoginModalProps, index_LoginPanelProps as LoginPanelProps, index_MessageType as MessageType, index_MetaPageType as MetaPageType, index_ModalProps as ModalProps, index_ModalWithHeaderProps as ModalWithHeaderProps, index_OtherLoginMethodType as OtherLoginMethodType, index_OverviewInfo as OverviewInfo, index_PohItemType as PohItemType, index_PohZkpassParams as PohZkpassParams, index_PopoverPositionType as PopoverPositionType, index_PopoverProps as PopoverProps, index_PopoverTypeType as PopoverTypeType, index_RecommendLoginMethodType as RecommendLoginMethodType, index_RecoveryType as RecoveryType, index_ThemeType as ThemeType, index_UIProps as UIProps, index_UserAssetToken as UserAssetToken, index_UserChainType as UserChainType, index_UserImportTokenType as UserImportTokenType, index_UserPopoverProps as UserPopoverProps, index_UserTransactionNextPageParams as UserTransactionNextPageParams, index_UserTransactionRecordType as UserTransactionRecordType, index_UserTransactionType as UserTransactionType, index_WalletAssetMergeType as WalletAssetMergeType, index_WalletAssetType as WalletAssetType, index_WalletChainType as WalletChainType, index_WalletConfigType as WalletConfigType, index_WalletNFTType as WalletNFTType, index_WalletPanelProps as WalletPanelProps, index_WalletReceiveMessageType as WalletReceiveMessageType, index_WalletType as WalletType, index_useMatchWalletAssetsProps as useMatchWalletAssetsProps };
63
+ export { index_Address as Address, index_AnyObject as AnyObject, index_AppConfigType as AppConfigType, index_AuthParams as AuthParams, index_BindInfoType as BindInfoType, index_BindItemType as BindItemType, index_BindWalletParam as BindWalletParam, index_ButtonProps as ButtonProps, index_CEXType as CEXType, index_ChainType as ChainType, index_DeepPartial as DeepPartial, index_DrawerProps as DrawerProps, index_EmailModalProps as EmailModalProps, index_EmbeddedWalletsParams as EmbeddedWalletsParams, index_Hash as Hash, index_IEnvConfigType as IEnvConfigType, index_IEnvName as IEnvName, index_ILoginWalletReq as ILoginWalletReq, index_IMatchEvents as IMatchEvents, index_ISocialLoginMethod as ISocialLoginMethod, index_IconProps as IconProps, index_InputProps as InputProps, index_LocaleType as LocaleType, index_LoginBoxProps as LoginBoxProps, index_LoginMethodType as LoginMethodType, index_LoginModalProps as LoginModalProps, index_LoginPanelProps as LoginPanelProps, index_MessageType as MessageType, index_MetaPageType as MetaPageType, index_ModalProps as ModalProps, index_ModalWithHeaderProps as ModalWithHeaderProps, index_OtherLoginMethodType as OtherLoginMethodType, index_OverviewInfo as OverviewInfo, index_PohItemType as PohItemType, index_PohZkpassParams as PohZkpassParams, index_PopoverPositionType as PopoverPositionType, index_PopoverProps as PopoverProps, index_PopoverTypeType as PopoverTypeType, index_RecommendLoginMethodType as RecommendLoginMethodType, index_RecoveryType as RecoveryType, index_ThemeType as ThemeType, index_UIProps as UIProps, index_UserAssetToken as UserAssetToken, index_UserChainType as UserChainType, index_UserImportTokenType as UserImportTokenType, index_UserPopoverProps as UserPopoverProps, index_UserTransactionNextPageParams as UserTransactionNextPageParams, index_UserTransactionRecordType as UserTransactionRecordType, index_UserTransactionType as UserTransactionType, index_WalletAssetMergeType as WalletAssetMergeType, index_WalletAssetType as WalletAssetType, index_WalletChainType as WalletChainType, index_WalletConfigType as WalletConfigType, index_WalletNFTType as WalletNFTType, index_WalletPanelProps as WalletPanelProps, index_WalletReceiveMessageType as WalletReceiveMessageType, index_WalletStatusType as WalletStatusType, index_WalletType as WalletType, index_useMatchWalletAssetsProps as useMatchWalletAssetsProps };
63
64
  }
64
65
 
65
66
  export { index as i };
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { E as EmailModalProps, j as LoginBoxProps, B as ButtonProps, k as OtherLoginMethodType, R as RecommendLoginMethodType, l as WalletType, P as PopoverPositionType, m as PopoverTypeType, n as LoginPanelProps, o as LoginModalProps, M as ModalWithHeaderProps, i as WalletAssetMergeType, u as useMatchWalletAssetsProps } from './types-Bgd3Ac92.js';
3
- import { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-Cul4qlZl.js';
2
+ import { E as EmailModalProps, b as LoginBoxProps, B as ButtonProps, O as OtherLoginMethodType, R as RecommendLoginMethodType, c as WalletType, P as PopoverPositionType, d as PopoverTypeType, e as LoginPanelProps, f as LoginModalProps, M as ModalWithHeaderProps, g as WalletAssetMergeType, u as useMatchWalletAssetsProps } from './types-Bx_FJ11s.mjs';
3
+ import { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-Bpd2gBNh.mjs';
4
4
  import { ReactNode } from 'react';
5
5
 
6
6
  declare function EmailModal({ isOpen, width, onClose, onBack, onLogin }: EmailModalProps): react_jsx_runtime.JSX.Element;
@@ -26,6 +26,12 @@ declare function UsernameModal({ title, isOpen, onSuccess, ...props }: ModalWith
26
26
  onSuccess?: () => void;
27
27
  }): react_jsx_runtime.JSX.Element;
28
28
 
29
+ type EVMModalProps = ModalWithHeaderProps & {
30
+ type?: 'login' | 'bind' | '';
31
+ onSuccess?: () => void;
32
+ };
33
+ declare function EVMModal(props: EVMModalProps): false | react_jsx_runtime.JSX.Element;
34
+
29
35
  type TRONConnectModalProps = ModalWithHeaderProps & {
30
36
  type?: 'login' | 'bind' | '';
31
37
  onSuccess?: () => void;
@@ -77,6 +83,7 @@ declare function TransactionList({ scrollableTarget }: {
77
83
 
78
84
  declare const index_BTCModal: typeof BTCModal;
79
85
  declare const index_Button: typeof Button;
86
+ declare const index_EVMModal: typeof EVMModal;
80
87
  declare const index_EmailModal: typeof EmailModal;
81
88
  declare const index_Field: typeof Field;
82
89
  declare const index_Input: typeof Input;
@@ -98,7 +105,7 @@ declare const index_UsernameModal: typeof UsernameModal;
98
105
  declare const index_WalletAsset: typeof WalletAsset;
99
106
  declare const index_WalletModal: typeof WalletModal;
100
107
  declare namespace index {
101
- export { index_BTCModal as BTCModal, index_Button as Button, index_EmailModal as EmailModal, index_Field as Field, index_Input as Input, index_LoginBox as LoginBox, index_LoginButton as LoginButton, index_LoginModal as LoginModal, index_LoginPanel as LoginPanel, index_Modal as Modal, index_ModalWithHeader as ModalWithHeader, index_Overlay as Overlay, index_Popover as Popover, index_TONModal as TONModal, index_TRONModal as TRONModal, index_TokenDetail as TokenDetail, index_TokenSend as TokenSend, index_TokenSendList as TokenSendList, index_TransactionList as TransactionList, index_UsernameModal as UsernameModal, index_WalletAsset as WalletAsset, index_WalletModal as WalletModal };
108
+ export { index_BTCModal as BTCModal, index_Button as Button, index_EVMModal as EVMModal, index_EmailModal as EmailModal, index_Field as Field, index_Input as Input, index_LoginBox as LoginBox, index_LoginButton as LoginButton, index_LoginModal as LoginModal, index_LoginPanel as LoginPanel, index_Modal as Modal, index_ModalWithHeader as ModalWithHeader, index_Overlay as Overlay, index_Popover as Popover, index_TONModal as TONModal, index_TRONModal as TRONModal, index_TokenDetail as TokenDetail, index_TokenSend as TokenSend, index_TokenSendList as TokenSendList, index_TransactionList as TransactionList, index_UsernameModal as UsernameModal, index_WalletAsset as WalletAsset, index_WalletModal as WalletModal };
102
109
  }
103
110
 
104
- export { BTCModal as B, EmailModal as E, LoginBox as L, TRONModal as T, UsernameModal as U, WalletModal as W, LoginButton as a, LoginPanel as b, LoginModal as c, TONModal as d, WalletAsset as e, TokenDetail as f, TokenSend as g, TokenSendList as h, index as i, TransactionList as j };
111
+ export { BTCModal as B, EmailModal as E, LoginBox as L, TRONModal as T, UsernameModal as U, WalletModal as W, LoginButton as a, LoginPanel as b, LoginModal as c, EVMModal as d, TONModal as e, WalletAsset as f, TokenDetail as g, TokenSend as h, index as i, TokenSendList as j, TransactionList as k };
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode, PropsWithChildren } from 'react';
3
- import { r as InputProps, B as ButtonProps, s as ModalProps, M as ModalWithHeaderProps, t as PopoverProps } from './types-Bgd3Ac92.js';
3
+ import { F as InputProps, B as ButtonProps, K as ModalProps, M as ModalWithHeaderProps, S as PopoverProps } from './types-Bx_FJ11s.js';
4
4
 
5
5
  declare function Field({ label, children, error, required, className }: {
6
6
  label: ReactNode;
@@ -1,6 +1,6 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
2
  import { UseQueryOptions } from '@tanstack/react-query/src/types';
3
- import { V as PohZkpassParams, f as UserTransactionType, _ as UserTransactionNextPageParams, a0 as WalletAssetType, S as MetaPageType, z as BindItemType, y as BindInfoType, T as PohItemType, U as UserChainType, h as UserAssetToken, g as UserImportTokenType, a1 as WalletChainType, a2 as WalletNFTType } from './types-Bgd3Ac92.js';
3
+ import { Q as PohZkpassParams, m as UserTransactionType, Z as UserTransactionNextPageParams, $ as WalletAssetType, J as MetaPageType, s as BindItemType, r as BindInfoType, N as PohItemType, U as UserChainType, o as UserAssetToken, n as UserImportTokenType, a0 as WalletChainType, a1 as WalletNFTType } from './types-Bx_FJ11s.js';
4
4
 
5
5
  declare const isSuccess: (res: {
6
6
  code: number;
@@ -1,6 +1,6 @@
1
1
  import * as _tanstack_react_query from '@tanstack/react-query';
2
2
  import { UseQueryOptions } from '@tanstack/react-query/src/types';
3
- import { V as PohZkpassParams, f as UserTransactionType, _ as UserTransactionNextPageParams, a0 as WalletAssetType, S as MetaPageType, z as BindItemType, y as BindInfoType, T as PohItemType, U as UserChainType, h as UserAssetToken, g as UserImportTokenType, a1 as WalletChainType, a2 as WalletNFTType } from './types-Bgd3Ac92.mjs';
3
+ import { Q as PohZkpassParams, m as UserTransactionType, Z as UserTransactionNextPageParams, $ as WalletAssetType, J as MetaPageType, s as BindItemType, r as BindInfoType, N as PohItemType, U as UserChainType, o as UserAssetToken, n as UserImportTokenType, a0 as WalletChainType, a1 as WalletNFTType } from './types-Bx_FJ11s.mjs';
4
4
 
5
5
  declare const isSuccess: (res: {
6
6
  code: number;
@@ -1,4 +1,4 @@
1
- import { b as ISocialLoginMethod, O as OverviewInfo, C as CEXType, c as LoginMethodType, I as IMatchEvents, d as ChainType, U as UserChainType, A as Address, H as Hash$1, e as AnyObject, f as UserTransactionType, u as useMatchWalletAssetsProps, g as UserImportTokenType, h as UserAssetToken, i as WalletAssetMergeType } from './types-Bgd3Ac92.mjs';
1
+ import { h as ISocialLoginMethod, i as OverviewInfo, C as CEXType, j as LoginMethodType, I as IMatchEvents, k as ChainType, U as UserChainType, A as Address, H as Hash$1, l as AnyObject, m as UserTransactionType, u as useMatchWalletAssetsProps, n as UserImportTokenType, o as UserAssetToken, g as WalletAssetMergeType } from './types-Bx_FJ11s.mjs';
2
2
  import * as viem from 'viem';
3
3
  import { Account, WalletClientConfig, createWalletClient, SignableMessage, Hex, TransactionSerializable, DeployContractParameters, SendTransactionParameters, WriteContractParameters, Chain } from 'viem';
4
4
  import { Hash } from 'viem/types/misc';
@@ -176,9 +176,9 @@ declare function useMatchChain(): {
176
176
  getBlobBaseFee: () => Promise<viem.GetBlobBaseFeeReturnType>;
177
177
  getBlock: <includeTransactions extends boolean = false, blockTag extends viem.BlockTag = "latest">(args?: viem.GetBlockParameters<includeTransactions, blockTag> | undefined) => Promise<{
178
178
  number: blockTag extends "pending" ? null : bigint;
179
+ nonce: blockTag extends "pending" ? null : `0x${string}`;
179
180
  size: bigint;
180
181
  hash: blockTag extends "pending" ? null : `0x${string}`;
181
- nonce: blockTag extends "pending" ? null : `0x${string}`;
182
182
  logsBloom: blockTag extends "pending" ? null : `0x${string}`;
183
183
  baseFeePerGas: bigint | null;
184
184
  blobGasUsed: bigint;
@@ -202,6 +202,7 @@ declare function useMatchChain(): {
202
202
  withdrawalsRoot?: viem.Hex | undefined;
203
203
  transactions: includeTransactions extends true ? ({
204
204
  type: "legacy";
205
+ nonce: number;
205
206
  chainId?: number | undefined;
206
207
  value: bigint;
207
208
  input: viem.Hex;
@@ -212,7 +213,6 @@ declare function useMatchChain(): {
212
213
  hash: viem.Hash;
213
214
  from: viem.Address;
214
215
  gas: bigint;
215
- nonce: number;
216
216
  to: viem.Address | null;
217
217
  blobVersionedHashes?: undefined;
218
218
  gasPrice: bigint;
@@ -226,6 +226,7 @@ declare function useMatchChain(): {
226
226
  transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_2 ? T_2 extends (blockTag extends "pending" ? true : false) ? T_2 extends true ? null : number : never : never;
227
227
  } | {
228
228
  type: "eip2930";
229
+ nonce: number;
229
230
  chainId: number;
230
231
  value: bigint;
231
232
  input: viem.Hex;
@@ -236,7 +237,6 @@ declare function useMatchChain(): {
236
237
  hash: viem.Hash;
237
238
  from: viem.Address;
238
239
  gas: bigint;
239
- nonce: number;
240
240
  to: viem.Address | null;
241
241
  blobVersionedHashes?: undefined;
242
242
  gasPrice: bigint;
@@ -250,6 +250,7 @@ declare function useMatchChain(): {
250
250
  transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_2 ? T_2 extends (blockTag extends "pending" ? true : false) ? T_2 extends true ? null : number : never : never;
251
251
  } | {
252
252
  type: "eip1559";
253
+ nonce: number;
253
254
  chainId: number;
254
255
  value: bigint;
255
256
  input: viem.Hex;
@@ -260,7 +261,6 @@ declare function useMatchChain(): {
260
261
  hash: viem.Hash;
261
262
  from: viem.Address;
262
263
  gas: bigint;
263
- nonce: number;
264
264
  to: viem.Address | null;
265
265
  blobVersionedHashes?: undefined;
266
266
  gasPrice?: undefined;
@@ -274,6 +274,7 @@ declare function useMatchChain(): {
274
274
  transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_2 ? T_2 extends (blockTag extends "pending" ? true : false) ? T_2 extends true ? null : number : never : never;
275
275
  } | {
276
276
  type: "eip4844";
277
+ nonce: number;
277
278
  chainId: number;
278
279
  value: bigint;
279
280
  input: viem.Hex;
@@ -284,7 +285,6 @@ declare function useMatchChain(): {
284
285
  hash: viem.Hash;
285
286
  from: viem.Address;
286
287
  gas: bigint;
287
- nonce: number;
288
288
  to: viem.Address | null;
289
289
  blobVersionedHashes: readonly viem.Hex[];
290
290
  gasPrice?: undefined;
@@ -323,6 +323,7 @@ declare function useMatchChain(): {
323
323
  getStorageAt: (args: viem.GetStorageAtParameters) => Promise<viem.GetStorageAtReturnType>;
324
324
  getTransaction: <blockTag extends viem.BlockTag = "latest">(args: viem.GetTransactionParameters<blockTag>) => Promise<{
325
325
  type: "legacy";
326
+ nonce: number;
326
327
  chainId?: number | undefined;
327
328
  value: bigint;
328
329
  input: viem.Hex;
@@ -333,7 +334,6 @@ declare function useMatchChain(): {
333
334
  hash: viem.Hash;
334
335
  from: viem.Address;
335
336
  gas: bigint;
336
- nonce: number;
337
337
  to: viem.Address | null;
338
338
  blobVersionedHashes?: undefined;
339
339
  gasPrice: bigint;
@@ -347,6 +347,7 @@ declare function useMatchChain(): {
347
347
  transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_2 ? T_2 extends (blockTag extends "pending" ? true : false) ? T_2 extends true ? null : number : never : never;
348
348
  } | {
349
349
  type: "eip2930";
350
+ nonce: number;
350
351
  chainId: number;
351
352
  value: bigint;
352
353
  input: viem.Hex;
@@ -357,7 +358,6 @@ declare function useMatchChain(): {
357
358
  hash: viem.Hash;
358
359
  from: viem.Address;
359
360
  gas: bigint;
360
- nonce: number;
361
361
  to: viem.Address | null;
362
362
  blobVersionedHashes?: undefined;
363
363
  gasPrice: bigint;
@@ -371,6 +371,7 @@ declare function useMatchChain(): {
371
371
  transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_2 ? T_2 extends (blockTag extends "pending" ? true : false) ? T_2 extends true ? null : number : never : never;
372
372
  } | {
373
373
  type: "eip1559";
374
+ nonce: number;
374
375
  chainId: number;
375
376
  value: bigint;
376
377
  input: viem.Hex;
@@ -381,7 +382,6 @@ declare function useMatchChain(): {
381
382
  hash: viem.Hash;
382
383
  from: viem.Address;
383
384
  gas: bigint;
384
- nonce: number;
385
385
  to: viem.Address | null;
386
386
  blobVersionedHashes?: undefined;
387
387
  gasPrice?: undefined;
@@ -395,6 +395,7 @@ declare function useMatchChain(): {
395
395
  transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_2 ? T_2 extends (blockTag extends "pending" ? true : false) ? T_2 extends true ? null : number : never : never;
396
396
  } | {
397
397
  type: "eip4844";
398
+ nonce: number;
398
399
  chainId: number;
399
400
  value: bigint;
400
401
  input: viem.Hex;
@@ -405,7 +406,6 @@ declare function useMatchChain(): {
405
406
  hash: viem.Hash;
406
407
  from: viem.Address;
407
408
  gas: bigint;
408
- nonce: number;
409
409
  to: viem.Address | null;
410
410
  blobVersionedHashes: readonly viem.Hex[];
411
411
  gasPrice?: undefined;
@@ -1810,7 +1810,7 @@ declare function useMatchChain(): {
1810
1810
  sidecars: viem.TransactionSerializableEIP4844["sidecars"];
1811
1811
  }, viem.TransactionSerializableEIP4844>)) | viem.Opaque<viem.TransactionSerializableEIP4844, request> | viem.Opaque<viem.TransactionRequestEIP4844, request> ? "eip4844" : never) | (request["type"] extends string ? request["type"] : never)>) ? T_6 extends "eip4844" ? viem.TransactionRequestEIP4844 : never : never : never)>> & {
1812
1812
  chainId?: number | undefined;
1813
- }, (request["parameters"] extends readonly viem.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "chainId" | "gas" | "nonce" | "blobVersionedHashes" | "fees") extends infer T_7 ? T_7 extends (request["parameters"] extends readonly viem.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "chainId" | "gas" | "nonce" | "blobVersionedHashes" | "fees") ? T_7 extends "fees" ? "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" : T_7 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">) extends infer T ? { [K in keyof T]: (viem.UnionRequiredBy<Extract<viem.UnionOmit<viem.ExtractChainFormatterParameters<viem.DeriveChain<UserChainType, chainOverride>, "transactionRequest", viem.TransactionRequest>, "from"> & (viem.DeriveChain<UserChainType, chainOverride> extends infer T_1 ? T_1 extends viem.DeriveChain<UserChainType, chainOverride> ? T_1 extends viem.Chain ? {
1813
+ }, (request["parameters"] extends readonly viem.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "chainId" | "gas" | "blobVersionedHashes" | "fees") extends infer T_7 ? T_7 extends (request["parameters"] extends readonly viem.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "chainId" | "gas" | "blobVersionedHashes" | "fees") ? T_7 extends "fees" ? "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" : T_7 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">) extends infer T ? { [K in keyof T]: (viem.UnionRequiredBy<Extract<viem.UnionOmit<viem.ExtractChainFormatterParameters<viem.DeriveChain<UserChainType, chainOverride>, "transactionRequest", viem.TransactionRequest>, "from"> & (viem.DeriveChain<UserChainType, chainOverride> extends infer T_1 ? T_1 extends viem.DeriveChain<UserChainType, chainOverride> ? T_1 extends viem.Chain ? {
1814
1814
  chain: T_1;
1815
1815
  } : {
1816
1816
  chain?: undefined;
@@ -3198,7 +3198,7 @@ declare function useMatchChain(): {
3198
3198
  sidecars: viem.TransactionSerializableEIP4844["sidecars"];
3199
3199
  }, viem.TransactionSerializableEIP4844>)) | viem.Opaque<viem.TransactionSerializableEIP4844, request> | viem.Opaque<viem.TransactionRequestEIP4844, request> ? "eip4844" : never) | (request["type"] extends string ? request["type"] : never)>) ? T_6 extends "eip4844" ? viem.TransactionRequestEIP4844 : never : never : never)>> & {
3200
3200
  chainId?: number | undefined;
3201
- }, (request["parameters"] extends readonly viem.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "chainId" | "gas" | "nonce" | "blobVersionedHashes" | "fees") extends infer T_7 ? T_7 extends (request["parameters"] extends readonly viem.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "chainId" | "gas" | "nonce" | "blobVersionedHashes" | "fees") ? T_7 extends "fees" ? "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" : T_7 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">))[K]; } : never>;
3201
+ }, (request["parameters"] extends readonly viem.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "chainId" | "gas" | "blobVersionedHashes" | "fees") extends infer T_7 ? T_7 extends (request["parameters"] extends readonly viem.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "chainId" | "gas" | "blobVersionedHashes" | "fees") ? T_7 extends "fees" ? "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" : T_7 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">))[K]; } : never>;
3202
3202
  readContract: <const abi extends viem.Abi | readonly unknown[], functionName extends viem.ContractFunctionName<abi, "pure" | "view">, args extends viem.ContractFunctionArgs<abi, "pure" | "view", functionName>>(args: viem.ReadContractParameters<abi, functionName, args>) => Promise<viem.ReadContractReturnType<abi, functionName, args>>;
3203
3203
  sendRawTransaction: (args: viem.SendRawTransactionParameters) => Promise<viem.SendRawTransactionReturnType>;
3204
3204
  simulateContract: <const abi extends viem.Abi | readonly unknown[], functionName extends viem.ContractFunctionName<abi, "nonpayable" | "payable">, args_1 extends viem.ContractFunctionArgs<abi, "nonpayable" | "payable", functionName>, chainOverride extends viem.Chain | undefined, accountOverride extends viem.Account | viem.Address | undefined = undefined>(args: viem.SimulateContractParameters<abi, functionName, args_1, UserChainType, chainOverride, accountOverride>) => Promise<viem.SimulateContractReturnType<abi, functionName, args_1, UserChainType, viem.Account | undefined, chainOverride, accountOverride>>;
@@ -1,6 +1,6 @@
1
- import { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-DrEKzXYX.mjs';
1
+ import { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-Bpd2gBNh.mjs';
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
- import { D as DrawerProps, p as WalletPanelProps, q as UIProps } from './types-Bgd3Ac92.mjs';
3
+ import { v as DrawerProps, a2 as WalletPanelProps, X as UIProps } from './types-Bx_FJ11s.mjs';
4
4
  import { Hash, Chain } from 'viem';
5
5
  import { CSSProperties } from 'react';
6
6
 
package/dist/index.css CHANGED
@@ -1997,4 +1997,7 @@ body {
1997
1997
  }
1998
1998
  }
1999
1999
 
2000
+ }
2001
+ .matchid-error{
2002
+ color:var(--matchid-red-600);
2000
2003
  }
package/dist/index.d.mts CHANGED
@@ -1,11 +1,11 @@
1
1
  import React, { ReactNode } from 'react';
2
- import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-Bgd3Ac92.mjs';
3
- export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-EPwrSSOz.mjs';
4
- export { i as Components } from './index-BSUoL5Jo.mjs';
5
- export { i as UI } from './index-CvVl_Xw1.mjs';
6
- export { i as Api } from './index-ba3VTkaV.mjs';
2
+ import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-Bx_FJ11s.mjs';
3
+ export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-mxbJ8CFx.mjs';
4
+ export { i as Components } from './index-D_UNctDI.mjs';
5
+ export { i as UI } from './index-wqqEUufi.mjs';
6
+ export { i as Api } from './index-W6yjuOKT.mjs';
7
7
  export { i as Chains } from './index-DXRGMAbv.mjs';
8
- export { i as Types } from './index-DXRsJY9h.mjs';
8
+ export { i as Types } from './index-BaYTgL99.mjs';
9
9
  import '@tanstack/react-query/src/types';
10
10
  import 'viem';
11
11
  import 'viem/types/misc';
@@ -13,7 +13,7 @@ import 'abitype';
13
13
  import 'react/jsx-runtime';
14
14
  import 'viem/_types/actions/siwe/verifySiweMessage';
15
15
  import '@tanstack/react-query';
16
- import './index-DrEKzXYX.mjs';
16
+ import './index-Bpd2gBNh.mjs';
17
17
 
18
18
  type MatchContextType = {
19
19
  appid: string;