@matchain/matchid-sdk-react 0.1.56-alpha.6 → 0.1.56-alpha.7

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 (108) hide show
  1. package/example/package.json +1 -2
  2. package/example/src/pages/Wallet/index.tsx +90 -88
  3. package/example/yarn.lock +2251 -27
  4. package/package.json +7 -4
  5. package/dist/api.d.mts +0 -6
  6. package/dist/api.d.ts +0 -6
  7. package/dist/api.js +0 -1721
  8. package/dist/api.js.map +0 -1
  9. package/dist/api.mjs +0 -23
  10. package/dist/api.mjs.map +0 -1
  11. package/dist/assets/lottie.d.mts +0 -1
  12. package/dist/assets/lottie.d.ts +0 -1
  13. package/dist/assets/lottie.js +0 -68
  14. package/dist/assets/lottie.js.map +0 -1
  15. package/dist/assets/lottie.mjs +0 -22
  16. package/dist/assets/lottie.mjs.map +0 -1
  17. package/dist/chains.d.mts +0 -2
  18. package/dist/chains.d.ts +0 -2
  19. package/dist/chains.js +0 -94
  20. package/dist/chains.js.map +0 -1
  21. package/dist/chains.mjs +0 -11
  22. package/dist/chains.mjs.map +0 -1
  23. package/dist/chunk-3CR66BEX.mjs +0 -19
  24. package/dist/chunk-3CR66BEX.mjs.map +0 -1
  25. package/dist/chunk-GD7URBBZ.mjs +0 -1399
  26. package/dist/chunk-GD7URBBZ.mjs.map +0 -1
  27. package/dist/chunk-HBOS3RBL.mjs +0 -19
  28. package/dist/chunk-HBOS3RBL.mjs.map +0 -1
  29. package/dist/chunk-IZOOVZAD.mjs +0 -145
  30. package/dist/chunk-IZOOVZAD.mjs.map +0 -1
  31. package/dist/chunk-J5LGTIGS.mjs +0 -10
  32. package/dist/chunk-J5LGTIGS.mjs.map +0 -1
  33. package/dist/chunk-JX73EY6V.mjs +0 -67
  34. package/dist/chunk-JX73EY6V.mjs.map +0 -1
  35. package/dist/chunk-KFB23MLQ.mjs +0 -7666
  36. package/dist/chunk-KFB23MLQ.mjs.map +0 -1
  37. package/dist/chunk-NYE6DBEZ.mjs +0 -97
  38. package/dist/chunk-NYE6DBEZ.mjs.map +0 -1
  39. package/dist/chunk-UA6XHZHX.mjs +0 -17
  40. package/dist/chunk-UA6XHZHX.mjs.map +0 -1
  41. package/dist/chunk-XM6CYEXN.mjs +0 -53
  42. package/dist/chunk-XM6CYEXN.mjs.map +0 -1
  43. package/dist/components.d.mts +0 -6
  44. package/dist/components.d.ts +0 -6
  45. package/dist/components.js +0 -6494
  46. package/dist/components.js.map +0 -1
  47. package/dist/components.mjs +0 -57
  48. package/dist/components.mjs.map +0 -1
  49. package/dist/hooks.d.mts +0 -13
  50. package/dist/hooks.d.ts +0 -13
  51. package/dist/hooks.js +0 -3612
  52. package/dist/hooks.js.map +0 -1
  53. package/dist/hooks.mjs +0 -41
  54. package/dist/hooks.mjs.map +0 -1
  55. package/dist/icon.d.mts +0 -5
  56. package/dist/icon.d.ts +0 -5
  57. package/dist/icon.js +0 -1414
  58. package/dist/icon.js.map +0 -1
  59. package/dist/icon.mjs +0 -112
  60. package/dist/icon.mjs.map +0 -1
  61. package/dist/index-B50DU_xT.d.mts +0 -83
  62. package/dist/index-B50DU_xT.d.ts +0 -83
  63. package/dist/index-BcuSCgol.d.ts +0 -111
  64. package/dist/index-BlMLqmS2.d.mts +0 -3341
  65. package/dist/index-C1Nyy5zx.d.ts +0 -3341
  66. package/dist/index-CBcBTQyU.d.mts +0 -66
  67. package/dist/index-CD0dACxf.d.mts +0 -111
  68. package/dist/index-CER00guz.d.mts +0 -132
  69. package/dist/index-CHgaOUiW.d.mts +0 -52590
  70. package/dist/index-CHgaOUiW.d.ts +0 -52590
  71. package/dist/index-CjekOYJl.d.mts +0 -38
  72. package/dist/index-DN-jrh8-.d.ts +0 -213
  73. package/dist/index-DdN22cwf.d.ts +0 -38
  74. package/dist/index-DkIIQLbh.d.ts +0 -92
  75. package/dist/index-DlaCsN95.d.ts +0 -66
  76. package/dist/index-lh6qBAf_.d.mts +0 -92
  77. package/dist/index-o0WW1c5O.d.ts +0 -132
  78. package/dist/index-xThRnNN3.d.mts +0 -213
  79. package/dist/index.css +0 -2131
  80. package/dist/index.d.mts +0 -789
  81. package/dist/index.d.ts +0 -789
  82. package/dist/index.js +0 -9206
  83. package/dist/index.js.map +0 -1
  84. package/dist/index.mjs +0 -45
  85. package/dist/index.mjs.map +0 -1
  86. package/dist/request-B0CyrGFT.d.mts +0 -15
  87. package/dist/request-B0CyrGFT.d.ts +0 -15
  88. package/dist/types-CheN9vHJ.d.mts +0 -428
  89. package/dist/types-CheN9vHJ.d.ts +0 -428
  90. package/dist/types.d.mts +0 -3
  91. package/dist/types.d.ts +0 -3
  92. package/dist/types.js +0 -44
  93. package/dist/types.js.map +0 -1
  94. package/dist/types.mjs +0 -11
  95. package/dist/types.mjs.map +0 -1
  96. package/dist/ui.d.mts +0 -7
  97. package/dist/ui.d.ts +0 -7
  98. package/dist/ui.js +0 -1682
  99. package/dist/ui.js.map +0 -1
  100. package/dist/ui.mjs +0 -47
  101. package/dist/ui.mjs.map +0 -1
  102. package/dist/utils.d.mts +0 -28
  103. package/dist/utils.d.ts +0 -28
  104. package/dist/utils.js +0 -192
  105. package/dist/utils.js.map +0 -1
  106. package/dist/utils.mjs +0 -34
  107. package/dist/utils.mjs.map +0 -1
  108. package/example/package-lock.json +0 -2965
@@ -1,66 +0,0 @@
1
- import { A as Address, q as AnyObject, Q as AppConfigType, S as AuthParams, G as BindInfoType, F as BindItemType, T as BindWalletParam, B as ButtonProps, C as CEXType, o as ChainType, V as DeepPartial, D as DrawerProps, E as EmailModalProps, X as EmbeddedWalletsParams, H as Hash, a as IEnvConfigType, Y as IEnvName, Z as ILoginWalletReq, I as IMatchEvents, l as ISocialLoginMethod, v as IconProps, i as InputProps, L as LocaleType, b as LoginBoxProps, n as LoginMethodType, f as LoginModalProps, e as LoginPanelProps, _ as MessageType, z as MetaPageType, j as ModalProps, M as ModalWithHeaderProps, O as OtherLoginMethodType, m as OverviewInfo, J as PohItemType, w as PohZkpassParams, P as PopoverPositionType, k as PopoverProps, d as PopoverTypeType, R as RecommendLoginMethodType, $ as RecoveryType, a0 as ThemeType, U as UIProps, t as UserAssetToken, p as UserChainType, s as UserImportTokenType, a1 as UserPopoverProps, x as UserTransactionNextPageParams, a2 as UserTransactionRecordType, r as UserTransactionType, g as WalletAssetMergeType, y as WalletAssetType, K as WalletChainType, W as WalletConfigType, N as WalletNFTType, h as WalletPanelProps, a3 as WalletReceiveMessageType, a4 as WalletStatusType, c as WalletType, u as useMatchWalletAssetsProps } from './types-CheN9vHJ.mjs';
2
-
3
- declare const index_Address: typeof Address;
4
- declare const index_AnyObject: typeof AnyObject;
5
- declare const index_AppConfigType: typeof AppConfigType;
6
- declare const index_AuthParams: typeof AuthParams;
7
- declare const index_BindInfoType: typeof BindInfoType;
8
- declare const index_BindItemType: typeof BindItemType;
9
- declare const index_BindWalletParam: typeof BindWalletParam;
10
- declare const index_ButtonProps: typeof ButtonProps;
11
- declare const index_CEXType: typeof CEXType;
12
- declare const index_ChainType: typeof ChainType;
13
- declare const index_DeepPartial: typeof DeepPartial;
14
- declare const index_DrawerProps: typeof DrawerProps;
15
- declare const index_EmailModalProps: typeof EmailModalProps;
16
- declare const index_EmbeddedWalletsParams: typeof EmbeddedWalletsParams;
17
- declare const index_Hash: typeof Hash;
18
- declare const index_IEnvConfigType: typeof IEnvConfigType;
19
- declare const index_IEnvName: typeof IEnvName;
20
- declare const index_ILoginWalletReq: typeof ILoginWalletReq;
21
- declare const index_IMatchEvents: typeof IMatchEvents;
22
- declare const index_ISocialLoginMethod: typeof ISocialLoginMethod;
23
- declare const index_IconProps: typeof IconProps;
24
- declare const index_InputProps: typeof InputProps;
25
- declare const index_LocaleType: typeof LocaleType;
26
- declare const index_LoginBoxProps: typeof LoginBoxProps;
27
- declare const index_LoginMethodType: typeof LoginMethodType;
28
- declare const index_LoginModalProps: typeof LoginModalProps;
29
- declare const index_LoginPanelProps: typeof LoginPanelProps;
30
- declare const index_MessageType: typeof MessageType;
31
- declare const index_MetaPageType: typeof MetaPageType;
32
- declare const index_ModalProps: typeof ModalProps;
33
- declare const index_ModalWithHeaderProps: typeof ModalWithHeaderProps;
34
- declare const index_OtherLoginMethodType: typeof OtherLoginMethodType;
35
- declare const index_OverviewInfo: typeof OverviewInfo;
36
- declare const index_PohItemType: typeof PohItemType;
37
- declare const index_PohZkpassParams: typeof PohZkpassParams;
38
- declare const index_PopoverPositionType: typeof PopoverPositionType;
39
- declare const index_PopoverProps: typeof PopoverProps;
40
- declare const index_PopoverTypeType: typeof PopoverTypeType;
41
- declare const index_RecommendLoginMethodType: typeof RecommendLoginMethodType;
42
- declare const index_RecoveryType: typeof RecoveryType;
43
- declare const index_ThemeType: typeof ThemeType;
44
- declare const index_UIProps: typeof UIProps;
45
- declare const index_UserAssetToken: typeof UserAssetToken;
46
- declare const index_UserChainType: typeof UserChainType;
47
- declare const index_UserImportTokenType: typeof UserImportTokenType;
48
- declare const index_UserPopoverProps: typeof UserPopoverProps;
49
- declare const index_UserTransactionNextPageParams: typeof UserTransactionNextPageParams;
50
- declare const index_UserTransactionRecordType: typeof UserTransactionRecordType;
51
- declare const index_UserTransactionType: typeof UserTransactionType;
52
- declare const index_WalletAssetMergeType: typeof WalletAssetMergeType;
53
- declare const index_WalletAssetType: typeof WalletAssetType;
54
- declare const index_WalletChainType: typeof WalletChainType;
55
- declare const index_WalletConfigType: typeof WalletConfigType;
56
- declare const index_WalletNFTType: typeof WalletNFTType;
57
- declare const index_WalletPanelProps: typeof WalletPanelProps;
58
- declare const index_WalletReceiveMessageType: typeof WalletReceiveMessageType;
59
- declare const index_WalletStatusType: typeof WalletStatusType;
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_WalletStatusType as WalletStatusType, index_WalletType as WalletType, index_useMatchWalletAssetsProps as useMatchWalletAssetsProps };
64
- }
65
-
66
- export { index as i };
@@ -1,111 +0,0 @@
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-CheN9vHJ.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-CjekOYJl.mjs';
4
- import { ReactNode } from 'react';
5
-
6
- declare function EmailModal({ isOpen, width, onClose, onBack, onLogin }: EmailModalProps): react_jsx_runtime.JSX.Element;
7
-
8
- declare function LoginBox({ recommendMethods, methods, walletMethods, inModal }: LoginBoxProps): react_jsx_runtime.JSX.Element;
9
-
10
- declare function LoginButton({ loginRender, methods, recommendMethods, onLoginClick, popoverPosition, popoverType, popoverGap, walletMethods, ...props }: Omit<ButtonProps, 'onClick' | 'highlight'> & {
11
- loginRender?: ReactNode;
12
- methods?: OtherLoginMethodType[];
13
- recommendMethods?: RecommendLoginMethodType[];
14
- walletMethods?: WalletType[];
15
- onLoginClick?: () => void;
16
- popoverPosition?: PopoverPositionType;
17
- popoverType?: PopoverTypeType;
18
- popoverGap?: number | string;
19
- }): react_jsx_runtime.JSX.Element;
20
-
21
- declare function LoginPanel({ header, onClose, ...props }: LoginPanelProps): react_jsx_runtime.JSX.Element;
22
-
23
- declare function LoginModal({ isOpen, width, ...props }: LoginModalProps): react_jsx_runtime.JSX.Element;
24
-
25
- declare function UsernameModal({ title, isOpen, onSuccess, ...props }: ModalWithHeaderProps & {
26
- onSuccess?: () => void;
27
- }): react_jsx_runtime.JSX.Element;
28
-
29
- type EVMModalProps = ModalWithHeaderProps & {
30
- type?: 'login' | 'bind' | '';
31
- onSuccess?: () => void;
32
- };
33
- declare function EVMModal(props: EVMModalProps): false | react_jsx_runtime.JSX.Element;
34
-
35
- type TRONConnectModalProps = ModalWithHeaderProps & {
36
- type?: 'login' | 'bind' | '';
37
- onSuccess?: () => void;
38
- };
39
- declare function TRONModal(props: TRONConnectModalProps): false | react_jsx_runtime.JSX.Element;
40
-
41
- type TonModalProps = ModalWithHeaderProps & {
42
- type?: 'login' | 'bind' | '';
43
- onSuccess?: () => void;
44
- };
45
- declare function TONModal(props: TonModalProps): false | react_jsx_runtime.JSX.Element;
46
-
47
- type BTCConnectModalProps = ModalWithHeaderProps & {
48
- type?: 'login' | 'bind' | '';
49
- onSuccess?: () => void;
50
- };
51
- declare function BTCModal(props: BTCConnectModalProps): false | react_jsx_runtime.JSX.Element;
52
-
53
- type WalletModalProps = ModalWithHeaderProps & {
54
- type?: 'login' | 'bind' | '';
55
- methods?: WalletType[];
56
- };
57
- declare function WalletModal(props: WalletModalProps): false | react_jsx_runtime.JSX.Element;
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
-
84
- declare const index_BTCModal: typeof BTCModal;
85
- declare const index_Button: typeof Button;
86
- declare const index_EVMModal: typeof EVMModal;
87
- declare const index_EmailModal: typeof EmailModal;
88
- declare const index_Field: typeof Field;
89
- declare const index_Input: typeof Input;
90
- declare const index_LoginBox: typeof LoginBox;
91
- declare const index_LoginButton: typeof LoginButton;
92
- declare const index_LoginModal: typeof LoginModal;
93
- declare const index_LoginPanel: typeof LoginPanel;
94
- declare const index_Modal: typeof Modal;
95
- declare const index_ModalWithHeader: typeof ModalWithHeader;
96
- declare const index_Overlay: typeof Overlay;
97
- declare const index_Popover: typeof Popover;
98
- declare const index_TONModal: typeof TONModal;
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;
104
- declare const index_UsernameModal: typeof UsernameModal;
105
- declare const index_WalletAsset: typeof WalletAsset;
106
- declare const index_WalletModal: typeof WalletModal;
107
- declare namespace index {
108
- export { index_BTCModal as BTCModal, index_Button as Button, index_EVMModal as EVMModal, index_EmailModal as EmailModal, index_Field as Field, index_Input as Input, index_LoginBox as LoginBox, index_LoginButton as LoginButton, index_LoginModal as LoginModal, index_LoginPanel as LoginPanel, index_Modal as Modal, index_ModalWithHeader as ModalWithHeader, index_Overlay as Overlay, index_Popover as Popover, index_TONModal as TONModal, index_TRONModal as TRONModal, index_TokenDetail as TokenDetail, index_TokenSend as TokenSend, index_TokenSendList as TokenSendList, index_TransactionList as TransactionList, index_UsernameModal as UsernameModal, index_WalletAsset as WalletAsset, index_WalletModal as WalletModal };
109
- }
110
-
111
- export { BTCModal as B, EmailModal as E, LoginBox as L, TRONModal as T, UsernameModal as U, WalletModal as W, LoginButton as a, LoginPanel as b, LoginModal as c, EVMModal as d, TONModal as e, WalletAsset as f, TokenDetail as g, TokenSend as h, index as i, TokenSendList as j, TransactionList as k };
@@ -1,132 +0,0 @@
1
- import * as _tanstack_react_query from '@tanstack/react-query';
2
- import { UseQueryOptions } from '@tanstack/react-query/src/types';
3
- import { w as PohZkpassParams, r as UserTransactionType, x as UserTransactionNextPageParams, y as WalletAssetType, z as MetaPageType, F as BindItemType, G as BindInfoType, J as PohItemType, p as UserChainType, t as UserAssetToken, s as UserImportTokenType, K as WalletChainType, N as WalletNFTType } from './types-CheN9vHJ.mjs';
4
- import { M as MyResponseType, i as isSuccess } from './request-B0CyrGFT.mjs';
5
-
6
- declare const bindCexApi: (data: {
7
- cex: string;
8
- api_key: string;
9
- api_secret: string;
10
- api_passphrase?: string;
11
- }) => Promise<MyResponseType<any>>;
12
- declare const unBindApi: ({ type }: {
13
- type: string;
14
- }) => Promise<MyResponseType<any>>;
15
- declare const unBindWalletApi: ({ address }: {
16
- address: string;
17
- }) => Promise<MyResponseType<any>>;
18
- declare const verifyPohApi: ({ taskId, schemaId, publicFields, allocatorAddress, publicFieldsHash, allocatorSignature, uHash, validatorAddress, validatorSignature }: PohZkpassParams) => Promise<MyResponseType<any>>;
19
- declare const chooseIdentityApi: ({ identity }: {
20
- identity: string;
21
- }) => Promise<MyResponseType<any>>;
22
- declare const mintPassportNftApi: () => Promise<MyResponseType<any>>;
23
- declare const userImportTokenApi: (data: {
24
- chain_id: string;
25
- symbol: string;
26
- address: string;
27
- decimals: string;
28
- }) => Promise<MyResponseType<any>>;
29
- declare const getUserWalletTransactionsApi: (data: {
30
- address?: string;
31
- chain_id: string;
32
- page?: string;
33
- block_number?: number;
34
- index?: number;
35
- items_count?: number;
36
- }) => Promise<MyResponseType<{
37
- transactions: UserTransactionType[];
38
- next_page_params: UserTransactionNextPageParams;
39
- }>>;
40
- declare const getWalletAssetListApi: (data: {
41
- chain_id: string;
42
- address: string;
43
- }) => Promise<MyResponseType<{
44
- asset_list: WalletAssetType[];
45
- asset_total_balance: string;
46
- }>>;
47
- declare const getWalletListApi: (data: {
48
- page: number;
49
- page_size: number;
50
- }) => Promise<MyResponseType<MetaPageType<{
51
- wallet_list: {
52
- address: string;
53
- chain_network: string;
54
- }[];
55
- mpc_address: string;
56
- }>>>;
57
-
58
- declare function useBindList(options?: Partial<Omit<UseQueryOptions<BindItemType[]>, 'queryKey' | 'queryFn'>>): _tanstack_react_query.UseQueryResult<BindItemType[], Error>;
59
- declare function useBindInfo(options?: Partial<Omit<UseQueryOptions<BindInfoType>, 'queryKey' | 'queryFn'>>): _tanstack_react_query.UseQueryResult<BindInfoType, Error>;
60
-
61
- declare const bind_bindCexApi: typeof bindCexApi;
62
- declare const bind_unBindApi: typeof unBindApi;
63
- declare const bind_unBindWalletApi: typeof unBindWalletApi;
64
- declare const bind_useBindInfo: typeof useBindInfo;
65
- declare const bind_useBindList: typeof useBindList;
66
- declare namespace bind {
67
- export { bind_bindCexApi as bindCexApi, bind_unBindApi as unBindApi, bind_unBindWalletApi as unBindWalletApi, bind_useBindInfo as useBindInfo, bind_useBindList as useBindList };
68
- }
69
-
70
- declare function usePohList(options?: Partial<Omit<UseQueryOptions<PohItemType[]>, 'queryKey' | 'queryFn'>>): _tanstack_react_query.UseQueryResult<PohItemType[], Error>;
71
-
72
- declare const poh_usePohList: typeof usePohList;
73
- declare const poh_verifyPohApi: typeof verifyPohApi;
74
- declare namespace poh {
75
- export { poh_usePohList as usePohList, poh_verifyPohApi as verifyPohApi };
76
- }
77
-
78
- declare const user_chooseIdentityApi: typeof chooseIdentityApi;
79
- declare const user_mintPassportNftApi: typeof mintPassportNftApi;
80
- declare namespace user {
81
- export { user_chooseIdentityApi as chooseIdentityApi, user_mintPassportNftApi as mintPassportNftApi };
82
- }
83
-
84
- declare function useChainListQuery(options?: Partial<Omit<UseQueryOptions<UserChainType[]>, 'queryKey' | 'queryFn'>>): _tanstack_react_query.UseQueryResult<UserChainType[], Error>;
85
- declare function useAssetListQuery({ chainId, ...options }: {
86
- chainId: number;
87
- } & Partial<Omit<UseQueryOptions<UserAssetToken[]>, 'queryKey' | 'queryFn'>>): _tanstack_react_query.UseQueryResult<UserAssetToken[], Error>;
88
- declare const USER_IMPORT_TOKEN_LIST_KEY = "match-user-import-token-list";
89
- declare function useImportTokenListQuery({ chainId, ...options }: {
90
- chainId: number;
91
- } & Partial<Omit<UseQueryOptions<UserImportTokenType[]>, 'queryKey' | 'queryFn'>>): _tanstack_react_query.UseQueryResult<UserImportTokenType[], Error>;
92
- declare function useWalletChainListQuery(options?: Partial<Omit<UseQueryOptions<WalletChainType[]>, 'queryKey' | 'queryFn'>>): _tanstack_react_query.UseQueryResult<WalletChainType[], Error>;
93
- declare function useWalletNftListQuery({ chainId, address, ...options }: {
94
- chainId: string;
95
- address: string;
96
- } & Partial<Omit<UseQueryOptions<WalletNFTType[]>, 'queryKey' | 'queryFn'>>): _tanstack_react_query.UseQueryResult<WalletNFTType[], Error>;
97
- declare function useWalletAssetListQuery({ chainId, address, ...options }: {
98
- chainId: string;
99
- address: string;
100
- } & Partial<Omit<UseQueryOptions<{
101
- asset_list: WalletAssetType[];
102
- asset_total_balance: string;
103
- } | null>, 'queryKey' | 'queryFn'>>): _tanstack_react_query.UseQueryResult<{
104
- asset_list: WalletAssetType[];
105
- asset_total_balance: string;
106
- } | null, Error>;
107
-
108
- declare const wallet_USER_IMPORT_TOKEN_LIST_KEY: typeof USER_IMPORT_TOKEN_LIST_KEY;
109
- declare const wallet_getUserWalletTransactionsApi: typeof getUserWalletTransactionsApi;
110
- declare const wallet_getWalletAssetListApi: typeof getWalletAssetListApi;
111
- declare const wallet_getWalletListApi: typeof getWalletListApi;
112
- declare const wallet_useAssetListQuery: typeof useAssetListQuery;
113
- declare const wallet_useChainListQuery: typeof useChainListQuery;
114
- declare const wallet_useImportTokenListQuery: typeof useImportTokenListQuery;
115
- declare const wallet_useWalletAssetListQuery: typeof useWalletAssetListQuery;
116
- declare const wallet_useWalletChainListQuery: typeof useWalletChainListQuery;
117
- declare const wallet_useWalletNftListQuery: typeof useWalletNftListQuery;
118
- declare const wallet_userImportTokenApi: typeof userImportTokenApi;
119
- declare namespace wallet {
120
- 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 };
121
- }
122
-
123
- declare const index_bind: typeof bind;
124
- declare const index_isSuccess: typeof isSuccess;
125
- declare const index_poh: typeof poh;
126
- declare const index_user: typeof user;
127
- declare const index_wallet: typeof wallet;
128
- declare namespace index {
129
- export { index_bind as bind, index_isSuccess as isSuccess, index_poh as poh, index_user as user, index_wallet as wallet };
130
- }
131
-
132
- export { bind as b, index as i, poh as p, user as u, wallet as w };