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