@matchain/matchid-sdk-react 0.1.53-alpha.23 → 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.
Files changed (48) hide show
  1. package/dist/assets/icon/index.d.mts +2 -2
  2. package/dist/assets/icon/index.d.ts +2 -2
  3. package/dist/{chunk-WNDUHFQX.mjs → chunk-F7N2JPEQ.mjs} +8 -9
  4. package/dist/chunk-F7N2JPEQ.mjs.map +1 -0
  5. package/dist/components/index.d.mts +3 -3
  6. package/dist/components/index.d.ts +3 -3
  7. package/dist/components/index.js +2 -3
  8. package/dist/components/index.js.map +1 -1
  9. package/dist/components/index.mjs +3 -3
  10. package/dist/hooks/api/index.d.mts +2 -2
  11. package/dist/hooks/api/index.d.ts +2 -2
  12. package/dist/hooks/api/index.js +0 -1
  13. package/dist/hooks/api/index.js.map +1 -1
  14. package/dist/hooks/api/index.mjs +3 -3
  15. package/dist/hooks/index.d.mts +2 -2
  16. package/dist/hooks/index.d.ts +2 -2
  17. package/dist/hooks/index.js.map +1 -1
  18. package/dist/hooks/index.mjs +3 -3
  19. package/dist/{index-DZbxObEv.d.mts → index-91BdMYDA.d.ts} +3 -2
  20. package/dist/{index-SR1x4yUS.d.mts → index-CPk553v5.d.mts} +1 -1
  21. package/dist/{index-BRm4dPQF.d.ts → index-CZu_8fKl.d.ts} +1 -1
  22. package/dist/{index-DUdhdrzI.d.ts → index-ChHJD4NZ.d.mts} +3 -2
  23. package/dist/{index-CaMDtQcV.d.mts → index-CkHDxE7B.d.mts} +1 -1
  24. package/dist/{index-DQjZSiFX.d.ts → index-D3BHrg4-.d.ts} +2 -2
  25. package/dist/{index-C7a1Hfcx.d.ts → index-D5geEbXf.d.ts} +2 -2
  26. package/dist/{index-DcS62217.d.ts → index-DFBrN7dx.d.ts} +1 -1
  27. package/dist/{index-rk7ZjmRF.d.mts → index-DSvRdAyZ.d.mts} +2 -2
  28. package/dist/{index-Crr4Z_Zm.d.mts → index-DX1vzCrM.d.mts} +1 -1
  29. package/dist/{index-0q56ZNkH.d.mts → index-DjwwXNp4.d.mts} +2 -2
  30. package/dist/{index-Dee6qqWc.d.mts → index-DromP9ET.d.mts} +2 -2
  31. package/dist/{index-DqIQL1Es.d.ts → index-SRHVQn5G.d.ts} +1 -1
  32. package/dist/{index-CANAro1S.d.ts → index-Vxvd14yW.d.ts} +2 -2
  33. package/dist/index.css +6 -1
  34. package/dist/index.d.mts +8 -8
  35. package/dist/index.d.ts +8 -8
  36. package/dist/index.js +2 -3
  37. package/dist/index.js.map +1 -1
  38. package/dist/index.mjs +6 -6
  39. package/dist/types/index.d.mts +1 -1
  40. package/dist/types/index.d.ts +1 -1
  41. package/dist/{types-DvqfFAbp.d.mts → types-Bi9iq57H.d.mts} +5 -1
  42. package/dist/{types-DvqfFAbp.d.ts → types-Bi9iq57H.d.ts} +5 -1
  43. package/dist/ui/index.d.mts +3 -3
  44. package/dist/ui/index.d.ts +3 -3
  45. package/dist/ui/index.js.map +1 -1
  46. package/dist/ui/index.mjs +3 -3
  47. package/package.json +1 -1
  48. package/dist/chunk-WNDUHFQX.mjs.map +0 -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-SR1x4yUS.mjs';
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-DvqfFAbp.mjs';
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-DcS62217.js';
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-DvqfFAbp.js';
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, useQueryClient as useQueryClient5 } from "@tanstack/react-query";
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-WNDUHFQX.mjs.map
8134
+ //# sourceMappingURL=chunk-F7N2JPEQ.mjs.map