Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(wallet-rpc)!: return value/throw error instead of accept/deny
BREAKING CHANGE: removed `action.accept` in permission callbacks on wallet side Return the value you passed to `accept` instead. BREAKING CHANGE: removed `action.deny` in permission callbacks on wallet side Throw instances of `RpcRejectedByUserError` instead.
- Loading branch information
Showing
2 changed files
with
92 additions
and
158 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
Oops, something went wrong.