@matchain/matchid-sdk-react 0.1.55 → 0.1.56-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.
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-VRU6XRSC.mjs";
6
6
  import {
7
7
  isSuccess,
8
8
  wallet_exports
9
- } from "./chunk-PAXASLBR.mjs";
9
+ } from "./chunk-43Y3F6GB.mjs";
10
10
  import "./chunk-JX73EY6V.mjs";
11
11
  import "./chunk-UA6XHZHX.mjs";
12
12
  import "./chunk-IZOOVZAD.mjs";
@@ -858,6 +858,7 @@ import { createContext as createContext3, useContext as useContext3 } from "reac
858
858
  var hooks_exports = {};
859
859
  __export(hooks_exports, {
860
860
  useCopyClipboard: () => useCopyClipboard,
861
+ useHash: () => useHash,
861
862
  useLayout: () => useLayout_exports,
862
863
  useMatchChain: () => useMatchChain,
863
864
  useMatchEvents: () => useMatchEvents,
@@ -4365,7 +4366,7 @@ var messages = {
4365
4366
  };
4366
4367
 
4367
4368
  // src/MatchContext.tsx
4368
- import { getDefaultConfig, RainbowKitProvider } from "@rainbow-me/rainbowkit";
4369
+ import { getDefaultConfig } from "@rainbow-me/rainbowkit";
4369
4370
  import {
4370
4371
  bitgetWallet,
4371
4372
  injectedWallet,
@@ -4414,7 +4415,7 @@ var MatchProvider = ({
4414
4415
  useWalletInit({
4415
4416
  config: wallet
4416
4417
  });
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(
4418
+ 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
4419
  MatchContext.Provider,
4419
4420
  {
4420
4421
  value: {
@@ -4427,7 +4428,7 @@ var MatchProvider = ({
4427
4428
  },
4428
4429
  children: /* @__PURE__ */ jsx26(context_default, { children })
4429
4430
  }
4430
- ) }) }) }) });
4431
+ ) }) }) });
4431
4432
  };
4432
4433
  var useMatch = () => {
4433
4434
  const context = useContext3(MatchContext);
@@ -5627,7 +5628,7 @@ function WalletModalContentV2(props) {
5627
5628
  }
5628
5629
 
5629
5630
  // src/components/EVMModal/index.tsx
5630
- import { useConnectModal } from "@rainbow-me/rainbowkit";
5631
+ import { RainbowKitProvider as RainbowKitProvider2, useConnectModal } from "@rainbow-me/rainbowkit";
5631
5632
  import { useAccount, useChainId, useConfig, useDisconnect } from "wagmi";
5632
5633
 
5633
5634
  // src/hooks/useWalletBox.ts
@@ -6077,7 +6078,7 @@ function EVMConnectModal({
6077
6078
  }), children: /* @__PURE__ */ jsx37(WalletContent, { onSuccess, type }) });
6078
6079
  }
6079
6080
  function EVMModal(props) {
6080
- return props.isOpen && /* @__PURE__ */ jsx37(EVMConnectModal, { ...props });
6081
+ return props.isOpen && /* @__PURE__ */ jsx37(RainbowKitProvider2, { children: /* @__PURE__ */ jsx37(EVMConnectModal, { ...props }) });
6081
6082
  }
6082
6083
 
6083
6084
  // src/components/TRONModal/index.tsx
@@ -7585,6 +7586,7 @@ export {
7585
7586
  TokenSend,
7586
7587
  TokenDetail,
7587
7588
  TokenSendList,
7589
+ useHash,
7588
7590
  TransactionList,
7589
7591
  components_exports,
7590
7592
  Modal,
@@ -7618,4 +7620,4 @@ export {
7618
7620
  MatchProvider,
7619
7621
  useMatch
7620
7622
  };
7621
- //# sourceMappingURL=chunk-PAXASLBR.mjs.map
7623
+ //# sourceMappingURL=chunk-43Y3F6GB.mjs.map