@matchain/matchid-sdk-react 0.1.42-alpha.7 → 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-3IT55D2W.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
@@ -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,
@@ -5610,24 +5608,6 @@ var MatchProvider = ({
5610
5608
  locale,
5611
5609
  wallet
5612
5610
  });
5613
- (0, import_react30.useEffect)(() => {
5614
- console.log("appid", appid);
5615
- }, [appid]);
5616
- (0, import_react30.useEffect)(() => {
5617
- console.log("events", events);
5618
- }, [events]);
5619
- (0, import_react30.useEffect)(() => {
5620
- console.log("theme", theme);
5621
- }, [theme]);
5622
- (0, import_react30.useEffect)(() => {
5623
- console.log("endpoints", endpoints);
5624
- }, [endpoints]);
5625
- (0, import_react30.useEffect)(() => {
5626
- console.log("locale", locale);
5627
- }, [locale]);
5628
- (0, import_react30.useEffect)(() => {
5629
- console.log("wallet", wallet);
5630
- }, [wallet]);
5631
5611
  useWalletInit({
5632
5612
  config: wallet
5633
5613
  });