From 7661afc4736a3c547f7e3a3e2f87f5363191574d Mon Sep 17 00:00:00 2001 From: Felipe Mendes Date: Tue, 6 Aug 2024 11:17:46 -0300 Subject: [PATCH] fix: remove unnecessary window.postMessage for posting app event on W3mFrame --- packages/wallet/src/W3mFrame.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/wallet/src/W3mFrame.ts b/packages/wallet/src/W3mFrame.ts index d08a4dbead..c39c4728c2 100644 --- a/packages/wallet/src/W3mFrame.ts +++ b/packages/wallet/src/W3mFrame.ts @@ -124,7 +124,6 @@ export class W3mFrame { throw new Error('W3mFrame: iframe is not set') } W3mFrameSchema.appEvent.parse(event) - window.postMessage(event) this.iframe.contentWindow.postMessage(event, '*') } },