@matchain/matchid-sdk-react 0.1.42-alpha.6 → 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-MRGV6YS3.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,19 +5591,45 @@ var MatchProvider = ({
5591
5591
  theme = "light",
5592
5592
  endpoints,
5593
5593
  locale,
5594
- wallet = {
5595
- type: "UserPasscode"
5596
- }
5594
+ wallet
5597
5595
  }) => {
5598
- const { loadOverview, login, endpoints: realEndPoints, locale: realLocale } = useInit({
5596
+ const { login, endpoints: realEndPoints, locale: realLocale } = useInit({
5599
5597
  theme,
5600
5598
  appid,
5601
5599
  events,
5602
5600
  endpoints,
5603
5601
  locale
5604
5602
  });
5603
+ matchlog_default.log("config", {
5604
+ appid,
5605
+ events,
5606
+ theme,
5607
+ endpoints,
5608
+ locale,
5609
+ wallet
5610
+ });
5611
+ (0, import_react30.useEffect)(() => {
5612
+ console.log("appid", appid);
5613
+ }, [appid]);
5614
+ (0, import_react30.useEffect)(() => {
5615
+ console.log("events", events);
5616
+ }, [events]);
5617
+ (0, import_react30.useEffect)(() => {
5618
+ console.log("theme", theme);
5619
+ }, [theme]);
5620
+ (0, import_react30.useEffect)(() => {
5621
+ console.log("endpoints", endpoints);
5622
+ }, [endpoints]);
5623
+ (0, import_react30.useEffect)(() => {
5624
+ console.log("locale", locale);
5625
+ }, [locale]);
5626
+ (0, import_react30.useEffect)(() => {
5627
+ console.log("wallet", wallet);
5628
+ }, [wallet]);
5605
5629
  useWalletInit({
5606
- config: wallet
5630
+ config: wallet || {
5631
+ type: "UserPasscode"
5632
+ }
5607
5633
  });
5608
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)(
5609
5635
  MatchContext.Provider,