@metamask-previews/preferences-controller 5.0.1-preview.fa529884 → 6.0.0-preview.1ef189c
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [6.0.0]
|
|
10
|
+
### Added
|
|
11
|
+
- Added `getDefaultPreferencesState` function ([#3736](https://github.com/MetaMask/core/pull/3736))
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
- **BREAKING** Clean up types ([#3712](https://github.com/MetaMask/core/pull/3712))
|
|
15
|
+
- Replace `ContactEntry` interface with `Identity` type
|
|
16
|
+
- Convert `PreferencesState` from an interface to a type
|
|
17
|
+
- **BREAKING:** Convert to `BaseControllerV2` ([#3713](https://github.com/MetaMask/core/pull/3713))
|
|
18
|
+
- The constructor parameters have changed; rather than accepting an empty "config" parameter and a "state" parameter, there is now just a single object for all constructor arguments. This object has a mandatory `messenger` and an optional `state` property.
|
|
19
|
+
- Additional type exports have been added for the controller messenger and associated types
|
|
20
|
+
|
|
9
21
|
## [5.0.1]
|
|
10
22
|
### Changed
|
|
11
23
|
- Bump `@metamask/base-controller` to `^4.0.1` ([#3695](https://github.com/MetaMask/core/pull/3695))
|
|
@@ -94,7 +106,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
94
106
|
|
|
95
107
|
All changes listed after this point were applied to this package following the monorepo conversion.
|
|
96
108
|
|
|
97
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/preferences-controller@
|
|
109
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/preferences-controller@6.0.0...HEAD
|
|
110
|
+
[6.0.0]: https://github.com/MetaMask/core/compare/@metamask/preferences-controller@5.0.1...@metamask/preferences-controller@6.0.0
|
|
98
111
|
[5.0.1]: https://github.com/MetaMask/core/compare/@metamask/preferences-controller@5.0.0...@metamask/preferences-controller@5.0.1
|
|
99
112
|
[5.0.0]: https://github.com/MetaMask/core/compare/@metamask/preferences-controller@4.4.3...@metamask/preferences-controller@5.0.0
|
|
100
113
|
[4.4.3]: https://github.com/MetaMask/core/compare/@metamask/preferences-controller@4.4.2...@metamask/preferences-controller@4.4.3
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/preferences-controller",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0-preview.1ef189c",
|
|
4
4
|
"description": "Manages user-configurable settings for MetaMask",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"test:watch": "jest --watch"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@metamask/base-controller": "^4.0
|
|
34
|
+
"@metamask/base-controller": "^4.1.0",
|
|
35
35
|
"@metamask/controller-utils": "^8.0.1"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|