@matchain/matchid-sdk-react 0.1.48-alpha.7 → 0.1.48-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 (50) hide show
  1. package/dist/assets/icon/index.d.mts +1 -1
  2. package/dist/assets/icon/index.d.ts +1 -1
  3. package/dist/{chunk-2CK7JQWH.mjs → chunk-CI63DTB6.mjs} +240 -41
  4. package/dist/chunk-CI63DTB6.mjs.map +1 -0
  5. package/dist/{chunk-YXPWZXPT.mjs → chunk-T72FT5NB.mjs} +2 -2
  6. package/dist/components/index.d.mts +3 -3
  7. package/dist/components/index.d.ts +3 -3
  8. package/dist/components/index.js +3 -2
  9. package/dist/components/index.js.map +1 -1
  10. package/dist/components/index.mjs +1 -1
  11. package/dist/hooks/api/index.d.mts +2 -2
  12. package/dist/hooks/api/index.d.ts +2 -2
  13. package/dist/hooks/api/index.js +33 -2
  14. package/dist/hooks/api/index.js.map +1 -1
  15. package/dist/hooks/api/index.mjs +2 -2
  16. package/dist/hooks/index.d.mts +3 -2
  17. package/dist/hooks/index.d.ts +3 -2
  18. package/dist/hooks/index.js +299 -41
  19. package/dist/hooks/index.js.map +1 -1
  20. package/dist/hooks/index.mjs +1 -1
  21. package/dist/{index-B8DYrhSW.d.mts → index-B7A0lN0C.d.mts} +12 -4
  22. package/dist/{index-DCeOyAw8.d.ts → index-Bbn2Stvu.d.ts} +2 -2
  23. package/dist/index-Bz53bbI_.d.ts +3268 -0
  24. package/dist/{index-DbG5IjhP.d.mts → index-CB4j_ONH.d.mts} +1 -1
  25. package/dist/{index-B-s1k4Da.d.mts → index-CKyWWkzU.d.mts} +3 -2
  26. package/dist/{index-BZrddrq-.d.mts → index-C_S7k6z2.d.mts} +2 -2
  27. package/dist/{index-BHvCA7F9.d.ts → index-D-uNr-JV.d.ts} +2 -2
  28. package/dist/index-DDV4F9ka.d.mts +3268 -0
  29. package/dist/{index-DG_gyw1q.d.ts → index-DV_mRu4y.d.ts} +3 -2
  30. package/dist/{index-Bzcc-y8m.d.ts → index-DcxdJ0m2.d.ts} +1 -1
  31. package/dist/{index-BvLpvebq.d.mts → index-Dzvj-uGt.d.mts} +2 -2
  32. package/dist/{index-Cwx2p8th.d.ts → index-dhPbMbvL.d.ts} +12 -4
  33. package/dist/index.css +11 -0
  34. package/dist/index.d.mts +8 -7
  35. package/dist/index.d.ts +8 -7
  36. package/dist/index.js +244 -45
  37. package/dist/index.js.map +1 -1
  38. package/dist/index.mjs +2 -2
  39. package/dist/types/index.d.mts +1 -1
  40. package/dist/types/index.d.ts +1 -1
  41. package/dist/{types-CHkU0WHZ.d.mts → types-B4BYNw8B.d.mts} +13 -2
  42. package/dist/{types-CHkU0WHZ.d.ts → types-B4BYNw8B.d.ts} +13 -2
  43. package/dist/ui/index.d.mts +3 -3
  44. package/dist/ui/index.d.ts +3 -3
  45. package/example/src/pages/Wallet/components/MatchWallet.tsx +2 -1
  46. package/package.json +1 -1
  47. package/dist/chunk-2CK7JQWH.mjs.map +0 -1
  48. package/dist/index-DaEFoDv_.d.ts +0 -187
  49. package/dist/index-DktvxNJc.d.mts +0 -187
  50. /package/dist/{chunk-YXPWZXPT.mjs.map → chunk-T72FT5NB.mjs.map} +0 -0
@@ -10,7 +10,7 @@ import {
10
10
  useTransaction,
11
11
  useUserInfo,
12
12
  useWallet
13
- } from "../chunk-2CK7JQWH.mjs";
13
+ } from "../chunk-CI63DTB6.mjs";
14
14
  import "../chunk-UA6XHZHX.mjs";
15
15
  import {
16
16
  useLayout_exports
@@ -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 { x as PohZkpassParams, j as UserTransactionType, J as WalletAssetType, u as MetaPageType, m as BindItemType, l as BindInfoType, w as PohItemType, U as UserChainType, F as UserAssetToken, G as UserImportTokenType, K as WalletChainType } from './types-CHkU0WHZ.mjs';
3
+ import { x as PohZkpassParams, j as UserTransactionType, J as WalletAssetType, u as MetaPageType, m as BindItemType, l as BindInfoType, w as PohItemType, U as UserChainType, F as UserAssetToken, G as UserImportTokenType, K as WalletChainType, N as WalletNFTType } from './types-B4BYNw8B.mjs';
4
4
 
5
5
  declare const isSuccess: (res: {
6
6
  code: number;
@@ -37,7 +37,7 @@ declare const userImportTokenApi: (data: {
37
37
  chain_id: string;
38
38
  symbol: string;
39
39
  address: string;
40
- decimals: number;
40
+ decimals: string;
41
41
  }) => Promise<MyResponseType<any>>;
42
42
  declare const getUserWalletTransactionsApi: (data: {
43
43
  chain_id: string;
@@ -51,7 +51,10 @@ declare const getUserWalletTransactionsApi: (data: {
51
51
  declare const getWalletAssetListApi: (data: {
52
52
  chain_id: string;
53
53
  address: string;
54
- }) => Promise<MyResponseType<WalletAssetType[]>>;
54
+ }) => Promise<MyResponseType<{
55
+ asset_list: WalletAssetType[];
56
+ asset_total_balance: string;
57
+ }>>;
55
58
  declare const getWalletListApi: (data: {
56
59
  page: number;
57
60
  page_size: number;
@@ -97,6 +100,10 @@ declare function useImportTokenListQuery({ chainId, ...options }: {
97
100
  chainId: number;
98
101
  } & Partial<Omit<UseQueryOptions<UserImportTokenType[]>, 'queryKey' | 'queryFn'>>): _tanstack_react_query.UseQueryResult<UserImportTokenType[], Error>;
99
102
  declare function useWalletChainListQuery(options?: Partial<Omit<UseQueryOptions<WalletChainType[]>, 'queryKey' | 'queryFn'>>): _tanstack_react_query.UseQueryResult<WalletChainType[], Error>;
103
+ declare function useWalletNftListQuery({ chainId, address, ...options }: {
104
+ chainId: string;
105
+ address: string;
106
+ } & Partial<Omit<UseQueryOptions<WalletNFTType[]>, 'queryKey' | 'queryFn'>>): _tanstack_react_query.UseQueryResult<WalletNFTType[], Error>;
100
107
 
101
108
  declare const wallet_getUserWalletTransactionsApi: typeof getUserWalletTransactionsApi;
102
109
  declare const wallet_getWalletAssetListApi: typeof getWalletAssetListApi;
@@ -105,9 +112,10 @@ declare const wallet_useAssetListQuery: typeof useAssetListQuery;
105
112
  declare const wallet_useChainListQuery: typeof useChainListQuery;
106
113
  declare const wallet_useImportTokenListQuery: typeof useImportTokenListQuery;
107
114
  declare const wallet_useWalletChainListQuery: typeof useWalletChainListQuery;
115
+ declare const wallet_useWalletNftListQuery: typeof useWalletNftListQuery;
108
116
  declare const wallet_userImportTokenApi: typeof userImportTokenApi;
109
117
  declare namespace wallet {
110
- 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_userImportTokenApi as userImportTokenApi };
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 };
111
119
  }
112
120
 
113
121
  declare const index_bind: typeof bind;
@@ -1,6 +1,6 @@
1
- import { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-Bzcc-y8m.js';
1
+ import { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-DcxdJ0m2.js';
2
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
- import { o as DrawerProps, N as WalletPanelProps, z as UIProps } from './types-CHkU0WHZ.js';
3
+ import { o as DrawerProps, Q as WalletPanelProps, z as UIProps } from './types-B4BYNw8B.js';
4
4
  import { Hash, Chain } from 'viem';
5
5
  import { CSSProperties } from 'react';
6
6