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

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-FXRUBZOM.mjs";
7
+ } from "../chunk-HXXIG4ZO.mjs";
8
8
  import "../chunk-SQIJR7RA.mjs";
9
9
  import "../chunk-DPXMCLYK.mjs";
10
10
  import "../chunk-J5LGTIGS.mjs";
package/dist/index.d.mts CHANGED
@@ -30,7 +30,7 @@ declare const MatchProvider: React.FC<{
30
30
  theme?: "light" | "dark";
31
31
  endpoints?: IEnvConfigType['endpoints'];
32
32
  locale?: LocaleType;
33
- wallet?: WalletConfigType;
33
+ wallet: WalletConfigType;
34
34
  }>;
35
35
  declare const useMatch: () => MatchContextType;
36
36
 
package/dist/index.d.ts CHANGED
@@ -30,7 +30,7 @@ declare const MatchProvider: React.FC<{
30
30
  theme?: "light" | "dark";
31
31
  endpoints?: IEnvConfigType['endpoints'];
32
32
  locale?: LocaleType;
33
- wallet?: WalletConfigType;
33
+ wallet: WalletConfigType;
34
34
  }>;
35
35
  declare const useMatch: () => MatchContextType;
36
36
 
package/dist/index.js CHANGED
@@ -5608,28 +5608,8 @@ var MatchProvider = ({
5608
5608
  locale,
5609
5609
  wallet
5610
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]);
5629
5611
  useWalletInit({
5630
- config: wallet || {
5631
- type: "UserPasscode"
5632
- }
5612
+ config: wallet
5633
5613
  });
5634
5614
  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
5615
  MatchContext.Provider,