Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate KeyringController to BaseControllerV2 (#1378)
* feat: supp cacheEncryptionKey and submitEncryptionKey method * docs: update jsdoc * refactor: migrate KeyringController to BaseControllerV2 * fix: use immer v9 * rollback: controller parameters change * refactor: change KeyringConfig to KeyringControllerConfig * refactor: sync controller state with keyring state * refactor: no vault sync * refactor: use state value for isUnlocked * refactor: use controller state for test assertions * refactor: remove onLock and onUnlock in favor of events * refactor: sync mem and persistent store * refactor: apply review feedback * refactor: use option bag for constructor * fix: set immer as prod dependency * fix: add encryption key and salt to memstore * refactor: remove vault encryptionKey and encryptionSalt from returns * fix: remove forgotten state return
- Loading branch information