-
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 'MMI-4847-gh-action-autotag-mmi-team' of github.com:Meta…
…Mask/metamask-extension into MMI-4847-gh-action-autotag-mmi-team
- Loading branch information
Showing
213 changed files
with
7,199 additions
and
3,036 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
24 changes: 24 additions & 0 deletions
24
.yarn/patches/@metamask-assets-controllers-npm-26.0.0-17c0e9432c.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,24 @@ | ||
diff --git a/dist/TokenDetectionController.js b/dist/TokenDetectionController.js | ||
index 9aa09140d47424217eac118aebca9031e5d2a236..8100c432e7e01dbefcb5f53db3c58e51f120a51d 100644 | ||
--- a/dist/TokenDetectionController.js | ||
+++ b/dist/TokenDetectionController.js | ||
@@ -230,8 +230,7 @@ _TokenDetectionController_intervalId = new WeakMap(), _TokenDetectionController_ | ||
const isDetectionChangedFromPreferences = __classPrivateFieldGet(this, _TokenDetectionController_isDetectionEnabledFromPreferences, "f") !== useTokenDetection; | ||
__classPrivateFieldSet(this, _TokenDetectionController_selectedAddress, newSelectedAddress, "f"); | ||
__classPrivateFieldSet(this, _TokenDetectionController_isDetectionEnabledFromPreferences, useTokenDetection, "f"); | ||
- if (useTokenDetection && | ||
- (isSelectedAddressChanged || isDetectionChangedFromPreferences)) { | ||
+ if (isSelectedAddressChanged || isDetectionChangedFromPreferences) { | ||
yield __classPrivateFieldGet(this, _TokenDetectionController_instances, "m", _TokenDetectionController_restartTokenDetection).call(this, { | ||
selectedAddress: __classPrivateFieldGet(this, _TokenDetectionController_selectedAddress, "f"), | ||
}); | ||
@@ -239,8 +238,7 @@ _TokenDetectionController_intervalId = new WeakMap(), _TokenDetectionController_ | ||
})); | ||
this.messagingSystem.subscribe('AccountsController:selectedAccountChange', ({ address: newSelectedAddress }) => __awaiter(this, void 0, void 0, function* () { | ||
const isSelectedAddressChanged = __classPrivateFieldGet(this, _TokenDetectionController_selectedAddress, "f") !== newSelectedAddress; | ||
- if (isSelectedAddressChanged && | ||
- __classPrivateFieldGet(this, _TokenDetectionController_isDetectionEnabledFromPreferences, "f")) { | ||
+ if (isSelectedAddressChanged) { | ||
__classPrivateFieldSet(this, _TokenDetectionController_selectedAddress, newSelectedAddress, "f"); | ||
yield __classPrivateFieldGet(this, _TokenDetectionController_instances, "m", _TokenDetectionController_restartTokenDetection).call(this, { | ||
selectedAddress: __classPrivateFieldGet(this, _TokenDetectionController_selectedAddress, "f"), |
21 changes: 21 additions & 0 deletions
21
.yarn/patches/@metamask-keyring-controller-npm-13.0.0-d94816a680.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,21 @@ | ||
diff --git a/dist/KeyringController.js b/dist/KeyringController.js | ||
index fc649ea6fc97b905d811b236de638172fb10b548..beab676ab85e5e372eda7846e98b7d34af6317f5 100644 | ||
--- a/dist/KeyringController.js | ||
+++ b/dist/KeyringController.js | ||
@@ -1092,9 +1092,13 @@ _KeyringController_keyringBuilders = new WeakMap(), _KeyringController_keyrings | ||
}, _KeyringController_addQRKeyring = function _KeyringController_addQRKeyring() { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
// QRKeyring is not yet compatible with Keyring type from @metamask/utils | ||
- const qrKeyring = (yield __classPrivateFieldGet(this, _KeyringController_instances, "m", _KeyringController_newKeyring).call(this, KeyringTypes.qr, { | ||
- accounts: [], | ||
- })); | ||
+ /** | ||
+ * Patch for @metamask/keyring-controller v13.0.0 | ||
+ * Below code change will fix the issue 23804, The intial code added a empty accounts as argument when creating a new QR keyring. | ||
+ * cause the new Keystone MetamaskKeyring default properties all are undefined during deserialise() process. | ||
+ * Please refer to PR 23903 for detail. | ||
+ */ | ||
+ const qrKeyring = (yield __classPrivateFieldGet(this, _KeyringController_instances, "m", _KeyringController_newKeyring).call(this, KeyringTypes.qr)); | ||
const accounts = yield qrKeyring.getAccounts(); | ||
yield __classPrivateFieldGet(this, _KeyringController_instances, "m", _KeyringController_checkForDuplicate).call(this, KeyringTypes.qr, accounts); | ||
__classPrivateFieldGet(this, _KeyringController_keyrings, "f").push(qrKeyring); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.