@matchain/matchid-sdk-react 0.1.55 → 0.1.56-alpha.0

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/api.mjs CHANGED
@@ -2,11 +2,11 @@ import {
2
2
  bind_exports,
3
3
  poh_exports,
4
4
  user_exports
5
- } from "./chunk-6PWLEXC3.mjs";
5
+ } from "./chunk-SG45XKMV.mjs";
6
6
  import {
7
7
  isSuccess,
8
8
  wallet_exports
9
- } from "./chunk-PAXASLBR.mjs";
9
+ } from "./chunk-FGJ25ONR.mjs";
10
10
  import "./chunk-JX73EY6V.mjs";
11
11
  import "./chunk-UA6XHZHX.mjs";
12
12
  import "./chunk-IZOOVZAD.mjs";
@@ -4365,7 +4365,7 @@ var messages = {
4365
4365
  };
4366
4366
 
4367
4367
  // src/MatchContext.tsx
4368
- import { getDefaultConfig, RainbowKitProvider } from "@rainbow-me/rainbowkit";
4368
+ import { getDefaultConfig } from "@rainbow-me/rainbowkit";
4369
4369
  import {
4370
4370
  bitgetWallet,
4371
4371
  injectedWallet,
@@ -4414,7 +4414,7 @@ var MatchProvider = ({
4414
4414
  useWalletInit({
4415
4415
  config: wallet
4416
4416
  });
4417
- return /* @__PURE__ */ jsx26(IntlProvider, { locale: realLocale, messages: messages[realLocale], children: /* @__PURE__ */ jsx26(WagmiProvider, { config: wagmiConfig, children: /* @__PURE__ */ jsx26(QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ jsx26(RainbowKitProvider, { children: /* @__PURE__ */ jsx26(
4417
+ return /* @__PURE__ */ jsx26(IntlProvider, { locale: realLocale, messages: messages[realLocale], children: /* @__PURE__ */ jsx26(WagmiProvider, { config: wagmiConfig, children: /* @__PURE__ */ jsx26(QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ jsx26(
4418
4418
  MatchContext.Provider,
4419
4419
  {
4420
4420
  value: {
@@ -4427,7 +4427,7 @@ var MatchProvider = ({
4427
4427
  },
4428
4428
  children: /* @__PURE__ */ jsx26(context_default, { children })
4429
4429
  }
4430
- ) }) }) }) });
4430
+ ) }) }) });
4431
4431
  };
4432
4432
  var useMatch = () => {
4433
4433
  const context = useContext3(MatchContext);
@@ -5627,7 +5627,7 @@ function WalletModalContentV2(props) {
5627
5627
  }
5628
5628
 
5629
5629
  // src/components/EVMModal/index.tsx
5630
- import { useConnectModal } from "@rainbow-me/rainbowkit";
5630
+ import { RainbowKitProvider as RainbowKitProvider2, useConnectModal } from "@rainbow-me/rainbowkit";
5631
5631
  import { useAccount, useChainId, useConfig, useDisconnect } from "wagmi";
5632
5632
 
5633
5633
  // src/hooks/useWalletBox.ts
@@ -6077,7 +6077,7 @@ function EVMConnectModal({
6077
6077
  }), children: /* @__PURE__ */ jsx37(WalletContent, { onSuccess, type }) });
6078
6078
  }
6079
6079
  function EVMModal(props) {
6080
- return props.isOpen && /* @__PURE__ */ jsx37(EVMConnectModal, { ...props });
6080
+ return props.isOpen && /* @__PURE__ */ jsx37(RainbowKitProvider2, { children: /* @__PURE__ */ jsx37(EVMConnectModal, { ...props }) });
6081
6081
  }
6082
6082
 
6083
6083
  // src/components/TRONModal/index.tsx
@@ -7618,4 +7618,4 @@ export {
7618
7618
  MatchProvider,
7619
7619
  useMatch
7620
7620
  };
7621
- //# sourceMappingURL=chunk-PAXASLBR.mjs.map
7621
+ //# sourceMappingURL=chunk-FGJ25ONR.mjs.map