-
Notifications
You must be signed in to change notification settings - Fork 904
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update `isBraveWallet`, `request`, `isConnected`, `enable`, `sendAsync` to be non-writable. * Support EIP-6963 * Use `braveEthereum` as EIP-6963 provider. Freeze announce provider event. * Use secure copy of `dispatchEvent` & `addEventListener`. * `window.dispatchEvent` and `window.AddEventListener` are re-initialized by WebKit when deleted. Delete `window.dispatchEvent` and `window.AddEventListener` before use in `$.dispatchEvent` / `$.addEventListener` to guarantee original functions.
- Loading branch information
1 parent
f5a1521
commit 6997180
Showing
3 changed files
with
104 additions
and
31 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