@metamask-previews/signature-controller 12.0.0-preview.8cdddaf → 12.0.0-preview.a3a3121

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 +48 -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,7 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
8
  ## [Unreleased]
8
9
 
9
10
  ## [12.0.0]
11
+
10
12
  ### Changed
13
+
11
14
  - **BREAKING:** Bump `@metamask/approval-controller` peer dependency to `^5.1.2` ([#3821](https://github.com/MetaMask/core/pull/3821))
12
15
  - **BREAKING:** Bump `@metamask/keyring-controller` peer dependency to `^12.2.0` ([#3821](https://github.com/MetaMask/core/pull/3821))
13
16
  - **BREAKING:** Bump `@metamask/logging-controller` peer dependency to `^2.0.2` ([#3821](https://github.com/MetaMask/core/pull/3821))
@@ -16,19 +19,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
16
19
  - Bump `@metamask/message-manager` to `^7.3.8` ([#3821](https://github.com/MetaMask/core/pull/3821))
17
20
 
18
21
  ## [11.0.0]
22
+
19
23
  ### Changed
24
+
20
25
  - **BREAKING:** Bump `@metamask/keyring-controller` to ^12.1.0
21
26
  - Bump `@metamask/utils` to `^8.3.0` ([#3769](https://github.com/MetaMask/core/pull/3769))
22
27
 
23
28
  ### Fixed
29
+
24
30
  - Fix `stateChange` subscriptions with selectors ([#3702](https://github.com/MetaMask/core/pull/3702))
25
31
 
26
32
  ## [10.0.0]
33
+
27
34
  ### Changed
35
+
28
36
  - **BREAKING:** Bump `@metamask/keyring-controller` to ^12.0.0
29
37
 
30
38
  ## [9.0.0]
39
+
31
40
  ### Changed
41
+
32
42
  - **BREAKING:** Bump `@metamask/approval-controller` dependency and peer dependency from `^5.0.0` to `^5.1.1` ([#3695](https://github.com/MetaMask/core/pull/3695), [#3680](https://github.com/MetaMask/core/pull/3680))
33
43
  - **BREAKING:** Bump `@metamask/keyring-controller` dependency and peer dependency from `^10.0.0` to `^11.0.0` ([#3695](https://github.com/MetaMask/core/pull/3695))
34
44
  - **BREAKING:** Bump `@metamask/logging-controller` dependency and peer dependency from `^2.0.0` to `^2.0.1` ([#3695](https://github.com/MetaMask/core/pull/3695))
@@ -37,7 +47,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
37
47
  - Bump `@metamask/message-manager` to `^7.3.7` ([#3695](https://github.com/MetaMask/core/pull/3695))
38
48
 
39
49
  ## [8.0.0]
50
+
40
51
  ### Changed
52
+
41
53
  - **BREAKING:** Bump `@metamask/base-controller` to ^4.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063))
42
54
  - This is breaking because the type of the `messenger` has backward-incompatible changes. See the changelog for this package for more.
43
55
  - Bump `@metamask/approval-controller` to ^5.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063))
@@ -47,19 +59,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
47
59
  - Bump `@metamask/message-manager` to ^7.3.6 ([#2063](https://github.com/MetaMask/core/pull/2063))
48
60
 
49
61
  ## [7.0.0]
62
+
50
63
  ### Changed
64
+
51
65
  - **BREAKING**: Add `@metamask/keyring-controller` as a dependency and peer dependency
52
66
  - This was relied upon by past versions, but this was not reflected in the package manifest until now
53
67
  - Bump @metamask/utils from 8.1.0 to 8.2.0 ([#1957](https://github.com/MetaMask/core/pull/1957))
54
68
 
55
69
  ## [6.1.3]
70
+
56
71
  ### Changed
72
+
57
73
  - Move from `eth-rpc-errors` ^4.0.2 to `@metamask/rpc-errors` ^6.1.0 ([#1653](https://github.com/MetaMask/core/pull/1653))
58
74
  - Bump dependency and peer dependency on `@metamask/approval-controller` to ^4.0.1
59
75
  - Bump dependency and peer dependency on `@metamask/logging-controller` to ^1.0.4
60
76
 
61
77
  ## [6.1.2]
78
+
62
79
  ### Changed
80
+
63
81
  - Bump dependency on `@metamask/utils` to ^8.1.0 ([#1639](https://github.com/MetaMask/core/pull/1639))
64
82
  - Bump dependency and peer dependency on `@metamask/approval-controller` to ^4.0.0
65
83
  - Bump dependency on `@metamask/base-controller` to ^3.2.3
@@ -67,11 +85,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
67
85
  - Bump dependency on `@metamask/message-manager` to ^7.3.5
68
86
 
69
87
  ## [6.1.1]
88
+
70
89
  ### Changed
90
+
71
91
  - Update TypeScript to v4.8.x ([#1718](https://github.com/MetaMask/core/pull/1718))
72
92
 
73
93
  ## [6.1.0]
94
+
74
95
  ### Changed
96
+
75
97
  - Add `LoggingController` logs on signature operation stages ([#1692](https://github.com/MetaMask/core/pull/1692))
76
98
  - Bump dependency on `@metamask/controller-utils` to ^5.0.0
77
99
  - Bump dependency on `@metamask/keyring-controller` to ^8.0.0
@@ -79,67 +101,92 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
79
101
  - Bump dependency on `@metamask/message-manager` to ^7.3.3
80
102
 
81
103
  ## [6.0.0]
104
+
82
105
  ### Changed
106
+
83
107
  - **BREAKING**: Removed `keyringController` property from constructor option ([#1593](https://github.com/MetaMask/core/pull/1593))
84
108
 
85
109
  ## [5.3.1]
110
+
86
111
  ### Changed
112
+
87
113
  - Bump dependency and peer dependency on `@metamask/approval-controller` to ^3.5.1
88
114
  - Bump dependency on `@metamask/base-controller` to ^3.2.1
89
115
  - Bump dependency on `@metamask/controller-utils` to ^4.3.2
90
116
  - Bump dependency on `@metamask/message-manager` to ^7.3.1
91
117
 
92
118
  ## [5.3.0]
119
+
93
120
  ### Added
121
+
94
122
  - Add new methods `setDeferredSignSuccess` and `setDeferredSignError` ([#1506](https://github.com/MetaMask/core/pull/1506))
95
123
 
96
124
  ### Changed
125
+
97
126
  - Update `@metamask/utils` to `^6.2.0` ([#1514](https://github.com/MetaMask/core/pull/1514))
98
127
 
99
128
  ## [5.2.0]
129
+
100
130
  ### Added
131
+
101
132
  - Add `messages` getter that returns all messages ([#1469](https://github.com/MetaMask/core/pull/1469))
102
133
  - Add `setMessageMetadata` method for customizing the metadata for an individual message ([#1469](https://github.com/MetaMask/core/pull/1469))
103
134
 
104
135
  ## [5.1.0]
136
+
105
137
  ### Changed
138
+
106
139
  - Report approval success using result callbacks ([#1458](https://github.com/MetaMask/core/pull/1458))
107
140
 
108
141
  ## [5.0.0]
142
+
109
143
  ### Added
144
+
110
145
  - **BREAKING** Add sign version to approval message in Signature Controller ([#1440](https://github.com/MetaMask/core/pull/1440))
111
146
  - Method `newUnsignedTypedMessage` on the SignatureController now requires a fourth argument: `signingOpts`
112
147
  - Method `signMessage` on the SignatureController no longer expects a `version` as a second argument. The second argument is now `signingOpts` which was previously the third argument.
113
148
 
114
149
  ## [4.0.1]
150
+
115
151
  ### Fixed
152
+
116
153
  - Remove optional parameter from newUnsignedTypedMessage function ([#1436](https://github.com/MetaMask/core/pull/1436))
117
154
 
118
155
  ## [4.0.0]
156
+
119
157
  ### Changed
158
+
120
159
  - **BREAKING:** `newUnsignedXMessage` middlewares now creates and awaits approvals itself. ([#1377](https://github.com/MetaMask/core/pull/1377))
121
160
 
122
161
  ### Removed
162
+
123
163
  - **BREAKING:** Removed `cancelXMessage` and `signXMessage` from public API. ([#1377](https://github.com/MetaMask/core/pull/1377))
124
164
 
125
165
  ## [3.0.0]
166
+
126
167
  ### Added
168
+
127
169
  - Add support for deferred signing ([#1364](https://github.com/MetaMask/core/pull/1364))
128
170
  - If the parameter `deferSetAsSigned` is set, the message won't be set as signed when the keyring is asked to sign it
129
171
  - Emit the event `${methodName}:signed` when the keying is asked to sign a message ([#1364](https://github.com/MetaMask/core/pull/1364))
130
- - Add methods `setTypedMessageInProgress` and `setPersonalMessageInProgress` to set a message status to `inProgress` ([#1339](https://github.com/MetaMask/core/pull/1339))
172
+ - Add methods `setTypedMessageInProgress` and `setPersonalMessageInProgress` to set a message status to `inProgress` ([#1339](https://github.com/MetaMask/core/pull/1339))
131
173
 
132
174
  ### Changed
175
+
133
176
  - **BREAKING:** The constructor option `getCurrentChainId` now expects a `Hex` return value rather than `string` ([#1367](https://github.com/MetaMask/core/pull/1367))
134
177
  - **BREAKING:** Update `@metamask/approval-controller` dependency and add it as a peer dependency ([#1393](https://github.com/MetaMask/core/pull/1393))
135
178
  - Add `@metamask/utils` dependency ([#1367](https://github.com/MetaMask/core/pull/1367))
136
179
 
137
180
  ## [2.0.0]
181
+
138
182
  ### Added
183
+
139
184
  - **BREAKING:** Add `getCurrentChainId` argument to constructor ([#1350](https://github.com/MetaMask/core/pull/1350))
140
185
 
141
186
  ## [1.0.0]
187
+
142
188
  ### Added
189
+
143
190
  - Initial release ([#1214](https://github.com/MetaMask/core/pull/1214))
144
191
 
145
192
  [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/signature-controller@12.0.0...HEAD
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask-previews/signature-controller",
3
- "version": "12.0.0-preview.8cdddaf",
3
+ "version": "12.0.0-preview.a3a3121",
4
4
  "description": "Processes signing requests in order to sign arbitrary and typed data",
5
5
  "keywords": [
6
6
  "MetaMask",