From acc534ad8eca8d38d351307bf2a658a8133a9554 Mon Sep 17 00:00:00 2001 From: Felipe Mendes Date: Wed, 14 Aug 2024 12:08:51 -0300 Subject: [PATCH] chore: remove unnecessary window.postMessage for W3mFrame (#2658) Co-authored-by: tomiir --- 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 0d724e6eaf..bd29a13eb1 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, '*') } },