forked from tahowallet/extension
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add proxied call logging and fix
this
pointer in WindowProvider
Two core changes here: - When proxying MetaMask calls, properties that resolve to functions are wrapped such that they maintain their `this` pointer at the underlying object rather than the proxy. - In development builds, all calls intercepted by the MetaMask wrapper are logged. This logging includes a timer log every 1s for longer- running calls, and applies both when Taho is set as default and when MetaMask is being called directly.
- Loading branch information
1 parent
0f0cb60
commit ab48ba9
Showing
1 changed file
with
114 additions
and
3 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