@matchain/matchid-sdk-react 0.1.53-alpha.15 → 0.1.53-alpha.17
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-CNO5SYSQ.mjs} +123 -67
- package/dist/chunk-CNO5SYSQ.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 +102 -93
- 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 +93 -89
- 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 +95 -91
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +3 -3
- package/dist/{index-BVfCh4l-.d.mts → index-B1T3lcwo.d.mts} +1 -1
- package/dist/{index-BikcLg_6.d.ts → index-B6Tmp2HR.d.ts} +2 -2
- package/dist/{index-D3Kp05kW.d.ts → index-B6pp5UQe.d.ts} +1 -1
- package/dist/{index-D5WIVIkc.d.ts → index-BR3CyOOn.d.ts} +3 -2
- package/dist/{index-BrzFSkOe.d.mts → index-BeTS09HM.d.mts} +1 -1
- package/dist/{index-BaFmUVw-.d.mts → index-BxHKPC5n.d.mts} +1 -1
- package/dist/{index-DC4F1u-w.d.mts → index-CA7lhjpa.d.mts} +2 -2
- package/dist/{index-C0UKUm0h.d.ts → index-CRoZ0p2b.d.ts} +2 -2
- package/dist/{index-SOVt-ADK.d.mts → index-CXPCmoIu.d.mts} +3 -2
- package/dist/{index-Dus4QPjO.d.mts → index-Ce3oCu6-.d.mts} +1 -1
- package/dist/{index-CLYi12dP.d.mts → index-Ci_ub_5y.d.mts} +2 -2
- package/dist/{index-CQmN0dN4.d.ts → index-DKV8v6s_.d.ts} +1 -1
- package/dist/{index-BgdY5xdW.d.ts → index-Dnjr-WPp.d.ts} +1 -1
- package/dist/{index-D5yzH62h.d.ts → index-IHigYscw.d.ts} +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 +201 -136
- 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-mRkAnXBf.d.mts} +8 -1
- package/dist/{types-VrV1kYga.d.ts → types-mRkAnXBf.d.ts} +8 -1
- package/dist/ui/index.d.mts +3 -3
- package/dist/ui/index.d.ts +3 -3
- package/package.json +1 -1
- package/dist/chunk-BC4HS373.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-
|
|
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-B1T3lcwo.mjs';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
|
-
import '../../types-
|
|
4
|
+
import '../../types-mRkAnXBf.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-B6pp5UQe.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
|
-
import '../../types-
|
|
4
|
+
import '../../types-mRkAnXBf.js';
|
|
5
5
|
import '@tanstack/react-query/src/types';
|
|
@@ -1,21 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
matchMain,
|
|
3
|
-
matchTest
|
|
4
|
-
} from "./chunk-JX73EY6V.mjs";
|
|
5
|
-
import {
|
|
6
|
-
NumberFormatter,
|
|
7
|
-
bytesToBase64,
|
|
8
|
-
decodeBase64,
|
|
9
|
-
encodeBase64,
|
|
10
|
-
formatAddress,
|
|
11
|
-
formatDate,
|
|
12
|
-
getAppClientId,
|
|
13
|
-
getVersion,
|
|
14
|
-
isInTgApp,
|
|
15
|
-
isValidEmail,
|
|
16
|
-
isValidUsername,
|
|
17
|
-
truncateAddress
|
|
18
|
-
} from "./chunk-IZOOVZAD.mjs";
|
|
19
1
|
import {
|
|
20
2
|
AlphaAvatar,
|
|
21
3
|
Button,
|
|
@@ -36,6 +18,20 @@ import {
|
|
|
36
18
|
useHash,
|
|
37
19
|
useLayout_exports
|
|
38
20
|
} from "./chunk-X5HGL3ZX.mjs";
|
|
21
|
+
import {
|
|
22
|
+
NumberFormatter,
|
|
23
|
+
bytesToBase64,
|
|
24
|
+
decodeBase64,
|
|
25
|
+
encodeBase64,
|
|
26
|
+
formatAddress,
|
|
27
|
+
formatDate,
|
|
28
|
+
getAppClientId,
|
|
29
|
+
getVersion,
|
|
30
|
+
isInTgApp,
|
|
31
|
+
isValidEmail,
|
|
32
|
+
isValidUsername,
|
|
33
|
+
truncateAddress
|
|
34
|
+
} from "./chunk-IZOOVZAD.mjs";
|
|
39
35
|
import {
|
|
40
36
|
ArrowDownIcon,
|
|
41
37
|
ArrowRightIcon,
|
|
@@ -81,6 +77,10 @@ import {
|
|
|
81
77
|
XverseIcon,
|
|
82
78
|
YoutubeIcon
|
|
83
79
|
} from "./chunk-FKXS2XRG.mjs";
|
|
80
|
+
import {
|
|
81
|
+
matchMain,
|
|
82
|
+
matchTest
|
|
83
|
+
} from "./chunk-JX73EY6V.mjs";
|
|
84
84
|
import {
|
|
85
85
|
__export
|
|
86
86
|
} from "./chunk-J5LGTIGS.mjs";
|
|
@@ -2331,23 +2331,8 @@ function WalletModalContentV2(props) {
|
|
|
2331
2331
|
}
|
|
2332
2332
|
|
|
2333
2333
|
// src/components/EVMModal/index.tsx
|
|
2334
|
-
import {
|
|
2335
|
-
|
|
2336
|
-
polygon,
|
|
2337
|
-
optimism,
|
|
2338
|
-
arbitrum,
|
|
2339
|
-
base,
|
|
2340
|
-
bsc
|
|
2341
|
-
} from "wagmi/chains";
|
|
2342
|
-
import { getDefaultConfig, RainbowKitProvider, useConnectModal } from "@rainbow-me/rainbowkit";
|
|
2343
|
-
import { useAccount, useChainId, useConfig, useDisconnect, WagmiProvider } from "wagmi";
|
|
2344
|
-
import {
|
|
2345
|
-
bitgetWallet,
|
|
2346
|
-
injectedWallet,
|
|
2347
|
-
metaMaskWallet,
|
|
2348
|
-
okxWallet,
|
|
2349
|
-
walletConnectWallet
|
|
2350
|
-
} from "@rainbow-me/rainbowkit/wallets";
|
|
2334
|
+
import { useConnectModal } from "@rainbow-me/rainbowkit";
|
|
2335
|
+
import { useAccount, useChainId, useConfig, useDisconnect } from "wagmi";
|
|
2351
2336
|
|
|
2352
2337
|
// src/hooks/useWalletBox.ts
|
|
2353
2338
|
import { useEffect as useEffect9, useRef as useRef2, useState as useState14 } from "react";
|
|
@@ -2778,23 +2763,6 @@ function WalletContent({
|
|
|
2778
2763
|
}
|
|
2779
2764
|
);
|
|
2780
2765
|
}
|
|
2781
|
-
var wagmiConfig = getDefaultConfig({
|
|
2782
|
-
appName: "MatchID",
|
|
2783
|
-
projectId: "9ac6ea7e07860f04616fb311b447dee9",
|
|
2784
|
-
wallets: [
|
|
2785
|
-
{
|
|
2786
|
-
groupName: "Recommended",
|
|
2787
|
-
wallets: [
|
|
2788
|
-
metaMaskWallet,
|
|
2789
|
-
walletConnectWallet,
|
|
2790
|
-
okxWallet,
|
|
2791
|
-
bitgetWallet,
|
|
2792
|
-
injectedWallet
|
|
2793
|
-
]
|
|
2794
|
-
}
|
|
2795
|
-
],
|
|
2796
|
-
chains: [mainnet, polygon, optimism, arbitrum, base, matchMain, matchTest, bsc]
|
|
2797
|
-
});
|
|
2798
2766
|
function EVMConnectModal({
|
|
2799
2767
|
type = "login",
|
|
2800
2768
|
onSuccess,
|
|
@@ -2805,7 +2773,7 @@ function EVMConnectModal({
|
|
|
2805
2773
|
id: type == "bind" ? "bindWith" : "loginWith"
|
|
2806
2774
|
}, {
|
|
2807
2775
|
name: "EVM"
|
|
2808
|
-
}), children: /* @__PURE__ */ jsx17(
|
|
2776
|
+
}), children: /* @__PURE__ */ jsx17(WalletContent, { onSuccess, type }) });
|
|
2809
2777
|
}
|
|
2810
2778
|
function EVMModal(props) {
|
|
2811
2779
|
return props.isOpen && /* @__PURE__ */ jsx17(EVMConnectModal, { ...props });
|
|
@@ -4349,12 +4317,13 @@ function ContactCard({
|
|
|
4349
4317
|
data,
|
|
4350
4318
|
action
|
|
4351
4319
|
}) {
|
|
4320
|
+
const isDownMd = useDownMd();
|
|
4352
4321
|
return /* @__PURE__ */ jsxs20("div", { className: "matchid-flex matchid-contact-item", children: [
|
|
4353
4322
|
/* @__PURE__ */ jsxs20("div", { className: "matchid-contact-item-content", children: [
|
|
4354
|
-
/* @__PURE__ */ jsx28(Skeleton_default, { width: 48, height: 48, radius: 100, loading, children: data?.avatar ? /* @__PURE__ */ jsx28("img", { src: data?.avatar, className: "matchid-contact-item-avatar" }) : /* @__PURE__ */ jsx28(AlphaAvatar, { size: 48, name: data?.name || "MatchID" }) }),
|
|
4323
|
+
/* @__PURE__ */ jsx28(Skeleton_default, { width: isDownMd ? 36 : 48, height: isDownMd ? 36 : 48, radius: 100, loading, children: data?.avatar ? /* @__PURE__ */ jsx28("img", { src: data?.avatar, className: "matchid-contact-item-avatar" }) : /* @__PURE__ */ jsx28(AlphaAvatar, { size: isDownMd ? 36 : 48, name: data?.name || "MatchID" }) }),
|
|
4355
4324
|
/* @__PURE__ */ jsxs20("div", { className: "matchid-contact-item-info", children: [
|
|
4356
|
-
/* @__PURE__ */ jsx28("div", { className: "matchid-contact-item-name", children: /* @__PURE__ */ jsx28(Skeleton_default, { width: 80, height: 20, loading, children: data?.name || "MatchID User" }) }),
|
|
4357
|
-
/* @__PURE__ */ jsx28("div", { className: "matchid-contact-item-address", children: /* @__PURE__ */ jsx28(Skeleton_default, { width: 80, height: 16, loading, children: truncateAddress(data?.address || "", 6, 6) }) })
|
|
4325
|
+
/* @__PURE__ */ jsx28("div", { className: "matchid-contact-item-name", children: /* @__PURE__ */ jsx28(Skeleton_default, { width: 80, height: isDownMd ? 16 : 20, loading, children: data?.name || "MatchID User" }) }),
|
|
4326
|
+
/* @__PURE__ */ jsx28("div", { className: "matchid-contact-item-address", children: /* @__PURE__ */ jsx28(Skeleton_default, { width: 80, height: isDownMd ? 12 : 16, loading, children: truncateAddress(data?.address || "", 6, 6) }) })
|
|
4358
4327
|
] })
|
|
4359
4328
|
] }),
|
|
4360
4329
|
action && /* @__PURE__ */ jsx28("div", { className: "matchid-contact-item-action", children: /* @__PURE__ */ jsx28(Skeleton_default, { width: 20, height: 20, loading, children: action() }) })
|
|
@@ -4412,6 +4381,7 @@ function ContactList({
|
|
|
4412
4381
|
}) {
|
|
4413
4382
|
const { loading, totalCount, data, onLoadMore } = contact_exports.useContactList(limit, type);
|
|
4414
4383
|
const [hiddenList, setHiddenList] = useState25([]);
|
|
4384
|
+
const { address } = useWallet();
|
|
4415
4385
|
useEffect19(() => {
|
|
4416
4386
|
setHiddenList([]);
|
|
4417
4387
|
}, [type]);
|
|
@@ -4431,6 +4401,9 @@ function ContactList({
|
|
|
4431
4401
|
}
|
|
4432
4402
|
const item = data[index];
|
|
4433
4403
|
return /* @__PURE__ */ jsx28(ContactCard, { data: item, action: () => {
|
|
4404
|
+
if (address == item.address) {
|
|
4405
|
+
return /* @__PURE__ */ jsx28(Fragment3, {});
|
|
4406
|
+
}
|
|
4434
4407
|
if (type == "Requests") {
|
|
4435
4408
|
return /* @__PURE__ */ jsx28(RequestAction, { data: item, onSuccess: (data2) => {
|
|
4436
4409
|
setHiddenList([...hiddenList, data2.limit_id || 0]);
|
|
@@ -6133,7 +6106,14 @@ var zh_default = {
|
|
|
6133
6106
|
back: "\u8FD4\u56DE",
|
|
6134
6107
|
importSuccess: "\u6210\u529F\u5BFC\u5165\u4EE3\u5E01",
|
|
6135
6108
|
importFail: "\u5BFC\u5165\u4EE3\u5E01\u5931\u8D25",
|
|
6136
|
-
changeNetwork: "\u5207\u6362\u7F51\u7EDC"
|
|
6109
|
+
changeNetwork: "\u5207\u6362\u7F51\u7EDC",
|
|
6110
|
+
approveSuccess: "\u6388\u6743\u6210\u529F",
|
|
6111
|
+
Approve: "\u6388\u6743",
|
|
6112
|
+
noFriends: "\u6682\u65E0\u597D\u53CB",
|
|
6113
|
+
noRequests: "\u6682\u65E0\u8BF7\u6C42",
|
|
6114
|
+
noMore: "\u6CA1\u6709\u66F4\u591A",
|
|
6115
|
+
Remove: "\u79FB\u9664",
|
|
6116
|
+
removeSuccess: "\u79FB\u9664\u6210\u529F"
|
|
6137
6117
|
};
|
|
6138
6118
|
|
|
6139
6119
|
// src/i18n/tw.json
|
|
@@ -6214,7 +6194,14 @@ var tw_default = {
|
|
|
6214
6194
|
back: "\u8FD4\u56DE",
|
|
6215
6195
|
importSuccess: "\u6210\u529F\u532F\u5165\u4EE3\u5E63",
|
|
6216
6196
|
importFail: "\u532F\u5165\u4EE3\u5E63\u5931\u6557",
|
|
6217
|
-
changeNetwork: "\u5207\u63DB\u7DB2\u7D61"
|
|
6197
|
+
changeNetwork: "\u5207\u63DB\u7DB2\u7D61",
|
|
6198
|
+
approveSuccess: "\u6388\u6B0A\u6210\u529F",
|
|
6199
|
+
Approve: "\u6388\u6B0A",
|
|
6200
|
+
noFriends: "\u66AB\u7121\u597D\u53CB",
|
|
6201
|
+
noRequests: "\u66AB\u7121\u8ACB\u6C42",
|
|
6202
|
+
noMore: "\u6C92\u6709\u66F4\u591A",
|
|
6203
|
+
Remove: "\u79FB\u9664",
|
|
6204
|
+
removeSuccess: "\u79FB\u9664\u6210\u529F"
|
|
6218
6205
|
};
|
|
6219
6206
|
|
|
6220
6207
|
// src/i18n/fr.json
|
|
@@ -6295,7 +6282,14 @@ var fr_default = {
|
|
|
6295
6282
|
back: "Retour",
|
|
6296
6283
|
importSuccess: "Importation du jeton r\xE9ussie",
|
|
6297
6284
|
importFail: "\xC9chec de l'importation du jeton",
|
|
6298
|
-
changeNetwork: "Changer de r\xE9seau"
|
|
6285
|
+
changeNetwork: "Changer de r\xE9seau",
|
|
6286
|
+
approveSuccess: "Approbation r\xE9ussie",
|
|
6287
|
+
Approve: "Approuver",
|
|
6288
|
+
noFriends: "Pas encore d'amis",
|
|
6289
|
+
noRequests: "Pas encore de demandes",
|
|
6290
|
+
noMore: "Plus rien",
|
|
6291
|
+
Remove: "Supprimer",
|
|
6292
|
+
removeSuccess: "Suppression r\xE9ussie"
|
|
6299
6293
|
};
|
|
6300
6294
|
|
|
6301
6295
|
// src/i18n/ja.json
|
|
@@ -6376,7 +6370,14 @@ var ja_default = {
|
|
|
6376
6370
|
back: "\u623B\u308B",
|
|
6377
6371
|
importSuccess: "\u30C8\u30FC\u30AF\u30F3\u306E\u30A4\u30F3\u30DD\u30FC\u30C8\u306B\u6210\u529F\u3057\u307E\u3057\u305F",
|
|
6378
6372
|
importFail: "\u30C8\u30FC\u30AF\u30F3\u306E\u30A4\u30F3\u30DD\u30FC\u30C8\u306B\u5931\u6557\u3057\u307E\u3057\u305F",
|
|
6379
|
-
changeNetwork: "\u30CD\u30C3\u30C8\u30EF\u30FC\u30AF\u3092\u5909\u66F4"
|
|
6373
|
+
changeNetwork: "\u30CD\u30C3\u30C8\u30EF\u30FC\u30AF\u3092\u5909\u66F4",
|
|
6374
|
+
approveSuccess: "\u627F\u8A8D\u306B\u6210\u529F\u3057\u307E\u3057\u305F",
|
|
6375
|
+
Approve: "\u627F\u8A8D",
|
|
6376
|
+
noFriends: "\u307E\u3060\u53CB\u9054\u304C\u3044\u307E\u305B\u3093",
|
|
6377
|
+
noRequests: "\u307E\u3060\u30EA\u30AF\u30A8\u30B9\u30C8\u304C\u3042\u308A\u307E\u305B\u3093",
|
|
6378
|
+
noMore: "\u3053\u308C\u4EE5\u4E0A\u3042\u308A\u307E\u305B\u3093",
|
|
6379
|
+
Remove: "\u524A\u9664",
|
|
6380
|
+
removeSuccess: "\u524A\u9664\u306B\u6210\u529F\u3057\u307E\u3057\u305F"
|
|
6380
6381
|
};
|
|
6381
6382
|
|
|
6382
6383
|
// src/i18n/ko.json
|
|
@@ -6457,7 +6458,14 @@ var ko_default = {
|
|
|
6457
6458
|
back: "\uB4A4\uB85C",
|
|
6458
6459
|
importSuccess: "\uD1A0\uD070\uC744 \uC131\uACF5\uC801\uC73C\uB85C \uAC00\uC838\uC654\uC2B5\uB2C8\uB2E4",
|
|
6459
6460
|
importFail: "\uD1A0\uD070 \uAC00\uC838\uC624\uAE30\uC5D0 \uC2E4\uD328\uD588\uC2B5\uB2C8\uB2E4",
|
|
6460
|
-
changeNetwork: "\uB124\uD2B8\uC6CC\uD06C \uBCC0\uACBD"
|
|
6461
|
+
changeNetwork: "\uB124\uD2B8\uC6CC\uD06C \uBCC0\uACBD",
|
|
6462
|
+
approveSuccess: "\uC2B9\uC778 \uC131\uACF5",
|
|
6463
|
+
Approve: "\uC2B9\uC778",
|
|
6464
|
+
noFriends: "\uC544\uC9C1 \uCE5C\uAD6C\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4",
|
|
6465
|
+
noRequests: "\uC544\uC9C1 \uC694\uCCAD\uC774 \uC5C6\uC2B5\uB2C8\uB2E4",
|
|
6466
|
+
noMore: "\uB354 \uC774\uC0C1 \uC5C6\uC74C",
|
|
6467
|
+
Remove: "\uC0AD\uC81C",
|
|
6468
|
+
removeSuccess: "\uC0AD\uC81C \uC131\uACF5"
|
|
6461
6469
|
};
|
|
6462
6470
|
|
|
6463
6471
|
// src/i18n/vi.json
|
|
@@ -6538,7 +6546,14 @@ var vi_default = {
|
|
|
6538
6546
|
back: "Quay l\u1EA1i",
|
|
6539
6547
|
importSuccess: "Nh\u1EADp Token th\xE0nh c\xF4ng",
|
|
6540
6548
|
importFail: "Kh\xF4ng th\u1EC3 nh\u1EADp Token",
|
|
6541
|
-
changeNetwork: "Thay \u0111\u1ED5i m\u1EA1ng"
|
|
6549
|
+
changeNetwork: "Thay \u0111\u1ED5i m\u1EA1ng",
|
|
6550
|
+
approveSuccess: "Ph\xEA duy\u1EC7t th\xE0nh c\xF4ng",
|
|
6551
|
+
Approve: "Ph\xEA duy\u1EC7t",
|
|
6552
|
+
noFriends: "Ch\u01B0a c\xF3 b\u1EA1n b\xE8",
|
|
6553
|
+
noRequests: "Ch\u01B0a c\xF3 y\xEAu c\u1EA7u n\xE0o",
|
|
6554
|
+
noMore: "Kh\xF4ng c\xF2n n\u1EEFa",
|
|
6555
|
+
Remove: "X\xF3a",
|
|
6556
|
+
removeSuccess: "X\xF3a th\xE0nh c\xF4ng"
|
|
6542
6557
|
};
|
|
6543
6558
|
|
|
6544
6559
|
// src/i18n/es.json
|
|
@@ -6619,7 +6634,14 @@ var es_default = {
|
|
|
6619
6634
|
back: "Atr\xE1s",
|
|
6620
6635
|
importSuccess: "Token importado con \xE9xito",
|
|
6621
6636
|
importFail: "Error al importar el token",
|
|
6622
|
-
changeNetwork: "Cambiar red"
|
|
6637
|
+
changeNetwork: "Cambiar red",
|
|
6638
|
+
approveSuccess: "Autorizado con \xE9xito",
|
|
6639
|
+
Approve: "Autorizar",
|
|
6640
|
+
noFriends: "A\xFAn no hay amigos",
|
|
6641
|
+
noRequests: "A\xFAn no hay solicitudes",
|
|
6642
|
+
noMore: "No hay m\xE1s",
|
|
6643
|
+
Remove: "Eliminar",
|
|
6644
|
+
removeSuccess: "Eliminado con \xE9xito"
|
|
6623
6645
|
};
|
|
6624
6646
|
|
|
6625
6647
|
// src/i18n/pt.json
|
|
@@ -6700,7 +6722,14 @@ var pt_default = {
|
|
|
6700
6722
|
back: "Voltar",
|
|
6701
6723
|
importSuccess: "Token importado com sucesso",
|
|
6702
6724
|
importFail: "Falha ao importar o token",
|
|
6703
|
-
changeNetwork: "Alterar rede"
|
|
6725
|
+
changeNetwork: "Alterar rede",
|
|
6726
|
+
approveSuccess: "Aprova\xE7\xE3o bem-sucedida",
|
|
6727
|
+
Approve: "Aprovar",
|
|
6728
|
+
noFriends: "Ainda sem amigos",
|
|
6729
|
+
noRequests: "Ainda sem solicita\xE7\xF5es",
|
|
6730
|
+
noMore: "N\xE3o h\xE1 mais",
|
|
6731
|
+
Remove: "Remover",
|
|
6732
|
+
removeSuccess: "Removido com sucesso"
|
|
6704
6733
|
};
|
|
6705
6734
|
|
|
6706
6735
|
// src/i18n/index.ts
|
|
@@ -6717,8 +6746,35 @@ var messages = {
|
|
|
6717
6746
|
};
|
|
6718
6747
|
|
|
6719
6748
|
// src/MatchContext.tsx
|
|
6749
|
+
import { getDefaultConfig as getDefaultConfig2, RainbowKitProvider as RainbowKitProvider2 } from "@rainbow-me/rainbowkit";
|
|
6750
|
+
import {
|
|
6751
|
+
bitgetWallet,
|
|
6752
|
+
injectedWallet,
|
|
6753
|
+
metaMaskWallet,
|
|
6754
|
+
okxWallet,
|
|
6755
|
+
walletConnectWallet
|
|
6756
|
+
} from "@rainbow-me/rainbowkit/wallets";
|
|
6757
|
+
import { arbitrum, base, bsc, mainnet, optimism, polygon } from "wagmi/chains";
|
|
6758
|
+
import { WagmiProvider as WagmiProvider2 } from "wagmi";
|
|
6720
6759
|
import { jsx as jsx34 } from "react/jsx-runtime";
|
|
6721
6760
|
var queryClient = new QueryClient();
|
|
6761
|
+
var wagmiConfig = getDefaultConfig2({
|
|
6762
|
+
appName: "MatchID",
|
|
6763
|
+
projectId: "9ac6ea7e07860f04616fb311b447dee9",
|
|
6764
|
+
wallets: [
|
|
6765
|
+
{
|
|
6766
|
+
groupName: "Recommended",
|
|
6767
|
+
wallets: [
|
|
6768
|
+
metaMaskWallet,
|
|
6769
|
+
walletConnectWallet,
|
|
6770
|
+
okxWallet,
|
|
6771
|
+
bitgetWallet,
|
|
6772
|
+
injectedWallet
|
|
6773
|
+
]
|
|
6774
|
+
}
|
|
6775
|
+
],
|
|
6776
|
+
chains: [mainnet, polygon, optimism, arbitrum, base, matchMain, matchTest, bsc]
|
|
6777
|
+
});
|
|
6722
6778
|
var MatchContext = createContext3(void 0);
|
|
6723
6779
|
var MatchProvider = ({
|
|
6724
6780
|
children,
|
|
@@ -6739,7 +6795,7 @@ var MatchProvider = ({
|
|
|
6739
6795
|
useWalletInit({
|
|
6740
6796
|
config: wallet
|
|
6741
6797
|
});
|
|
6742
|
-
return /* @__PURE__ */ jsx34(IntlProvider, { locale: realLocale, messages: messages[realLocale], children: /* @__PURE__ */ jsx34(QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ jsx34(
|
|
6798
|
+
return /* @__PURE__ */ jsx34(IntlProvider, { locale: realLocale, messages: messages[realLocale], children: /* @__PURE__ */ jsx34(WagmiProvider2, { config: wagmiConfig, children: /* @__PURE__ */ jsx34(QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ jsx34(RainbowKitProvider2, { children: /* @__PURE__ */ jsx34(
|
|
6743
6799
|
MatchContext.Provider,
|
|
6744
6800
|
{
|
|
6745
6801
|
value: {
|
|
@@ -6752,7 +6808,7 @@ var MatchProvider = ({
|
|
|
6752
6808
|
},
|
|
6753
6809
|
children: /* @__PURE__ */ jsx34(context_default, { children })
|
|
6754
6810
|
}
|
|
6755
|
-
) }) });
|
|
6811
|
+
) }) }) }) });
|
|
6756
6812
|
};
|
|
6757
6813
|
var useMatch = () => {
|
|
6758
6814
|
const context = useContext3(MatchContext);
|
|
@@ -7280,4 +7336,4 @@ export {
|
|
|
7280
7336
|
MatchProvider,
|
|
7281
7337
|
useMatch
|
|
7282
7338
|
};
|
|
7283
|
-
//# sourceMappingURL=chunk-
|
|
7339
|
+
//# sourceMappingURL=chunk-CNO5SYSQ.mjs.map
|