@matchain/matchid-sdk-react 0.1.53-alpha.15 → 0.1.53-alpha.16
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-BC4HS373.mjs → chunk-UOHVZWED.mjs} +88 -31
- package/dist/{chunk-BC4HS373.mjs.map → chunk-UOHVZWED.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 +5 -4
- 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.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-D5WIVIkc.d.ts → index-B16U2SHA.d.ts} +1 -1
- package/dist/{index-BrzFSkOe.d.mts → index-B2DkI1ML.d.mts} +1 -1
- package/dist/{index-CLYi12dP.d.mts → index-BxWVN7HQ.d.mts} +2 -2
- package/dist/{index-Dus4QPjO.d.mts → index-ByjogbBx.d.mts} +1 -1
- package/dist/{index-DC4F1u-w.d.mts → index-C7vPCjcT.d.mts} +2 -2
- package/dist/{index-BgdY5xdW.d.ts → index-CYXjMyV_.d.ts} +1 -1
- package/dist/{index-BikcLg_6.d.ts → index-ChklXND5.d.ts} +2 -2
- package/dist/{index-CQmN0dN4.d.ts → index-Dfckd7XV.d.ts} +1 -1
- package/dist/{index-BVfCh4l-.d.mts → index-Na2Ub13l.d.mts} +1 -1
- package/dist/{index-D3Kp05kW.d.ts → index-_9VVEy7O.d.ts} +1 -1
- package/dist/{index-D5yzH62h.d.ts → index-jG0evmQL.d.ts} +1 -1
- package/dist/{index-C0UKUm0h.d.ts → index-jQp1rITQ.d.ts} +2 -2
- package/dist/{index-BaFmUVw-.d.mts → index-nMzH5qxx.d.mts} +1 -1
- package/dist/{index-SOVt-ADK.d.mts → index-zJQVg2B1.d.mts} +1 -1
- package/dist/index.css +15 -7
- package/dist/index.d.mts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +69 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -9
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/{types-VrV1kYga.d.mts → types-B5QEZ2fv.d.mts} +1 -1
- package/dist/{types-VrV1kYga.d.ts → types-B5QEZ2fv.d.ts} +1 -1
- package/dist/ui/index.d.mts +3 -3
- package/dist/ui/index.d.ts +3 -3
- package/package.json +1 -1
package/dist/hooks/index.mjs
CHANGED
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
useTransaction,
|
|
13
13
|
useUserInfo,
|
|
14
14
|
useWallet
|
|
15
|
-
} from "../chunk-
|
|
16
|
-
import "../chunk-JX73EY6V.mjs";
|
|
15
|
+
} from "../chunk-UOHVZWED.mjs";
|
|
17
16
|
import "../chunk-UA6XHZHX.mjs";
|
|
18
|
-
import "../chunk-IZOOVZAD.mjs";
|
|
19
17
|
import {
|
|
20
18
|
useLayout_exports
|
|
21
19
|
} from "../chunk-X5HGL3ZX.mjs";
|
|
20
|
+
import "../chunk-IZOOVZAD.mjs";
|
|
22
21
|
import "../chunk-FKXS2XRG.mjs";
|
|
22
|
+
import "../chunk-JX73EY6V.mjs";
|
|
23
23
|
import "../chunk-J5LGTIGS.mjs";
|
|
24
24
|
export {
|
|
25
25
|
useCopyClipboard,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Address,
|
|
1
|
+
import { A as Address, m as AnyObject, q as AppConfigType, r as AuthParams, s as BindInfoType, t as BindItemType, v as BindWalletParam, B as ButtonProps, j as CEXType, l as ChainType, C as ContactType, D as DeepPartial, w as DrawerProps, E as EmailModalProps, x as EmbeddedWalletsParams, H as Hash, a as IEnvConfigType, y as IEnvName, z as ILoginWalletReq, I as IMatchEvents, h as ISocialLoginMethod, F as IconProps, G as InputProps, L as LocaleType, b as LoginBoxProps, k as LoginMethodType, f as LoginModalProps, e as LoginPanelProps, J as MessageType, K as MetaPageType, N as ModalProps, M as ModalWithHeaderProps, O as OtherLoginMethodType, i as OverviewInfo, Q as PohItemType, S as PohZkpassParams, P as PopoverPositionType, T as PopoverProps, d as PopoverTypeType, R as RecommendLoginMethodType, V as RecoveryType, X as ThemeType, Y as UIProps, p as UserAssetToken, U as UserChainType, o as UserImportTokenType, Z as UserPopoverProps, _ as UserTransactionNextPageParams, $ as UserTransactionRecordType, n as UserTransactionType, g as WalletAssetMergeType, a0 as WalletAssetType, a1 as WalletChainType, W as WalletConfigType, a2 as WalletNFTType, a3 as WalletPanelProps, a4 as WalletReceiveMessageType, a5 as WalletStatusType, c as WalletType, u as useMatchWalletAssetsProps } from './types-B5QEZ2fv.js';
|
|
2
2
|
|
|
3
3
|
declare const index_Address: typeof Address;
|
|
4
4
|
declare const index_AnyObject: typeof AnyObject;
|
|
@@ -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 { S as PohZkpassParams,
|
|
3
|
+
import { S as PohZkpassParams, n as UserTransactionType, _ as UserTransactionNextPageParams, a0 as WalletAssetType, K as MetaPageType, t as BindItemType, s as BindInfoType, Q as PohItemType, U as UserChainType, p as UserAssetToken, o as UserImportTokenType, a1 as WalletChainType, a2 as WalletNFTType, C as ContactType } from './types-B5QEZ2fv.mjs';
|
|
4
4
|
import { M as MyResponseType, i as isSuccess } from './request-B0CyrGFT.mjs';
|
|
5
5
|
|
|
6
6
|
declare const bindCexApi: (data: {
|
|
@@ -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, b as LoginBoxProps, B as ButtonProps, O as OtherLoginMethodType, R as RecommendLoginMethodType, c as WalletType, P as PopoverPositionType, d as PopoverTypeType, e as LoginPanelProps, f as LoginModalProps, M as ModalWithHeaderProps, g as WalletAssetMergeType, u as useMatchWalletAssetsProps, C as ContactType } from './types-B5QEZ2fv.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-nMzH5qxx.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,5 +1,5 @@
|
|
|
1
1
|
import { M as MyResponseType } from './request-B0CyrGFT.mjs';
|
|
2
|
-
import {
|
|
2
|
+
import { h as ISocialLoginMethod, i as OverviewInfo, j as CEXType, k as LoginMethodType, I as IMatchEvents, l as ChainType, U as UserChainType, A as Address, H as Hash$1, m as AnyObject, n as UserTransactionType, u as useMatchWalletAssetsProps, o as UserImportTokenType, p as UserAssetToken, g as WalletAssetMergeType } from './types-B5QEZ2fv.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,6 +1,6 @@
|
|
|
1
|
-
import { B as Button, 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, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-nMzH5qxx.mjs';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import { w as DrawerProps, a3 as WalletPanelProps, Y as UIProps } from './types-
|
|
3
|
+
import { w as DrawerProps, a3 as WalletPanelProps, Y as UIProps } from './types-B5QEZ2fv.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 _tanstack_react_query from '@tanstack/react-query';
|
|
2
2
|
import { UseQueryOptions } from '@tanstack/react-query/src/types';
|
|
3
|
-
import { S as PohZkpassParams,
|
|
3
|
+
import { S as PohZkpassParams, n as UserTransactionType, _ as UserTransactionNextPageParams, a0 as WalletAssetType, K as MetaPageType, t as BindItemType, s as BindInfoType, Q as PohItemType, U as UserChainType, p as UserAssetToken, o as UserImportTokenType, a1 as WalletChainType, a2 as WalletNFTType, C as ContactType } from './types-B5QEZ2fv.js';
|
|
4
4
|
import { M as MyResponseType, i as isSuccess } from './request-B0CyrGFT.js';
|
|
5
5
|
|
|
6
6
|
declare const bindCexApi: (data: {
|
|
@@ -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, b as LoginBoxProps, B as ButtonProps, O as OtherLoginMethodType, R as RecommendLoginMethodType, c as WalletType, P as PopoverPositionType, d as PopoverTypeType, e as LoginPanelProps, f as LoginModalProps, M as ModalWithHeaderProps, g as WalletAssetMergeType, u as useMatchWalletAssetsProps, C as ContactType } from './types-B5QEZ2fv.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-Dfckd7XV.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 { ReactNode, PropsWithChildren } from 'react';
|
|
3
|
-
import { G as InputProps, B as ButtonProps, N as ModalProps, M as ModalWithHeaderProps, T as PopoverProps } from './types-
|
|
3
|
+
import { G as InputProps, B as ButtonProps, N as ModalProps, M as ModalWithHeaderProps, T as PopoverProps } from './types-B5QEZ2fv.js';
|
|
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 { F as IconProps$1 } from './types-
|
|
3
|
+
import { F as IconProps$1 } from './types-B5QEZ2fv.mjs';
|
|
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 { F as IconProps$1 } from './types-
|
|
3
|
+
import { F as IconProps$1 } from './types-B5QEZ2fv.js';
|
|
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.js';
|
|
2
|
-
import {
|
|
2
|
+
import { h as ISocialLoginMethod, i as OverviewInfo, j as CEXType, k as LoginMethodType, I as IMatchEvents, l as ChainType, U as UserChainType, A as Address, H as Hash$1, m as AnyObject, n as UserTransactionType, u as useMatchWalletAssetsProps, o as UserImportTokenType, p as UserAssetToken, g as WalletAssetMergeType } from './types-B5QEZ2fv.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, 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, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-Dfckd7XV.js';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import { w as DrawerProps, a3 as WalletPanelProps, Y as UIProps } from './types-
|
|
3
|
+
import { w as DrawerProps, a3 as WalletPanelProps, Y as UIProps } from './types-B5QEZ2fv.js';
|
|
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
2
|
import { ReactNode, PropsWithChildren } from 'react';
|
|
3
|
-
import { G as InputProps, B as ButtonProps, N as ModalProps, M as ModalWithHeaderProps, T as PopoverProps } from './types-
|
|
3
|
+
import { G as InputProps, B as ButtonProps, N as ModalProps, M as ModalWithHeaderProps, T as PopoverProps } from './types-B5QEZ2fv.mjs';
|
|
4
4
|
|
|
5
5
|
declare function Field({ label, children, error, required, className }: {
|
|
6
6
|
label: ReactNode;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Address,
|
|
1
|
+
import { A as Address, m as AnyObject, q as AppConfigType, r as AuthParams, s as BindInfoType, t as BindItemType, v as BindWalletParam, B as ButtonProps, j as CEXType, l as ChainType, C as ContactType, D as DeepPartial, w as DrawerProps, E as EmailModalProps, x as EmbeddedWalletsParams, H as Hash, a as IEnvConfigType, y as IEnvName, z as ILoginWalletReq, I as IMatchEvents, h as ISocialLoginMethod, F as IconProps, G as InputProps, L as LocaleType, b as LoginBoxProps, k as LoginMethodType, f as LoginModalProps, e as LoginPanelProps, J as MessageType, K as MetaPageType, N as ModalProps, M as ModalWithHeaderProps, O as OtherLoginMethodType, i as OverviewInfo, Q as PohItemType, S as PohZkpassParams, P as PopoverPositionType, T as PopoverProps, d as PopoverTypeType, R as RecommendLoginMethodType, V as RecoveryType, X as ThemeType, Y as UIProps, p as UserAssetToken, U as UserChainType, o as UserImportTokenType, Z as UserPopoverProps, _ as UserTransactionNextPageParams, $ as UserTransactionRecordType, n as UserTransactionType, g as WalletAssetMergeType, a0 as WalletAssetType, a1 as WalletChainType, W as WalletConfigType, a2 as WalletNFTType, a3 as WalletPanelProps, a4 as WalletReceiveMessageType, a5 as WalletStatusType, c as WalletType, u as useMatchWalletAssetsProps } from './types-B5QEZ2fv.mjs';
|
|
2
2
|
|
|
3
3
|
declare const index_Address: typeof Address;
|
|
4
4
|
declare const index_AnyObject: typeof AnyObject;
|
package/dist/index.css
CHANGED
|
@@ -2030,15 +2030,25 @@ body {
|
|
|
2030
2030
|
justify-content: space-between;
|
|
2031
2031
|
align-items: center;
|
|
2032
2032
|
padding:8px 16px;
|
|
2033
|
+
@media screen and (max-width: 768px) {
|
|
2034
|
+
padding:6px 12px;
|
|
2035
|
+
}
|
|
2033
2036
|
.matchid-contact-item-content{
|
|
2034
2037
|
height:48px;
|
|
2035
2038
|
display: flex;
|
|
2036
2039
|
gap:16px;
|
|
2037
2040
|
align-items: center;
|
|
2041
|
+
@media screen and (max-width: 768px) {
|
|
2042
|
+
height:36px;
|
|
2043
|
+
}
|
|
2038
2044
|
.matchid-contact-item-avatar{
|
|
2039
2045
|
width:48px;
|
|
2040
2046
|
height:48px;
|
|
2041
2047
|
border-radius: 50%;
|
|
2048
|
+
@media screen and (max-width: 768px) {
|
|
2049
|
+
height:36px;
|
|
2050
|
+
width:36px;
|
|
2051
|
+
}
|
|
2042
2052
|
}
|
|
2043
2053
|
.matchid-contact-item-info{
|
|
2044
2054
|
display: flex;
|
|
@@ -2049,17 +2059,15 @@ body {
|
|
|
2049
2059
|
font-size: 18px;
|
|
2050
2060
|
font-weight: 500;
|
|
2051
2061
|
color: var(--matchid-black);
|
|
2062
|
+
@media screen and (max-width: 768px) {
|
|
2063
|
+
font-size:14px;
|
|
2064
|
+
}
|
|
2052
2065
|
}
|
|
2053
2066
|
.matchid-contact-item-address{
|
|
2054
2067
|
font-size: 14px;
|
|
2055
2068
|
color: var(--matchid-secondary-grey);
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
.matchid-contact-item-name{
|
|
2059
|
-
font-size: 16px;
|
|
2060
|
-
}
|
|
2061
|
-
.matchid-contact-item-address{
|
|
2062
|
-
font-size: 12px;
|
|
2069
|
+
@media screen and (max-width: 768px) {
|
|
2070
|
+
font-size:12px;
|
|
2063
2071
|
}
|
|
2064
2072
|
}
|
|
2065
2073
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
-
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-
|
|
3
|
-
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-
|
|
4
|
-
export { i as Components } from './index-
|
|
5
|
-
export { i as UI } from './index-
|
|
6
|
-
export { i as Api } from './index-
|
|
2
|
+
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-B5QEZ2fv.mjs';
|
|
3
|
+
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-ByjogbBx.mjs';
|
|
4
|
+
export { i as Components } from './index-BxWVN7HQ.mjs';
|
|
5
|
+
export { i as UI } from './index-C7vPCjcT.mjs';
|
|
6
|
+
export { i as Api } from './index-B2DkI1ML.mjs';
|
|
7
7
|
export { i as Chains } from './index-DXRGMAbv.mjs';
|
|
8
|
-
export { i as Types } from './index-
|
|
9
|
-
export { i as Icon } from './index-
|
|
8
|
+
export { i as Types } from './index-zJQVg2B1.mjs';
|
|
9
|
+
export { i as Icon } from './index-Na2Ub13l.mjs';
|
|
10
10
|
import '@tanstack/react-query/src/types';
|
|
11
11
|
import './request-B0CyrGFT.mjs';
|
|
12
12
|
import 'viem';
|
|
@@ -15,7 +15,7 @@ import 'abitype';
|
|
|
15
15
|
import 'react/jsx-runtime';
|
|
16
16
|
import 'viem/_types/actions/siwe/verifySiweMessage';
|
|
17
17
|
import '@tanstack/react-query';
|
|
18
|
-
import './index-
|
|
18
|
+
import './index-nMzH5qxx.mjs';
|
|
19
19
|
|
|
20
20
|
type MatchContextType = {
|
|
21
21
|
appid: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
-
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-
|
|
3
|
-
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-
|
|
4
|
-
export { i as Components } from './index-
|
|
5
|
-
export { i as UI } from './index-
|
|
6
|
-
export { i as Api } from './index-
|
|
2
|
+
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-B5QEZ2fv.js';
|
|
3
|
+
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-jG0evmQL.js';
|
|
4
|
+
export { i as Components } from './index-ChklXND5.js';
|
|
5
|
+
export { i as UI } from './index-jQp1rITQ.js';
|
|
6
|
+
export { i as Api } from './index-CYXjMyV_.js';
|
|
7
7
|
export { i as Chains } from './index-DXRGMAbv.js';
|
|
8
|
-
export { i as Types } from './index-
|
|
9
|
-
export { i as Icon } from './index-
|
|
8
|
+
export { i as Types } from './index-B16U2SHA.js';
|
|
9
|
+
export { i as Icon } from './index-_9VVEy7O.js';
|
|
10
10
|
import '@tanstack/react-query/src/types';
|
|
11
11
|
import './request-B0CyrGFT.js';
|
|
12
12
|
import 'viem';
|
|
@@ -15,7 +15,7 @@ import 'abitype';
|
|
|
15
15
|
import 'react/jsx-runtime';
|
|
16
16
|
import 'viem/_types/actions/siwe/verifySiweMessage';
|
|
17
17
|
import '@tanstack/react-query';
|
|
18
|
-
import './index-
|
|
18
|
+
import './index-Dfckd7XV.js';
|
|
19
19
|
|
|
20
20
|
type MatchContextType = {
|
|
21
21
|
appid: string;
|
package/dist/index.js
CHANGED
|
@@ -6814,15 +6814,16 @@ function ContactCard({
|
|
|
6814
6814
|
data,
|
|
6815
6815
|
action
|
|
6816
6816
|
}) {
|
|
6817
|
+
const isDownMd = useDownMd();
|
|
6817
6818
|
return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "matchid-flex matchid-contact-item", children: [
|
|
6818
6819
|
/* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "matchid-contact-item-content", children: [
|
|
6819
|
-
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Skeleton_default, { width: 48, height: 48, radius: 100, loading, children: data?.avatar ? /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("img", { src: data?.avatar, className: "matchid-contact-item-avatar" }) : /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(AlphaAvatar, { size: 48, name: data?.name || "MatchID" }) }),
|
|
6820
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Skeleton_default, { width: isDownMd ? 36 : 48, height: isDownMd ? 36 : 48, radius: 100, loading, children: data?.avatar ? /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("img", { src: data?.avatar, className: "matchid-contact-item-avatar" }) : /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(AlphaAvatar, { size: isDownMd ? 36 : 48, name: data?.name || "MatchID" }) }),
|
|
6820
6821
|
/* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "matchid-contact-item-info", children: [
|
|
6821
|
-
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: "matchid-contact-item-name", children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Skeleton_default, { width: 80, height: 20, loading, children: data?.name || "MatchID User" }) }),
|
|
6822
|
-
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: "matchid-contact-item-address", children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Skeleton_default, { width: 80, height: 16, loading, children: truncateAddress(data?.address || "", 6, 6) }) })
|
|
6822
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: "matchid-contact-item-name", children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Skeleton_default, { width: 80, height: isDownMd ? 16 : 20, loading, children: data?.name || "MatchID User" }) }),
|
|
6823
|
+
/* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: "matchid-contact-item-address", children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Skeleton_default, { width: 80, height: isDownMd ? 12 : 16, loading, children: truncateAddress(data?.address || "", 6, 6) }) })
|
|
6823
6824
|
] })
|
|
6824
6825
|
] }),
|
|
6825
|
-
action && /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: "matchid-contact-item-action", children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Skeleton_default, { width: 20, height: 20, loading, children: action() }) })
|
|
6826
|
+
action && /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: "matchid-contact-item-action", children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Skeleton_default, { width: 20, height: isDownMd ? 16 : 20, loading, children: action() }) })
|
|
6826
6827
|
] });
|
|
6827
6828
|
}
|
|
6828
6829
|
function RequestAction({ data, onSuccess }) {
|
|
@@ -8558,7 +8559,14 @@ var zh_default = {
|
|
|
8558
8559
|
back: "\u8FD4\u56DE",
|
|
8559
8560
|
importSuccess: "\u6210\u529F\u5BFC\u5165\u4EE3\u5E01",
|
|
8560
8561
|
importFail: "\u5BFC\u5165\u4EE3\u5E01\u5931\u8D25",
|
|
8561
|
-
changeNetwork: "\u5207\u6362\u7F51\u7EDC"
|
|
8562
|
+
changeNetwork: "\u5207\u6362\u7F51\u7EDC",
|
|
8563
|
+
approveSuccess: "\u6388\u6743\u6210\u529F",
|
|
8564
|
+
Approve: "\u6388\u6743",
|
|
8565
|
+
noFriends: "\u6682\u65E0\u597D\u53CB",
|
|
8566
|
+
noRequests: "\u6682\u65E0\u8BF7\u6C42",
|
|
8567
|
+
noMore: "\u6CA1\u6709\u66F4\u591A",
|
|
8568
|
+
Remove: "\u79FB\u9664",
|
|
8569
|
+
removeSuccess: "\u79FB\u9664\u6210\u529F"
|
|
8562
8570
|
};
|
|
8563
8571
|
|
|
8564
8572
|
// src/i18n/tw.json
|
|
@@ -8639,7 +8647,14 @@ var tw_default = {
|
|
|
8639
8647
|
back: "\u8FD4\u56DE",
|
|
8640
8648
|
importSuccess: "\u6210\u529F\u532F\u5165\u4EE3\u5E63",
|
|
8641
8649
|
importFail: "\u532F\u5165\u4EE3\u5E63\u5931\u6557",
|
|
8642
|
-
changeNetwork: "\u5207\u63DB\u7DB2\u7D61"
|
|
8650
|
+
changeNetwork: "\u5207\u63DB\u7DB2\u7D61",
|
|
8651
|
+
approveSuccess: "\u6388\u6B0A\u6210\u529F",
|
|
8652
|
+
Approve: "\u6388\u6B0A",
|
|
8653
|
+
noFriends: "\u66AB\u7121\u597D\u53CB",
|
|
8654
|
+
noRequests: "\u66AB\u7121\u8ACB\u6C42",
|
|
8655
|
+
noMore: "\u6C92\u6709\u66F4\u591A",
|
|
8656
|
+
Remove: "\u79FB\u9664",
|
|
8657
|
+
removeSuccess: "\u79FB\u9664\u6210\u529F"
|
|
8643
8658
|
};
|
|
8644
8659
|
|
|
8645
8660
|
// src/i18n/fr.json
|
|
@@ -8720,7 +8735,14 @@ var fr_default = {
|
|
|
8720
8735
|
back: "Retour",
|
|
8721
8736
|
importSuccess: "Importation du jeton r\xE9ussie",
|
|
8722
8737
|
importFail: "\xC9chec de l'importation du jeton",
|
|
8723
|
-
changeNetwork: "Changer de r\xE9seau"
|
|
8738
|
+
changeNetwork: "Changer de r\xE9seau",
|
|
8739
|
+
approveSuccess: "Approbation r\xE9ussie",
|
|
8740
|
+
Approve: "Approuver",
|
|
8741
|
+
noFriends: "Pas encore d'amis",
|
|
8742
|
+
noRequests: "Pas encore de demandes",
|
|
8743
|
+
noMore: "Plus rien",
|
|
8744
|
+
Remove: "Supprimer",
|
|
8745
|
+
removeSuccess: "Suppression r\xE9ussie"
|
|
8724
8746
|
};
|
|
8725
8747
|
|
|
8726
8748
|
// src/i18n/ja.json
|
|
@@ -8801,7 +8823,14 @@ var ja_default = {
|
|
|
8801
8823
|
back: "\u623B\u308B",
|
|
8802
8824
|
importSuccess: "\u30C8\u30FC\u30AF\u30F3\u306E\u30A4\u30F3\u30DD\u30FC\u30C8\u306B\u6210\u529F\u3057\u307E\u3057\u305F",
|
|
8803
8825
|
importFail: "\u30C8\u30FC\u30AF\u30F3\u306E\u30A4\u30F3\u30DD\u30FC\u30C8\u306B\u5931\u6557\u3057\u307E\u3057\u305F",
|
|
8804
|
-
changeNetwork: "\u30CD\u30C3\u30C8\u30EF\u30FC\u30AF\u3092\u5909\u66F4"
|
|
8826
|
+
changeNetwork: "\u30CD\u30C3\u30C8\u30EF\u30FC\u30AF\u3092\u5909\u66F4",
|
|
8827
|
+
approveSuccess: "\u627F\u8A8D\u306B\u6210\u529F\u3057\u307E\u3057\u305F",
|
|
8828
|
+
Approve: "\u627F\u8A8D",
|
|
8829
|
+
noFriends: "\u307E\u3060\u53CB\u9054\u304C\u3044\u307E\u305B\u3093",
|
|
8830
|
+
noRequests: "\u307E\u3060\u30EA\u30AF\u30A8\u30B9\u30C8\u304C\u3042\u308A\u307E\u305B\u3093",
|
|
8831
|
+
noMore: "\u3053\u308C\u4EE5\u4E0A\u3042\u308A\u307E\u305B\u3093",
|
|
8832
|
+
Remove: "\u524A\u9664",
|
|
8833
|
+
removeSuccess: "\u524A\u9664\u306B\u6210\u529F\u3057\u307E\u3057\u305F"
|
|
8805
8834
|
};
|
|
8806
8835
|
|
|
8807
8836
|
// src/i18n/ko.json
|
|
@@ -8882,7 +8911,14 @@ var ko_default = {
|
|
|
8882
8911
|
back: "\uB4A4\uB85C",
|
|
8883
8912
|
importSuccess: "\uD1A0\uD070\uC744 \uC131\uACF5\uC801\uC73C\uB85C \uAC00\uC838\uC654\uC2B5\uB2C8\uB2E4",
|
|
8884
8913
|
importFail: "\uD1A0\uD070 \uAC00\uC838\uC624\uAE30\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",
|
|
8885
|
-
changeNetwork: "\uB124\uD2B8\uC6CC\uD06C \uBCC0\uACBD"
|
|
8914
|
+
changeNetwork: "\uB124\uD2B8\uC6CC\uD06C \uBCC0\uACBD",
|
|
8915
|
+
approveSuccess: "\uC2B9\uC778 \uC131\uACF5",
|
|
8916
|
+
Approve: "\uC2B9\uC778",
|
|
8917
|
+
noFriends: "\uC544\uC9C1 \uCE5C\uAD6C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4",
|
|
8918
|
+
noRequests: "\uC544\uC9C1 \uC694\uCCAD\uC774 \uC5C6\uC2B5\uB2C8\uB2E4",
|
|
8919
|
+
noMore: "\uB354 \uC774\uC0C1 \uC5C6\uC74C",
|
|
8920
|
+
Remove: "\uC0AD\uC81C",
|
|
8921
|
+
removeSuccess: "\uC0AD\uC81C \uC131\uACF5"
|
|
8886
8922
|
};
|
|
8887
8923
|
|
|
8888
8924
|
// src/i18n/vi.json
|
|
@@ -8963,7 +8999,14 @@ var vi_default = {
|
|
|
8963
8999
|
back: "Quay l\u1EA1i",
|
|
8964
9000
|
importSuccess: "Nh\u1EADp Token th\xE0nh c\xF4ng",
|
|
8965
9001
|
importFail: "Kh\xF4ng th\u1EC3 nh\u1EADp Token",
|
|
8966
|
-
changeNetwork: "Thay \u0111\u1ED5i m\u1EA1ng"
|
|
9002
|
+
changeNetwork: "Thay \u0111\u1ED5i m\u1EA1ng",
|
|
9003
|
+
approveSuccess: "Ph\xEA duy\u1EC7t th\xE0nh c\xF4ng",
|
|
9004
|
+
Approve: "Ph\xEA duy\u1EC7t",
|
|
9005
|
+
noFriends: "Ch\u01B0a c\xF3 b\u1EA1n b\xE8",
|
|
9006
|
+
noRequests: "Ch\u01B0a c\xF3 y\xEAu c\u1EA7u n\xE0o",
|
|
9007
|
+
noMore: "Kh\xF4ng c\xF2n n\u1EEFa",
|
|
9008
|
+
Remove: "X\xF3a",
|
|
9009
|
+
removeSuccess: "X\xF3a th\xE0nh c\xF4ng"
|
|
8967
9010
|
};
|
|
8968
9011
|
|
|
8969
9012
|
// src/i18n/es.json
|
|
@@ -9044,7 +9087,14 @@ var es_default = {
|
|
|
9044
9087
|
back: "Atr\xE1s",
|
|
9045
9088
|
importSuccess: "Token importado con \xE9xito",
|
|
9046
9089
|
importFail: "Error al importar el token",
|
|
9047
|
-
changeNetwork: "Cambiar red"
|
|
9090
|
+
changeNetwork: "Cambiar red",
|
|
9091
|
+
approveSuccess: "Autorizado con \xE9xito",
|
|
9092
|
+
Approve: "Autorizar",
|
|
9093
|
+
noFriends: "A\xFAn no hay amigos",
|
|
9094
|
+
noRequests: "A\xFAn no hay solicitudes",
|
|
9095
|
+
noMore: "No hay m\xE1s",
|
|
9096
|
+
Remove: "Eliminar",
|
|
9097
|
+
removeSuccess: "Eliminado con \xE9xito"
|
|
9048
9098
|
};
|
|
9049
9099
|
|
|
9050
9100
|
// src/i18n/pt.json
|
|
@@ -9125,7 +9175,14 @@ var pt_default = {
|
|
|
9125
9175
|
back: "Voltar",
|
|
9126
9176
|
importSuccess: "Token importado com sucesso",
|
|
9127
9177
|
importFail: "Falha ao importar o token",
|
|
9128
|
-
changeNetwork: "Alterar rede"
|
|
9178
|
+
changeNetwork: "Alterar rede",
|
|
9179
|
+
approveSuccess: "Aprova\xE7\xE3o bem-sucedida",
|
|
9180
|
+
Approve: "Aprovar",
|
|
9181
|
+
noFriends: "Ainda sem amigos",
|
|
9182
|
+
noRequests: "Ainda sem solicita\xE7\xF5es",
|
|
9183
|
+
noMore: "N\xE3o h\xE1 mais",
|
|
9184
|
+
Remove: "Remover",
|
|
9185
|
+
removeSuccess: "Removido com sucesso"
|
|
9129
9186
|
};
|
|
9130
9187
|
|
|
9131
9188
|
// src/i18n/index.ts
|