@metamask-previews/keyring-controller 17.2.0-preview-9d310688 → 17.2.1-preview-9c79590a

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 +20 -1
  2. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -7,6 +7,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [17.2.1]
11
+
12
+ ### Fixed
13
+
14
+ - Produce and export ESM-compatible TypeScript type declaration files in addition to CommonJS-compatible declaration files ([#4648](https://github.com/MetaMask/core/pull/4648))
15
+ - Previously, this package shipped with only one variant of type declaration
16
+ files, and these files were only CommonJS-compatible, and the `exports`
17
+ field in `package.json` linked to these files. This is an anti-pattern and
18
+ was rightfully flagged by the
19
+ ["Are the Types Wrong?"](https://arethetypeswrong.github.io/) tool as
20
+ ["masquerading as CJS"](https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseCJS.md).
21
+ All of the ATTW checks now pass.
22
+ - Remove chunk files ([#4648](https://github.com/MetaMask/core/pull/4648)).
23
+ - Previously, the build tool we used to generate JavaScript files extracted
24
+ common code to "chunk" files. While this was intended to make this package
25
+ more tree-shakeable, it also made debugging more difficult for our
26
+ development teams. These chunk files are no longer present.
27
+
10
28
  ## [17.2.0]
11
29
 
12
30
  ### Added
@@ -533,7 +551,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
533
551
 
534
552
  All changes listed after this point were applied to this package following the monorepo conversion.
535
553
 
536
- [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@17.2.0...HEAD
554
+ [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@17.2.1...HEAD
555
+ [17.2.1]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@17.2.0...@metamask/keyring-controller@17.2.1
537
556
  [17.2.0]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@17.1.2...@metamask/keyring-controller@17.2.0
538
557
  [17.1.2]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@17.1.1...@metamask/keyring-controller@17.1.2
539
558
  [17.1.1]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@17.1.0...@metamask/keyring-controller@17.1.1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask-previews/keyring-controller",
3
- "version": "17.2.0-preview-9d310688",
3
+ "version": "17.2.1-preview-9c79590a",
4
4
  "description": "Stores identities seen in the wallet and manages interactions such as signing",
5
5
  "keywords": [
6
6
  "MetaMask",
@@ -49,13 +49,13 @@
49
49
  "dependencies": {
50
50
  "@ethereumjs/util": "^8.1.0",
51
51
  "@keystonehq/metamask-airgapped-keyring": "^0.14.1",
52
- "@metamask/base-controller": "^7.0.0",
52
+ "@metamask/base-controller": "^7.0.1",
53
53
  "@metamask/browser-passworder": "^4.3.0",
54
54
  "@metamask/eth-hd-keyring": "^7.0.1",
55
55
  "@metamask/eth-sig-util": "^7.0.1",
56
56
  "@metamask/eth-simple-keyring": "^6.0.1",
57
57
  "@metamask/keyring-api": "^8.1.0",
58
- "@metamask/message-manager": "^10.1.0",
58
+ "@metamask/message-manager": "^10.1.1",
59
59
  "@metamask/utils": "^9.1.0",
60
60
  "async-mutex": "^0.5.0",
61
61
  "ethereumjs-wallet": "^1.0.1",