From ce50b15d7a39dab6f2bfe143caaee24741820834 Mon Sep 17 00:00:00 2001 From: Edouard Bougon <15703023+EdouardBougon@users.noreply.github.com> Date: Wed, 16 Oct 2024 11:57:08 +0200 Subject: [PATCH] fix: display_uri event malformed (#1076) --- packages/sdk/src/provider/initializeMobileProvider.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/sdk/src/provider/initializeMobileProvider.ts b/packages/sdk/src/provider/initializeMobileProvider.ts index 3ec7be17f..35775df25 100644 --- a/packages/sdk/src/provider/initializeMobileProvider.ts +++ b/packages/sdk/src/provider/initializeMobileProvider.ts @@ -130,9 +130,7 @@ const initializeMobileProvider = async ({ if (initializationOngoing) { // Always re-emit the display_uri event - provider.emit('display_uri', { - uri: remoteConnection?.state.qrcodeLink || '', - }); + provider.emit('display_uri', remoteConnection?.state.qrcodeLink || ''); // make sure the active modal is displayed remoteConnection?.showActiveModal();