@matchain/matchid-sdk-react 0.1.42-alpha.7 → 0.1.42-alpha.8

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.
@@ -4,7 +4,7 @@ import {
4
4
  useMatchEvents,
5
5
  useUserInfo,
6
6
  useWallet
7
- } from "../chunk-3IT55D2W.mjs";
7
+ } from "../chunk-FXRUBZOM.mjs";
8
8
  import "../chunk-SQIJR7RA.mjs";
9
9
  import "../chunk-DPXMCLYK.mjs";
10
10
  import "../chunk-J5LGTIGS.mjs";
package/dist/index.js CHANGED
@@ -5591,9 +5591,7 @@ var MatchProvider = ({
5591
5591
  theme = "light",
5592
5592
  endpoints,
5593
5593
  locale,
5594
- wallet = {
5595
- type: "UserPasscode"
5596
- }
5594
+ wallet
5597
5595
  }) => {
5598
5596
  const { login, endpoints: realEndPoints, locale: realLocale } = useInit({
5599
5597
  theme,
@@ -5629,7 +5627,9 @@ var MatchProvider = ({
5629
5627
  console.log("wallet", wallet);
5630
5628
  }, [wallet]);
5631
5629
  useWalletInit({
5632
- config: wallet
5630
+ config: wallet || {
5631
+ type: "UserPasscode"
5632
+ }
5633
5633
  });
5634
5634
  return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_react_intl16.IntlProvider, { locale: realLocale, messages: messages[realLocale], children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_react_query2.QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(
5635
5635
  MatchContext.Provider,