@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.
- package/dist/assets/icon/index.d.mts +2 -2
- package/dist/assets/icon/index.d.ts +2 -2
- package/dist/{chunk-WNDUHFQX.mjs → chunk-F7N2JPEQ.mjs} +8 -9
- package/dist/chunk-F7N2JPEQ.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 -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-DZbxObEv.d.mts → index-91BdMYDA.d.ts} +3 -2
- package/dist/{index-SR1x4yUS.d.mts → index-CPk553v5.d.mts} +1 -1
- package/dist/{index-BRm4dPQF.d.ts → index-CZu_8fKl.d.ts} +1 -1
- package/dist/{index-DUdhdrzI.d.ts → index-ChHJD4NZ.d.mts} +3 -2
- package/dist/{index-CaMDtQcV.d.mts → index-CkHDxE7B.d.mts} +1 -1
- package/dist/{index-DQjZSiFX.d.ts → index-D3BHrg4-.d.ts} +2 -2
- package/dist/{index-C7a1Hfcx.d.ts → index-D5geEbXf.d.ts} +2 -2
- package/dist/{index-DcS62217.d.ts → index-DFBrN7dx.d.ts} +1 -1
- package/dist/{index-rk7ZjmRF.d.mts → index-DSvRdAyZ.d.mts} +2 -2
- package/dist/{index-Crr4Z_Zm.d.mts → index-DX1vzCrM.d.mts} +1 -1
- package/dist/{index-0q56ZNkH.d.mts → index-DjwwXNp4.d.mts} +2 -2
- package/dist/{index-Dee6qqWc.d.mts → index-DromP9ET.d.mts} +2 -2
- package/dist/{index-DqIQL1Es.d.ts → index-SRHVQn5G.d.ts} +1 -1
- package/dist/{index-CANAro1S.d.ts → index-Vxvd14yW.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 -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-DvqfFAbp.d.mts → types-Bi9iq57H.d.mts} +5 -1
- package/dist/{types-DvqfFAbp.d.ts → types-Bi9iq57H.d.ts} +5 -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
- package/dist/chunk-WNDUHFQX.mjs.map +0 -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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
4
|
+
import '../types-Bi9iq57H.js';
|
|
5
5
|
import 'react';
|
|
6
6
|
import '@tanstack/react-query/src/types';
|
package/dist/components/index.js
CHANGED
|
@@ -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
|
] }),
|