mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-21 02:58:55 +00:00
This is required to control the resource consumption in case of no usage of wallet connect Hence we load the WebEngineView only if we have active pairings and such that SDK events are expected from the paired dapps. Also: - Moved the generic WebEngineView communication bridge to StatusQ - Added basic tests for WebEngineLoader - Add a way to know when wallet is loaded (`walletReady`) - Add storybook support for mock of nim sections as context properties Updates: #12639
22 lines
713 B
QML
22 lines
713 B
QML
import QtQuick 2.15
|
|
import QtQuick.Controls 2.15
|
|
import QtQuick.Layouts 1.15
|
|
|
|
// Stub for Controller QObject defined in src/app/modules/main/wallet_section/wallet_connect/controller.nim
|
|
Item {
|
|
id: root
|
|
|
|
signal proposeUserPair(string sessionProposalJson, string supportedNamespacesJson)
|
|
|
|
// function pairSessionProposal(/*string*/ sessionProposalJson)
|
|
required property var pairSessionProposal
|
|
|
|
signal respondSessionRequest(string sessionRequestJson, string signedJson, bool error)
|
|
|
|
// function sessionRequest(/*string*/ sessionRequestJson, /*string*/ password)
|
|
required property var sessionRequest
|
|
|
|
|
|
required property bool hasActivePairings
|
|
required property string projectId
|
|
} |