@matchain/matchid-sdk-react 0.1.35 → 0.1.37-alpha.0

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.
package/dist/index.css CHANGED
@@ -51,7 +51,7 @@ body {
51
51
  --matchid-modal-border-color: var(--matchid-white);
52
52
  --matchid-modal-round: var(--matchid-round-lg);
53
53
  --matchid-modal-padding: var(--matchid-padding-lg);
54
- --matchid-mobile-modal-padding: var(20px);
54
+ --matchid-mobile-modal-padding: 20px;
55
55
 
56
56
  --matchid-modal-header-border-color: var(--matchid-line);
57
57
  --matchid-modal-header-color: var(--matchid-text-color);
@@ -400,7 +400,6 @@ body {
400
400
 
401
401
  .matchid-modal-header {
402
402
  padding-bottom: 24px;
403
- margin-bottom: 24px;
404
403
  height: 54px;
405
404
  display: flex;
406
405
  align-items: center;
@@ -413,6 +412,7 @@ body {
413
412
 
414
413
  &.matchid-modal-header-border {
415
414
  border-bottom: 1px solid var(--matchid-modal-header-border-color, #E3E3E3);
415
+ margin-bottom: 24px;
416
416
  }
417
417
 
418
418
  .matchid-modal-header-back, .matchid-modal-header-close {
package/dist/index.js CHANGED
@@ -2879,6 +2879,9 @@ function useWalletInit({
2879
2879
  iframe.style.display = "none";
2880
2880
  iframe.style.width = "0";
2881
2881
  iframe.style.height = "0";
2882
+ iframe.onerror = (e) => {
2883
+ console.error("iframe error", e);
2884
+ };
2882
2885
  document.body.insertBefore(iframe, document.body.firstChild);
2883
2886
  window.sendMatchWalletMessage = (method, data) => {
2884
2887
  const messageId = Date.now().toString() + Math.random().toString().slice(6);