import QtQuick 2.15 import AppLayouts.Wallet.stores 1.0 as WalletStores Item { id: root required property var controller property alias modal: modal property alias sdk: sdk property alias url: sdk.url WalletConnectModal { id: modal controller: root.controller sdk: sdk } WalletConnectSDK { id: sdk projectId: controller.projectId active: WalletStores.RootStore.walletSectionInst.walletReady && (controller.hasActivePairings || modal.opened) onSessionRequestEvent: (details) => { modal.openWithSessionRequestEvent(details) } onSessionDelete: (deletePayload) => { root.controller.deletePairing(deletePayload.topic) } } }