Commit ec00962
authored
chore: Remove deprecated state derivation functions from
## Explanation
The two deprecated state derivation functions (`getAnonymizedState` and
`getPersistentState`) have been removed from the `next` export, which as
upcoming breaking changes. `deriveStateFromMetadata` remains the
recommended replacement.
## References
Closes #6610
## Checklist
- [x] I've updated the test suite for new or updated code as appropriate
- [x] I've updated documentation (JSDoc, Markdown, etc.) for new or
updated code as appropriate
- [x] I've communicated my changes to consumers by [updating changelogs
for packages I've
changed](https://github.com/MetaMask/core/tree/main/docs/contributing.md#updating-changelogs),
highlighting breaking changes as necessary
- [x] I've prepared draft pull requests for clients and consumer
packages to resolve any breaking changesnext (#6611)1 parent a3cca55 commit ec00962
File tree
5 files changed
+4
-457
lines changed- packages/base-controller
- src/next
5 files changed
+4
-457
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
0 commit comments