-
-
Notifications
You must be signed in to change notification settings - Fork 127
BREAKING: TS Refactor #202
Conversation
…ringController into refactor-typescript
mcmire
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did a second pass comparing the JS and TS implementations. Looks like there's still one comment from me and @Gudahtt that is outstanding, but other than that this all seems to make sense to me, so nice job. I just found a few more things other than that, mostly minor.
One thing I noticed is that some of the methods that were previously public (but placed in a private section) are now actually private. Is it worth noting these in the PR description?
|
Hey @mcmire, Thanks for the review, I wasn't able to dedicate time to find the best solution for the unresolved comments,
|
|
@gantunesr Okay no problem! Thanks for trying. Maybe we can address the |
|
New dependency changes detected. Learn more about Socket for GitHub ↗︎ 👍 No new dependency issues detected in pull request Bot CommandsTo ignore an alert, reply with a comment starting with Pull request alert summary
📊 Modified Dependency Overview:
🚮 Removed packages: @metamask/[email protected] |
mcmire
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noticed some more typecasts in the tests. We should also try to remove those in future PRs. I was curious about one of them, but it isn't blocking. LGTM.
BREAKING: TS Migration
This PR introduces the following changes,
Description
Itemize the changes you have made into the categories below
BREAKING:
addNewKeyringmethod now expects an object containing the propertyprivateKeysof typestring[]in the case the keyring to be added is a "Simple Keyring".FIXED:
getKeyringForAccountasynckeyword for method returning aPromiseCHANGED:
createNewVaultAndRestorekeyringis undefined.addNewKeyringkeyringis undefined.generateRandomMnemonicdoesn't exist in the current keyringexportAccountexportAccountdoesn't exist in the current keyringsignTransactionsignTransactiondoesn't exist in the current keyringsignMessagesignMessagedoesn't exist in the current keyringsignPersonalMessagesignPersonalMessagedoesn't exist in the current keyringgetEncryptionPublicKeygetEncryptionPublicKeydoesn't exist in the current keyringdecryptMessagedecryptMessagedoesn't exist in the current keyringgetAppKeyAddressgetAppKeyAddressdoesn't exist in the current keyringunlockKeyringsencryptionKeydata type is not a stringpassworddata type is not a stringgetKeyringForAccountrestoreKeyringclearKeyringsnewKeyringChecklist
Issue
Progresses #195