@matchain/matchid-sdk-react 0.1.53-alpha.24 → 0.1.53-alpha.25
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-QQO3XHLB.mjs → chunk-F7N2JPEQ.mjs} +8 -9
- package/dist/{chunk-QQO3XHLB.mjs.map → chunk-F7N2JPEQ.mjs.map} +1 -1
- package/dist/components/index.d.mts +3 -3
- package/dist/components/index.d.ts +3 -3
- package/dist/components/index.js +2 -3
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +3 -3
- package/dist/hooks/api/index.d.mts +2 -2
- package/dist/hooks/api/index.d.ts +2 -2
- package/dist/hooks/api/index.js +0 -1
- package/dist/hooks/api/index.js.map +1 -1
- package/dist/hooks/api/index.mjs +3 -3
- 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 +3 -3
- package/dist/{index-NCW6XL4g.d.ts → index-91BdMYDA.d.ts} +1 -1
- package/dist/{index-DkmLS3T6.d.mts → index-CPk553v5.d.mts} +1 -1
- package/dist/{index-CO1V_sgI.d.ts → index-CZu_8fKl.d.ts} +1 -1
- package/dist/{index-70zSYbsL.d.mts → index-ChHJD4NZ.d.mts} +1 -1
- package/dist/{index-DXzb_pAu.d.mts → index-CkHDxE7B.d.mts} +1 -1
- package/dist/{index-D50gqmw9.d.ts → index-D3BHrg4-.d.ts} +2 -2
- package/dist/{index-CCnyLdRT.d.ts → index-D5geEbXf.d.ts} +2 -2
- package/dist/{index-DbLQvcnt.d.ts → index-DFBrN7dx.d.ts} +1 -1
- package/dist/{index-Cg-ZKy0h.d.mts → index-DSvRdAyZ.d.mts} +2 -2
- package/dist/{index-J73TIwDj.d.mts → index-DX1vzCrM.d.mts} +1 -1
- package/dist/{index-C1bSqPBd.d.mts → index-DjwwXNp4.d.mts} +1 -1
- package/dist/{index-B00EBLeP.d.mts → index-DromP9ET.d.mts} +2 -2
- package/dist/{index-C7GIoYyE.d.ts → index-SRHVQn5G.d.ts} +1 -1
- package/dist/{index-eMj_YVb6.d.ts → index-Vxvd14yW.d.ts} +1 -1
- package/dist/index.d.mts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/{types-CbLw2SJX.d.mts → types-Bi9iq57H.d.mts} +2 -1
- package/dist/{types-CbLw2SJX.d.ts → types-Bi9iq57H.d.ts} +2 -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 +3 -3
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { t as ArrowDownIcon, f as ArrowLeftIcon, A as ArrowRightIcon, Q as ArrowSendIcon, m as BTCDarkIcon, n as BTCLightIcon, B as BackIcon, z as BitgetIcon, j as CheckIcon, d as CheckRoundIcon, e as CloseEyeIcon, C as CloseIcon, a as CloseRoundIcon, k as CopyIcon, D as DeleteRoundIcon, h as DiscordIcon, o as EVMDarkIcon, p as EVMLightIcon, E as EmailIcon, b as EmailLineIcon, J as ErrorRoundIcon, F as FacebookIcon, g as GithubIcon, G as GoogleIcon, K as InfoLineIcon, M as InfoRoundIcon, u as LeatherIcon, l as LinkedinIcon, L as LoadingIcon, c as LoginIcon, V as MoreIcon, y as OKXIcon, O as OpenEyeIcon, P as PasswordRoundIcon, R as PhantomIcon, S as SOLDarkIcon, q as SOLLightIcon, r as TRXDarkIcon, s as TRXLightIcon, T as TelegramIcon, H as TonDarkIcon, I as TonLightIcon, N as TransferIcon, x as TronLinkIcon, U as UnLoginIcon, v as UnisatIcon, W as WalletIcon, X as XIcon, w as XverseIcon, Y as YoutubeIcon } from '../../index-
|
|
1
|
+
export { t as ArrowDownIcon, f as ArrowLeftIcon, A as ArrowRightIcon, Q as ArrowSendIcon, m as BTCDarkIcon, n as BTCLightIcon, B as BackIcon, z as BitgetIcon, j as CheckIcon, d as CheckRoundIcon, e as CloseEyeIcon, C as CloseIcon, a as CloseRoundIcon, k as CopyIcon, D as DeleteRoundIcon, h as DiscordIcon, o as EVMDarkIcon, p as EVMLightIcon, E as EmailIcon, b as EmailLineIcon, J as ErrorRoundIcon, F as FacebookIcon, g as GithubIcon, G as GoogleIcon, K as InfoLineIcon, M as InfoRoundIcon, u as LeatherIcon, l as LinkedinIcon, L as LoadingIcon, c as LoginIcon, V as MoreIcon, y as OKXIcon, O as OpenEyeIcon, P as PasswordRoundIcon, R as PhantomIcon, S as SOLDarkIcon, q as SOLLightIcon, r as TRXDarkIcon, s as TRXLightIcon, T as TelegramIcon, H as TonDarkIcon, I as TonLightIcon, N as TransferIcon, x as TronLinkIcon, U as UnLoginIcon, v as UnisatIcon, W as WalletIcon, X as XIcon, w as XverseIcon, Y as YoutubeIcon } from '../../index-CPk553v5.mjs';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
|
-
import '../../types-
|
|
4
|
+
import '../../types-Bi9iq57H.mjs';
|
|
5
5
|
import '@tanstack/react-query/src/types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { t as ArrowDownIcon, f as ArrowLeftIcon, A as ArrowRightIcon, Q as ArrowSendIcon, m as BTCDarkIcon, n as BTCLightIcon, B as BackIcon, z as BitgetIcon, j as CheckIcon, d as CheckRoundIcon, e as CloseEyeIcon, C as CloseIcon, a as CloseRoundIcon, k as CopyIcon, D as DeleteRoundIcon, h as DiscordIcon, o as EVMDarkIcon, p as EVMLightIcon, E as EmailIcon, b as EmailLineIcon, J as ErrorRoundIcon, F as FacebookIcon, g as GithubIcon, G as GoogleIcon, K as InfoLineIcon, M as InfoRoundIcon, u as LeatherIcon, l as LinkedinIcon, L as LoadingIcon, c as LoginIcon, V as MoreIcon, y as OKXIcon, O as OpenEyeIcon, P as PasswordRoundIcon, R as PhantomIcon, S as SOLDarkIcon, q as SOLLightIcon, r as TRXDarkIcon, s as TRXLightIcon, T as TelegramIcon, H as TonDarkIcon, I as TonLightIcon, N as TransferIcon, x as TronLinkIcon, U as UnLoginIcon, v as UnisatIcon, W as WalletIcon, X as XIcon, w as XverseIcon, Y as YoutubeIcon } from '../../index-
|
|
1
|
+
export { t as ArrowDownIcon, f as ArrowLeftIcon, A as ArrowRightIcon, Q as ArrowSendIcon, m as BTCDarkIcon, n as BTCLightIcon, B as BackIcon, z as BitgetIcon, j as CheckIcon, d as CheckRoundIcon, e as CloseEyeIcon, C as CloseIcon, a as CloseRoundIcon, k as CopyIcon, D as DeleteRoundIcon, h as DiscordIcon, o as EVMDarkIcon, p as EVMLightIcon, E as EmailIcon, b as EmailLineIcon, J as ErrorRoundIcon, F as FacebookIcon, g as GithubIcon, G as GoogleIcon, K as InfoLineIcon, M as InfoRoundIcon, u as LeatherIcon, l as LinkedinIcon, L as LoadingIcon, c as LoginIcon, V as MoreIcon, y as OKXIcon, O as OpenEyeIcon, P as PasswordRoundIcon, R as PhantomIcon, S as SOLDarkIcon, q as SOLLightIcon, r as TRXDarkIcon, s as TRXLightIcon, T as TelegramIcon, H as TonDarkIcon, I as TonLightIcon, N as TransferIcon, x as TronLinkIcon, U as UnLoginIcon, v as UnisatIcon, W as WalletIcon, X as XIcon, w as XverseIcon, Y as YoutubeIcon } from '../../index-DFBrN7dx.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
|
-
import '../../types-
|
|
4
|
+
import '../../types-Bi9iq57H.js';
|
|
5
5
|
import '@tanstack/react-query/src/types';
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
matchMain,
|
|
3
|
-
matchTest
|
|
4
|
-
} from "./chunk-JX73EY6V.mjs";
|
|
5
1
|
import {
|
|
6
2
|
NumberFormatter,
|
|
7
3
|
bytesToBase64,
|
|
@@ -65,6 +61,10 @@ import {
|
|
|
65
61
|
XverseIcon,
|
|
66
62
|
YoutubeIcon
|
|
67
63
|
} from "./chunk-FKXS2XRG.mjs";
|
|
64
|
+
import {
|
|
65
|
+
matchMain,
|
|
66
|
+
matchTest
|
|
67
|
+
} from "./chunk-JX73EY6V.mjs";
|
|
68
68
|
import {
|
|
69
69
|
__export
|
|
70
70
|
} from "./chunk-J5LGTIGS.mjs";
|
|
@@ -3991,9 +3991,9 @@ function ContactCard({
|
|
|
3991
3991
|
const isDownMd = useDownMd();
|
|
3992
3992
|
return /* @__PURE__ */ jsxs21("div", { className: "matchid-flex matchid-contact-item", children: [
|
|
3993
3993
|
/* @__PURE__ */ jsxs21("div", { className: "matchid-contact-item-content", children: [
|
|
3994
|
-
/* @__PURE__ */ jsx30(Skeleton_default, { width: isDownMd ? 36 : 48, height: isDownMd ? 36 : 48, radius: 100, loading, children: data?.avatar ? /* @__PURE__ */ jsx30("img", { src: data?.avatar, className: "matchid-contact-item-avatar" }) : /* @__PURE__ */ jsx30(AlphaAvatar2, { size: isDownMd ? 36 : 48, name: data?.name || "MatchID" }) }),
|
|
3994
|
+
/* @__PURE__ */ jsx30(Skeleton_default, { width: isDownMd ? 36 : 48, height: isDownMd ? 36 : 48, radius: 100, loading, children: data?.avatar ? /* @__PURE__ */ jsx30("img", { src: data?.avatar, className: "matchid-contact-item-avatar" }) : /* @__PURE__ */ jsx30(AlphaAvatar2, { size: isDownMd ? 36 : 48, name: data?.name || data?.username || "MatchID" }) }),
|
|
3995
3995
|
/* @__PURE__ */ jsxs21("div", { className: "matchid-contact-item-info", children: [
|
|
3996
|
-
/* @__PURE__ */ jsx30("div", { className: "matchid-contact-item-name", children: /* @__PURE__ */ jsx30(Skeleton_default, { width: 80, height: isDownMd ? 16 : 20, loading, children: data?.name || "MatchID User" }) }),
|
|
3996
|
+
/* @__PURE__ */ jsx30("div", { className: "matchid-contact-item-name", children: /* @__PURE__ */ jsx30(Skeleton_default, { width: 80, height: isDownMd ? 16 : 20, loading, children: data?.name || data?.username || "MatchID User" }) }),
|
|
3997
3997
|
/* @__PURE__ */ jsx30("div", { className: "matchid-contact-item-address", children: /* @__PURE__ */ jsx30(Skeleton_default, { width: 80, height: isDownMd ? 12 : 16, loading, children: truncateAddress(data?.address || "", 6, 6) }) })
|
|
3998
3998
|
] })
|
|
3999
3999
|
] }),
|
|
@@ -7954,13 +7954,12 @@ __export(contact_exports, {
|
|
|
7954
7954
|
useContactList: () => useContactList,
|
|
7955
7955
|
useContactSearch: () => useContactSearch
|
|
7956
7956
|
});
|
|
7957
|
-
import { useInfiniteQuery as useInfiniteQuery2, useQuery as useQuery12
|
|
7957
|
+
import { useInfiniteQuery as useInfiniteQuery2, useQuery as useQuery12 } from "@tanstack/react-query";
|
|
7958
7958
|
import last2 from "lodash/last";
|
|
7959
7959
|
import { useEffect as useEffect34, useMemo as useMemo21, useRef as useRef6 } from "react";
|
|
7960
7960
|
function useContactList(page_size = 10, type = "Friend") {
|
|
7961
7961
|
const { address } = useUserInfo();
|
|
7962
7962
|
const limitIdRef = useRef6(0);
|
|
7963
|
-
const queryClient2 = useQueryClient5();
|
|
7964
7963
|
const contactQuery = useInfiniteQuery2({
|
|
7965
7964
|
queryKey: ["matchid-contacts-list", type, address],
|
|
7966
7965
|
initialPageParam: 1,
|
|
@@ -8132,4 +8131,4 @@ export {
|
|
|
8132
8131
|
MatchProvider,
|
|
8133
8132
|
useMatch
|
|
8134
8133
|
};
|
|
8135
|
-
//# sourceMappingURL=chunk-
|
|
8134
|
+
//# sourceMappingURL=chunk-F7N2JPEQ.mjs.map
|