@matchain/matchid-sdk-react 0.1.36 → 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.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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);
|