@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.
@@ -11,7 +11,7 @@ import {
11
11
  useUserInfo,
12
12
  verifyPohApi,
13
13
  wallet_exports
14
- } from "./chunk-LEHYGXVJ.mjs";
14
+ } from "./chunk-Z7DMYFH5.mjs";
15
15
  import {
16
16
  __export
17
17
  } from "./chunk-J5LGTIGS.mjs";
@@ -94,4 +94,4 @@ export {
94
94
  user_exports,
95
95
  api_exports
96
96
  };
97
- //# sourceMappingURL=chunk-RT42O3OC.mjs.map
97
+ //# sourceMappingURL=chunk-UDXKFDXO.mjs.map
@@ -2495,7 +2495,7 @@ function BusinessProvider({ children }) {
2495
2495
  isOpen: EVMIsOpen && (EVMType == "login" && !overview && !token || EVMType == "bind" && !!token && !!overview),
2496
2496
  onClose: EVMClose,
2497
2497
  type: EVMType,
2498
- onSuccess: EVMClose,
2498
+ onSuccess: () => walletModalClose(EVMClose),
2499
2499
  zIndex: 199
2500
2500
  }
2501
2501
  ),
@@ -5299,7 +5299,7 @@ function WalletContent({
5299
5299
  } catch (error2) {
5300
5300
  console.error("signature", error2);
5301
5301
  setStatus("error");
5302
- setError(error2.message);
5302
+ setError(error2.reason || error2.message);
5303
5303
  }
5304
5304
  }, [nonce, status, address]);
5305
5305
  useEffect18(() => {
@@ -6907,4 +6907,4 @@ export {
6907
6907
  MatchProvider,
6908
6908
  useMatch
6909
6909
  };
6910
- //# sourceMappingURL=chunk-LEHYGXVJ.mjs.map
6910
+ //# sourceMappingURL=chunk-Z7DMYFH5.mjs.map