-
Notifications
You must be signed in to change notification settings - Fork 616
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor data models to improve type safety and code usability (#1064)
* refactor ServerMessage type * apply it to ClientMessage * apply changes * lfg * refactoring Web3Request * Web3Response * help git * improvements * introducing SupportedWeb3Methods * cleanup RelayMessage * apply Web3Response changes * no need to be exported RelayMessageType * sync * comment * support case of request and response having different method * consolidate RelayMessage * wtf * no error on relay * fix provider * cleaner * rename relay message to be `WalletLinkEventData` * fix tests * revert rename * clarify param * apply change to selectProvider * WalletLinkEventType * cleanup * fi xWalletUI * cleanup * apply to HTTP API
- Loading branch information
Showing
27 changed files
with
764 additions
and
1,104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.