@matchain/matchid-sdk-react 0.1.53-alpha.1 → 0.1.53-alpha.11

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 (100) hide show
  1. package/dist/assets/icon/index.d.mts +4 -144
  2. package/dist/assets/icon/index.d.ts +4 -144
  3. package/dist/assets/icon/index.js +54 -0
  4. package/dist/assets/icon/index.js.map +1 -1
  5. package/dist/assets/icon/index.mjs +5 -1
  6. package/dist/{chunk-2DVC6WCN.mjs → chunk-2EQEYYBD.mjs} +5750 -4942
  7. package/dist/chunk-2EQEYYBD.mjs.map +1 -0
  8. package/dist/chunk-3CR66BEX.mjs +19 -0
  9. package/dist/chunk-3CR66BEX.mjs.map +1 -0
  10. package/dist/{chunk-LHNKZISB.mjs → chunk-FKXS2XRG.mjs} +114 -2
  11. package/dist/chunk-FKXS2XRG.mjs.map +1 -0
  12. package/dist/{chunk-HLUFAIFV.mjs → chunk-IZOOVZAD.mjs} +11 -6
  13. package/dist/chunk-IZOOVZAD.mjs.map +1 -0
  14. package/dist/{chunk-HYQ3T6WW.mjs → chunk-JX73EY6V.mjs} +2 -14
  15. package/dist/chunk-JX73EY6V.mjs.map +1 -0
  16. package/dist/{chunk-FB5MHLWX.mjs → chunk-X5HGL3ZX.mjs} +45 -3
  17. package/dist/chunk-X5HGL3ZX.mjs.map +1 -0
  18. package/dist/components/index.d.mts +3 -3
  19. package/dist/components/index.d.ts +3 -3
  20. package/dist/components/index.js +1467 -590
  21. package/dist/components/index.js.map +1 -1
  22. package/dist/components/index.mjs +11 -6
  23. package/dist/config/chains/index.mjs +2 -1
  24. package/dist/hooks/api/index.d.mts +3 -2
  25. package/dist/hooks/api/index.d.ts +3 -2
  26. package/dist/hooks/api/index.js +401 -147
  27. package/dist/hooks/api/index.js.map +1 -1
  28. package/dist/hooks/api/index.mjs +9 -8
  29. package/dist/hooks/index.d.mts +3 -2
  30. package/dist/hooks/index.d.ts +3 -2
  31. package/dist/hooks/index.js +637 -544
  32. package/dist/hooks/index.js.map +1 -1
  33. package/dist/hooks/index.mjs +5 -4
  34. package/dist/index-BVfCh4l-.d.mts +203 -0
  35. package/dist/{index-B_o9HBS1.d.mts → index-BaFmUVw-.d.mts} +1 -1
  36. package/dist/{index-CDqIk5k2.d.mts → index-BgdY5xdW.d.ts} +41 -17
  37. package/dist/{index-DvM6x6e6.d.ts → index-BrzFSkOe.d.mts} +41 -17
  38. package/dist/{index-DMUZQqNB.d.ts → index-C0UKUm0h.d.ts} +25 -5
  39. package/dist/{index-BUj9mOrS.d.ts → index-CQmN0dN4.d.ts} +1 -1
  40. package/dist/index-D3Kp05kW.d.ts +203 -0
  41. package/dist/{index-k2Uf0F94.d.ts → index-D5WIVIkc.d.ts} +4 -2
  42. package/dist/{index-BDoEk1EK.d.ts → index-D7S5DMUy.d.mts} +21 -8
  43. package/dist/{index-D5OzNRfu.d.mts → index-DC4F1u-w.d.mts} +25 -5
  44. package/dist/{index-XzSw1Bym.d.mts → index-DQFQ39D9.d.ts} +21 -8
  45. package/dist/{index-B-QfwtE5.d.mts → index-DjbH13zc.d.mts} +16 -14
  46. package/dist/{index-Bmir-Wor.d.mts → index-SOVt-ADK.d.mts} +4 -2
  47. package/dist/{index-X_fw5wX_.d.ts → index-zc2GEzJ9.d.ts} +16 -14
  48. package/dist/index.css +124 -13
  49. package/dist/index.d.mts +9 -8
  50. package/dist/index.d.ts +9 -8
  51. package/dist/index.js +1860 -919
  52. package/dist/index.js.map +1 -1
  53. package/dist/index.mjs +13 -11
  54. package/dist/request-B0CyrGFT.d.mts +15 -0
  55. package/dist/request-B0CyrGFT.d.ts +15 -0
  56. package/dist/types/index.d.mts +1 -1
  57. package/dist/types/index.d.ts +1 -1
  58. package/dist/{types-Dd_ExpLx.d.mts → types-VrV1kYga.d.mts} +10 -2
  59. package/dist/{types-Dd_ExpLx.d.ts → types-VrV1kYga.d.ts} +10 -2
  60. package/dist/ui/index.d.mts +3 -3
  61. package/dist/ui/index.d.ts +3 -3
  62. package/dist/ui/index.js +109 -61
  63. package/dist/ui/index.js.map +1 -1
  64. package/dist/ui/index.mjs +8 -4
  65. package/dist/utils/index.d.mts +3 -2
  66. package/dist/utils/index.d.ts +3 -2
  67. package/dist/utils/index.js +10 -4
  68. package/dist/utils/index.js.map +1 -1
  69. package/dist/utils/index.mjs +3 -1
  70. package/example/package.json +3 -1
  71. package/example/src/App.tsx +30 -7
  72. package/example/src/pages/Contact/index.tsx +90 -0
  73. package/example/src/pages/UI/components/Tabs.tsx +18 -0
  74. package/example/src/pages/UI/index.tsx +2 -0
  75. package/example/src/pages/User/index.tsx +7 -1
  76. package/package.json +5 -5
  77. package/dist/chunk-2DVC6WCN.mjs.map +0 -1
  78. package/dist/chunk-6QTW3KXN.mjs +0 -97
  79. package/dist/chunk-6QTW3KXN.mjs.map +0 -1
  80. package/dist/chunk-FB5MHLWX.mjs.map +0 -1
  81. package/dist/chunk-HLUFAIFV.mjs.map +0 -1
  82. package/dist/chunk-HYQ3T6WW.mjs.map +0 -1
  83. package/dist/chunk-LHNKZISB.mjs.map +0 -1
  84. package/example/dist/assets/TransportWebHID-BEu7tC0r.js +0 -1
  85. package/example/dist/assets/bignumber-iG7K-qxw.js +0 -10
  86. package/example/dist/assets/ccip-a6wQ1Vcb.js +0 -1
  87. package/example/dist/assets/draggabilly-CRYR_S0q.js +0 -14
  88. package/example/dist/assets/index--dp9m9Ep.js +0 -1
  89. package/example/dist/assets/index-BDTHolFv.js +0 -569
  90. package/example/dist/assets/index-BZl59qLb.js +0 -179
  91. package/example/dist/assets/index-BmMbYNHO.js +0 -303
  92. package/example/dist/assets/index-C7cxVRDF.js +0 -1677
  93. package/example/dist/assets/index-CJk171Yb.js +0 -1
  94. package/example/dist/assets/index-CQiBesAa.js +0 -3
  95. package/example/dist/assets/index-D62loNA9.js +0 -3
  96. package/example/dist/assets/index-DqyX3FG6.js +0 -1
  97. package/example/dist/assets/index-Gy3FXGhr.css +0 -1
  98. package/example/dist/assets/inherits_browser-BlmhoU4v.js +0 -1
  99. package/example/dist/assets/solanaEmbed.esm-Djn-u4Vn.js +0 -38
  100. package/example/dist/index.html +0 -14
@@ -1,4 +1,4 @@
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, c as WalletType, u as useMatchWalletAssetsProps } from './types-Dd_ExpLx.js';
1
+ import { A as Address, e as AnyObject, q as AppConfigType, r as AuthParams, s as BindInfoType, t as BindItemType, v as BindWalletParam, B as ButtonProps, C as CEXType, d as ChainType, p as ContactType, D as DeepPartial, w as DrawerProps, E as EmailModalProps, x as EmbeddedWalletsParams, H as Hash, a as IEnvConfigType, y as IEnvName, z as ILoginWalletReq, I as IMatchEvents, b as ISocialLoginMethod, F as IconProps, G as InputProps, L as LocaleType, j as LoginBoxProps, c as LoginMethodType, o as LoginModalProps, n as LoginPanelProps, J as MessageType, K as MetaPageType, N as ModalProps, M as ModalWithHeaderProps, k as OtherLoginMethodType, O as OverviewInfo, Q as PohItemType, S as PohZkpassParams, P as PopoverPositionType, T as PopoverProps, m as PopoverTypeType, R as RecommendLoginMethodType, V as RecoveryType, X as ThemeType, Y 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, a3 as WalletPanelProps, a4 as WalletReceiveMessageType, a5 as WalletStatusType, l as WalletType, u as useMatchWalletAssetsProps } from './types-VrV1kYga.js';
2
2
 
3
3
  declare const index_Address: typeof Address;
4
4
  declare const index_AnyObject: typeof AnyObject;
@@ -10,6 +10,7 @@ declare const index_BindWalletParam: typeof BindWalletParam;
10
10
  declare const index_ButtonProps: typeof ButtonProps;
11
11
  declare const index_CEXType: typeof CEXType;
12
12
  declare const index_ChainType: typeof ChainType;
13
+ declare const index_ContactType: typeof ContactType;
13
14
  declare const index_DeepPartial: typeof DeepPartial;
14
15
  declare const index_DrawerProps: typeof DrawerProps;
15
16
  declare const index_EmailModalProps: typeof EmailModalProps;
@@ -56,10 +57,11 @@ declare const index_WalletConfigType: typeof WalletConfigType;
56
57
  declare const index_WalletNFTType: typeof WalletNFTType;
57
58
  declare const index_WalletPanelProps: typeof WalletPanelProps;
58
59
  declare const index_WalletReceiveMessageType: typeof WalletReceiveMessageType;
60
+ declare const index_WalletStatusType: typeof WalletStatusType;
59
61
  declare const index_WalletType: typeof WalletType;
60
62
  declare const index_useMatchWalletAssetsProps: typeof useMatchWalletAssetsProps;
61
63
  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 };
64
+ 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_ContactType as ContactType, 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
65
  }
64
66
 
65
67
  export { index as i };
@@ -1,7 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
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-Dd_ExpLx.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-BUj9mOrS.js';
4
- import { ReactNode } from 'react';
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, p as ContactType } from './types-VrV1kYga.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-BaFmUVw-.mjs';
4
+ import React, { ReactNode } from 'react';
5
5
 
6
6
  declare function EmailModal({ isOpen, width, onClose, onBack, onLogin }: EmailModalProps): react_jsx_runtime.JSX.Element;
7
7
 
@@ -26,11 +26,11 @@ declare function UsernameModal({ title, isOpen, onSuccess, ...props }: ModalWith
26
26
  onSuccess?: () => void;
27
27
  }): react_jsx_runtime.JSX.Element;
28
28
 
29
- type SOLModalProps = ModalWithHeaderProps & {
29
+ type EVMModalProps = ModalWithHeaderProps & {
30
30
  type?: 'login' | 'bind' | '';
31
31
  onSuccess?: () => void;
32
32
  };
33
- declare function SOLModal(props: SOLModalProps): false | react_jsx_runtime.JSX.Element;
33
+ declare function EVMModal(props: EVMModalProps): false | react_jsx_runtime.JSX.Element;
34
34
 
35
35
  type TRONConnectModalProps = ModalWithHeaderProps & {
36
36
  type?: 'login' | 'bind' | '';
@@ -81,8 +81,22 @@ declare function TransactionList({ scrollableTarget }: {
81
81
  scrollableTarget?: ReactNode;
82
82
  }): react_jsx_runtime.JSX.Element;
83
83
 
84
+ declare function ContactCard({ loading, data, action }: {
85
+ loading?: boolean;
86
+ data?: ContactType;
87
+ action?: () => React.ReactNode;
88
+ }): react_jsx_runtime.JSX.Element;
89
+ declare function ContactList({ limit, height, type }: {
90
+ limit?: number;
91
+ height?: number;
92
+ type?: "Friend" | "Requests";
93
+ }): react_jsx_runtime.JSX.Element;
94
+
84
95
  declare const index_BTCModal: typeof BTCModal;
85
96
  declare const index_Button: typeof Button;
97
+ declare const index_ContactCard: typeof ContactCard;
98
+ declare const index_ContactList: typeof ContactList;
99
+ declare const index_EVMModal: typeof EVMModal;
86
100
  declare const index_EmailModal: typeof EmailModal;
87
101
  declare const index_Field: typeof Field;
88
102
  declare const index_Input: typeof Input;
@@ -94,7 +108,6 @@ declare const index_Modal: typeof Modal;
94
108
  declare const index_ModalWithHeader: typeof ModalWithHeader;
95
109
  declare const index_Overlay: typeof Overlay;
96
110
  declare const index_Popover: typeof Popover;
97
- declare const index_SOLModal: typeof SOLModal;
98
111
  declare const index_TONModal: typeof TONModal;
99
112
  declare const index_TRONModal: typeof TRONModal;
100
113
  declare const index_TokenDetail: typeof TokenDetail;
@@ -105,7 +118,7 @@ declare const index_UsernameModal: typeof UsernameModal;
105
118
  declare const index_WalletAsset: typeof WalletAsset;
106
119
  declare const index_WalletModal: typeof WalletModal;
107
120
  declare namespace index {
108
- 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_SOLModal as SOLModal, 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 };
121
+ export { index_BTCModal as BTCModal, index_Button as Button, index_ContactCard as ContactCard, index_ContactList as ContactList, 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 };
109
122
  }
110
123
 
111
- export { BTCModal as B, EmailModal as E, LoginBox as L, SOLModal as S, 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 };
124
+ export { BTCModal as B, ContactList as C, 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, ContactCard as l };
@@ -1,8 +1,8 @@
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-B_o9HBS1.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-BaFmUVw-.mjs';
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
- import { v as DrawerProps, a2 as WalletPanelProps, X as UIProps } from './types-Dd_ExpLx.mjs';
3
+ import { w as DrawerProps, a3 as WalletPanelProps, Y as UIProps } from './types-VrV1kYga.mjs';
4
4
  import { Hash, Chain } from 'viem';
5
- import { CSSProperties } from 'react';
5
+ import React, { CSSProperties } from 'react';
6
6
 
7
7
  declare function Drawer({ children, showClose, onClose, isOpen, title, zIndex, onBack }: DrawerProps): react_jsx_runtime.JSX.Element;
8
8
 
@@ -39,6 +39,24 @@ declare function Radio({ checked, onChange, size, color, className, style }: {
39
39
  style?: CSSProperties;
40
40
  }): react_jsx_runtime.JSX.Element;
41
41
 
42
+ interface SkeletonProps {
43
+ style?: React.CSSProperties;
44
+ className?: string;
45
+ width?: string | number;
46
+ height?: string | number;
47
+ radius?: string | number;
48
+ loading?: boolean;
49
+ children?: React.ReactNode;
50
+ }
51
+ declare const Skeleton: React.FC<SkeletonProps>;
52
+
53
+ type TabsProps = {
54
+ tabs: string[];
55
+ activeTab: number;
56
+ setActiveTab: (tab: number) => void;
57
+ };
58
+ declare function Tabs(props: TabsProps): react_jsx_runtime.JSX.Element;
59
+
42
60
  declare const index_AlphaAvatar: typeof AlphaAvatar;
43
61
  declare const index_Button: typeof Button;
44
62
  declare const index_Drawer: typeof Drawer;
@@ -50,9 +68,11 @@ declare const index_ModalWithHeader: typeof ModalWithHeader;
50
68
  declare const index_Overlay: typeof Overlay;
51
69
  declare const index_Popover: typeof Popover;
52
70
  declare const index_Radio: typeof Radio;
71
+ declare const index_Skeleton: typeof Skeleton;
53
72
  declare const index_Switch: typeof Switch;
73
+ declare const index_Tabs: typeof Tabs;
54
74
  declare namespace index {
55
- export { index_AlphaAvatar as AlphaAvatar, index_Button as Button, index_Drawer as Drawer, index_Field as Field, export_default as HashPanel, index_Input as Input, index_Modal as Modal, index_ModalDrawer as ModalDrawer, index_ModalWithHeader as ModalWithHeader, index_Overlay as Overlay, index_Popover as Popover, index_Radio as Radio, index_Switch as Switch };
75
+ export { index_AlphaAvatar as AlphaAvatar, index_Button as Button, index_Drawer as Drawer, index_Field as Field, export_default as HashPanel, index_Input as Input, index_Modal as Modal, index_ModalDrawer as ModalDrawer, index_ModalWithHeader as ModalWithHeader, index_Overlay as Overlay, index_Popover as Popover, index_Radio as Radio, index_Skeleton as Skeleton, index_Switch as Switch, index_Tabs as Tabs };
56
76
  }
57
77
 
58
- export { AlphaAvatar as A, Drawer as D, ModalDrawer as M, Radio as R, Switch as S, export_default as e, index as i };
78
+ export { AlphaAvatar as A, Drawer as D, ModalDrawer as M, Radio as R, Switch as S, Tabs as T, Skeleton as a, export_default as e, index as i };
@@ -1,7 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
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-Dd_ExpLx.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-B_o9HBS1.mjs';
4
- import { ReactNode } from 'react';
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, p as ContactType } from './types-VrV1kYga.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-CQmN0dN4.js';
4
+ import React, { ReactNode } from 'react';
5
5
 
6
6
  declare function EmailModal({ isOpen, width, onClose, onBack, onLogin }: EmailModalProps): react_jsx_runtime.JSX.Element;
7
7
 
@@ -26,11 +26,11 @@ declare function UsernameModal({ title, isOpen, onSuccess, ...props }: ModalWith
26
26
  onSuccess?: () => void;
27
27
  }): react_jsx_runtime.JSX.Element;
28
28
 
29
- type SOLModalProps = ModalWithHeaderProps & {
29
+ type EVMModalProps = ModalWithHeaderProps & {
30
30
  type?: 'login' | 'bind' | '';
31
31
  onSuccess?: () => void;
32
32
  };
33
- declare function SOLModal(props: SOLModalProps): false | react_jsx_runtime.JSX.Element;
33
+ declare function EVMModal(props: EVMModalProps): false | react_jsx_runtime.JSX.Element;
34
34
 
35
35
  type TRONConnectModalProps = ModalWithHeaderProps & {
36
36
  type?: 'login' | 'bind' | '';
@@ -81,8 +81,22 @@ declare function TransactionList({ scrollableTarget }: {
81
81
  scrollableTarget?: ReactNode;
82
82
  }): react_jsx_runtime.JSX.Element;
83
83
 
84
+ declare function ContactCard({ loading, data, action }: {
85
+ loading?: boolean;
86
+ data?: ContactType;
87
+ action?: () => React.ReactNode;
88
+ }): react_jsx_runtime.JSX.Element;
89
+ declare function ContactList({ limit, height, type }: {
90
+ limit?: number;
91
+ height?: number;
92
+ type?: "Friend" | "Requests";
93
+ }): react_jsx_runtime.JSX.Element;
94
+
84
95
  declare const index_BTCModal: typeof BTCModal;
85
96
  declare const index_Button: typeof Button;
97
+ declare const index_ContactCard: typeof ContactCard;
98
+ declare const index_ContactList: typeof ContactList;
99
+ declare const index_EVMModal: typeof EVMModal;
86
100
  declare const index_EmailModal: typeof EmailModal;
87
101
  declare const index_Field: typeof Field;
88
102
  declare const index_Input: typeof Input;
@@ -94,7 +108,6 @@ declare const index_Modal: typeof Modal;
94
108
  declare const index_ModalWithHeader: typeof ModalWithHeader;
95
109
  declare const index_Overlay: typeof Overlay;
96
110
  declare const index_Popover: typeof Popover;
97
- declare const index_SOLModal: typeof SOLModal;
98
111
  declare const index_TONModal: typeof TONModal;
99
112
  declare const index_TRONModal: typeof TRONModal;
100
113
  declare const index_TokenDetail: typeof TokenDetail;
@@ -105,7 +118,7 @@ declare const index_UsernameModal: typeof UsernameModal;
105
118
  declare const index_WalletAsset: typeof WalletAsset;
106
119
  declare const index_WalletModal: typeof WalletModal;
107
120
  declare namespace index {
108
- 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_SOLModal as SOLModal, 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 };
121
+ export { index_BTCModal as BTCModal, index_Button as Button, index_ContactCard as ContactCard, index_ContactList as ContactList, 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 };
109
122
  }
110
123
 
111
- export { BTCModal as B, EmailModal as E, LoginBox as L, SOLModal as S, 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 };
124
+ export { BTCModal as B, ContactList as C, 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, ContactCard as l };
@@ -1,4 +1,5 @@
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-Dd_ExpLx.mjs';
1
+ import { M as MyResponseType } from './request-B0CyrGFT.mjs';
2
+ 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-VrV1kYga.mjs';
2
3
  import * as viem from 'viem';
3
4
  import { Account, WalletClientConfig, createWalletClient, SignableMessage, Hex, TransactionSerializable, DeployContractParameters, SendTransactionParameters, WriteContractParameters, Chain } from 'viem';
4
5
  import { Hash } from 'viem/types/misc';
@@ -85,11 +86,12 @@ declare function useUserInfo(): {
85
86
  auth: () => Promise<any>;
86
87
  login: (method: LoginMethodType | "wallet", extra?: {
87
88
  [key: string]: any;
88
- }) => Promise<void | Window | null>;
89
+ }) => Promise<string | void | Window | null>;
89
90
  bind: (method: LoginMethodType | "wallet", extra?: {
90
91
  [key: string]: any;
91
- }) => Promise<void | Window | null>;
92
+ }) => Promise<string | void | Window | null>;
92
93
  getAuthInfo: (method: keyof typeof LOGIN_METHOD_MAP) => Promise<unknown>;
94
+ invite: (invite_code: string) => Promise<MyResponseType<any>>;
93
95
  };
94
96
 
95
97
  declare function useMatchEvents(handlers: IMatchEvents): void;
@@ -176,9 +178,9 @@ declare function useMatchChain(): {
176
178
  getBlobBaseFee: () => Promise<viem.GetBlobBaseFeeReturnType>;
177
179
  getBlock: <includeTransactions extends boolean = false, blockTag extends viem.BlockTag = "latest">(args?: viem.GetBlockParameters<includeTransactions, blockTag> | undefined) => Promise<{
178
180
  number: blockTag extends "pending" ? null : bigint;
181
+ nonce: blockTag extends "pending" ? null : `0x${string}`;
179
182
  size: bigint;
180
183
  hash: blockTag extends "pending" ? null : `0x${string}`;
181
- nonce: blockTag extends "pending" ? null : `0x${string}`;
182
184
  logsBloom: blockTag extends "pending" ? null : `0x${string}`;
183
185
  baseFeePerGas: bigint | null;
184
186
  blobGasUsed: bigint;
@@ -202,6 +204,7 @@ declare function useMatchChain(): {
202
204
  withdrawalsRoot?: viem.Hex | undefined;
203
205
  transactions: includeTransactions extends true ? ({
204
206
  type: "legacy";
207
+ nonce: number;
205
208
  chainId?: number | undefined;
206
209
  value: bigint;
207
210
  input: viem.Hex;
@@ -212,7 +215,6 @@ declare function useMatchChain(): {
212
215
  hash: viem.Hash;
213
216
  from: viem.Address;
214
217
  gas: bigint;
215
- nonce: number;
216
218
  to: viem.Address | null;
217
219
  blobVersionedHashes?: undefined;
218
220
  gasPrice: bigint;
@@ -226,6 +228,7 @@ declare function useMatchChain(): {
226
228
  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
229
  } | {
228
230
  type: "eip2930";
231
+ nonce: number;
229
232
  chainId: number;
230
233
  value: bigint;
231
234
  input: viem.Hex;
@@ -236,7 +239,6 @@ declare function useMatchChain(): {
236
239
  hash: viem.Hash;
237
240
  from: viem.Address;
238
241
  gas: bigint;
239
- nonce: number;
240
242
  to: viem.Address | null;
241
243
  blobVersionedHashes?: undefined;
242
244
  gasPrice: bigint;
@@ -250,6 +252,7 @@ declare function useMatchChain(): {
250
252
  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
253
  } | {
252
254
  type: "eip1559";
255
+ nonce: number;
253
256
  chainId: number;
254
257
  value: bigint;
255
258
  input: viem.Hex;
@@ -260,7 +263,6 @@ declare function useMatchChain(): {
260
263
  hash: viem.Hash;
261
264
  from: viem.Address;
262
265
  gas: bigint;
263
- nonce: number;
264
266
  to: viem.Address | null;
265
267
  blobVersionedHashes?: undefined;
266
268
  gasPrice?: undefined;
@@ -274,6 +276,7 @@ declare function useMatchChain(): {
274
276
  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
277
  } | {
276
278
  type: "eip4844";
279
+ nonce: number;
277
280
  chainId: number;
278
281
  value: bigint;
279
282
  input: viem.Hex;
@@ -284,7 +287,6 @@ declare function useMatchChain(): {
284
287
  hash: viem.Hash;
285
288
  from: viem.Address;
286
289
  gas: bigint;
287
- nonce: number;
288
290
  to: viem.Address | null;
289
291
  blobVersionedHashes: readonly viem.Hex[];
290
292
  gasPrice?: undefined;
@@ -323,6 +325,7 @@ declare function useMatchChain(): {
323
325
  getStorageAt: (args: viem.GetStorageAtParameters) => Promise<viem.GetStorageAtReturnType>;
324
326
  getTransaction: <blockTag extends viem.BlockTag = "latest">(args: viem.GetTransactionParameters<blockTag>) => Promise<{
325
327
  type: "legacy";
328
+ nonce: number;
326
329
  chainId?: number | undefined;
327
330
  value: bigint;
328
331
  input: viem.Hex;
@@ -333,7 +336,6 @@ declare function useMatchChain(): {
333
336
  hash: viem.Hash;
334
337
  from: viem.Address;
335
338
  gas: bigint;
336
- nonce: number;
337
339
  to: viem.Address | null;
338
340
  blobVersionedHashes?: undefined;
339
341
  gasPrice: bigint;
@@ -347,6 +349,7 @@ declare function useMatchChain(): {
347
349
  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
350
  } | {
349
351
  type: "eip2930";
352
+ nonce: number;
350
353
  chainId: number;
351
354
  value: bigint;
352
355
  input: viem.Hex;
@@ -357,7 +360,6 @@ declare function useMatchChain(): {
357
360
  hash: viem.Hash;
358
361
  from: viem.Address;
359
362
  gas: bigint;
360
- nonce: number;
361
363
  to: viem.Address | null;
362
364
  blobVersionedHashes?: undefined;
363
365
  gasPrice: bigint;
@@ -371,6 +373,7 @@ declare function useMatchChain(): {
371
373
  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
374
  } | {
373
375
  type: "eip1559";
376
+ nonce: number;
374
377
  chainId: number;
375
378
  value: bigint;
376
379
  input: viem.Hex;
@@ -381,7 +384,6 @@ declare function useMatchChain(): {
381
384
  hash: viem.Hash;
382
385
  from: viem.Address;
383
386
  gas: bigint;
384
- nonce: number;
385
387
  to: viem.Address | null;
386
388
  blobVersionedHashes?: undefined;
387
389
  gasPrice?: undefined;
@@ -395,6 +397,7 @@ declare function useMatchChain(): {
395
397
  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
398
  } | {
397
399
  type: "eip4844";
400
+ nonce: number;
398
401
  chainId: number;
399
402
  value: bigint;
400
403
  input: viem.Hex;
@@ -405,7 +408,6 @@ declare function useMatchChain(): {
405
408
  hash: viem.Hash;
406
409
  from: viem.Address;
407
410
  gas: bigint;
408
- nonce: number;
409
411
  to: viem.Address | null;
410
412
  blobVersionedHashes: readonly viem.Hex[];
411
413
  gasPrice?: undefined;
@@ -1810,7 +1812,7 @@ declare function useMatchChain(): {
1810
1812
  sidecars: viem.TransactionSerializableEIP4844["sidecars"];
1811
1813
  }, 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
1814
  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 ? {
1815
+ }, (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
1816
  chain: T_1;
1815
1817
  } : {
1816
1818
  chain?: undefined;
@@ -3198,7 +3200,7 @@ declare function useMatchChain(): {
3198
3200
  sidecars: viem.TransactionSerializableEIP4844["sidecars"];
3199
3201
  }, 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
3202
  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>;
3203
+ }, (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
3204
  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
3205
  sendRawTransaction: (args: viem.SendRawTransactionParameters) => Promise<viem.SendRawTransactionReturnType>;
3204
3206
  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, 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, c as WalletType, u as useMatchWalletAssetsProps } from './types-Dd_ExpLx.mjs';
1
+ import { A as Address, e as AnyObject, q as AppConfigType, r as AuthParams, s as BindInfoType, t as BindItemType, v as BindWalletParam, B as ButtonProps, C as CEXType, d as ChainType, p as ContactType, D as DeepPartial, w as DrawerProps, E as EmailModalProps, x as EmbeddedWalletsParams, H as Hash, a as IEnvConfigType, y as IEnvName, z as ILoginWalletReq, I as IMatchEvents, b as ISocialLoginMethod, F as IconProps, G as InputProps, L as LocaleType, j as LoginBoxProps, c as LoginMethodType, o as LoginModalProps, n as LoginPanelProps, J as MessageType, K as MetaPageType, N as ModalProps, M as ModalWithHeaderProps, k as OtherLoginMethodType, O as OverviewInfo, Q as PohItemType, S as PohZkpassParams, P as PopoverPositionType, T as PopoverProps, m as PopoverTypeType, R as RecommendLoginMethodType, V as RecoveryType, X as ThemeType, Y 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, a3 as WalletPanelProps, a4 as WalletReceiveMessageType, a5 as WalletStatusType, l as WalletType, u as useMatchWalletAssetsProps } from './types-VrV1kYga.mjs';
2
2
 
3
3
  declare const index_Address: typeof Address;
4
4
  declare const index_AnyObject: typeof AnyObject;
@@ -10,6 +10,7 @@ declare const index_BindWalletParam: typeof BindWalletParam;
10
10
  declare const index_ButtonProps: typeof ButtonProps;
11
11
  declare const index_CEXType: typeof CEXType;
12
12
  declare const index_ChainType: typeof ChainType;
13
+ declare const index_ContactType: typeof ContactType;
13
14
  declare const index_DeepPartial: typeof DeepPartial;
14
15
  declare const index_DrawerProps: typeof DrawerProps;
15
16
  declare const index_EmailModalProps: typeof EmailModalProps;
@@ -56,10 +57,11 @@ declare const index_WalletConfigType: typeof WalletConfigType;
56
57
  declare const index_WalletNFTType: typeof WalletNFTType;
57
58
  declare const index_WalletPanelProps: typeof WalletPanelProps;
58
59
  declare const index_WalletReceiveMessageType: typeof WalletReceiveMessageType;
60
+ declare const index_WalletStatusType: typeof WalletStatusType;
59
61
  declare const index_WalletType: typeof WalletType;
60
62
  declare const index_useMatchWalletAssetsProps: typeof useMatchWalletAssetsProps;
61
63
  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 };
64
+ 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_ContactType as ContactType, 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
65
  }
64
66
 
65
67
  export { index as i };
@@ -1,4 +1,5 @@
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-Dd_ExpLx.js';
1
+ import { M as MyResponseType } from './request-B0CyrGFT.js';
2
+ 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-VrV1kYga.js';
2
3
  import * as viem from 'viem';
3
4
  import { Account, WalletClientConfig, createWalletClient, SignableMessage, Hex, TransactionSerializable, DeployContractParameters, SendTransactionParameters, WriteContractParameters, Chain } from 'viem';
4
5
  import { Hash } from 'viem/types/misc';
@@ -85,11 +86,12 @@ declare function useUserInfo(): {
85
86
  auth: () => Promise<any>;
86
87
  login: (method: LoginMethodType | "wallet", extra?: {
87
88
  [key: string]: any;
88
- }) => Promise<void | Window | null>;
89
+ }) => Promise<string | void | Window | null>;
89
90
  bind: (method: LoginMethodType | "wallet", extra?: {
90
91
  [key: string]: any;
91
- }) => Promise<void | Window | null>;
92
+ }) => Promise<string | void | Window | null>;
92
93
  getAuthInfo: (method: keyof typeof LOGIN_METHOD_MAP) => Promise<unknown>;
94
+ invite: (invite_code: string) => Promise<MyResponseType<any>>;
93
95
  };
94
96
 
95
97
  declare function useMatchEvents(handlers: IMatchEvents): void;
@@ -176,9 +178,9 @@ declare function useMatchChain(): {
176
178
  getBlobBaseFee: () => Promise<viem.GetBlobBaseFeeReturnType>;
177
179
  getBlock: <includeTransactions extends boolean = false, blockTag extends viem.BlockTag = "latest">(args?: viem.GetBlockParameters<includeTransactions, blockTag> | undefined) => Promise<{
178
180
  number: blockTag extends "pending" ? null : bigint;
181
+ nonce: blockTag extends "pending" ? null : `0x${string}`;
179
182
  size: bigint;
180
183
  hash: blockTag extends "pending" ? null : `0x${string}`;
181
- nonce: blockTag extends "pending" ? null : `0x${string}`;
182
184
  logsBloom: blockTag extends "pending" ? null : `0x${string}`;
183
185
  baseFeePerGas: bigint | null;
184
186
  blobGasUsed: bigint;
@@ -202,6 +204,7 @@ declare function useMatchChain(): {
202
204
  withdrawalsRoot?: viem.Hex | undefined;
203
205
  transactions: includeTransactions extends true ? ({
204
206
  type: "legacy";
207
+ nonce: number;
205
208
  chainId?: number | undefined;
206
209
  value: bigint;
207
210
  input: viem.Hex;
@@ -212,7 +215,6 @@ declare function useMatchChain(): {
212
215
  hash: viem.Hash;
213
216
  from: viem.Address;
214
217
  gas: bigint;
215
- nonce: number;
216
218
  to: viem.Address | null;
217
219
  blobVersionedHashes?: undefined;
218
220
  gasPrice: bigint;
@@ -226,6 +228,7 @@ declare function useMatchChain(): {
226
228
  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
229
  } | {
228
230
  type: "eip2930";
231
+ nonce: number;
229
232
  chainId: number;
230
233
  value: bigint;
231
234
  input: viem.Hex;
@@ -236,7 +239,6 @@ declare function useMatchChain(): {
236
239
  hash: viem.Hash;
237
240
  from: viem.Address;
238
241
  gas: bigint;
239
- nonce: number;
240
242
  to: viem.Address | null;
241
243
  blobVersionedHashes?: undefined;
242
244
  gasPrice: bigint;
@@ -250,6 +252,7 @@ declare function useMatchChain(): {
250
252
  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
253
  } | {
252
254
  type: "eip1559";
255
+ nonce: number;
253
256
  chainId: number;
254
257
  value: bigint;
255
258
  input: viem.Hex;
@@ -260,7 +263,6 @@ declare function useMatchChain(): {
260
263
  hash: viem.Hash;
261
264
  from: viem.Address;
262
265
  gas: bigint;
263
- nonce: number;
264
266
  to: viem.Address | null;
265
267
  blobVersionedHashes?: undefined;
266
268
  gasPrice?: undefined;
@@ -274,6 +276,7 @@ declare function useMatchChain(): {
274
276
  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
277
  } | {
276
278
  type: "eip4844";
279
+ nonce: number;
277
280
  chainId: number;
278
281
  value: bigint;
279
282
  input: viem.Hex;
@@ -284,7 +287,6 @@ declare function useMatchChain(): {
284
287
  hash: viem.Hash;
285
288
  from: viem.Address;
286
289
  gas: bigint;
287
- nonce: number;
288
290
  to: viem.Address | null;
289
291
  blobVersionedHashes: readonly viem.Hex[];
290
292
  gasPrice?: undefined;
@@ -323,6 +325,7 @@ declare function useMatchChain(): {
323
325
  getStorageAt: (args: viem.GetStorageAtParameters) => Promise<viem.GetStorageAtReturnType>;
324
326
  getTransaction: <blockTag extends viem.BlockTag = "latest">(args: viem.GetTransactionParameters<blockTag>) => Promise<{
325
327
  type: "legacy";
328
+ nonce: number;
326
329
  chainId?: number | undefined;
327
330
  value: bigint;
328
331
  input: viem.Hex;
@@ -333,7 +336,6 @@ declare function useMatchChain(): {
333
336
  hash: viem.Hash;
334
337
  from: viem.Address;
335
338
  gas: bigint;
336
- nonce: number;
337
339
  to: viem.Address | null;
338
340
  blobVersionedHashes?: undefined;
339
341
  gasPrice: bigint;
@@ -347,6 +349,7 @@ declare function useMatchChain(): {
347
349
  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
350
  } | {
349
351
  type: "eip2930";
352
+ nonce: number;
350
353
  chainId: number;
351
354
  value: bigint;
352
355
  input: viem.Hex;
@@ -357,7 +360,6 @@ declare function useMatchChain(): {
357
360
  hash: viem.Hash;
358
361
  from: viem.Address;
359
362
  gas: bigint;
360
- nonce: number;
361
363
  to: viem.Address | null;
362
364
  blobVersionedHashes?: undefined;
363
365
  gasPrice: bigint;
@@ -371,6 +373,7 @@ declare function useMatchChain(): {
371
373
  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
374
  } | {
373
375
  type: "eip1559";
376
+ nonce: number;
374
377
  chainId: number;
375
378
  value: bigint;
376
379
  input: viem.Hex;
@@ -381,7 +384,6 @@ declare function useMatchChain(): {
381
384
  hash: viem.Hash;
382
385
  from: viem.Address;
383
386
  gas: bigint;
384
- nonce: number;
385
387
  to: viem.Address | null;
386
388
  blobVersionedHashes?: undefined;
387
389
  gasPrice?: undefined;
@@ -395,6 +397,7 @@ declare function useMatchChain(): {
395
397
  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
398
  } | {
397
399
  type: "eip4844";
400
+ nonce: number;
398
401
  chainId: number;
399
402
  value: bigint;
400
403
  input: viem.Hex;
@@ -405,7 +408,6 @@ declare function useMatchChain(): {
405
408
  hash: viem.Hash;
406
409
  from: viem.Address;
407
410
  gas: bigint;
408
- nonce: number;
409
411
  to: viem.Address | null;
410
412
  blobVersionedHashes: readonly viem.Hex[];
411
413
  gasPrice?: undefined;
@@ -1810,7 +1812,7 @@ declare function useMatchChain(): {
1810
1812
  sidecars: viem.TransactionSerializableEIP4844["sidecars"];
1811
1813
  }, 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
1814
  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 ? {
1815
+ }, (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
1816
  chain: T_1;
1815
1817
  } : {
1816
1818
  chain?: undefined;
@@ -3198,7 +3200,7 @@ declare function useMatchChain(): {
3198
3200
  sidecars: viem.TransactionSerializableEIP4844["sidecars"];
3199
3201
  }, 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
3202
  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>;
3203
+ }, (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
3204
  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
3205
  sendRawTransaction: (args: viem.SendRawTransactionParameters) => Promise<viem.SendRawTransactionReturnType>;
3204
3206
  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>>;