@metamask-previews/signature-controller 19.0.0-preview-cf09c0a → 19.1.0-preview-e34879fb
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 +27 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [19.1.0]
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Add initial tracing to `SignatureController` ([#4655](https://github.com/MetaMask/core/pull/4655))
|
|
15
|
+
- Adds an optional `trace` callback to the constructor, and an optional
|
|
16
|
+
`traceContext` option to the `newUnsignedTypedMessage` and
|
|
17
|
+
`newUnsignedPersonalMessage` methods.
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
|
|
21
|
+
- Produce and export ESM-compatible TypeScript type declaration files in addition to CommonJS-compatible declaration files ([#4648](https://github.com/MetaMask/core/pull/4648))
|
|
22
|
+
- Previously, this package shipped with only one variant of type declaration
|
|
23
|
+
files, and these files were only CommonJS-compatible, and the `exports`
|
|
24
|
+
field in `package.json` linked to these files. This is an anti-pattern and
|
|
25
|
+
was rightfully flagged by the
|
|
26
|
+
["Are the Types Wrong?"](https://arethetypeswrong.github.io/) tool as
|
|
27
|
+
["masquerading as CJS"](https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseCJS.md).
|
|
28
|
+
All of the ATTW checks now pass.
|
|
29
|
+
- Remove chunk files ([#4648](https://github.com/MetaMask/core/pull/4648)).
|
|
30
|
+
- Previously, the build tool we used to generate JavaScript files extracted
|
|
31
|
+
common code to "chunk" files. While this was intended to make this package
|
|
32
|
+
more tree-shakeable, it also made debugging more difficult for our
|
|
33
|
+
development teams. These chunk files are no longer present.
|
|
34
|
+
|
|
10
35
|
## [19.0.0]
|
|
11
36
|
|
|
12
37
|
### Changed
|
|
@@ -304,7 +329,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
304
329
|
|
|
305
330
|
- Initial release ([#1214](https://github.com/MetaMask/core/pull/1214))
|
|
306
331
|
|
|
307
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/signature-controller@19.
|
|
332
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/signature-controller@19.1.0...HEAD
|
|
333
|
+
[19.1.0]: https://github.com/MetaMask/core/compare/@metamask/signature-controller@19.0.0...@metamask/signature-controller@19.1.0
|
|
308
334
|
[19.0.0]: https://github.com/MetaMask/core/compare/@metamask/signature-controller@18.1.0...@metamask/signature-controller@19.0.0
|
|
309
335
|
[18.1.0]: https://github.com/MetaMask/core/compare/@metamask/signature-controller@18.0.1...@metamask/signature-controller@18.1.0
|
|
310
336
|
[18.0.1]: https://github.com/MetaMask/core/compare/@metamask/signature-controller@18.0.0...@metamask/signature-controller@18.0.1
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/signature-controller",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.1.0-preview-e34879fb",
|
|
4
4
|
"description": "Processes signing requests in order to sign arbitrary and typed data",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -47,17 +47,17 @@
|
|
|
47
47
|
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@metamask/base-controller": "^7.0.
|
|
51
|
-
"@metamask/controller-utils": "^11.
|
|
52
|
-
"@metamask/message-manager": "^10.1.
|
|
50
|
+
"@metamask/base-controller": "^7.0.1",
|
|
51
|
+
"@metamask/controller-utils": "^11.3.0",
|
|
52
|
+
"@metamask/message-manager": "^10.1.1",
|
|
53
53
|
"@metamask/utils": "^9.1.0",
|
|
54
54
|
"lodash": "^4.17.21"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@metamask/approval-controller": "^7.0.
|
|
57
|
+
"@metamask/approval-controller": "^7.0.4",
|
|
58
58
|
"@metamask/auto-changelog": "^3.4.4",
|
|
59
|
-
"@metamask/keyring-controller": "^17.2.
|
|
60
|
-
"@metamask/logging-controller": "^6.0.
|
|
59
|
+
"@metamask/keyring-controller": "^17.2.1",
|
|
60
|
+
"@metamask/logging-controller": "^6.0.1",
|
|
61
61
|
"@types/jest": "^27.4.1",
|
|
62
62
|
"deepmerge": "^4.2.2",
|
|
63
63
|
"jest": "^27.5.1",
|