status-desktop/ui/imports/shared
Alex Jbanca 106988d534 fix(WC): Refactor dapps service to work with multiple SDKs
This PR is refactoring the dapps service to avoid code duplication between SDKs and also to avoid overlapping requests/responses.
It brings Browser Connect inline with Wallet Connect in terms of session management and sign transactions.

New architecture:

WalletConnectService becomes DAppsService. Its responsibility is to provide dapp access to the app. This is the component currently used by the UI
What does it do:
1. Provide dapp APIs line connect, disconnect, session requests etc
2. Spawn app notifications on dapp events
3. Timeout requests if the dapp does not respons

DAppsRequestHandler becomes DAppsModule. This component is consumed by the DAppService. Its responsibility is to aggregate all the building blocks for the dapps, but does not control any of the dapp features or consume the SDKs requests.
What does it do:
1. Aggregate all the building blocks for dapps (currently known as plugins)

DAppConnectionsPlugin - This component provides the session management features line connect, disconnect and provide a model with the connected dapps.
SignRequestPlugin - This component provides the sign request management. It receives the sign request from the dapp, translates it to what Status understands and manages the lifecycle of the request.
2024-11-20 18:10:29 +02:00
..
controls fix: Wrap login error message in login view 2024-11-18 16:49:27 +02:00
img
panels fix(WC): Refactor dapps service to work with multiple SDKs 2024-11-20 18:10:29 +02:00
popups fix(WC): Refactor dapps service to work with multiple SDKs 2024-11-20 18:10:29 +02:00
status fix[Chat] Jump to popup missing channel emojis 2024-11-05 11:33:35 +01:00
stores fix(WC): Refactor dapps service to work with multiple SDKs 2024-11-20 18:10:29 +02:00
validators isAlias moved from Utils to UtilsStore 2024-10-28 23:16:31 +01:00
views feat(ProfileContextMenu): Add "Mark as Trusted" and "Remove trusted mark" 2024-11-19 15:51:55 +01:00
DelegateModelGeneralized.qml
LoadingAnimation.qml [Style] remove legacy Style and its themes 2024-10-22 15:54:31 +02:00
MacTrafficLights.qml [Style] remove legacy Style and its themes 2024-10-22 15:54:31 +02:00
qmldir chore: drop NumberPolyfill 2023-06-26 17:17:59 +02:00