@matchain/matchid-sdk-react 0.1.44-alpha.0 → 0.1.44-alpha.2

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-KITTHHSR.mjs";
7
+ } from "../chunk-7P4NHPH5.mjs";
8
8
  import "../chunk-SQIJR7RA.mjs";
9
9
  import "../chunk-DPXMCLYK.mjs";
10
10
  import "../chunk-J5LGTIGS.mjs";
package/dist/index.css CHANGED
@@ -371,8 +371,7 @@ body {
371
371
  backdrop-filter: blur(2px);
372
372
  background: rgba(0, 0, 0, .3);
373
373
  @media screen and (max-width: 768px) {
374
- align-items: flex-end;
375
- padding-bottom: calc(32px + env(safe-area-inset-bottom));
374
+ align-items: center;
376
375
  }
377
376
  }
378
377
 
package/dist/index.js CHANGED
@@ -4747,7 +4747,7 @@ function HashPanel_default(props) {
4747
4747
  var import_jsx_runtime74 = require("react/jsx-runtime");
4748
4748
  function BusinessProvider({ children }) {
4749
4749
  const { overview, token, refreshOverview } = useUserInfo();
4750
- const { recoveryModal } = useStore_default();
4750
+ const { recoveryModal, walletReady } = useStore_default();
4751
4751
  const { wallet: walletConfig } = useLocalStore_default();
4752
4752
  const { generateEmbeddedWallets, initCore } = useWallet();
4753
4753
  const { type: SOLType, isOpen: SOLIsOpen, close: SOLClose } = useSOLModalStore();
@@ -4758,7 +4758,7 @@ function BusinessProvider({ children }) {
4758
4758
  const WalletModalStore = useWalletModalStore();
4759
4759
  const { close: HashPanelClose, ...hashPanelProps } = useHashPanelStore();
4760
4760
  (0, import_react27.useEffect)(() => {
4761
- if (token && overview && !overview.address && overview.did && walletConfig.type == "Base") {
4761
+ if (token && overview && !overview.address && overview.did && walletConfig.type == "Base" && walletReady) {
4762
4762
  const onGenerate = async () => {
4763
4763
  const did = overview ? overview.did.split(":")[2] : "";
4764
4764
  await initCore({
@@ -4774,7 +4774,7 @@ function BusinessProvider({ children }) {
4774
4774
  };
4775
4775
  onGenerate();
4776
4776
  }
4777
- }, [token, overview, walletConfig]);
4777
+ }, [token, overview, walletConfig, walletReady]);
4778
4778
  const walletModalClose = (func) => {
4779
4779
  WalletModalStore.close();
4780
4780
  func();