@matchain/matchid-sdk-react 0.1.40-alpha.2 → 0.1.40-alpha.3

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.
@@ -2885,9 +2885,6 @@ function useWalletInit({
2885
2885
  document.body.insertBefore(iframe, document.body.firstChild);
2886
2886
  window.sendMatchWalletMessage = (method, data, retry = 5, times = 0) => {
2887
2887
  try {
2888
- if (!iframeLoaded) {
2889
- throw new Error("Wallet not ready");
2890
- }
2891
2888
  if (!walletInited) {
2892
2889
  throw new Error("Wallet not inited");
2893
2890
  }
@@ -2895,7 +2892,7 @@ function useWalletInit({
2895
2892
  throw new Error("Wallet not found");
2896
2893
  }
2897
2894
  } catch (error) {
2898
- console.error(`wallet init[${retry}/${times}]`, error);
2895
+ console.error(`wallet init[${times}/${retry}]`, error);
2899
2896
  if (times < retry) {
2900
2897
  setTimeout(() => {
2901
2898
  window.sendMatchWalletMessage(method, data, retry, times + 1);
@@ -3923,4 +3920,4 @@ export {
3923
3920
  MatchProvider,
3924
3921
  useMatch
3925
3922
  };
3926
- //# sourceMappingURL=chunk-3CHFSRD3.mjs.map
3923
+ //# sourceMappingURL=chunk-XXZABHH6.mjs.map