@metamask-previews/composable-controller 5.0.1-preview.8cdddaf → 5.0.1-preview.cbe2fbb7

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +27 -1
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,4 +1,5 @@
1
1
  # Changelog
2
+
2
3
  All notable changes to this project will be documented in this file.
3
4
 
4
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
@@ -7,14 +8,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
8
  ## [Unreleased]
8
9
 
9
10
  ## [5.0.1]
11
+
10
12
  ### Changed
13
+
11
14
  - Bump `@metamask/base-controller` to `^4.1.1` ([#3760](https://github.com/MetaMask/core/pull/3760), [#3821](https://github.com/MetaMask/core/pull/3821))
12
15
 
13
16
  ## [5.0.0]
17
+
14
18
  ### Added
19
+
15
20
  - Add types `ComposableControllerState`, `ComposableControllerStateChangeEvent`, `ComposableControllerEvents`, `ComposableControllerMessenger` ([#3590](https://github.com/MetaMask/core/pull/3590))
16
21
 
17
22
  ### Changed
23
+
18
24
  - **BREAKING:** `ComposableController` is upgraded to extend `BaseControllerV2` ([#3590](https://github.com/MetaMask/core/pull/3590))
19
25
  - The constructor now expects an options object with required properties `controllers` and `messenger` as its only argument.
20
26
  - `ComposableController` no longer has a `subscribe` method. Instead, listeners for `ComposableController` events must be registered to the controller messenger that generated the restricted messenger assigned to the instance's `messagingSystem` class field.
@@ -22,44 +28,64 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
22
28
  - Bump `@metamask/base-controller` to `^4.0.1` ([#3695](https://github.com/MetaMask/core/pull/3695))
23
29
 
24
30
  ## [4.0.0]
31
+
25
32
  ### Changed
33
+
26
34
  - **BREAKING:** Bump `@metamask/base-controller` to ^4.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063))
27
35
  - This is breaking because the type of the `messenger` has backward-incompatible changes. See the changelog for this package for more.
28
36
 
29
37
  ## [3.0.3]
38
+
30
39
  ### Changed
40
+
31
41
  - Bump dependency on `@metamask/base-controller` to ^3.2.3 ([#1747](https://github.com/MetaMask/core/pull/1747))
32
42
 
33
43
  ## [3.0.2]
44
+
34
45
  ### Changed
46
+
35
47
  - Update TypeScript to v4.8.x ([#1718](https://github.com/MetaMask/core/pull/1718))
36
48
 
37
49
  ## [3.0.1]
50
+
38
51
  ### Changed
52
+
39
53
  - Bump dependency on `@metamask/base-controller` to ^3.2.1
40
54
 
41
55
  ## [3.0.0]
56
+
42
57
  ### Changed
58
+
43
59
  - **BREAKING:** Bump to Node 16 ([#1262](https://github.com/MetaMask/core/pull/1262))
44
60
 
45
61
  ## [2.0.0]
62
+
46
63
  ### Removed
64
+
47
65
  - **BREAKING:** Remove `isomorphic-fetch` ([#1106](https://github.com/MetaMask/controllers/pull/1106))
48
66
  - Consumers must now import `isomorphic-fetch` or another polyfill themselves if they are running in an environment without `fetch`
49
67
 
50
68
  ## [1.0.2]
69
+
51
70
  ### Changed
71
+
52
72
  - Rename this repository to `core` ([#1031](https://github.com/MetaMask/controllers/pull/1031))
53
- - Update `@metamask/controller-utils` package ([#1041](https://github.com/MetaMask/controllers/pull/1041))
73
+ - Update `@metamask/controller-utils` package ([#1041](https://github.com/MetaMask/controllers/pull/1041))
54
74
 
55
75
  ## [1.0.1]
76
+
56
77
  ### Changed
78
+
57
79
  - Relax dependency on `@metamask/controller-utils` (use `^` instead of `~`) ([#998](https://github.com/MetaMask/core/pull/998))
58
80
 
59
81
  ## [1.0.0]
82
+
60
83
  ### Added
84
+
61
85
  - Initial release
86
+
62
87
  - As a result of converting our shared controllers repo into a monorepo ([#831](https://github.com/MetaMask/core/pull/831)), we've created this package from select parts of [`@metamask/controllers` v33.0.0](https://github.com/MetaMask/core/tree/v33.0.0), namely:
88
+
63
89
  - `src/ComposableController.ts`
64
90
  - `src/ComposableController.test.ts`
65
91
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask-previews/composable-controller",
3
- "version": "5.0.1-preview.8cdddaf",
3
+ "version": "5.0.1-preview.cbe2fbb7",
4
4
  "description": "Consolidates the state from multiple controllers into one",
5
5
  "keywords": [
6
6
  "MetaMask",