@matchain/matchid-sdk-react 0.1.48-alpha.9 → 0.1.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/icon/index.d.mts +8 -2
- package/dist/assets/icon/index.d.ts +8 -2
- package/dist/assets/icon/index.js +54 -2
- package/dist/assets/icon/index.js.map +1 -1
- package/dist/assets/icon/index.mjs +5 -1
- package/dist/{chunk-T72FT5NB.mjs → chunk-4I5WVXIN.mjs} +2 -2
- package/dist/chunk-5JHHHLG4.mjs +136 -0
- package/dist/chunk-5JHHHLG4.mjs.map +1 -0
- package/dist/{chunk-USKUYOYJ.mjs → chunk-FB5MHLWX.mjs} +75 -42
- package/dist/chunk-FB5MHLWX.mjs.map +1 -0
- package/dist/{chunk-7UTR37EJ.mjs → chunk-LHNKZISB.mjs} +54 -4
- package/dist/chunk-LHNKZISB.mjs.map +1 -0
- package/dist/{chunk-CI63DTB6.mjs → chunk-YSASIFLY.mjs} +2018 -702
- package/dist/chunk-YSASIFLY.mjs.map +1 -0
- package/dist/components/index.d.mts +4 -3
- package/dist/components/index.d.ts +4 -3
- package/dist/components/index.js +2265 -536
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +14 -3
- package/dist/hooks/api/index.d.mts +2 -2
- package/dist/hooks/api/index.d.ts +2 -2
- package/dist/hooks/api/index.js +363 -204
- package/dist/hooks/api/index.js.map +1 -1
- package/dist/hooks/api/index.mjs +5 -4
- package/dist/hooks/index.d.mts +3 -2
- package/dist/hooks/index.d.ts +3 -2
- package/dist/hooks/index.js +1532 -320
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +8 -3
- package/dist/index-BMfaixEx.d.mts +66 -0
- package/dist/{index-Bbn2Stvu.d.ts → index-BMsj8hJv.d.ts} +4 -3
- package/dist/{index-DcxdJ0m2.d.ts → index-BcEreCxd.d.ts} +1 -1
- package/dist/index-Bpmrd7mh.d.ts +66 -0
- package/dist/{index-C_S7k6z2.d.mts → index-Bvc8cjpN.d.ts} +34 -4
- package/dist/{index-Dzvj-uGt.d.mts → index-C9F6f2iz.d.mts} +4 -3
- package/dist/{index-D-uNr-JV.d.ts → index-C9qYyRgt.d.mts} +34 -4
- package/dist/{index-CB4j_ONH.d.mts → index-Cou96DpL.d.mts} +1 -1
- package/dist/{index-B7A0lN0C.d.mts → index-Cy3K-Yao.d.ts} +21 -6
- package/dist/{index-dhPbMbvL.d.ts → index-D4ju2J_e.d.mts} +21 -6
- package/dist/{index-DDV4F9ka.d.mts → index-DUHkH5t-.d.mts} +114 -65
- package/dist/{index-Bz53bbI_.d.ts → index-DcQm2dkr.d.ts} +114 -65
- package/dist/index.css +613 -10
- package/dist/index.d.mts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +2593 -1104
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -7
- package/dist/types/index.d.mts +2 -1
- package/dist/types/index.d.ts +2 -1
- package/dist/{types-B4BYNw8B.d.mts → types-DzVVzMYU.d.mts} +62 -35
- package/dist/{types-B4BYNw8B.d.ts → types-DzVVzMYU.d.ts} +62 -35
- package/dist/ui/index.d.mts +4 -3
- package/dist/ui/index.d.ts +4 -3
- package/dist/ui/index.js +134 -95
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/index.mjs +2 -2
- package/dist/utils/index.d.mts +26 -0
- package/dist/utils/index.d.ts +26 -0
- package/dist/utils/index.js +181 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/index.mjs +30 -0
- package/dist/utils/index.mjs.map +1 -0
- package/example/src/pages/Wallet/components/MatchWallet.tsx +44 -9
- package/example/src/pages/Wallet/index.tsx +2 -1
- package/package.json +7 -1
- package/dist/chunk-7UTR37EJ.mjs.map +0 -1
- package/dist/chunk-CI63DTB6.mjs.map +0 -1
- package/dist/chunk-USKUYOYJ.mjs.map +0 -1
- package/dist/index-CKyWWkzU.d.mts +0 -60
- package/dist/index-DV_mRu4y.d.ts +0 -60
- /package/dist/{chunk-T72FT5NB.mjs.map → chunk-4I5WVXIN.mjs.map} +0 -0
package/dist/hooks/index.mjs
CHANGED
|
@@ -3,6 +3,8 @@ import {
|
|
|
3
3
|
useMatchChain,
|
|
4
4
|
useMatchEvents,
|
|
5
5
|
useMatchWallet,
|
|
6
|
+
useMatchWalletAssetList,
|
|
7
|
+
useMatchWalletAssets,
|
|
6
8
|
useMatchWalletRecords,
|
|
7
9
|
useModal,
|
|
8
10
|
useReceipt,
|
|
@@ -10,12 +12,13 @@ import {
|
|
|
10
12
|
useTransaction,
|
|
11
13
|
useUserInfo,
|
|
12
14
|
useWallet
|
|
13
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-YSASIFLY.mjs";
|
|
14
16
|
import "../chunk-UA6XHZHX.mjs";
|
|
15
17
|
import {
|
|
16
18
|
useLayout_exports
|
|
17
|
-
} from "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
+
} from "../chunk-FB5MHLWX.mjs";
|
|
20
|
+
import "../chunk-5JHHHLG4.mjs";
|
|
21
|
+
import "../chunk-LHNKZISB.mjs";
|
|
19
22
|
import "../chunk-J5LGTIGS.mjs";
|
|
20
23
|
export {
|
|
21
24
|
useCopyClipboard,
|
|
@@ -23,6 +26,8 @@ export {
|
|
|
23
26
|
useMatchChain,
|
|
24
27
|
useMatchEvents,
|
|
25
28
|
useMatchWallet,
|
|
29
|
+
useMatchWalletAssetList,
|
|
30
|
+
useMatchWalletAssets,
|
|
26
31
|
useMatchWalletRecords,
|
|
27
32
|
useModal,
|
|
28
33
|
useReceipt,
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { A as AuthParams, C as ChainType, E as EmbeddedWalletsParams, R as RecoveryType } from './mpc-CTbBWHld.mjs';
|
|
2
|
+
import { A as Address, k as AnyObject, o as AppConfigType, p as BindInfoType, q as BindItemType, r as BindWalletParam, B as ButtonProps, C as CEXType, D as DeepPartial, s as DrawerProps, E as EmailModalProps, H as Hash, a as IEnvConfigType, t as IEnvName, v as ILoginWalletReq, I as IMatchEvents, h as ISocialLoginMethod, w as IconProps, x as InputProps, L as LocaleType, b as LoginBoxProps, j as LoginMethodType, f as LoginModalProps, e as LoginPanelProps, y as MessageType, z as MetaPageType, F as ModalProps, M as ModalWithHeaderProps, O as OtherLoginMethodType, i as OverviewInfo, G as PohItemType, J as PohZkpassParams, P as PopoverPositionType, K as PopoverProps, d as PopoverTypeType, R as RecommendLoginMethodType, T as ThemeType, N as UIProps, n as UserAssetToken, U as UserChainType, m as UserImportTokenType, Q as UserPopoverProps, S as UserTransactionNextPageParams, V as UserTransactionRecordType, l as UserTransactionType, g as WalletAssetMergeType, X as WalletAssetType, Y as WalletChainType, W as WalletConfigType, Z as WalletNFTType, _ as WalletPanelProps, $ as WalletReceiveMessageType, c as WalletType, u as useMatchWalletAssetsProps } from './types-DzVVzMYU.mjs';
|
|
3
|
+
|
|
4
|
+
declare const index_Address: typeof Address;
|
|
5
|
+
declare const index_AnyObject: typeof AnyObject;
|
|
6
|
+
declare const index_AppConfigType: typeof AppConfigType;
|
|
7
|
+
declare const index_AuthParams: typeof AuthParams;
|
|
8
|
+
declare const index_BindInfoType: typeof BindInfoType;
|
|
9
|
+
declare const index_BindItemType: typeof BindItemType;
|
|
10
|
+
declare const index_BindWalletParam: typeof BindWalletParam;
|
|
11
|
+
declare const index_ButtonProps: typeof ButtonProps;
|
|
12
|
+
declare const index_CEXType: typeof CEXType;
|
|
13
|
+
declare const index_ChainType: typeof ChainType;
|
|
14
|
+
declare const index_DeepPartial: typeof DeepPartial;
|
|
15
|
+
declare const index_DrawerProps: typeof DrawerProps;
|
|
16
|
+
declare const index_EmailModalProps: typeof EmailModalProps;
|
|
17
|
+
declare const index_EmbeddedWalletsParams: typeof EmbeddedWalletsParams;
|
|
18
|
+
declare const index_Hash: typeof Hash;
|
|
19
|
+
declare const index_IEnvConfigType: typeof IEnvConfigType;
|
|
20
|
+
declare const index_IEnvName: typeof IEnvName;
|
|
21
|
+
declare const index_ILoginWalletReq: typeof ILoginWalletReq;
|
|
22
|
+
declare const index_IMatchEvents: typeof IMatchEvents;
|
|
23
|
+
declare const index_ISocialLoginMethod: typeof ISocialLoginMethod;
|
|
24
|
+
declare const index_IconProps: typeof IconProps;
|
|
25
|
+
declare const index_InputProps: typeof InputProps;
|
|
26
|
+
declare const index_LocaleType: typeof LocaleType;
|
|
27
|
+
declare const index_LoginBoxProps: typeof LoginBoxProps;
|
|
28
|
+
declare const index_LoginMethodType: typeof LoginMethodType;
|
|
29
|
+
declare const index_LoginModalProps: typeof LoginModalProps;
|
|
30
|
+
declare const index_LoginPanelProps: typeof LoginPanelProps;
|
|
31
|
+
declare const index_MessageType: typeof MessageType;
|
|
32
|
+
declare const index_MetaPageType: typeof MetaPageType;
|
|
33
|
+
declare const index_ModalProps: typeof ModalProps;
|
|
34
|
+
declare const index_ModalWithHeaderProps: typeof ModalWithHeaderProps;
|
|
35
|
+
declare const index_OtherLoginMethodType: typeof OtherLoginMethodType;
|
|
36
|
+
declare const index_OverviewInfo: typeof OverviewInfo;
|
|
37
|
+
declare const index_PohItemType: typeof PohItemType;
|
|
38
|
+
declare const index_PohZkpassParams: typeof PohZkpassParams;
|
|
39
|
+
declare const index_PopoverPositionType: typeof PopoverPositionType;
|
|
40
|
+
declare const index_PopoverProps: typeof PopoverProps;
|
|
41
|
+
declare const index_PopoverTypeType: typeof PopoverTypeType;
|
|
42
|
+
declare const index_RecommendLoginMethodType: typeof RecommendLoginMethodType;
|
|
43
|
+
declare const index_RecoveryType: typeof RecoveryType;
|
|
44
|
+
declare const index_ThemeType: typeof ThemeType;
|
|
45
|
+
declare const index_UIProps: typeof UIProps;
|
|
46
|
+
declare const index_UserAssetToken: typeof UserAssetToken;
|
|
47
|
+
declare const index_UserChainType: typeof UserChainType;
|
|
48
|
+
declare const index_UserImportTokenType: typeof UserImportTokenType;
|
|
49
|
+
declare const index_UserPopoverProps: typeof UserPopoverProps;
|
|
50
|
+
declare const index_UserTransactionNextPageParams: typeof UserTransactionNextPageParams;
|
|
51
|
+
declare const index_UserTransactionRecordType: typeof UserTransactionRecordType;
|
|
52
|
+
declare const index_UserTransactionType: typeof UserTransactionType;
|
|
53
|
+
declare const index_WalletAssetMergeType: typeof WalletAssetMergeType;
|
|
54
|
+
declare const index_WalletAssetType: typeof WalletAssetType;
|
|
55
|
+
declare const index_WalletChainType: typeof WalletChainType;
|
|
56
|
+
declare const index_WalletConfigType: typeof WalletConfigType;
|
|
57
|
+
declare const index_WalletNFTType: typeof WalletNFTType;
|
|
58
|
+
declare const index_WalletPanelProps: typeof WalletPanelProps;
|
|
59
|
+
declare const index_WalletReceiveMessageType: typeof WalletReceiveMessageType;
|
|
60
|
+
declare const index_WalletType: typeof WalletType;
|
|
61
|
+
declare const index_useMatchWalletAssetsProps: typeof useMatchWalletAssetsProps;
|
|
62
|
+
declare namespace index {
|
|
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_WalletType as WalletType, index_useMatchWalletAssetsProps as useMatchWalletAssetsProps };
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export { index as i };
|
|
@@ -1,16 +1,17 @@
|
|
|
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-
|
|
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-BcEreCxd.js';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import {
|
|
3
|
+
import { s as DrawerProps, _ as WalletPanelProps, N as UIProps } from './types-DzVVzMYU.js';
|
|
4
4
|
import { Hash, Chain } from 'viem';
|
|
5
5
|
import { CSSProperties } from 'react';
|
|
6
6
|
|
|
7
|
-
declare function Drawer({ children, showClose, onClose, isOpen, title, zIndex }: DrawerProps): react_jsx_runtime.JSX.Element;
|
|
7
|
+
declare function Drawer({ children, showClose, onClose, isOpen, title, zIndex, onBack }: DrawerProps): react_jsx_runtime.JSX.Element;
|
|
8
8
|
|
|
9
9
|
type HashPanelProps = {
|
|
10
10
|
hash?: Hash | null;
|
|
11
11
|
chain?: Chain | null;
|
|
12
12
|
isOpen: boolean;
|
|
13
13
|
onClose: () => void;
|
|
14
|
+
zIndex?: number;
|
|
14
15
|
};
|
|
15
16
|
declare function export_default(props: HashPanelProps): false | react_jsx_runtime.JSX.Element;
|
|
16
17
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode, PropsWithChildren } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { x as InputProps, B as ButtonProps, F as ModalProps, M as ModalWithHeaderProps, K as PopoverProps } from './types-DzVVzMYU.js';
|
|
4
4
|
|
|
5
5
|
declare function Field({ label, children, error, required, className }: {
|
|
6
6
|
label: ReactNode;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { A as AuthParams, C as ChainType, E as EmbeddedWalletsParams, R as RecoveryType } from './mpc-CTbBWHld.js';
|
|
2
|
+
import { A as Address, k as AnyObject, o as AppConfigType, p as BindInfoType, q as BindItemType, r as BindWalletParam, B as ButtonProps, C as CEXType, D as DeepPartial, s as DrawerProps, E as EmailModalProps, H as Hash, a as IEnvConfigType, t as IEnvName, v as ILoginWalletReq, I as IMatchEvents, h as ISocialLoginMethod, w as IconProps, x as InputProps, L as LocaleType, b as LoginBoxProps, j as LoginMethodType, f as LoginModalProps, e as LoginPanelProps, y as MessageType, z as MetaPageType, F as ModalProps, M as ModalWithHeaderProps, O as OtherLoginMethodType, i as OverviewInfo, G as PohItemType, J as PohZkpassParams, P as PopoverPositionType, K as PopoverProps, d as PopoverTypeType, R as RecommendLoginMethodType, T as ThemeType, N as UIProps, n as UserAssetToken, U as UserChainType, m as UserImportTokenType, Q as UserPopoverProps, S as UserTransactionNextPageParams, V as UserTransactionRecordType, l as UserTransactionType, g as WalletAssetMergeType, X as WalletAssetType, Y as WalletChainType, W as WalletConfigType, Z as WalletNFTType, _ as WalletPanelProps, $ as WalletReceiveMessageType, c as WalletType, u as useMatchWalletAssetsProps } from './types-DzVVzMYU.js';
|
|
3
|
+
|
|
4
|
+
declare const index_Address: typeof Address;
|
|
5
|
+
declare const index_AnyObject: typeof AnyObject;
|
|
6
|
+
declare const index_AppConfigType: typeof AppConfigType;
|
|
7
|
+
declare const index_AuthParams: typeof AuthParams;
|
|
8
|
+
declare const index_BindInfoType: typeof BindInfoType;
|
|
9
|
+
declare const index_BindItemType: typeof BindItemType;
|
|
10
|
+
declare const index_BindWalletParam: typeof BindWalletParam;
|
|
11
|
+
declare const index_ButtonProps: typeof ButtonProps;
|
|
12
|
+
declare const index_CEXType: typeof CEXType;
|
|
13
|
+
declare const index_ChainType: typeof ChainType;
|
|
14
|
+
declare const index_DeepPartial: typeof DeepPartial;
|
|
15
|
+
declare const index_DrawerProps: typeof DrawerProps;
|
|
16
|
+
declare const index_EmailModalProps: typeof EmailModalProps;
|
|
17
|
+
declare const index_EmbeddedWalletsParams: typeof EmbeddedWalletsParams;
|
|
18
|
+
declare const index_Hash: typeof Hash;
|
|
19
|
+
declare const index_IEnvConfigType: typeof IEnvConfigType;
|
|
20
|
+
declare const index_IEnvName: typeof IEnvName;
|
|
21
|
+
declare const index_ILoginWalletReq: typeof ILoginWalletReq;
|
|
22
|
+
declare const index_IMatchEvents: typeof IMatchEvents;
|
|
23
|
+
declare const index_ISocialLoginMethod: typeof ISocialLoginMethod;
|
|
24
|
+
declare const index_IconProps: typeof IconProps;
|
|
25
|
+
declare const index_InputProps: typeof InputProps;
|
|
26
|
+
declare const index_LocaleType: typeof LocaleType;
|
|
27
|
+
declare const index_LoginBoxProps: typeof LoginBoxProps;
|
|
28
|
+
declare const index_LoginMethodType: typeof LoginMethodType;
|
|
29
|
+
declare const index_LoginModalProps: typeof LoginModalProps;
|
|
30
|
+
declare const index_LoginPanelProps: typeof LoginPanelProps;
|
|
31
|
+
declare const index_MessageType: typeof MessageType;
|
|
32
|
+
declare const index_MetaPageType: typeof MetaPageType;
|
|
33
|
+
declare const index_ModalProps: typeof ModalProps;
|
|
34
|
+
declare const index_ModalWithHeaderProps: typeof ModalWithHeaderProps;
|
|
35
|
+
declare const index_OtherLoginMethodType: typeof OtherLoginMethodType;
|
|
36
|
+
declare const index_OverviewInfo: typeof OverviewInfo;
|
|
37
|
+
declare const index_PohItemType: typeof PohItemType;
|
|
38
|
+
declare const index_PohZkpassParams: typeof PohZkpassParams;
|
|
39
|
+
declare const index_PopoverPositionType: typeof PopoverPositionType;
|
|
40
|
+
declare const index_PopoverProps: typeof PopoverProps;
|
|
41
|
+
declare const index_PopoverTypeType: typeof PopoverTypeType;
|
|
42
|
+
declare const index_RecommendLoginMethodType: typeof RecommendLoginMethodType;
|
|
43
|
+
declare const index_RecoveryType: typeof RecoveryType;
|
|
44
|
+
declare const index_ThemeType: typeof ThemeType;
|
|
45
|
+
declare const index_UIProps: typeof UIProps;
|
|
46
|
+
declare const index_UserAssetToken: typeof UserAssetToken;
|
|
47
|
+
declare const index_UserChainType: typeof UserChainType;
|
|
48
|
+
declare const index_UserImportTokenType: typeof UserImportTokenType;
|
|
49
|
+
declare const index_UserPopoverProps: typeof UserPopoverProps;
|
|
50
|
+
declare const index_UserTransactionNextPageParams: typeof UserTransactionNextPageParams;
|
|
51
|
+
declare const index_UserTransactionRecordType: typeof UserTransactionRecordType;
|
|
52
|
+
declare const index_UserTransactionType: typeof UserTransactionType;
|
|
53
|
+
declare const index_WalletAssetMergeType: typeof WalletAssetMergeType;
|
|
54
|
+
declare const index_WalletAssetType: typeof WalletAssetType;
|
|
55
|
+
declare const index_WalletChainType: typeof WalletChainType;
|
|
56
|
+
declare const index_WalletConfigType: typeof WalletConfigType;
|
|
57
|
+
declare const index_WalletNFTType: typeof WalletNFTType;
|
|
58
|
+
declare const index_WalletPanelProps: typeof WalletPanelProps;
|
|
59
|
+
declare const index_WalletReceiveMessageType: typeof WalletReceiveMessageType;
|
|
60
|
+
declare const index_WalletType: typeof WalletType;
|
|
61
|
+
declare const index_useMatchWalletAssetsProps: typeof useMatchWalletAssetsProps;
|
|
62
|
+
declare namespace index {
|
|
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_WalletType as WalletType, index_useMatchWalletAssetsProps as useMatchWalletAssetsProps };
|
|
64
|
+
}
|
|
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, 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 } from './types-
|
|
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-
|
|
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-DzVVzMYU.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-BcEreCxd.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;
|
|
@@ -56,6 +56,31 @@ type WalletModalProps = ModalWithHeaderProps & {
|
|
|
56
56
|
};
|
|
57
57
|
declare function WalletModal(props: WalletModalProps): false | react_jsx_runtime.JSX.Element;
|
|
58
58
|
|
|
59
|
+
declare function WalletAsset({ onAssetClick, matchWalletAssetsOptions }: {
|
|
60
|
+
onAssetClick?: (asset: WalletAssetMergeType) => () => void;
|
|
61
|
+
matchWalletAssetsOptions?: useMatchWalletAssetsProps;
|
|
62
|
+
}): react_jsx_runtime.JSX.Element;
|
|
63
|
+
|
|
64
|
+
declare function TokenDetail({ onClose, token }: {
|
|
65
|
+
onClose: () => void;
|
|
66
|
+
token: WalletAssetMergeType;
|
|
67
|
+
}): react_jsx_runtime.JSX.Element;
|
|
68
|
+
|
|
69
|
+
declare function TokenSend({ onClose, zIndex, token, onBack }: {
|
|
70
|
+
onBack: () => void;
|
|
71
|
+
onClose: () => void;
|
|
72
|
+
zIndex: number;
|
|
73
|
+
token: WalletAssetMergeType;
|
|
74
|
+
}): react_jsx_runtime.JSX.Element;
|
|
75
|
+
|
|
76
|
+
declare function TokenSendList({ close }: {
|
|
77
|
+
close: () => void;
|
|
78
|
+
}): react_jsx_runtime.JSX.Element;
|
|
79
|
+
|
|
80
|
+
declare function TransactionList({ scrollableTarget }: {
|
|
81
|
+
scrollableTarget?: ReactNode;
|
|
82
|
+
}): react_jsx_runtime.JSX.Element;
|
|
83
|
+
|
|
59
84
|
declare const index_BTCModal: typeof BTCModal;
|
|
60
85
|
declare const index_Button: typeof Button;
|
|
61
86
|
declare const index_EmailModal: typeof EmailModal;
|
|
@@ -72,10 +97,15 @@ declare const index_Popover: typeof Popover;
|
|
|
72
97
|
declare const index_SOLModal: typeof SOLModal;
|
|
73
98
|
declare const index_TONModal: typeof TONModal;
|
|
74
99
|
declare const index_TRONModal: typeof TRONModal;
|
|
100
|
+
declare const index_TokenDetail: typeof TokenDetail;
|
|
101
|
+
declare const index_TokenSend: typeof TokenSend;
|
|
102
|
+
declare const index_TokenSendList: typeof TokenSendList;
|
|
103
|
+
declare const index_TransactionList: typeof TransactionList;
|
|
75
104
|
declare const index_UsernameModal: typeof UsernameModal;
|
|
105
|
+
declare const index_WalletAsset: typeof WalletAsset;
|
|
76
106
|
declare const index_WalletModal: typeof WalletModal;
|
|
77
107
|
declare namespace index {
|
|
78
|
-
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_UsernameModal as UsernameModal, index_WalletModal as WalletModal };
|
|
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 };
|
|
79
109
|
}
|
|
80
110
|
|
|
81
|
-
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, index as i };
|
|
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 };
|
|
@@ -1,16 +1,17 @@
|
|
|
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-
|
|
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-Cou96DpL.mjs';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import {
|
|
3
|
+
import { s as DrawerProps, _ as WalletPanelProps, N as UIProps } from './types-DzVVzMYU.mjs';
|
|
4
4
|
import { Hash, Chain } from 'viem';
|
|
5
5
|
import { CSSProperties } from 'react';
|
|
6
6
|
|
|
7
|
-
declare function Drawer({ children, showClose, onClose, isOpen, title, zIndex }: DrawerProps): react_jsx_runtime.JSX.Element;
|
|
7
|
+
declare function Drawer({ children, showClose, onClose, isOpen, title, zIndex, onBack }: DrawerProps): react_jsx_runtime.JSX.Element;
|
|
8
8
|
|
|
9
9
|
type HashPanelProps = {
|
|
10
10
|
hash?: Hash | null;
|
|
11
11
|
chain?: Chain | null;
|
|
12
12
|
isOpen: boolean;
|
|
13
13
|
onClose: () => void;
|
|
14
|
+
zIndex?: number;
|
|
14
15
|
};
|
|
15
16
|
declare function export_default(props: HashPanelProps): false | react_jsx_runtime.JSX.Element;
|
|
16
17
|
|
|
@@ -1,6 +1,6 @@
|
|
|
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 } from './types-
|
|
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-
|
|
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-DzVVzMYU.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-Cou96DpL.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;
|
|
@@ -56,6 +56,31 @@ type WalletModalProps = ModalWithHeaderProps & {
|
|
|
56
56
|
};
|
|
57
57
|
declare function WalletModal(props: WalletModalProps): false | react_jsx_runtime.JSX.Element;
|
|
58
58
|
|
|
59
|
+
declare function WalletAsset({ onAssetClick, matchWalletAssetsOptions }: {
|
|
60
|
+
onAssetClick?: (asset: WalletAssetMergeType) => () => void;
|
|
61
|
+
matchWalletAssetsOptions?: useMatchWalletAssetsProps;
|
|
62
|
+
}): react_jsx_runtime.JSX.Element;
|
|
63
|
+
|
|
64
|
+
declare function TokenDetail({ onClose, token }: {
|
|
65
|
+
onClose: () => void;
|
|
66
|
+
token: WalletAssetMergeType;
|
|
67
|
+
}): react_jsx_runtime.JSX.Element;
|
|
68
|
+
|
|
69
|
+
declare function TokenSend({ onClose, zIndex, token, onBack }: {
|
|
70
|
+
onBack: () => void;
|
|
71
|
+
onClose: () => void;
|
|
72
|
+
zIndex: number;
|
|
73
|
+
token: WalletAssetMergeType;
|
|
74
|
+
}): react_jsx_runtime.JSX.Element;
|
|
75
|
+
|
|
76
|
+
declare function TokenSendList({ close }: {
|
|
77
|
+
close: () => void;
|
|
78
|
+
}): react_jsx_runtime.JSX.Element;
|
|
79
|
+
|
|
80
|
+
declare function TransactionList({ scrollableTarget }: {
|
|
81
|
+
scrollableTarget?: ReactNode;
|
|
82
|
+
}): react_jsx_runtime.JSX.Element;
|
|
83
|
+
|
|
59
84
|
declare const index_BTCModal: typeof BTCModal;
|
|
60
85
|
declare const index_Button: typeof Button;
|
|
61
86
|
declare const index_EmailModal: typeof EmailModal;
|
|
@@ -72,10 +97,15 @@ declare const index_Popover: typeof Popover;
|
|
|
72
97
|
declare const index_SOLModal: typeof SOLModal;
|
|
73
98
|
declare const index_TONModal: typeof TONModal;
|
|
74
99
|
declare const index_TRONModal: typeof TRONModal;
|
|
100
|
+
declare const index_TokenDetail: typeof TokenDetail;
|
|
101
|
+
declare const index_TokenSend: typeof TokenSend;
|
|
102
|
+
declare const index_TokenSendList: typeof TokenSendList;
|
|
103
|
+
declare const index_TransactionList: typeof TransactionList;
|
|
75
104
|
declare const index_UsernameModal: typeof UsernameModal;
|
|
105
|
+
declare const index_WalletAsset: typeof WalletAsset;
|
|
76
106
|
declare const index_WalletModal: typeof WalletModal;
|
|
77
107
|
declare namespace index {
|
|
78
|
-
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_UsernameModal as UsernameModal, index_WalletModal as WalletModal };
|
|
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 };
|
|
79
109
|
}
|
|
80
110
|
|
|
81
|
-
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, index as i };
|
|
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 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode, PropsWithChildren } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { x as InputProps, B as ButtonProps, F as ModalProps, M as ModalWithHeaderProps, K as PopoverProps } from './types-DzVVzMYU.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 _tanstack_react_query from '@tanstack/react-query';
|
|
2
2
|
import { UseQueryOptions } from '@tanstack/react-query/src/types';
|
|
3
|
-
import {
|
|
3
|
+
import { J as PohZkpassParams, l as UserTransactionType, S as UserTransactionNextPageParams, X as WalletAssetType, z as MetaPageType, q as BindItemType, p as BindInfoType, G as PohItemType, U as UserChainType, n as UserAssetToken, m as UserImportTokenType, Y as WalletChainType, Z as WalletNFTType } from './types-DzVVzMYU.js';
|
|
4
4
|
|
|
5
5
|
declare const isSuccess: (res: {
|
|
6
6
|
code: number;
|
|
@@ -40,13 +40,15 @@ declare const userImportTokenApi: (data: {
|
|
|
40
40
|
decimals: string;
|
|
41
41
|
}) => Promise<MyResponseType<any>>;
|
|
42
42
|
declare const getUserWalletTransactionsApi: (data: {
|
|
43
|
+
address?: string;
|
|
43
44
|
chain_id: string;
|
|
44
|
-
|
|
45
|
-
|
|
45
|
+
page?: string;
|
|
46
|
+
block_number?: number;
|
|
47
|
+
index?: number;
|
|
48
|
+
items_count?: number;
|
|
46
49
|
}) => Promise<MyResponseType<{
|
|
47
50
|
transactions: UserTransactionType[];
|
|
48
|
-
|
|
49
|
-
offset: number;
|
|
51
|
+
next_page_params: UserTransactionNextPageParams;
|
|
50
52
|
}>>;
|
|
51
53
|
declare const getWalletAssetListApi: (data: {
|
|
52
54
|
chain_id: string;
|
|
@@ -96,6 +98,7 @@ declare function useChainListQuery(options?: Partial<Omit<UseQueryOptions<UserCh
|
|
|
96
98
|
declare function useAssetListQuery({ chainId, ...options }: {
|
|
97
99
|
chainId: number;
|
|
98
100
|
} & Partial<Omit<UseQueryOptions<UserAssetToken[]>, 'queryKey' | 'queryFn'>>): _tanstack_react_query.UseQueryResult<UserAssetToken[], Error>;
|
|
101
|
+
declare const USER_IMPORT_TOKEN_LIST_KEY = "match-user-import-token-list";
|
|
99
102
|
declare function useImportTokenListQuery({ chainId, ...options }: {
|
|
100
103
|
chainId: number;
|
|
101
104
|
} & Partial<Omit<UseQueryOptions<UserImportTokenType[]>, 'queryKey' | 'queryFn'>>): _tanstack_react_query.UseQueryResult<UserImportTokenType[], Error>;
|
|
@@ -104,18 +107,30 @@ declare function useWalletNftListQuery({ chainId, address, ...options }: {
|
|
|
104
107
|
chainId: string;
|
|
105
108
|
address: string;
|
|
106
109
|
} & Partial<Omit<UseQueryOptions<WalletNFTType[]>, 'queryKey' | 'queryFn'>>): _tanstack_react_query.UseQueryResult<WalletNFTType[], Error>;
|
|
110
|
+
declare function useWalletAssetListQuery({ chainId, address, ...options }: {
|
|
111
|
+
chainId: string;
|
|
112
|
+
address: string;
|
|
113
|
+
} & Partial<Omit<UseQueryOptions<{
|
|
114
|
+
asset_list: WalletAssetType[];
|
|
115
|
+
asset_total_balance: string;
|
|
116
|
+
} | null>, 'queryKey' | 'queryFn'>>): _tanstack_react_query.UseQueryResult<{
|
|
117
|
+
asset_list: WalletAssetType[];
|
|
118
|
+
asset_total_balance: string;
|
|
119
|
+
} | null, Error>;
|
|
107
120
|
|
|
121
|
+
declare const wallet_USER_IMPORT_TOKEN_LIST_KEY: typeof USER_IMPORT_TOKEN_LIST_KEY;
|
|
108
122
|
declare const wallet_getUserWalletTransactionsApi: typeof getUserWalletTransactionsApi;
|
|
109
123
|
declare const wallet_getWalletAssetListApi: typeof getWalletAssetListApi;
|
|
110
124
|
declare const wallet_getWalletListApi: typeof getWalletListApi;
|
|
111
125
|
declare const wallet_useAssetListQuery: typeof useAssetListQuery;
|
|
112
126
|
declare const wallet_useChainListQuery: typeof useChainListQuery;
|
|
113
127
|
declare const wallet_useImportTokenListQuery: typeof useImportTokenListQuery;
|
|
128
|
+
declare const wallet_useWalletAssetListQuery: typeof useWalletAssetListQuery;
|
|
114
129
|
declare const wallet_useWalletChainListQuery: typeof useWalletChainListQuery;
|
|
115
130
|
declare const wallet_useWalletNftListQuery: typeof useWalletNftListQuery;
|
|
116
131
|
declare const wallet_userImportTokenApi: typeof userImportTokenApi;
|
|
117
132
|
declare namespace wallet {
|
|
118
|
-
export { wallet_getUserWalletTransactionsApi as getUserWalletTransactionsApi, wallet_getWalletAssetListApi as getWalletAssetListApi, wallet_getWalletListApi as getWalletListApi, wallet_useAssetListQuery as useAssetListQuery, wallet_useChainListQuery as useChainListQuery, wallet_useImportTokenListQuery as useImportTokenListQuery, wallet_useWalletChainListQuery as useWalletChainListQuery, wallet_useWalletNftListQuery as useWalletNftListQuery, wallet_userImportTokenApi as userImportTokenApi };
|
|
133
|
+
export { wallet_USER_IMPORT_TOKEN_LIST_KEY as USER_IMPORT_TOKEN_LIST_KEY, wallet_getUserWalletTransactionsApi as getUserWalletTransactionsApi, wallet_getWalletAssetListApi as getWalletAssetListApi, wallet_getWalletListApi as getWalletListApi, wallet_useAssetListQuery as useAssetListQuery, wallet_useChainListQuery as useChainListQuery, wallet_useImportTokenListQuery as useImportTokenListQuery, wallet_useWalletAssetListQuery as useWalletAssetListQuery, wallet_useWalletChainListQuery as useWalletChainListQuery, wallet_useWalletNftListQuery as useWalletNftListQuery, wallet_userImportTokenApi as userImportTokenApi };
|
|
119
134
|
}
|
|
120
135
|
|
|
121
136
|
declare const index_bind: typeof bind;
|
|
@@ -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 {
|
|
3
|
+
import { J as PohZkpassParams, l as UserTransactionType, S as UserTransactionNextPageParams, X as WalletAssetType, z as MetaPageType, q as BindItemType, p as BindInfoType, G as PohItemType, U as UserChainType, n as UserAssetToken, m as UserImportTokenType, Y as WalletChainType, Z as WalletNFTType } from './types-DzVVzMYU.mjs';
|
|
4
4
|
|
|
5
5
|
declare const isSuccess: (res: {
|
|
6
6
|
code: number;
|
|
@@ -40,13 +40,15 @@ declare const userImportTokenApi: (data: {
|
|
|
40
40
|
decimals: string;
|
|
41
41
|
}) => Promise<MyResponseType<any>>;
|
|
42
42
|
declare const getUserWalletTransactionsApi: (data: {
|
|
43
|
+
address?: string;
|
|
43
44
|
chain_id: string;
|
|
44
|
-
|
|
45
|
-
|
|
45
|
+
page?: string;
|
|
46
|
+
block_number?: number;
|
|
47
|
+
index?: number;
|
|
48
|
+
items_count?: number;
|
|
46
49
|
}) => Promise<MyResponseType<{
|
|
47
50
|
transactions: UserTransactionType[];
|
|
48
|
-
|
|
49
|
-
offset: number;
|
|
51
|
+
next_page_params: UserTransactionNextPageParams;
|
|
50
52
|
}>>;
|
|
51
53
|
declare const getWalletAssetListApi: (data: {
|
|
52
54
|
chain_id: string;
|
|
@@ -96,6 +98,7 @@ declare function useChainListQuery(options?: Partial<Omit<UseQueryOptions<UserCh
|
|
|
96
98
|
declare function useAssetListQuery({ chainId, ...options }: {
|
|
97
99
|
chainId: number;
|
|
98
100
|
} & Partial<Omit<UseQueryOptions<UserAssetToken[]>, 'queryKey' | 'queryFn'>>): _tanstack_react_query.UseQueryResult<UserAssetToken[], Error>;
|
|
101
|
+
declare const USER_IMPORT_TOKEN_LIST_KEY = "match-user-import-token-list";
|
|
99
102
|
declare function useImportTokenListQuery({ chainId, ...options }: {
|
|
100
103
|
chainId: number;
|
|
101
104
|
} & Partial<Omit<UseQueryOptions<UserImportTokenType[]>, 'queryKey' | 'queryFn'>>): _tanstack_react_query.UseQueryResult<UserImportTokenType[], Error>;
|
|
@@ -104,18 +107,30 @@ declare function useWalletNftListQuery({ chainId, address, ...options }: {
|
|
|
104
107
|
chainId: string;
|
|
105
108
|
address: string;
|
|
106
109
|
} & Partial<Omit<UseQueryOptions<WalletNFTType[]>, 'queryKey' | 'queryFn'>>): _tanstack_react_query.UseQueryResult<WalletNFTType[], Error>;
|
|
110
|
+
declare function useWalletAssetListQuery({ chainId, address, ...options }: {
|
|
111
|
+
chainId: string;
|
|
112
|
+
address: string;
|
|
113
|
+
} & Partial<Omit<UseQueryOptions<{
|
|
114
|
+
asset_list: WalletAssetType[];
|
|
115
|
+
asset_total_balance: string;
|
|
116
|
+
} | null>, 'queryKey' | 'queryFn'>>): _tanstack_react_query.UseQueryResult<{
|
|
117
|
+
asset_list: WalletAssetType[];
|
|
118
|
+
asset_total_balance: string;
|
|
119
|
+
} | null, Error>;
|
|
107
120
|
|
|
121
|
+
declare const wallet_USER_IMPORT_TOKEN_LIST_KEY: typeof USER_IMPORT_TOKEN_LIST_KEY;
|
|
108
122
|
declare const wallet_getUserWalletTransactionsApi: typeof getUserWalletTransactionsApi;
|
|
109
123
|
declare const wallet_getWalletAssetListApi: typeof getWalletAssetListApi;
|
|
110
124
|
declare const wallet_getWalletListApi: typeof getWalletListApi;
|
|
111
125
|
declare const wallet_useAssetListQuery: typeof useAssetListQuery;
|
|
112
126
|
declare const wallet_useChainListQuery: typeof useChainListQuery;
|
|
113
127
|
declare const wallet_useImportTokenListQuery: typeof useImportTokenListQuery;
|
|
128
|
+
declare const wallet_useWalletAssetListQuery: typeof useWalletAssetListQuery;
|
|
114
129
|
declare const wallet_useWalletChainListQuery: typeof useWalletChainListQuery;
|
|
115
130
|
declare const wallet_useWalletNftListQuery: typeof useWalletNftListQuery;
|
|
116
131
|
declare const wallet_userImportTokenApi: typeof userImportTokenApi;
|
|
117
132
|
declare namespace wallet {
|
|
118
|
-
export { wallet_getUserWalletTransactionsApi as getUserWalletTransactionsApi, wallet_getWalletAssetListApi as getWalletAssetListApi, wallet_getWalletListApi as getWalletListApi, wallet_useAssetListQuery as useAssetListQuery, wallet_useChainListQuery as useChainListQuery, wallet_useImportTokenListQuery as useImportTokenListQuery, wallet_useWalletChainListQuery as useWalletChainListQuery, wallet_useWalletNftListQuery as useWalletNftListQuery, wallet_userImportTokenApi as userImportTokenApi };
|
|
133
|
+
export { wallet_USER_IMPORT_TOKEN_LIST_KEY as USER_IMPORT_TOKEN_LIST_KEY, wallet_getUserWalletTransactionsApi as getUserWalletTransactionsApi, wallet_getWalletAssetListApi as getWalletAssetListApi, wallet_getWalletListApi as getWalletListApi, wallet_useAssetListQuery as useAssetListQuery, wallet_useChainListQuery as useChainListQuery, wallet_useImportTokenListQuery as useImportTokenListQuery, wallet_useWalletAssetListQuery as useWalletAssetListQuery, wallet_useWalletChainListQuery as useWalletChainListQuery, wallet_useWalletNftListQuery as useWalletNftListQuery, wallet_userImportTokenApi as userImportTokenApi };
|
|
119
134
|
}
|
|
120
135
|
|
|
121
136
|
declare const index_bind: typeof bind;
|