@matchain/matchid-sdk-react 0.1.53-alpha.5 → 0.1.53-alpha.6

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.
@@ -12,7 +12,7 @@ import {
12
12
  useTransaction,
13
13
  useUserInfo,
14
14
  useWallet
15
- } from "../chunk-LEHYGXVJ.mjs";
15
+ } from "../chunk-Z7DMYFH5.mjs";
16
16
  import "../chunk-UA6XHZHX.mjs";
17
17
  import "../chunk-OCQ2AIM3.mjs";
18
18
  import {
package/dist/index.js CHANGED
@@ -4780,7 +4780,7 @@ function WalletContent({
4780
4780
  } catch (error2) {
4781
4781
  console.error("signature", error2);
4782
4782
  setStatus("error");
4783
- setError(error2.message);
4783
+ setError(error2.reason || error2.message);
4784
4784
  }
4785
4785
  }, [nonce, status, address]);
4786
4786
  (0, import_react23.useEffect)(() => {
@@ -7413,7 +7413,7 @@ function BusinessProvider({ children }) {
7413
7413
  isOpen: EVMIsOpen && (EVMType == "login" && !overview && !token || EVMType == "bind" && !!token && !!overview),
7414
7414
  onClose: EVMClose,
7415
7415
  type: EVMType,
7416
- onSuccess: EVMClose,
7416
+ onSuccess: () => walletModalClose(EVMClose),
7417
7417
  zIndex: 199
7418
7418
  }
7419
7419
  ),