status-desktop/storybook/stubs/shared/stores
Alex Jbanca 00fb1ff60a
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-09 00:38:52 +02:00
..
send feat(@desktop/wallet): Remove preferred chains from wallet accounts all over the app 2024-10-11 18:48:37 +02:00
BIP39_en.qml fix(StatusSeedPhraseInput): accept a common prefix suggestion 2024-09-10 16:00:40 +02:00
BrowserConnectStore.qml fix(WC): Refactor dapps service to work with multiple SDKs 2024-11-09 00:38:52 +02:00
CommunityTokensStore.qml feat(@desktop/communtiies): Set signer flow 2023-11-08 14:35:51 +01:00
CurrenciesStore.qml CurrenciesStore: static model removed from store 2024-10-02 00:08:20 +02:00
DAppsStore.qml feat(dapps) add DAppsService component and ConnectDAppModal 2024-05-20 15:09:57 +02:00
GifStore.qml GifStore excluded from shared root store, StatusChatInput made indepedent from singeton stores 2024-09-11 11:26:30 +02:00
NetworkConnectionStore.qml feat(token mgmt): update main wallet view layout with community assets 2023-11-29 16:13:08 +01:00
PermissionsStore.qml fix(Stored): Make stores typed 2024-08-27 10:52:18 +02:00
ProfileStore.qml fix(ProfileDescriptionPanel): Profile settings -> Identity : Addition of validation to bio field (#14772) 2024-05-21 00:13:55 +03:00
RootStore.qml shared/RootStore: make the SB stub empty 2024-10-02 00:08:20 +02:00
UtilsStore.qml Storybook pages - multiple fixes regarding stores 2024-10-28 23:16:31 +01:00
qmldir fix(WC): Refactor dapps service to work with multiple SDKs 2024-11-09 00:38:52 +02:00