@matchain/matchid-sdk-react 0.1.56-alpha.9 → 0.1.57-alpha.1

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 (42) hide show
  1. package/dist/api.js +44 -3
  2. package/dist/api.js.map +1 -1
  3. package/dist/api.mjs +3 -3
  4. package/dist/{chunk-LOZCAT7A.mjs → chunk-6RNCNC65.mjs} +288 -218
  5. package/dist/chunk-6RNCNC65.mjs.map +1 -0
  6. package/dist/{chunk-FQ6PYZPD.mjs → chunk-7SUDHG7S.mjs} +1 -1
  7. package/dist/chunk-7SUDHG7S.mjs.map +1 -0
  8. package/dist/{chunk-JCMQBWWW.mjs → chunk-EAZNOQRK.mjs} +2 -2
  9. package/dist/components.d.mts +1 -1
  10. package/dist/components.d.ts +1 -1
  11. package/dist/components.js +311 -263
  12. package/dist/components.js.map +1 -1
  13. package/dist/components.mjs +2 -2
  14. package/dist/hooks.d.mts +1 -1
  15. package/dist/hooks.d.ts +1 -1
  16. package/dist/hooks.js +81 -42
  17. package/dist/hooks.js.map +1 -1
  18. package/dist/hooks.mjs +2 -2
  19. package/dist/icon.js.map +1 -1
  20. package/dist/icon.mjs +1 -1
  21. package/dist/{index-DwmrgZa2.d.ts → index-B70k4Jpk.d.ts} +4 -0
  22. package/dist/{index-D2E53ZMV.d.mts → index-BJJ0Gb6v.d.mts} +4 -0
  23. package/dist/{index-qmC4zt6V.d.ts → index-C2hr7zlN.d.ts} +3 -1
  24. package/dist/{index-DVlulZhE.d.mts → index-CTHpnEoB.d.mts} +3 -1
  25. package/dist/index.d.mts +2 -2
  26. package/dist/index.d.ts +2 -2
  27. package/dist/index.js +92 -22
  28. package/dist/index.js.map +1 -1
  29. package/dist/index.mjs +3 -3
  30. package/dist/ui.js +81 -70
  31. package/dist/ui.js.map +1 -1
  32. package/dist/ui.mjs +2 -2
  33. package/example/package-lock.json +2965 -0
  34. package/example/package.json +2 -1
  35. package/example/src/App.tsx +65 -60
  36. package/example/src/config/index.ts +8 -6
  37. package/example/src/pages/Wallet/index.tsx +2 -4
  38. package/example/yarn.lock +27 -2251
  39. package/package.json +3 -6
  40. package/dist/chunk-FQ6PYZPD.mjs.map +0 -1
  41. package/dist/chunk-LOZCAT7A.mjs.map +0 -1
  42. /package/dist/{chunk-JCMQBWWW.mjs.map → chunk-EAZNOQRK.mjs.map} +0 -0
package/dist/icon.mjs CHANGED
@@ -54,7 +54,7 @@ import {
54
54
  XIcon,
55
55
  XverseIcon,
56
56
  YoutubeIcon
57
- } from "./chunk-FQ6PYZPD.mjs";
57
+ } from "./chunk-7SUDHG7S.mjs";
58
58
  import "./chunk-J5LGTIGS.mjs";
59
59
  export {
60
60
  ArrowDownIcon,
@@ -92,6 +92,10 @@ declare function useUserInfo(): {
92
92
  bind: (method: LoginMethodType | "wallet", extra?: {
93
93
  [key: string]: any;
94
94
  }) => Promise<string | void | Window | null>;
95
+ bindByEmail: ({ email, code }: {
96
+ email: string;
97
+ code: string;
98
+ }) => Promise<boolean>;
95
99
  getAuthInfo: (method: keyof typeof LOGIN_METHOD_MAP) => Promise<unknown>;
96
100
  invite: (invite_code: string) => Promise<MyResponseType<any>>;
97
101
  };
@@ -92,6 +92,10 @@ declare function useUserInfo(): {
92
92
  bind: (method: LoginMethodType | "wallet", extra?: {
93
93
  [key: string]: any;
94
94
  }) => Promise<string | void | Window | null>;
95
+ bindByEmail: ({ email, code }: {
96
+ email: string;
97
+ code: string;
98
+ }) => Promise<boolean>;
95
99
  getAuthInfo: (method: keyof typeof LOGIN_METHOD_MAP) => Promise<unknown>;
96
100
  invite: (invite_code: string) => Promise<MyResponseType<any>>;
97
101
  };
@@ -3,7 +3,9 @@ import { E as EmailModalProps, b as LoginBoxProps, B as ButtonProps, O as OtherL
3
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-CvzpMw3N.js';
4
4
  import { ReactNode } from 'react';
5
5
 
6
- declare function EmailModal({ isOpen, width, onClose, onBack, onLogin }: EmailModalProps): react_jsx_runtime.JSX.Element;
6
+ declare function EmailModal({ isOpen, width, onClose, onBack, onLogin, type, }: EmailModalProps & {
7
+ type?: "login" | "bind";
8
+ }): react_jsx_runtime.JSX.Element;
7
9
 
8
10
  declare function LoginBox({ recommendMethods, methods, walletMethods, inModal }: LoginBoxProps): react_jsx_runtime.JSX.Element;
9
11
 
@@ -3,7 +3,9 @@ import { E as EmailModalProps, b as LoginBoxProps, B as ButtonProps, O as OtherL
3
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-BqI0PEIi.mjs';
4
4
  import { ReactNode } from 'react';
5
5
 
6
- declare function EmailModal({ isOpen, width, onClose, onBack, onLogin }: EmailModalProps): react_jsx_runtime.JSX.Element;
6
+ declare function EmailModal({ isOpen, width, onClose, onBack, onLogin, type, }: EmailModalProps & {
7
+ type?: "login" | "bind";
8
+ }): react_jsx_runtime.JSX.Element;
7
9
 
8
10
  declare function LoginBox({ recommendMethods, methods, walletMethods, inModal }: LoginBoxProps): react_jsx_runtime.JSX.Element;
9
11
 
package/dist/index.d.mts CHANGED
@@ -5,8 +5,8 @@ import * as wagmi_chains from 'wagmi/chains';
5
5
  import * as viem from 'viem';
6
6
  import React__default, { ReactNode } from 'react';
7
7
  import { I as IMatchEvents, L as LocaleType, a as IEnvConfigType, W as WalletConfigType } from './types-BrVeC0c8.mjs';
8
- export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-D2E53ZMV.mjs';
9
- export { i as Components } from './index-DVlulZhE.mjs';
8
+ export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-BJJ0Gb6v.mjs';
9
+ export { i as Components } from './index-CTHpnEoB.mjs';
10
10
  export { i as UI } from './index-DxHhOW24.mjs';
11
11
  export { i as Api } from './index-Car1jFyN.mjs';
12
12
  export { i as Chains } from './index-CboftuIp.mjs';
package/dist/index.d.ts CHANGED
@@ -5,8 +5,8 @@ import * as wagmi_chains from 'wagmi/chains';
5
5
  import * as viem from 'viem';
6
6
  import React__default, { ReactNode } from 'react';
7
7
  import { I as IMatchEvents, L as LocaleType, a as IEnvConfigType, W as WalletConfigType } from './types-BrVeC0c8.js';
8
- export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-DwmrgZa2.js';
9
- export { i as Components } from './index-qmC4zt6V.js';
8
+ export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-B70k4Jpk.js';
9
+ export { i as Components } from './index-C2hr7zlN.js';
10
10
  export { i as UI } from './index-Cqdz_5bE.js';
11
11
  export { i as Api } from './index-CcVHENNv.js';
12
12
  export { i as Chains } from './index-CboftuIp.js';
package/dist/index.js CHANGED
@@ -2171,6 +2171,12 @@ var useWalletModalStore = (0, import_zustand2.create)((set) => ({
2171
2171
  open: (type, methods = DEFAULT_WALLET_METHODS) => set({ isOpen: true, type, methods }),
2172
2172
  close: () => set({ isOpen: false })
2173
2173
  }));
2174
+ var useEmailModalStore = (0, import_zustand2.create)((set) => ({
2175
+ isOpen: false,
2176
+ type: "",
2177
+ open: (type) => set({ isOpen: true, type }),
2178
+ close: () => set({ isOpen: false })
2179
+ }));
2174
2180
 
2175
2181
  // src/store/useStore.ts
2176
2182
  var import_zustand3 = require("zustand");
@@ -2208,6 +2214,7 @@ function useUserInfo() {
2208
2214
  const { open: BTCOpen } = useBTCModalStore();
2209
2215
  const { open: CEXBindOpen } = useCEXBindModalStore();
2210
2216
  const walletModalStore = useWalletModalStore();
2217
+ const emailModalStore = useEmailModalStore();
2211
2218
  const getRedirectUri = () => {
2212
2219
  return encodeURIComponent(window.location.href);
2213
2220
  };
@@ -2300,8 +2307,8 @@ function useUserInfo() {
2300
2307
  case "discord":
2301
2308
  case "github":
2302
2309
  case "linkedin":
2303
- case "kakao":
2304
2310
  case "facebook":
2311
+ case "kakao":
2305
2312
  return await loginByMethod(method);
2306
2313
  default:
2307
2314
  throw new Error("unsupported method");
@@ -2386,6 +2393,8 @@ function useUserInfo() {
2386
2393
  return TONOpen("bind");
2387
2394
  case "btc":
2388
2395
  return BTCOpen("bind");
2396
+ case "email":
2397
+ return emailModalStore.open("bind");
2389
2398
  case "telegram":
2390
2399
  return await bindTelegram();
2391
2400
  case "twitter":
@@ -2395,6 +2404,7 @@ function useUserInfo() {
2395
2404
  case "linkedin":
2396
2405
  case "facebook":
2397
2406
  case "youtube":
2407
+ case "kakao":
2398
2408
  const link = `${endpoints.back}api/v1/auth/${method == "youtube" ? "google" : method}?appid=${appid}&provider=${method == "youtube" ? "google" : method}&redirect=${encodeURIComponent(endpoints.auth + "bind/" + method)}&authorization=${token.includes("Bearer ") ? token.split(" ")[1] : token}${method == "youtube" ? "&auth_type=youtube" : ""}`;
2399
2409
  matchlog_default.log("link", link);
2400
2410
  return window.open(
@@ -2409,6 +2419,31 @@ function useUserInfo() {
2409
2419
  const bindCex = (type) => {
2410
2420
  return CEXBindOpen(type);
2411
2421
  };
2422
+ const bindByEmail = async ({ email, code }) => {
2423
+ try {
2424
+ const obj = {
2425
+ email,
2426
+ verification_key: emailLoginKey,
2427
+ verification_code: code
2428
+ };
2429
+ const res = await verifyEmailCodeApi(obj);
2430
+ if (res && res.data && isSuccess(res)) {
2431
+ events && events.onBind && events.onBind({
2432
+ type: "email"
2433
+ });
2434
+ eventManager_default.emit("onBind", {
2435
+ type: "email"
2436
+ });
2437
+ return true;
2438
+ } else {
2439
+ throw new Error(res.message);
2440
+ }
2441
+ } catch (error) {
2442
+ console.error("bindByEmail", error);
2443
+ throw error;
2444
+ }
2445
+ return false;
2446
+ };
2412
2447
  const getAuthInfo = async (method) => {
2413
2448
  const element_id = "auth_iframe";
2414
2449
  if (document.getElementById(element_id)) {
@@ -2477,6 +2512,7 @@ function useUserInfo() {
2477
2512
  auth,
2478
2513
  login: loginMethod,
2479
2514
  bind,
2515
+ bindByEmail,
2480
2516
  getAuthInfo,
2481
2517
  invite
2482
2518
  };
@@ -2799,9 +2835,12 @@ function StepEmail(props) {
2799
2835
  value: emailVal
2800
2836
  }
2801
2837
  ) }),
2802
- /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(Button, { disabled: !canContinue, style: {
2838
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsxs)(Button, { disabled: !canContinue, style: {
2803
2839
  marginTop: "64px"
2804
- }, onClick: onContinue, size: "lg", block: true, highlight: true, children: /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_react_intl.FormattedMessage, { id: "continue" }) })
2840
+ }, onClick: onContinue, size: "lg", block: true, highlight: true, children: [
2841
+ "99999",
2842
+ /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(import_react_intl.FormattedMessage, { id: "continue" })
2843
+ ] })
2805
2844
  ] });
2806
2845
  }
2807
2846
 
@@ -2820,7 +2859,7 @@ var import_react_intl2 = require("react-intl");
2820
2859
  var import_jsx_runtime64 = require("react/jsx-runtime");
2821
2860
  function StepVerify(props) {
2822
2861
  const intl = (0, import_react_intl2.useIntl)();
2823
- const { getLoginEmailCode, loginByEmail } = useUserInfo();
2862
+ const { getLoginEmailCode, loginByEmail, bindByEmail } = useUserInfo();
2824
2863
  const [error, setError] = (0, import_react7.useState)("");
2825
2864
  const [code, setCode] = (0, import_react7.useState)("");
2826
2865
  const [sending, setSending] = (0, import_react7.useState)(false);
@@ -2880,7 +2919,10 @@ function StepVerify(props) {
2880
2919
  try {
2881
2920
  setError("");
2882
2921
  setSubmitting(true);
2883
- const res = await loginByEmail({
2922
+ const res = props.type === "bind" ? await bindByEmail({
2923
+ email: props.email,
2924
+ code
2925
+ }) : await loginByEmail({
2884
2926
  email: props.email,
2885
2927
  code
2886
2928
  });
@@ -2945,7 +2987,8 @@ function EmailModal({
2945
2987
  width = 480,
2946
2988
  onClose,
2947
2989
  onBack,
2948
- onLogin
2990
+ onLogin,
2991
+ type = "login"
2949
2992
  }) {
2950
2993
  const [step, setStep] = (0, import_react8.useState)("input");
2951
2994
  const [emailVal, setEmailVal] = (0, import_react8.useState)("");
@@ -2969,7 +3012,7 @@ function EmailModal({
2969
3012
  children: step === "input" ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(StepEmail, { email: emailVal, onContinue: (email) => {
2970
3013
  setEmailVal(email);
2971
3014
  setStep("verify");
2972
- } }) : /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(StepVerify, { email: emailVal, onSuccess: onLogin })
3015
+ } }) : /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(StepVerify, { type, email: emailVal, onSuccess: onLogin })
2973
3016
  }
2974
3017
  );
2975
3018
  }
@@ -3098,7 +3141,7 @@ function LoginBox({
3098
3141
  }
3099
3142
  return p.toLowerCase();
3100
3143
  });
3101
- console.log("platform2", platform);
3144
+ console.log("platform", platform);
3102
3145
  const walletMethodList = WALLET_METHODS.filter((m) => platform.includes(m));
3103
3146
  let recommendMethodList = walletMethodList.length > 0 ? ["wallet"] : [];
3104
3147
  let methodList = [];
@@ -7665,7 +7708,7 @@ function CEXBindModal({
7665
7708
  const [secret, setSecret] = (0, import_react39.useState)("");
7666
7709
  const [error, setError] = (0, import_react39.useState)("");
7667
7710
  const needPassphrase = (0, import_react39.useMemo)(() => {
7668
- return ["bitget", "okx"].includes(type.toLowerCase());
7711
+ return ["bitget", "okx", "kucoin"].includes(type.toLowerCase());
7669
7712
  }, [type]);
7670
7713
  (0, import_react39.useEffect)(() => {
7671
7714
  if (isOpen) {
@@ -7761,7 +7804,25 @@ function CEXBindModal({
7761
7804
 
7762
7805
  // src/context/BusinessProvider.tsx
7763
7806
  var import_react_query9 = require("@tanstack/react-query");
7807
+
7808
+ // src/components/BindEmailModal/index.tsx
7764
7809
  var import_jsx_runtime102 = require("react/jsx-runtime");
7810
+ var BindEmailModal = ({ isOpen, onClose, onBack, onLogin }) => {
7811
+ return /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
7812
+ EmailModal,
7813
+ {
7814
+ type: "bind",
7815
+ isOpen,
7816
+ onClose,
7817
+ onBack,
7818
+ onLogin
7819
+ }
7820
+ );
7821
+ };
7822
+ var BindEmailModal_default = BindEmailModal;
7823
+
7824
+ // src/context/BusinessProvider.tsx
7825
+ var import_jsx_runtime103 = require("react/jsx-runtime");
7765
7826
  function BusinessProvider({ children }) {
7766
7827
  const { overview, token } = useUserInfo();
7767
7828
  const { type: EVMType, isOpen: EVMIsOpen, close: EVMClose } = useEVMModalStore();
@@ -7769,6 +7830,7 @@ function BusinessProvider({ children }) {
7769
7830
  const { type: TRONType, isOpen: TRONIsOpen, close: TRONClose } = useTRONModalStore();
7770
7831
  const { type: BTCType, isOpen: BTCIsOpen, close: BTCClose } = useBTCModalStore();
7771
7832
  const { type: CEXType, isOpen: CEXIsOpen, close: CEXClose } = useCEXBindModalStore();
7833
+ const { type: EmailType, isOpen: EmailIsOpen, close: EmailClose } = useEmailModalStore();
7772
7834
  const WalletModalStore = useWalletModalStore();
7773
7835
  const { tgAppAuthCode, setTgAppAuthCode } = useStore_default();
7774
7836
  const { login } = useMatch();
@@ -7795,8 +7857,8 @@ function BusinessProvider({ children }) {
7795
7857
  enabled: !!tgAppAuthCode,
7796
7858
  refetchInterval: 1e3 * 5
7797
7859
  });
7798
- return /* @__PURE__ */ (0, import_jsx_runtime102.jsxs)(import_jsx_runtime102.Fragment, { children: [
7799
- /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
7860
+ return /* @__PURE__ */ (0, import_jsx_runtime103.jsxs)(import_jsx_runtime103.Fragment, { children: [
7861
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
7800
7862
  EVMModal,
7801
7863
  {
7802
7864
  isOpen: EVMIsOpen && (EVMType == "login" && !overview && !token || EVMType == "bind" && !!token && !!overview),
@@ -7806,7 +7868,7 @@ function BusinessProvider({ children }) {
7806
7868
  zIndex: 199
7807
7869
  }
7808
7870
  ),
7809
- /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
7871
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
7810
7872
  TRONModal,
7811
7873
  {
7812
7874
  isOpen: TRONIsOpen && (TRONType == "login" && !overview && !token || TRONType == "bind" && !!token && !!overview),
@@ -7816,7 +7878,7 @@ function BusinessProvider({ children }) {
7816
7878
  zIndex: 199
7817
7879
  }
7818
7880
  ),
7819
- /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
7881
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
7820
7882
  TONModal,
7821
7883
  {
7822
7884
  isOpen: TONIsOpen && (TONType == "login" && !overview && !token || TONType == "bind" && !!token && !!overview),
@@ -7826,7 +7888,7 @@ function BusinessProvider({ children }) {
7826
7888
  zIndex: 199
7827
7889
  }
7828
7890
  ),
7829
- /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
7891
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
7830
7892
  BTCModal,
7831
7893
  {
7832
7894
  isOpen: BTCIsOpen && (BTCType == "login" && !overview && !token || BTCType == "bind" && !!token && !!overview),
@@ -7836,7 +7898,7 @@ function BusinessProvider({ children }) {
7836
7898
  zIndex: 199
7837
7899
  }
7838
7900
  ),
7839
- /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
7901
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
7840
7902
  CEXBindModal,
7841
7903
  {
7842
7904
  isOpen: CEXIsOpen && (!!token && !!overview),
@@ -7845,7 +7907,7 @@ function BusinessProvider({ children }) {
7845
7907
  zIndex: 199
7846
7908
  }
7847
7909
  ),
7848
- /* @__PURE__ */ (0, import_jsx_runtime102.jsx)(
7910
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
7849
7911
  WalletModal,
7850
7912
  {
7851
7913
  isOpen: WalletModalStore.isOpen && (WalletModalStore.type == "login" && !overview && !token || WalletModalStore.type == "bind" && !!token && !!overview),
@@ -7855,14 +7917,22 @@ function BusinessProvider({ children }) {
7855
7917
  zIndex: 150
7856
7918
  }
7857
7919
  ),
7920
+ /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(
7921
+ BindEmailModal_default,
7922
+ {
7923
+ isOpen: EmailIsOpen && (EmailType == "bind" && !!token && !!overview),
7924
+ onClose: EmailClose,
7925
+ onLogin: EmailClose
7926
+ }
7927
+ ),
7858
7928
  children
7859
7929
  ] });
7860
7930
  }
7861
7931
 
7862
7932
  // src/context/index.tsx
7863
- var import_jsx_runtime103 = require("react/jsx-runtime");
7933
+ var import_jsx_runtime104 = require("react/jsx-runtime");
7864
7934
  var Providers = ({ children }) => {
7865
- return /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(ToastProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(ModalProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime103.jsx)(BusinessProvider, { children }) }) });
7935
+ return /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(ToastProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(ModalProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(BusinessProvider, { children }) }) });
7866
7936
  };
7867
7937
  var context_default = Providers;
7868
7938
 
@@ -8336,7 +8406,7 @@ var en_default = {
8336
8406
  noMore: "No more",
8337
8407
  Remove: "Remove",
8338
8408
  removeSuccess: "Remove Successfully",
8339
- loginAgreement: "By logging in, you agree to our <termsLink>Terms of Service</termsLink> and <privacyLink>Privacy Policy</privacyLink>",
8409
+ loginAgreement: "By login, you agree to our <termsLink>Terms of Service</termsLink> and <privacyLink>Privacy Policy</privacyLink>",
8340
8410
  poweredBy: "Powered by"
8341
8411
  };
8342
8412
 
@@ -9142,7 +9212,7 @@ var matchTest = /* @__PURE__ */ (0, import_viem17.defineChain)({
9142
9212
 
9143
9213
  // src/MatchContext.tsx
9144
9214
  var import_wagmi3 = require("wagmi");
9145
- var import_jsx_runtime104 = require("react/jsx-runtime");
9215
+ var import_jsx_runtime105 = require("react/jsx-runtime");
9146
9216
  var queryClient = new import_react_query10.QueryClient();
9147
9217
  var wagmiConfig = (0, import_rainbowkit2.getDefaultConfig)({
9148
9218
  appName: "MatchID",
@@ -9181,7 +9251,7 @@ var MatchProvider = ({
9181
9251
  useWalletInit({
9182
9252
  config: wallet
9183
9253
  });
9184
- return /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_react_intl23.IntlProvider, { locale: realLocale, messages: messages[realLocale], children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_wagmi3.WagmiProvider, { config: wagmiConfig, children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(import_react_query10.QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(
9254
+ return /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_react_intl23.IntlProvider, { locale: realLocale, messages: messages[realLocale], children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_wagmi3.WagmiProvider, { config: wagmiConfig, children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(import_react_query10.QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(
9185
9255
  MatchContext.Provider,
9186
9256
  {
9187
9257
  value: {
@@ -9192,7 +9262,7 @@ var MatchProvider = ({
9192
9262
  theme,
9193
9263
  locale: realLocale
9194
9264
  },
9195
- children: /* @__PURE__ */ (0, import_jsx_runtime104.jsx)(context_default, { children })
9265
+ children: /* @__PURE__ */ (0, import_jsx_runtime105.jsx)(context_default, { children })
9196
9266
  }
9197
9267
  ) }) }) });
9198
9268
  };