@matchain/matchid-sdk-react 0.1.53-alpha.22 → 0.1.53-alpha.24
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 +2 -2
- package/dist/assets/icon/index.d.ts +2 -2
- package/dist/{chunk-ZOBAUYIZ.mjs → chunk-QQO3XHLB.mjs} +3 -3
- package/dist/chunk-QQO3XHLB.mjs.map +1 -0
- package/dist/components/index.d.mts +3 -3
- package/dist/components/index.d.ts +3 -3
- package/dist/components/index.js +2 -2
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +2 -2
- package/dist/hooks/api/index.d.mts +2 -2
- package/dist/hooks/api/index.d.ts +2 -2
- package/dist/hooks/api/index.js +2 -2
- package/dist/hooks/api/index.js.map +1 -1
- package/dist/hooks/api/index.mjs +2 -2
- package/dist/hooks/index.d.mts +2 -2
- package/dist/hooks/index.d.ts +2 -2
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +2 -2
- package/dist/{index-DUdhdrzI.d.ts → index-70zSYbsL.d.mts} +3 -2
- package/dist/{index-Dee6qqWc.d.mts → index-B00EBLeP.d.mts} +2 -2
- package/dist/{index-0q56ZNkH.d.mts → index-C1bSqPBd.d.mts} +2 -2
- package/dist/{index-DqIQL1Es.d.ts → index-C7GIoYyE.d.ts} +1 -1
- package/dist/{index-C7a1Hfcx.d.ts → index-CCnyLdRT.d.ts} +2 -2
- package/dist/{index-BRm4dPQF.d.ts → index-CO1V_sgI.d.ts} +1 -1
- package/dist/{index-rk7ZjmRF.d.mts → index-Cg-ZKy0h.d.mts} +2 -2
- package/dist/{index-DQjZSiFX.d.ts → index-D50gqmw9.d.ts} +2 -2
- package/dist/{index-CaMDtQcV.d.mts → index-DXzb_pAu.d.mts} +1 -1
- package/dist/{index-DcS62217.d.ts → index-DbLQvcnt.d.ts} +1 -1
- package/dist/{index-SR1x4yUS.d.mts → index-DkmLS3T6.d.mts} +1 -1
- package/dist/{index-Crr4Z_Zm.d.mts → index-J73TIwDj.d.mts} +1 -1
- package/dist/{index-DZbxObEv.d.mts → index-NCW6XL4g.d.ts} +3 -2
- package/dist/{index-CANAro1S.d.ts → index-eMj_YVb6.d.ts} +2 -2
- package/dist/index.css +6 -1
- package/dist/index.d.mts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/{types-DvqfFAbp.d.mts → types-CbLw2SJX.d.mts} +4 -1
- package/dist/{types-DvqfFAbp.d.ts → types-CbLw2SJX.d.ts} +4 -1
- package/dist/ui/index.d.mts +3 -3
- package/dist/ui/index.d.ts +3 -3
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/index.mjs +2 -2
- package/package.json +1 -1
- package/dist/chunk-ZOBAUYIZ.mjs.map +0 -1
package/dist/hooks/index.mjs
CHANGED
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
useTransaction,
|
|
14
14
|
useUserInfo,
|
|
15
15
|
useWallet
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-QQO3XHLB.mjs";
|
|
17
17
|
import "../chunk-JX73EY6V.mjs";
|
|
18
18
|
import "../chunk-IZOOVZAD.mjs";
|
|
19
|
-
import "../chunk-UA6XHZHX.mjs";
|
|
20
19
|
import "../chunk-FKXS2XRG.mjs";
|
|
20
|
+
import "../chunk-UA6XHZHX.mjs";
|
|
21
21
|
import "../chunk-J5LGTIGS.mjs";
|
|
22
22
|
export {
|
|
23
23
|
useCopyClipboard,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Address,
|
|
1
|
+
import { A as Address, e as AnyObject, x as AppConfigType, y as AuthParams, z as BindInfoType, F as BindItemType, G as BindWalletParam, B as ButtonProps, C as CEXType, d as ChainType, J as ContactSearchType, p as ContactType, K as DeepPartial, D as DrawerProps, E as EmailModalProps, N as EmbeddedWalletsParams, H as Hash, a as IEnvConfigType, Q as IEnvName, S as ILoginWalletReq, I as IMatchEvents, b as ISocialLoginMethod, q as IconProps, t as InputProps, L as LocaleType, j as LoginBoxProps, c as LoginMethodType, o as LoginModalProps, n as LoginPanelProps, T as MessageType, V as MetaPageType, v as ModalProps, M as ModalWithHeaderProps, k as OtherLoginMethodType, O as OverviewInfo, X as PohItemType, Y as PohZkpassParams, P as PopoverPositionType, w as PopoverProps, m as PopoverTypeType, R as RecommendLoginMethodType, Z as RecoveryType, _ as ThemeType, s as UIProps, h as UserAssetToken, U as UserChainType, g as UserImportTokenType, $ as UserMessageType, a0 as UserPopoverProps, a1 as UserTransactionNextPageParams, a2 as UserTransactionRecordType, f as UserTransactionType, i as WalletAssetMergeType, a3 as WalletAssetType, a4 as WalletChainType, W as WalletConfigType, a5 as WalletNFTType, r as WalletPanelProps, a6 as WalletReceiveMessageType, a7 as WalletStatusType, l as WalletType, u as useMatchWalletAssetsProps } from './types-CbLw2SJX.mjs';
|
|
2
2
|
|
|
3
3
|
declare const index_Address: typeof Address;
|
|
4
4
|
declare const index_AnyObject: typeof AnyObject;
|
|
@@ -10,6 +10,7 @@ declare const index_BindWalletParam: typeof BindWalletParam;
|
|
|
10
10
|
declare const index_ButtonProps: typeof ButtonProps;
|
|
11
11
|
declare const index_CEXType: typeof CEXType;
|
|
12
12
|
declare const index_ChainType: typeof ChainType;
|
|
13
|
+
declare const index_ContactSearchType: typeof ContactSearchType;
|
|
13
14
|
declare const index_ContactType: typeof ContactType;
|
|
14
15
|
declare const index_DeepPartial: typeof DeepPartial;
|
|
15
16
|
declare const index_DrawerProps: typeof DrawerProps;
|
|
@@ -62,7 +63,7 @@ declare const index_WalletStatusType: typeof WalletStatusType;
|
|
|
62
63
|
declare const index_WalletType: typeof WalletType;
|
|
63
64
|
declare const index_useMatchWalletAssetsProps: typeof useMatchWalletAssetsProps;
|
|
64
65
|
declare namespace index {
|
|
65
|
-
export { index_Address as Address, index_AnyObject as AnyObject, index_AppConfigType as AppConfigType, index_AuthParams as AuthParams, index_BindInfoType as BindInfoType, index_BindItemType as BindItemType, index_BindWalletParam as BindWalletParam, index_ButtonProps as ButtonProps, index_CEXType as CEXType, index_ChainType as ChainType, index_ContactType as ContactType, index_DeepPartial as DeepPartial, index_DrawerProps as DrawerProps, index_EmailModalProps as EmailModalProps, index_EmbeddedWalletsParams as EmbeddedWalletsParams, index_Hash as Hash, index_IEnvConfigType as IEnvConfigType, index_IEnvName as IEnvName, index_ILoginWalletReq as ILoginWalletReq, index_IMatchEvents as IMatchEvents, index_ISocialLoginMethod as ISocialLoginMethod, index_IconProps as IconProps, index_InputProps as InputProps, index_LocaleType as LocaleType, index_LoginBoxProps as LoginBoxProps, index_LoginMethodType as LoginMethodType, index_LoginModalProps as LoginModalProps, index_LoginPanelProps as LoginPanelProps, index_MessageType as MessageType, index_MetaPageType as MetaPageType, index_ModalProps as ModalProps, index_ModalWithHeaderProps as ModalWithHeaderProps, index_OtherLoginMethodType as OtherLoginMethodType, index_OverviewInfo as OverviewInfo, index_PohItemType as PohItemType, index_PohZkpassParams as PohZkpassParams, index_PopoverPositionType as PopoverPositionType, index_PopoverProps as PopoverProps, index_PopoverTypeType as PopoverTypeType, index_RecommendLoginMethodType as RecommendLoginMethodType, index_RecoveryType as RecoveryType, index_ThemeType as ThemeType, index_UIProps as UIProps, index_UserAssetToken as UserAssetToken, index_UserChainType as UserChainType, index_UserImportTokenType as UserImportTokenType, index_UserMessageType as UserMessageType, 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 };
|
|
66
|
+
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_ContactSearchType as ContactSearchType, index_ContactType as ContactType, index_DeepPartial as DeepPartial, index_DrawerProps as DrawerProps, index_EmailModalProps as EmailModalProps, index_EmbeddedWalletsParams as EmbeddedWalletsParams, index_Hash as Hash, index_IEnvConfigType as IEnvConfigType, index_IEnvName as IEnvName, index_ILoginWalletReq as ILoginWalletReq, index_IMatchEvents as IMatchEvents, index_ISocialLoginMethod as ISocialLoginMethod, index_IconProps as IconProps, index_InputProps as InputProps, index_LocaleType as LocaleType, index_LoginBoxProps as LoginBoxProps, index_LoginMethodType as LoginMethodType, index_LoginModalProps as LoginModalProps, index_LoginPanelProps as LoginPanelProps, index_MessageType as MessageType, index_MetaPageType as MetaPageType, index_ModalProps as ModalProps, index_ModalWithHeaderProps as ModalWithHeaderProps, index_OtherLoginMethodType as OtherLoginMethodType, index_OverviewInfo as OverviewInfo, index_PohItemType as PohItemType, index_PohZkpassParams as PohZkpassParams, index_PopoverPositionType as PopoverPositionType, index_PopoverProps as PopoverProps, index_PopoverTypeType as PopoverTypeType, index_RecommendLoginMethodType as RecommendLoginMethodType, index_RecoveryType as RecoveryType, index_ThemeType as ThemeType, index_UIProps as UIProps, index_UserAssetToken as UserAssetToken, index_UserChainType as UserChainType, index_UserImportTokenType as UserImportTokenType, index_UserMessageType as UserMessageType, 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 };
|
|
66
67
|
}
|
|
67
68
|
|
|
68
69
|
export { index as i };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { E as EmailModalProps,
|
|
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, j as LoginBoxProps, B as ButtonProps, k as OtherLoginMethodType, R as RecommendLoginMethodType, l as WalletType, P as PopoverPositionType, m as PopoverTypeType, n as LoginPanelProps, o as LoginModalProps, M as ModalWithHeaderProps, i as WalletAssetMergeType, u as useMatchWalletAssetsProps, p as ContactType } from './types-CbLw2SJX.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-DXzb_pAu.mjs';
|
|
4
4
|
import React, { ReactNode } from 'react';
|
|
5
5
|
|
|
6
6
|
declare function EmailModal({ isOpen, width, onClose, onBack, onLogin }: EmailModalProps): react_jsx_runtime.JSX.Element;
|
|
@@ -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 { Y as PohZkpassParams, f as UserTransactionType, a1 as UserTransactionNextPageParams, a3 as WalletAssetType, V as MetaPageType, F as BindItemType, z as BindInfoType, X as PohItemType, U as UserChainType, h as UserAssetToken, g as UserImportTokenType, a4 as WalletChainType, a5 as WalletNFTType, p as ContactType, J as ContactSearchType } from './types-CbLw2SJX.mjs';
|
|
4
4
|
import { M as MyResponseType, i as isSuccess } from './request-B0CyrGFT.mjs';
|
|
5
5
|
|
|
6
6
|
declare const bindCexApi: (data: {
|
|
@@ -128,7 +128,7 @@ declare function useContactList(page_size?: number, type?: "Friend" | "Requests"
|
|
|
128
128
|
hasNextPage: boolean;
|
|
129
129
|
onLoadMore: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<MetaPageType<ContactType[]>, unknown>, Error>>;
|
|
130
130
|
};
|
|
131
|
-
declare function useContactSearch(keyword: string, options?: Partial<UseQueryOptions<
|
|
131
|
+
declare function useContactSearch(keyword: string, options?: Partial<UseQueryOptions<ContactSearchType | null>>): _tanstack_react_query.UseQueryResult<ContactSearchType | null, Error>;
|
|
132
132
|
declare function useContactInfo(options?: Partial<UseQueryOptions<{
|
|
133
133
|
fried_total: number;
|
|
134
134
|
request_total: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React, { ReactNode, PropsWithChildren } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { t as InputProps, B as ButtonProps, v as ModalProps, M as ModalWithHeaderProps, w as PopoverProps } from './types-CbLw2SJX.js';
|
|
4
4
|
|
|
5
5
|
declare function Field({ label, children, error, required, className }: {
|
|
6
6
|
label: ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
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-C7GIoYyE.js';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import {
|
|
3
|
+
import { D as DrawerProps, r as WalletPanelProps, s as UIProps } from './types-CbLw2SJX.js';
|
|
4
4
|
import { Hash, Chain } from 'viem';
|
|
5
5
|
import React, { CSSProperties } from 'react';
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { M as MyResponseType } from './request-B0CyrGFT.js';
|
|
2
|
-
import {
|
|
2
|
+
import { b as ISocialLoginMethod, O as OverviewInfo, C as CEXType, c as LoginMethodType, I as IMatchEvents, d as ChainType, U as UserChainType, A as Address, H as Hash$1, e as AnyObject, f as UserTransactionType, u as useMatchWalletAssetsProps, g as UserImportTokenType, h as UserAssetToken, i as WalletAssetMergeType } from './types-CbLw2SJX.js';
|
|
3
3
|
import * as viem from 'viem';
|
|
4
4
|
import { Account, WalletClientConfig, createWalletClient, SignableMessage, Hex, TransactionSerializable, DeployContractParameters, SendTransactionParameters, WriteContractParameters, Chain } from 'viem';
|
|
5
5
|
import { Hash } from 'viem/types/misc';
|
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
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-DXzb_pAu.mjs';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import {
|
|
3
|
+
import { D as DrawerProps, r as WalletPanelProps, s as UIProps } from './types-CbLw2SJX.mjs';
|
|
4
4
|
import { Hash, Chain } from 'viem';
|
|
5
5
|
import React, { CSSProperties } from 'react';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { E as EmailModalProps,
|
|
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, j as LoginBoxProps, B as ButtonProps, k as OtherLoginMethodType, R as RecommendLoginMethodType, l as WalletType, P as PopoverPositionType, m as PopoverTypeType, n as LoginPanelProps, o as LoginModalProps, M as ModalWithHeaderProps, i as WalletAssetMergeType, u as useMatchWalletAssetsProps, p as ContactType } from './types-CbLw2SJX.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-C7GIoYyE.js';
|
|
4
4
|
import React, { ReactNode } from 'react';
|
|
5
5
|
|
|
6
6
|
declare function EmailModal({ isOpen, width, onClose, onBack, onLogin }: EmailModalProps): react_jsx_runtime.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React, { ReactNode, PropsWithChildren } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { t as InputProps, B as ButtonProps, v as ModalProps, M as ModalWithHeaderProps, w as PopoverProps } from './types-CbLw2SJX.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 react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React, { CSSProperties } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { q as IconProps$1 } from './types-CbLw2SJX.js';
|
|
4
4
|
|
|
5
5
|
declare function BackIcon({ color, size, className, style }: {
|
|
6
6
|
color?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React, { CSSProperties } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { q as IconProps$1 } from './types-CbLw2SJX.mjs';
|
|
4
4
|
|
|
5
5
|
declare function BackIcon({ color, size, className, style }: {
|
|
6
6
|
color?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { M as MyResponseType } from './request-B0CyrGFT.mjs';
|
|
2
|
-
import {
|
|
2
|
+
import { b as ISocialLoginMethod, O as OverviewInfo, C as CEXType, c as LoginMethodType, I as IMatchEvents, d as ChainType, U as UserChainType, A as Address, H as Hash$1, e as AnyObject, f as UserTransactionType, u as useMatchWalletAssetsProps, g as UserImportTokenType, h as UserAssetToken, i as WalletAssetMergeType } from './types-CbLw2SJX.mjs';
|
|
3
3
|
import * as viem from 'viem';
|
|
4
4
|
import { Account, WalletClientConfig, createWalletClient, SignableMessage, Hex, TransactionSerializable, DeployContractParameters, SendTransactionParameters, WriteContractParameters, Chain } from 'viem';
|
|
5
5
|
import { Hash } from 'viem/types/misc';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Address,
|
|
1
|
+
import { A as Address, e as AnyObject, x as AppConfigType, y as AuthParams, z as BindInfoType, F as BindItemType, G as BindWalletParam, B as ButtonProps, C as CEXType, d as ChainType, J as ContactSearchType, p as ContactType, K as DeepPartial, D as DrawerProps, E as EmailModalProps, N as EmbeddedWalletsParams, H as Hash, a as IEnvConfigType, Q as IEnvName, S as ILoginWalletReq, I as IMatchEvents, b as ISocialLoginMethod, q as IconProps, t as InputProps, L as LocaleType, j as LoginBoxProps, c as LoginMethodType, o as LoginModalProps, n as LoginPanelProps, T as MessageType, V as MetaPageType, v as ModalProps, M as ModalWithHeaderProps, k as OtherLoginMethodType, O as OverviewInfo, X as PohItemType, Y as PohZkpassParams, P as PopoverPositionType, w as PopoverProps, m as PopoverTypeType, R as RecommendLoginMethodType, Z as RecoveryType, _ as ThemeType, s as UIProps, h as UserAssetToken, U as UserChainType, g as UserImportTokenType, $ as UserMessageType, a0 as UserPopoverProps, a1 as UserTransactionNextPageParams, a2 as UserTransactionRecordType, f as UserTransactionType, i as WalletAssetMergeType, a3 as WalletAssetType, a4 as WalletChainType, W as WalletConfigType, a5 as WalletNFTType, r as WalletPanelProps, a6 as WalletReceiveMessageType, a7 as WalletStatusType, l as WalletType, u as useMatchWalletAssetsProps } from './types-CbLw2SJX.js';
|
|
2
2
|
|
|
3
3
|
declare const index_Address: typeof Address;
|
|
4
4
|
declare const index_AnyObject: typeof AnyObject;
|
|
@@ -10,6 +10,7 @@ declare const index_BindWalletParam: typeof BindWalletParam;
|
|
|
10
10
|
declare const index_ButtonProps: typeof ButtonProps;
|
|
11
11
|
declare const index_CEXType: typeof CEXType;
|
|
12
12
|
declare const index_ChainType: typeof ChainType;
|
|
13
|
+
declare const index_ContactSearchType: typeof ContactSearchType;
|
|
13
14
|
declare const index_ContactType: typeof ContactType;
|
|
14
15
|
declare const index_DeepPartial: typeof DeepPartial;
|
|
15
16
|
declare const index_DrawerProps: typeof DrawerProps;
|
|
@@ -62,7 +63,7 @@ declare const index_WalletStatusType: typeof WalletStatusType;
|
|
|
62
63
|
declare const index_WalletType: typeof WalletType;
|
|
63
64
|
declare const index_useMatchWalletAssetsProps: typeof useMatchWalletAssetsProps;
|
|
64
65
|
declare namespace index {
|
|
65
|
-
export { index_Address as Address, index_AnyObject as AnyObject, index_AppConfigType as AppConfigType, index_AuthParams as AuthParams, index_BindInfoType as BindInfoType, index_BindItemType as BindItemType, index_BindWalletParam as BindWalletParam, index_ButtonProps as ButtonProps, index_CEXType as CEXType, index_ChainType as ChainType, index_ContactType as ContactType, index_DeepPartial as DeepPartial, index_DrawerProps as DrawerProps, index_EmailModalProps as EmailModalProps, index_EmbeddedWalletsParams as EmbeddedWalletsParams, index_Hash as Hash, index_IEnvConfigType as IEnvConfigType, index_IEnvName as IEnvName, index_ILoginWalletReq as ILoginWalletReq, index_IMatchEvents as IMatchEvents, index_ISocialLoginMethod as ISocialLoginMethod, index_IconProps as IconProps, index_InputProps as InputProps, index_LocaleType as LocaleType, index_LoginBoxProps as LoginBoxProps, index_LoginMethodType as LoginMethodType, index_LoginModalProps as LoginModalProps, index_LoginPanelProps as LoginPanelProps, index_MessageType as MessageType, index_MetaPageType as MetaPageType, index_ModalProps as ModalProps, index_ModalWithHeaderProps as ModalWithHeaderProps, index_OtherLoginMethodType as OtherLoginMethodType, index_OverviewInfo as OverviewInfo, index_PohItemType as PohItemType, index_PohZkpassParams as PohZkpassParams, index_PopoverPositionType as PopoverPositionType, index_PopoverProps as PopoverProps, index_PopoverTypeType as PopoverTypeType, index_RecommendLoginMethodType as RecommendLoginMethodType, index_RecoveryType as RecoveryType, index_ThemeType as ThemeType, index_UIProps as UIProps, index_UserAssetToken as UserAssetToken, index_UserChainType as UserChainType, index_UserImportTokenType as UserImportTokenType, index_UserMessageType as UserMessageType, 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 };
|
|
66
|
+
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_ContactSearchType as ContactSearchType, index_ContactType as ContactType, index_DeepPartial as DeepPartial, index_DrawerProps as DrawerProps, index_EmailModalProps as EmailModalProps, index_EmbeddedWalletsParams as EmbeddedWalletsParams, index_Hash as Hash, index_IEnvConfigType as IEnvConfigType, index_IEnvName as IEnvName, index_ILoginWalletReq as ILoginWalletReq, index_IMatchEvents as IMatchEvents, index_ISocialLoginMethod as ISocialLoginMethod, index_IconProps as IconProps, index_InputProps as InputProps, index_LocaleType as LocaleType, index_LoginBoxProps as LoginBoxProps, index_LoginMethodType as LoginMethodType, index_LoginModalProps as LoginModalProps, index_LoginPanelProps as LoginPanelProps, index_MessageType as MessageType, index_MetaPageType as MetaPageType, index_ModalProps as ModalProps, index_ModalWithHeaderProps as ModalWithHeaderProps, index_OtherLoginMethodType as OtherLoginMethodType, index_OverviewInfo as OverviewInfo, index_PohItemType as PohItemType, index_PohZkpassParams as PohZkpassParams, index_PopoverPositionType as PopoverPositionType, index_PopoverProps as PopoverProps, index_PopoverTypeType as PopoverTypeType, index_RecommendLoginMethodType as RecommendLoginMethodType, index_RecoveryType as RecoveryType, index_ThemeType as ThemeType, index_UIProps as UIProps, index_UserAssetToken as UserAssetToken, index_UserChainType as UserChainType, index_UserImportTokenType as UserImportTokenType, index_UserMessageType as UserMessageType, 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 };
|
|
66
67
|
}
|
|
67
68
|
|
|
68
69
|
export { index as i };
|
|
@@ -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 { Y as PohZkpassParams, f as UserTransactionType, a1 as UserTransactionNextPageParams, a3 as WalletAssetType, V as MetaPageType, F as BindItemType, z as BindInfoType, X as PohItemType, U as UserChainType, h as UserAssetToken, g as UserImportTokenType, a4 as WalletChainType, a5 as WalletNFTType, p as ContactType, J as ContactSearchType } from './types-CbLw2SJX.js';
|
|
4
4
|
import { M as MyResponseType, i as isSuccess } from './request-B0CyrGFT.js';
|
|
5
5
|
|
|
6
6
|
declare const bindCexApi: (data: {
|
|
@@ -128,7 +128,7 @@ declare function useContactList(page_size?: number, type?: "Friend" | "Requests"
|
|
|
128
128
|
hasNextPage: boolean;
|
|
129
129
|
onLoadMore: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<MetaPageType<ContactType[]>, unknown>, Error>>;
|
|
130
130
|
};
|
|
131
|
-
declare function useContactSearch(keyword: string, options?: Partial<UseQueryOptions<
|
|
131
|
+
declare function useContactSearch(keyword: string, options?: Partial<UseQueryOptions<ContactSearchType | null>>): _tanstack_react_query.UseQueryResult<ContactSearchType | null, Error>;
|
|
132
132
|
declare function useContactInfo(options?: Partial<UseQueryOptions<{
|
|
133
133
|
fried_total: number;
|
|
134
134
|
request_total: number;
|
package/dist/index.css
CHANGED
|
@@ -2122,6 +2122,9 @@ body {
|
|
|
2122
2122
|
|
|
2123
2123
|
.matchid-remove-box {
|
|
2124
2124
|
padding: 0px 20px;
|
|
2125
|
+
min-width: 150px;
|
|
2126
|
+
display: flex;
|
|
2127
|
+
justify-content: center;
|
|
2125
2128
|
}
|
|
2126
2129
|
|
|
2127
2130
|
.matchid-message-item {
|
|
@@ -2191,9 +2194,11 @@ body {
|
|
|
2191
2194
|
flex-direction: column;
|
|
2192
2195
|
gap: 16px;
|
|
2193
2196
|
}
|
|
2194
|
-
|
|
2197
|
+
|
|
2198
|
+
.matchid-w-full {
|
|
2195
2199
|
width: 100%;
|
|
2196
2200
|
}
|
|
2201
|
+
|
|
2197
2202
|
.matchid-confirm-modal {
|
|
2198
2203
|
display: flex;
|
|
2199
2204
|
flex-direction: column;
|
package/dist/index.d.mts
CHANGED
|
@@ -5,21 +5,21 @@ import * as abitype from 'abitype';
|
|
|
5
5
|
import * as wagmi_chains from 'wagmi/chains';
|
|
6
6
|
import * as viem from 'viem';
|
|
7
7
|
import React, { ReactNode } from 'react';
|
|
8
|
-
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-
|
|
9
|
-
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-
|
|
10
|
-
export { i as Components } from './index-
|
|
11
|
-
export { i as UI } from './index-
|
|
12
|
-
export { i as Api } from './index-
|
|
8
|
+
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-CbLw2SJX.mjs';
|
|
9
|
+
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-J73TIwDj.mjs';
|
|
10
|
+
export { i as Components } from './index-B00EBLeP.mjs';
|
|
11
|
+
export { i as UI } from './index-Cg-ZKy0h.mjs';
|
|
12
|
+
export { i as Api } from './index-C1bSqPBd.mjs';
|
|
13
13
|
export { i as Chains } from './index-DXRGMAbv.mjs';
|
|
14
|
-
export { i as Types } from './index-
|
|
15
|
-
export { i as Icon } from './index-
|
|
14
|
+
export { i as Types } from './index-70zSYbsL.mjs';
|
|
15
|
+
export { i as Icon } from './index-DkmLS3T6.mjs';
|
|
16
16
|
import '@tanstack/react-query/src/types';
|
|
17
17
|
import './request-B0CyrGFT.mjs';
|
|
18
18
|
import 'viem/types/misc';
|
|
19
19
|
import 'react/jsx-runtime';
|
|
20
20
|
import 'viem/_types/actions/siwe/verifySiweMessage';
|
|
21
21
|
import '@tanstack/react-query';
|
|
22
|
-
import './index-
|
|
22
|
+
import './index-DXzb_pAu.mjs';
|
|
23
23
|
|
|
24
24
|
declare const wagmiConfig: wagmi.Config<[{
|
|
25
25
|
blockExplorers: {
|
package/dist/index.d.ts
CHANGED
|
@@ -5,21 +5,21 @@ import * as abitype from 'abitype';
|
|
|
5
5
|
import * as wagmi_chains from 'wagmi/chains';
|
|
6
6
|
import * as viem from 'viem';
|
|
7
7
|
import React, { ReactNode } from 'react';
|
|
8
|
-
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-
|
|
9
|
-
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-
|
|
10
|
-
export { i as Components } from './index-
|
|
11
|
-
export { i as UI } from './index-
|
|
12
|
-
export { i as Api } from './index-
|
|
8
|
+
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-CbLw2SJX.js';
|
|
9
|
+
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-CO1V_sgI.js';
|
|
10
|
+
export { i as Components } from './index-D50gqmw9.js';
|
|
11
|
+
export { i as UI } from './index-CCnyLdRT.js';
|
|
12
|
+
export { i as Api } from './index-eMj_YVb6.js';
|
|
13
13
|
export { i as Chains } from './index-DXRGMAbv.js';
|
|
14
|
-
export { i as Types } from './index-
|
|
15
|
-
export { i as Icon } from './index-
|
|
14
|
+
export { i as Types } from './index-NCW6XL4g.js';
|
|
15
|
+
export { i as Icon } from './index-DbLQvcnt.js';
|
|
16
16
|
import '@tanstack/react-query/src/types';
|
|
17
17
|
import './request-B0CyrGFT.js';
|
|
18
18
|
import 'viem/types/misc';
|
|
19
19
|
import 'react/jsx-runtime';
|
|
20
20
|
import 'viem/_types/actions/siwe/verifySiweMessage';
|
|
21
21
|
import '@tanstack/react-query';
|
|
22
|
-
import './index-
|
|
22
|
+
import './index-C7GIoYyE.js';
|
|
23
23
|
|
|
24
24
|
declare const wagmiConfig: wagmi.Config<[{
|
|
25
25
|
blockExplorers: {
|
package/dist/index.js
CHANGED
|
@@ -5885,11 +5885,11 @@ var import_react_query6 = require("@tanstack/react-query");
|
|
|
5885
5885
|
var import_last = __toESM(require("lodash/last"));
|
|
5886
5886
|
var import_react27 = require("react");
|
|
5887
5887
|
function useContactList(page_size = 10, type = "Friend") {
|
|
5888
|
-
const {
|
|
5888
|
+
const { address } = useUserInfo();
|
|
5889
5889
|
const limitIdRef = (0, import_react27.useRef)(0);
|
|
5890
5890
|
const queryClient2 = (0, import_react_query6.useQueryClient)();
|
|
5891
5891
|
const contactQuery = (0, import_react_query6.useInfiniteQuery)({
|
|
5892
|
-
queryKey: ["matchid-contacts-list", type,
|
|
5892
|
+
queryKey: ["matchid-contacts-list", type, address],
|
|
5893
5893
|
initialPageParam: 1,
|
|
5894
5894
|
queryFn: async (args) => {
|
|
5895
5895
|
console.log(args);
|