@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.
Files changed (46) 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-QQO3XHLB.mjs → chunk-F7N2JPEQ.mjs} +8 -9
  4. package/dist/{chunk-QQO3XHLB.mjs.map → chunk-F7N2JPEQ.mjs.map} +1 -1
  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-NCW6XL4g.d.ts → index-91BdMYDA.d.ts} +1 -1
  20. package/dist/{index-DkmLS3T6.d.mts → index-CPk553v5.d.mts} +1 -1
  21. package/dist/{index-CO1V_sgI.d.ts → index-CZu_8fKl.d.ts} +1 -1
  22. package/dist/{index-70zSYbsL.d.mts → index-ChHJD4NZ.d.mts} +1 -1
  23. package/dist/{index-DXzb_pAu.d.mts → index-CkHDxE7B.d.mts} +1 -1
  24. package/dist/{index-D50gqmw9.d.ts → index-D3BHrg4-.d.ts} +2 -2
  25. package/dist/{index-CCnyLdRT.d.ts → index-D5geEbXf.d.ts} +2 -2
  26. package/dist/{index-DbLQvcnt.d.ts → index-DFBrN7dx.d.ts} +1 -1
  27. package/dist/{index-Cg-ZKy0h.d.mts → index-DSvRdAyZ.d.mts} +2 -2
  28. package/dist/{index-J73TIwDj.d.mts → index-DX1vzCrM.d.mts} +1 -1
  29. package/dist/{index-C1bSqPBd.d.mts → index-DjwwXNp4.d.mts} +1 -1
  30. package/dist/{index-B00EBLeP.d.mts → index-DromP9ET.d.mts} +2 -2
  31. package/dist/{index-C7GIoYyE.d.ts → index-SRHVQn5G.d.ts} +1 -1
  32. package/dist/{index-eMj_YVb6.d.ts → index-Vxvd14yW.d.ts} +1 -1
  33. package/dist/index.d.mts +8 -8
  34. package/dist/index.d.ts +8 -8
  35. package/dist/index.js +2 -3
  36. package/dist/index.js.map +1 -1
  37. package/dist/index.mjs +6 -6
  38. package/dist/types/index.d.mts +1 -1
  39. package/dist/types/index.d.ts +1 -1
  40. package/dist/{types-CbLw2SJX.d.mts → types-Bi9iq57H.d.mts} +2 -1
  41. package/dist/{types-CbLw2SJX.d.ts → types-Bi9iq57H.d.ts} +2 -1
  42. package/dist/ui/index.d.mts +3 -3
  43. package/dist/ui/index.d.ts +3 -3
  44. package/dist/ui/index.js.map +1 -1
  45. package/dist/ui/index.mjs +3 -3
  46. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- export { B as BTCModal, l as ContactCard, C as ContactList, d as EVMModal, E as EmailModal, L as LoginBox, a as LoginButton, c as LoginModal, b as LoginPanel, M as MessageList, e as TONModal, T as TRONModal, g as TokenDetail, h as TokenSend, j as TokenSendList, k as TransactionList, U as UsernameModal, f as WalletAsset, W as WalletModal } from '../index-B00EBLeP.mjs';
2
- export { 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';
1
+ export { B as BTCModal, l as ContactCard, C as ContactList, d as EVMModal, E as EmailModal, L as LoginBox, a as LoginButton, c as LoginModal, b as LoginPanel, M as MessageList, e as TONModal, T as TRONModal, g as TokenDetail, h as TokenSend, j as TokenSendList, k as TransactionList, U as UsernameModal, f as WalletAsset, W as WalletModal } from '../index-DromP9ET.mjs';
2
+ export { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from '../index-CkHDxE7B.mjs';
3
3
  import 'react/jsx-runtime';
4
- import '../types-CbLw2SJX.mjs';
4
+ import '../types-Bi9iq57H.mjs';
5
5
  import 'react';
6
6
  import '@tanstack/react-query/src/types';
@@ -1,6 +1,6 @@
1
- export { B as BTCModal, l as ContactCard, C as ContactList, d as EVMModal, E as EmailModal, L as LoginBox, a as LoginButton, c as LoginModal, b as LoginPanel, M as MessageList, e as TONModal, T as TRONModal, g as TokenDetail, h as TokenSend, j as TokenSendList, k as TransactionList, U as UsernameModal, f as WalletAsset, W as WalletModal } from '../index-D50gqmw9.js';
2
- export { 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';
1
+ export { B as BTCModal, l as ContactCard, C as ContactList, d as EVMModal, E as EmailModal, L as LoginBox, a as LoginButton, c as LoginModal, b as LoginPanel, M as MessageList, e as TONModal, T as TRONModal, g as TokenDetail, h as TokenSend, j as TokenSendList, k as TransactionList, U as UsernameModal, f as WalletAsset, W as WalletModal } from '../index-D3BHrg4-.js';
2
+ export { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from '../index-SRHVQn5G.js';
3
3
  import 'react/jsx-runtime';
4
- import '../types-CbLw2SJX.js';
4
+ import '../types-Bi9iq57H.js';
5
5
  import 'react';
6
6
  import '@tanstack/react-query/src/types';
@@ -6544,7 +6544,6 @@ var import_react43 = require("react");
6544
6544
  function useContactList(page_size = 10, type = "Friend") {
6545
6545
  const { address } = useUserInfo();
6546
6546
  const limitIdRef = (0, import_react43.useRef)(0);
6547
- const queryClient2 = (0, import_react_query13.useQueryClient)();
6548
6547
  const contactQuery = (0, import_react_query13.useInfiniteQuery)({
6549
6548
  queryKey: ["matchid-contacts-list", type, address],
6550
6549
  initialPageParam: 1,
@@ -6663,9 +6662,9 @@ function ContactCard({
6663
6662
  const isDownMd = useDownMd();
6664
6663
  return /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: "matchid-flex matchid-contact-item", children: [
6665
6664
  /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: "matchid-contact-item-content", children: [
6666
- /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Skeleton_default, { width: isDownMd ? 36 : 48, height: isDownMd ? 36 : 48, radius: 100, loading, children: data?.avatar ? /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("img", { src: data?.avatar, className: "matchid-contact-item-avatar" }) : /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(AlphaAvatar, { size: isDownMd ? 36 : 48, name: data?.name || "MatchID" }) }),
6665
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Skeleton_default, { width: isDownMd ? 36 : 48, height: isDownMd ? 36 : 48, radius: 100, loading, children: data?.avatar ? /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("img", { src: data?.avatar, className: "matchid-contact-item-avatar" }) : /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(AlphaAvatar, { size: isDownMd ? 36 : 48, name: data?.name || data?.username || "MatchID" }) }),
6667
6666
  /* @__PURE__ */ (0, import_jsx_runtime99.jsxs)("div", { className: "matchid-contact-item-info", children: [
6668
- /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: "matchid-contact-item-name", children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Skeleton_default, { width: 80, height: isDownMd ? 16 : 20, loading, children: data?.name || "MatchID User" }) }),
6667
+ /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: "matchid-contact-item-name", children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Skeleton_default, { width: 80, height: isDownMd ? 16 : 20, loading, children: data?.name || data?.username || "MatchID User" }) }),
6669
6668
  /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { className: "matchid-contact-item-address", children: /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Skeleton_default, { width: 80, height: isDownMd ? 12 : 16, loading, children: truncateAddress(data?.address || "", 6, 6) }) })
6670
6669
  ] })
6671
6670
  ] }),