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

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 (104) hide show
  1. package/dist/api.d.mts +6 -0
  2. package/dist/api.d.ts +6 -0
  3. package/dist/api.js +1728 -0
  4. package/dist/api.js.map +1 -0
  5. package/dist/api.mjs +23 -0
  6. package/dist/api.mjs.map +1 -0
  7. package/dist/assets/lottie.d.mts +1 -0
  8. package/dist/assets/lottie.d.ts +1 -0
  9. package/dist/assets/lottie.js +68 -0
  10. package/dist/assets/lottie.js.map +1 -0
  11. package/dist/assets/lottie.mjs +22 -0
  12. package/dist/assets/lottie.mjs.map +1 -0
  13. package/dist/chains.d.mts +2 -0
  14. package/dist/chains.d.ts +2 -0
  15. package/dist/chains.js +94 -0
  16. package/dist/chains.js.map +1 -0
  17. package/dist/chains.mjs +11 -0
  18. package/dist/chains.mjs.map +1 -0
  19. package/dist/chunk-3CR66BEX.mjs +19 -0
  20. package/dist/chunk-3CR66BEX.mjs.map +1 -0
  21. package/dist/chunk-FQ6PYZPD.mjs +1439 -0
  22. package/dist/chunk-FQ6PYZPD.mjs.map +1 -0
  23. package/dist/chunk-HBOS3RBL.mjs +19 -0
  24. package/dist/chunk-HBOS3RBL.mjs.map +1 -0
  25. package/dist/chunk-IZOOVZAD.mjs +145 -0
  26. package/dist/chunk-IZOOVZAD.mjs.map +1 -0
  27. package/dist/chunk-J5LGTIGS.mjs +10 -0
  28. package/dist/chunk-J5LGTIGS.mjs.map +1 -0
  29. package/dist/chunk-JCMQBWWW.mjs +97 -0
  30. package/dist/chunk-JCMQBWWW.mjs.map +1 -0
  31. package/dist/chunk-JX73EY6V.mjs +67 -0
  32. package/dist/chunk-JX73EY6V.mjs.map +1 -0
  33. package/dist/chunk-LOZCAT7A.mjs +7732 -0
  34. package/dist/chunk-LOZCAT7A.mjs.map +1 -0
  35. package/dist/chunk-UA6XHZHX.mjs +17 -0
  36. package/dist/chunk-UA6XHZHX.mjs.map +1 -0
  37. package/dist/chunk-XM6CYEXN.mjs +53 -0
  38. package/dist/chunk-XM6CYEXN.mjs.map +1 -0
  39. package/dist/components.d.mts +6 -0
  40. package/dist/components.d.ts +6 -0
  41. package/dist/components.js +6576 -0
  42. package/dist/components.js.map +1 -0
  43. package/dist/components.mjs +57 -0
  44. package/dist/components.mjs.map +1 -0
  45. package/dist/hooks.d.mts +12 -0
  46. package/dist/hooks.d.ts +12 -0
  47. package/dist/hooks.js +3619 -0
  48. package/dist/hooks.js.map +1 -0
  49. package/dist/hooks.mjs +41 -0
  50. package/dist/hooks.mjs.map +1 -0
  51. package/dist/icon.d.mts +5 -0
  52. package/dist/icon.d.ts +5 -0
  53. package/dist/icon.js +1454 -0
  54. package/dist/icon.js.map +1 -0
  55. package/dist/icon.mjs +116 -0
  56. package/dist/icon.mjs.map +1 -0
  57. package/dist/index-84CqVi2I.d.mts +66 -0
  58. package/dist/index-BNqdFiOo.d.ts +66 -0
  59. package/dist/index-BctnHnJp.d.ts +221 -0
  60. package/dist/index-BqI0PEIi.d.mts +38 -0
  61. package/dist/index-CHgaOUiW.d.mts +52590 -0
  62. package/dist/index-CHgaOUiW.d.ts +52590 -0
  63. package/dist/index-Car1jFyN.d.mts +132 -0
  64. package/dist/index-CboftuIp.d.mts +85 -0
  65. package/dist/index-CboftuIp.d.ts +85 -0
  66. package/dist/index-CcVHENNv.d.ts +132 -0
  67. package/dist/index-Cqdz_5bE.d.ts +92 -0
  68. package/dist/index-CvzpMw3N.d.ts +38 -0
  69. package/dist/index-D2E53ZMV.d.mts +7134 -0
  70. package/dist/index-DVlulZhE.d.mts +111 -0
  71. package/dist/index-DkijpM5Q.d.mts +221 -0
  72. package/dist/index-DwmrgZa2.d.ts +7134 -0
  73. package/dist/index-DxHhOW24.d.mts +92 -0
  74. package/dist/index-qmC4zt6V.d.ts +111 -0
  75. package/dist/index.css +2294 -0
  76. package/dist/index.d.mts +867 -0
  77. package/dist/index.d.ts +867 -0
  78. package/dist/index.js +9308 -0
  79. package/dist/index.js.map +1 -0
  80. package/dist/index.mjs +45 -0
  81. package/dist/index.mjs.map +1 -0
  82. package/dist/request-B0CyrGFT.d.mts +15 -0
  83. package/dist/request-B0CyrGFT.d.ts +15 -0
  84. package/dist/types-BrVeC0c8.d.mts +428 -0
  85. package/dist/types-BrVeC0c8.d.ts +428 -0
  86. package/dist/types.d.mts +3 -0
  87. package/dist/types.d.ts +3 -0
  88. package/dist/types.js +44 -0
  89. package/dist/types.js.map +1 -0
  90. package/dist/types.mjs +11 -0
  91. package/dist/types.mjs.map +1 -0
  92. package/dist/ui.d.mts +7 -0
  93. package/dist/ui.d.ts +7 -0
  94. package/dist/ui.js +1688 -0
  95. package/dist/ui.js.map +1 -0
  96. package/dist/ui.mjs +47 -0
  97. package/dist/ui.mjs.map +1 -0
  98. package/dist/utils.d.mts +28 -0
  99. package/dist/utils.d.ts +28 -0
  100. package/dist/utils.js +192 -0
  101. package/dist/utils.js.map +1 -0
  102. package/dist/utils.mjs +34 -0
  103. package/dist/utils.mjs.map +1 -0
  104. package/package.json +1 -1
@@ -0,0 +1,132 @@
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-BrVeC0c8.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 };
@@ -0,0 +1,85 @@
1
+ import * as viem from 'viem';
2
+
3
+ declare const matchMain: {
4
+ blockExplorers: {
5
+ readonly default: {
6
+ readonly name: "Matchscan";
7
+ readonly url: "https://matchscan.io/";
8
+ readonly apiUrl: "https://matchscan.io/api";
9
+ };
10
+ };
11
+ contracts: {
12
+ readonly multicall3: {
13
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
14
+ };
15
+ };
16
+ ensTlds?: readonly string[] | undefined;
17
+ id: 698;
18
+ name: "Matchain";
19
+ nativeCurrency: {
20
+ readonly name: "Match Coin";
21
+ readonly symbol: "BNB";
22
+ readonly decimals: 18;
23
+ };
24
+ rpcUrls: {
25
+ readonly default: {
26
+ readonly http: readonly ["https://rpc.matchain.io"];
27
+ };
28
+ };
29
+ sourceId?: number | undefined | undefined;
30
+ testnet?: boolean | undefined | undefined;
31
+ custom?: Record<string, unknown> | undefined;
32
+ fees?: viem.ChainFees<undefined> | undefined;
33
+ formatters?: undefined;
34
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
35
+ readonly iconUrl: "https://matchscan.io/static/identicon_logos/blockies.png";
36
+ };
37
+
38
+ declare const matchTest: {
39
+ blockExplorers: {
40
+ readonly default: {
41
+ readonly name: "Matchscan";
42
+ readonly url: "https://testnet.matchscan.io/";
43
+ readonly apiUrl: "https://testnet.matchscan.io/api";
44
+ };
45
+ };
46
+ contracts: {
47
+ readonly multicall3: {
48
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
49
+ readonly blockCreated: 751532;
50
+ };
51
+ readonly ensRegistry: {
52
+ readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
53
+ };
54
+ readonly ensUniversalResolver: {
55
+ readonly address: "0xc8Af999e38273D658BE1b921b88A9Ddf005769cC";
56
+ readonly blockCreated: 5317080;
57
+ };
58
+ };
59
+ ensTlds?: readonly string[] | undefined;
60
+ id: 699;
61
+ name: "MatchTest";
62
+ nativeCurrency: {
63
+ readonly name: "Match Coin";
64
+ readonly symbol: "BNB";
65
+ readonly decimals: 18;
66
+ };
67
+ rpcUrls: {
68
+ readonly default: {
69
+ readonly http: readonly ["https://testnet-rpc.matchain.io"];
70
+ };
71
+ };
72
+ sourceId?: number | undefined | undefined;
73
+ testnet?: boolean | undefined | undefined;
74
+ custom?: Record<string, unknown> | undefined;
75
+ fees?: viem.ChainFees<undefined> | undefined;
76
+ formatters?: undefined;
77
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
78
+ readonly iconUrl: "https://testnet.matchscan.io/static/identicon_logos/blockies.png";
79
+ };
80
+
81
+ declare namespace index {
82
+ export { matchMain as MatchMain, matchTest as MatchTest };
83
+ }
84
+
85
+ export { matchTest as a, index as i, matchMain as m };
@@ -0,0 +1,85 @@
1
+ import * as viem from 'viem';
2
+
3
+ declare const matchMain: {
4
+ blockExplorers: {
5
+ readonly default: {
6
+ readonly name: "Matchscan";
7
+ readonly url: "https://matchscan.io/";
8
+ readonly apiUrl: "https://matchscan.io/api";
9
+ };
10
+ };
11
+ contracts: {
12
+ readonly multicall3: {
13
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
14
+ };
15
+ };
16
+ ensTlds?: readonly string[] | undefined;
17
+ id: 698;
18
+ name: "Matchain";
19
+ nativeCurrency: {
20
+ readonly name: "Match Coin";
21
+ readonly symbol: "BNB";
22
+ readonly decimals: 18;
23
+ };
24
+ rpcUrls: {
25
+ readonly default: {
26
+ readonly http: readonly ["https://rpc.matchain.io"];
27
+ };
28
+ };
29
+ sourceId?: number | undefined | undefined;
30
+ testnet?: boolean | undefined | undefined;
31
+ custom?: Record<string, unknown> | undefined;
32
+ fees?: viem.ChainFees<undefined> | undefined;
33
+ formatters?: undefined;
34
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
35
+ readonly iconUrl: "https://matchscan.io/static/identicon_logos/blockies.png";
36
+ };
37
+
38
+ declare const matchTest: {
39
+ blockExplorers: {
40
+ readonly default: {
41
+ readonly name: "Matchscan";
42
+ readonly url: "https://testnet.matchscan.io/";
43
+ readonly apiUrl: "https://testnet.matchscan.io/api";
44
+ };
45
+ };
46
+ contracts: {
47
+ readonly multicall3: {
48
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
49
+ readonly blockCreated: 751532;
50
+ };
51
+ readonly ensRegistry: {
52
+ readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
53
+ };
54
+ readonly ensUniversalResolver: {
55
+ readonly address: "0xc8Af999e38273D658BE1b921b88A9Ddf005769cC";
56
+ readonly blockCreated: 5317080;
57
+ };
58
+ };
59
+ ensTlds?: readonly string[] | undefined;
60
+ id: 699;
61
+ name: "MatchTest";
62
+ nativeCurrency: {
63
+ readonly name: "Match Coin";
64
+ readonly symbol: "BNB";
65
+ readonly decimals: 18;
66
+ };
67
+ rpcUrls: {
68
+ readonly default: {
69
+ readonly http: readonly ["https://testnet-rpc.matchain.io"];
70
+ };
71
+ };
72
+ sourceId?: number | undefined | undefined;
73
+ testnet?: boolean | undefined | undefined;
74
+ custom?: Record<string, unknown> | undefined;
75
+ fees?: viem.ChainFees<undefined> | undefined;
76
+ formatters?: undefined;
77
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
78
+ readonly iconUrl: "https://testnet.matchscan.io/static/identicon_logos/blockies.png";
79
+ };
80
+
81
+ declare namespace index {
82
+ export { matchMain as MatchMain, matchTest as MatchTest };
83
+ }
84
+
85
+ export { matchTest as a, index as i, matchMain as m };
@@ -0,0 +1,132 @@
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-BrVeC0c8.js';
4
+ import { M as MyResponseType, i as isSuccess } from './request-B0CyrGFT.js';
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 };
@@ -0,0 +1,92 @@
1
+ import { B as Button, C as ConfirmModal, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-CvzpMw3N.js';
2
+ import * as react_jsx_runtime from 'react/jsx-runtime';
3
+ import { D as DrawerProps, h as WalletPanelProps, U as UIProps } from './types-BrVeC0c8.js';
4
+ import { Hash, Chain } from 'viem';
5
+ import * as React$1 from 'react';
6
+ import React__default, { CSSProperties } from 'react';
7
+
8
+ declare function Drawer({ children, showClose, onClose, isOpen, title, zIndex, onBack }: DrawerProps): react_jsx_runtime.JSX.Element;
9
+
10
+ type HashPanelProps = {
11
+ hash?: Hash | null;
12
+ chain?: Chain | null;
13
+ isOpen: boolean;
14
+ onClose: () => void;
15
+ zIndex?: number;
16
+ error?: string;
17
+ };
18
+ declare function export_default(props: HashPanelProps): false | react_jsx_runtime.JSX.Element;
19
+
20
+ declare function ModalDrawer({ title, drawerTitleVisible, ...props }: WalletPanelProps): react_jsx_runtime.JSX.Element;
21
+
22
+ declare function Switch({ size, checked, loading, onChange, className, disabled, ...props }: {
23
+ size?: "default" | "sm";
24
+ checked?: boolean;
25
+ loading?: boolean;
26
+ disabled?: boolean;
27
+ onChange?: (checked: boolean) => void;
28
+ } & UIProps): react_jsx_runtime.JSX.Element;
29
+
30
+ declare function AlphaAvatar({ name, size, className, style }: {
31
+ name: string;
32
+ size?: number | "sm" | "default" | "lg";
33
+ } & UIProps): react_jsx_runtime.JSX.Element;
34
+
35
+ declare function Radio({ checked, onChange, size, color, className, style }: {
36
+ checked?: boolean;
37
+ onChange?: () => void;
38
+ size?: number;
39
+ color?: string;
40
+ className?: string;
41
+ style?: CSSProperties;
42
+ }): react_jsx_runtime.JSX.Element;
43
+
44
+ interface SkeletonProps {
45
+ style?: React__default.CSSProperties;
46
+ className?: string;
47
+ width?: string | number;
48
+ height?: string | number;
49
+ radius?: string | number;
50
+ loading?: boolean;
51
+ children?: React__default.ReactNode;
52
+ }
53
+ declare const Skeleton: React__default.FC<SkeletonProps>;
54
+
55
+ type TabsProps = {
56
+ tabs: string[];
57
+ activeTab: number;
58
+ setActiveTab: (tab: number) => void;
59
+ };
60
+ declare function Tabs(props: TabsProps): react_jsx_runtime.JSX.Element;
61
+
62
+ declare const LazyLottie: (props: {
63
+ animationData: any;
64
+ style?: React.CSSProperties;
65
+ }) => React$1.ReactElement<any, string | React$1.JSXElementConstructor<any>>;
66
+
67
+ declare function Checkbox({ checked, onChange }: {
68
+ checked?: boolean;
69
+ onChange?: (checked: boolean) => void;
70
+ }): react_jsx_runtime.JSX.Element;
71
+
72
+ declare const index_AlphaAvatar: typeof AlphaAvatar;
73
+ declare const index_Button: typeof Button;
74
+ declare const index_Checkbox: typeof Checkbox;
75
+ declare const index_ConfirmModal: typeof ConfirmModal;
76
+ declare const index_Drawer: typeof Drawer;
77
+ declare const index_Field: typeof Field;
78
+ declare const index_Input: typeof Input;
79
+ declare const index_Modal: typeof Modal;
80
+ declare const index_ModalDrawer: typeof ModalDrawer;
81
+ declare const index_ModalWithHeader: typeof ModalWithHeader;
82
+ declare const index_Overlay: typeof Overlay;
83
+ declare const index_Popover: typeof Popover;
84
+ declare const index_Radio: typeof Radio;
85
+ declare const index_Skeleton: typeof Skeleton;
86
+ declare const index_Switch: typeof Switch;
87
+ declare const index_Tabs: typeof Tabs;
88
+ declare namespace index {
89
+ export { index_AlphaAvatar as AlphaAvatar, index_Button as Button, index_Checkbox as Checkbox, index_ConfirmModal as ConfirmModal, index_Drawer as Drawer, index_Field as Field, export_default as HashPanel, index_Input as Input, LazyLottie as Lottie, 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 };
90
+ }
91
+
92
+ export { AlphaAvatar as A, Checkbox as C, Drawer as D, LazyLottie as L, ModalDrawer as M, Radio as R, Switch as S, Tabs as T, Skeleton as a, export_default as e, index as i };
@@ -0,0 +1,38 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import React__default, { ReactNode, PropsWithChildren } from 'react';
3
+ import { i as InputProps, B as ButtonProps, j as ModalProps, M as ModalWithHeaderProps, k as PopoverProps } from './types-BrVeC0c8.js';
4
+
5
+ declare function Field({ label, children, error, required, className }: {
6
+ label: ReactNode;
7
+ error?: ReactNode;
8
+ required?: boolean;
9
+ className?: string;
10
+ } & PropsWithChildren): react_jsx_runtime.JSX.Element;
11
+
12
+ declare function Input({ onChange, type, after, showLength, showClear, className, rows, maxRows, children, ...props }: InputProps & PropsWithChildren): react_jsx_runtime.JSX.Element;
13
+
14
+ declare function Button({ size, disabled, loading, children, onClick, highlight, block, type, rounded, className, style, dataset }: ButtonProps & {
15
+ dataset?: {
16
+ [key: string]: string;
17
+ };
18
+ }): react_jsx_runtime.JSX.Element;
19
+
20
+ declare function Modal({ children, isOpen, width, zIndex, className }: ModalProps): react_jsx_runtime.JSX.Element;
21
+ declare function ModalWithHeader({ children, onBack, onClose, title, showBorder, showClose, ...props }: ModalWithHeaderProps): react_jsx_runtime.JSX.Element;
22
+ declare function ConfirmModal({ title, children, onClose, onConfirm, isOpen, confirmText, zIndex }: {
23
+ title?: string;
24
+ onClose: () => void;
25
+ onConfirm: () => Promise<void>;
26
+ isOpen: boolean;
27
+ confirmText?: React__default.ReactNode;
28
+ zIndex?: number;
29
+ } & PropsWithChildren): react_jsx_runtime.JSX.Element;
30
+
31
+ declare function Popover({ children, content, position, type, className, gap }: PopoverProps): false | "" | 0 | react_jsx_runtime.JSX.Element | null | undefined;
32
+
33
+ declare function Overlay({ isOpen, children, zIndex, }: {
34
+ isOpen?: boolean;
35
+ zIndex?: number;
36
+ } & PropsWithChildren): react_jsx_runtime.JSX.Element;
37
+
38
+ export { Button as B, ConfirmModal as C, Field as F, Input as I, Modal as M, Overlay as O, Popover as P, ModalWithHeader as a };