-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feat/address-book-petnames-sync
- Loading branch information
Showing
24 changed files
with
490 additions
and
566 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
40 changes: 0 additions & 40 deletions
40
.yarn/patches/@metamask-keyring-controller-npm-8.0.0-806630ae4e.patch
This file was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
.yarn/patches/@metamask-signature-controller-npm-5.3.0-225628460b.patch
This file was deleted.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
.yarn/patches/@metamask-signature-controller-npm-6.0.0-90e8e479a9.patch
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
diff --git a/dist/SignatureController.js b/dist/SignatureController.js | ||
index 46d4b4d0553f86d368d30b7e90a9dc2e03d26ef9..e7063a3753bc3821e661c11132e33304b4fce416 100644 | ||
--- a/dist/SignatureController.js | ||
+++ b/dist/SignatureController.js | ||
@@ -280,8 +280,11 @@ _SignatureController_isEthSignEnabled = new WeakMap(), _SignatureController_getA | ||
resultCallbacks = acceptResult.resultCallbacks; | ||
} | ||
catch (_a) { | ||
+ signaturePromise.catch(() => { | ||
+ // Expecting reject error but throwing manually rather than waiting | ||
+ }); | ||
__classPrivateFieldGet(this, _SignatureController_instances, "m", _SignatureController_cancelAbstractMessage).call(this, messageManager, messageId); | ||
- throw eth_rpc_errors_1.ethErrors.provider.userRejectedRequest('User rejected the request.'); | ||
+ throw eth_rpc_errors_1.ethErrors.provider.userRejectedRequest(`MetaMask ${messageName} Signature: User denied message signature.`); | ||
} | ||
yield signMessage(messageParamsWithId, signingOpts); | ||
const signatureResult = yield signaturePromise; |
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
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.