@metamask-previews/message-manager 7.3.8-preview.8cdddaf → 7.3.8-preview.91dd28a
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 +58 -1
- 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,79 +8,111 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
8
|
## [Unreleased]
|
|
8
9
|
|
|
9
10
|
## [7.3.8]
|
|
11
|
+
|
|
10
12
|
### Changed
|
|
13
|
+
|
|
11
14
|
- Bump `@metamask/utils` to `^8.3.0` ([#3769](https://github.com/MetaMask/core/pull/3769))
|
|
12
15
|
- Bump `@metamask/base-controller` to `^4.1.1` ([#3760](https://github.com/MetaMask/core/pull/3760), [#3821](https://github.com/MetaMask/core/pull/3821))
|
|
13
16
|
- Bump `@metamask/controller-utils` to `^8.0.2` ([#3821](https://github.com/MetaMask/core/pull/3821))
|
|
14
17
|
|
|
15
18
|
## [7.3.7]
|
|
19
|
+
|
|
16
20
|
### Changed
|
|
21
|
+
|
|
17
22
|
- Bump `@metamask/base-controller` to `^4.0.1` ([#3695](https://github.com/MetaMask/core/pull/3695))
|
|
18
23
|
- Bump `@metamask/controller-utils` to `^8.0.1` ([#3695](https://github.com/MetaMask/core/pull/3695), [#3678](https://github.com/MetaMask/core/pull/3678), [#3667](https://github.com/MetaMask/core/pull/3667), [#3580](https://github.com/MetaMask/core/pull/3580))
|
|
19
24
|
- Bump `@metamask/eth-sig-util` to `^7.0.1` ([#3614](https://github.com/MetaMask/core/pull/3614))
|
|
20
25
|
|
|
21
26
|
## [7.3.6]
|
|
27
|
+
|
|
22
28
|
### Changed
|
|
29
|
+
|
|
23
30
|
- Bump `@metamask/utils` to ^8.2.0 ([#1957](https://github.com/MetaMask/core/pull/1957))
|
|
24
31
|
- Bump `@metamask/base-controller` to ^4.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063))
|
|
25
32
|
- This is not breaking because the message managers still inherit from BaseController v1.
|
|
26
33
|
- Bump `@metamask/controller-utils` to ^6.0.0 ([#2063](https://github.com/MetaMask/core/pull/2063))
|
|
27
34
|
|
|
28
35
|
## [7.3.5]
|
|
36
|
+
|
|
29
37
|
### Changed
|
|
38
|
+
|
|
30
39
|
- Bump dependency on `@metamask/utils` to ^8.1.0 ([#1639](https://github.com/MetaMask/core/pull/1639))
|
|
31
40
|
- Bump dependency on `@metamask/base-controller` to ^3.2.3
|
|
32
41
|
- Bump dependency on `metamask/controller-utils` to ^5.0.2
|
|
33
42
|
|
|
34
43
|
### Fixed
|
|
44
|
+
|
|
35
45
|
- Fix `prepMessageForSigning` in all message managers to handle frozen `messageParams` ([#1733](https://github.com/MetaMask/core/pull/1733))
|
|
36
46
|
|
|
37
47
|
## [7.3.4]
|
|
48
|
+
|
|
38
49
|
### Changed
|
|
50
|
+
|
|
39
51
|
- Update TypeScript to v4.8.x ([#1718](https://github.com/MetaMask/core/pull/1718))
|
|
40
52
|
|
|
41
53
|
## [7.3.3]
|
|
54
|
+
|
|
42
55
|
### Changed
|
|
56
|
+
|
|
43
57
|
- Bump dependency on `@metamask/controller-utils` to ^5.0.0
|
|
44
58
|
|
|
45
59
|
## [7.3.2]
|
|
60
|
+
|
|
46
61
|
### Changed
|
|
62
|
+
|
|
47
63
|
- Bump @metamask/eth-sig-util from 6.0.0 to 7.0.0 ([#1669](https://github.com/MetaMask/core/pull/1669))
|
|
48
64
|
|
|
49
65
|
## [7.3.1]
|
|
66
|
+
|
|
50
67
|
### Changed
|
|
68
|
+
|
|
51
69
|
- Bump dependency on `@metamask/base-controller` to ^3.2.1
|
|
52
70
|
- Bump dependency on `@metamask/controller-utils` to ^4.3.2
|
|
53
71
|
|
|
54
72
|
## [7.3.0]
|
|
73
|
+
|
|
55
74
|
### Changed
|
|
75
|
+
|
|
56
76
|
- Add Blockaid validation response to messages ([#1541](https://github.com/MetaMask/core/pull/1541))
|
|
57
77
|
|
|
58
78
|
## [7.2.0]
|
|
79
|
+
|
|
59
80
|
### Changed
|
|
81
|
+
|
|
60
82
|
- Update `@metamask/utils` to `^6.2.0` ([#1514](https://github.com/MetaMask/core/pull/1514))
|
|
61
83
|
|
|
62
84
|
## [7.1.0]
|
|
85
|
+
|
|
63
86
|
### Changed
|
|
87
|
+
|
|
64
88
|
- Replace eth-sig-util with @metamask/eth-sig-util ([#1483](https://github.com/MetaMask/core/pull/1483))
|
|
65
89
|
|
|
66
90
|
## [7.0.2]
|
|
91
|
+
|
|
67
92
|
### Fixed
|
|
93
|
+
|
|
68
94
|
- Avoid race condition when creating typed messages ([#1467](https://github.com/MetaMask/core/pull/1467))
|
|
69
95
|
|
|
70
96
|
## [7.0.1]
|
|
97
|
+
|
|
71
98
|
### Fixed
|
|
99
|
+
|
|
72
100
|
- eth_signTypedData_v4 and v3 should take an object as well as string for data parameter. ([#1438](https://github.com/MetaMask/core/pull/1438))
|
|
73
101
|
|
|
74
102
|
## [7.0.0]
|
|
103
|
+
|
|
75
104
|
### Added
|
|
105
|
+
|
|
76
106
|
- Added `waitForFinishStatus` to `AbstractMessageManager` which is waiting for the message to be proccesed and resolve. ([#1377](https://github.com/MetaMask/core/pull/1377))
|
|
77
107
|
|
|
78
108
|
### Changed
|
|
109
|
+
|
|
79
110
|
- **BREAKING:** Removed `addUnapprovedMessageAsync` methods from `PersonalMessageManager`, `TypedMessageManager` and `MessageManager` because it's not consumed by `SignatureController` anymore. ([#1377](https://github.com/MetaMask/core/pull/1377))
|
|
80
111
|
|
|
81
112
|
## [6.0.0]
|
|
113
|
+
|
|
82
114
|
### Added
|
|
115
|
+
|
|
83
116
|
- Add `getAllMessages` and `setMetadata` methods to message managers ([#1364](https://github.com/MetaMask/core/pull/1364))
|
|
84
117
|
- A new optional `metadata` property has been added to the message type as well
|
|
85
118
|
- Add support for deferred signing ([#1364](https://github.com/MetaMask/core/pull/1364))
|
|
@@ -87,59 +120,83 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
87
120
|
- Add the `setMessageStatusInProgress` method to set a message status to `inProgress` ([#1339](https://github.com/MetaMask/core/pull/1339))
|
|
88
121
|
|
|
89
122
|
### Changed
|
|
123
|
+
|
|
90
124
|
- **BREAKING:** The `getCurrentChainId` constructor parameter for each message manager now expects a `Hex` return type rather than a decimal string ([#1367](https://github.com/MetaMask/core/pull/1367))
|
|
91
125
|
- Note that while every message manager class accepts this as a constructor parameter, it's only used by the `TypedMessageManager` at the moment
|
|
92
126
|
- Add `@metamask/utils` dependency ([#1370](https://github.com/MetaMask/core/pull/1370))
|
|
93
127
|
|
|
94
128
|
## [5.0.0]
|
|
129
|
+
|
|
95
130
|
### Fixed
|
|
131
|
+
|
|
96
132
|
- **BREAKING:** Add chain validation to `eth_signTypedData_v4` signature requests ([#1331](https://github.com/MetaMask/core/pull/1331))
|
|
97
133
|
|
|
98
134
|
## [4.0.0]
|
|
135
|
+
|
|
99
136
|
### Changed
|
|
137
|
+
|
|
100
138
|
- **BREAKING:** Change type of `securityProviderResponse` to `Record` ([#1214](https://github.com/MetaMask/core/pull/1214))
|
|
101
139
|
- **BREAKING:** Update to Node 16 ([#1262](https://github.com/MetaMask/core/pull/1262))
|
|
102
140
|
|
|
103
141
|
## [3.1.1]
|
|
142
|
+
|
|
104
143
|
### Fixed
|
|
105
|
-
|
|
144
|
+
|
|
145
|
+
- Ensure message updates get saved in state even when they aren't emitted right away ([#1245](https://github.com/MetaMask/core/pull/1245))
|
|
106
146
|
- The `updateMessage` method included in each message manager accepted an `emitUpdate` boolean argument that would enable to caller to prevent that update from updating the badge (which displays the count of pending confirmations). Unfortunately this option would also prevent the update from being saved in state.
|
|
107
147
|
- This method has been updated to ensure message updates are saved in state, even when the badge update event is suppressed
|
|
108
148
|
|
|
109
149
|
## [3.1.0]
|
|
150
|
+
|
|
110
151
|
### Added
|
|
152
|
+
|
|
111
153
|
- Add DecryptMessageManager ([#1149](https://github.com/MetaMask/core/pull/1149))
|
|
112
154
|
|
|
113
155
|
## [3.0.0]
|
|
156
|
+
|
|
114
157
|
### Added
|
|
158
|
+
|
|
115
159
|
- Add EncryptionPublicKeyManager ([#1144](https://github.com/MetaMask/core/pull/1144))
|
|
116
160
|
- Add security provider request to AbstractMessageManager ([#1145](https://github.com/MetaMask/core/pull/1145))
|
|
117
161
|
|
|
118
162
|
### Changed
|
|
163
|
+
|
|
119
164
|
- **BREAKING:** The methods `addMessage` and `addUnapprovedMessage` on each "message manager" controller are now asynchronous ([#1145](https://github.com/MetaMask/core/pull/1145))
|
|
120
165
|
|
|
121
166
|
## [2.1.0]
|
|
167
|
+
|
|
122
168
|
### Added
|
|
169
|
+
|
|
123
170
|
- Add SIWE detection support for PersonalMessageManager ([#1139](https://github.com/MetaMask/core/pull/1139))
|
|
124
171
|
|
|
125
172
|
## [2.0.0]
|
|
173
|
+
|
|
126
174
|
### Removed
|
|
175
|
+
|
|
127
176
|
- **BREAKING:** Remove `isomorphic-fetch` ([#1106](https://github.com/MetaMask/controllers/pull/1106))
|
|
128
177
|
- Consumers must now import `isomorphic-fetch` or another polyfill themselves if they are running in an environment without `fetch`
|
|
129
178
|
|
|
130
179
|
## [1.0.2]
|
|
180
|
+
|
|
131
181
|
### Changed
|
|
182
|
+
|
|
132
183
|
- Rename this repository to `core` ([#1031](https://github.com/MetaMask/controllers/pull/1031))
|
|
133
184
|
- Update `@metamask/controller-utils` package ([#1041](https://github.com/MetaMask/controllers/pull/1041))
|
|
134
185
|
|
|
135
186
|
## [1.0.1]
|
|
187
|
+
|
|
136
188
|
### Changed
|
|
189
|
+
|
|
137
190
|
- Relax dependencies on `@metamask/base-controller` and `@metamask/controller-utils` (use `^` instead of `~`) ([#998](https://github.com/MetaMask/core/pull/998))
|
|
138
191
|
|
|
139
192
|
## [1.0.0]
|
|
193
|
+
|
|
140
194
|
### Added
|
|
195
|
+
|
|
141
196
|
- Initial release
|
|
197
|
+
|
|
142
198
|
- 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:
|
|
199
|
+
|
|
143
200
|
- Everything in `src/message-manager`
|
|
144
201
|
- Message manager-related functions in `src/util.ts` and accompanying tests
|
|
145
202
|
|