@metamask-previews/controller-utils 11.2.0-preview-9d310688 → 11.3.0-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 +25 -1
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -7,6 +7,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [11.3.0]
11
+
12
+ ### Added
13
+
14
+ - Add types `TraceContext`, `TraceRequest`, `TraceCallback` ([#4655](https://github.com/MetaMask/core/pull/4655))
15
+ - Migrated from `@metamask/transaction-controller@36.2.0`.
16
+
17
+ ### Fixed
18
+
19
+ - Produce and export ESM-compatible TypeScript type declaration files in addition to CommonJS-compatible declaration files ([#4648](https://github.com/MetaMask/core/pull/4648))
20
+ - Previously, this package shipped with only one variant of type declaration
21
+ files, and these files were only CommonJS-compatible, and the `exports`
22
+ field in `package.json` linked to these files. This is an anti-pattern and
23
+ was rightfully flagged by the
24
+ ["Are the Types Wrong?"](https://arethetypeswrong.github.io/) tool as
25
+ ["masquerading as CJS"](https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseCJS.md).
26
+ All of the ATTW checks now pass.
27
+ - Remove chunk files ([#4648](https://github.com/MetaMask/core/pull/4648)).
28
+ - Previously, the build tool we used to generate JavaScript files extracted
29
+ common code to "chunk" files. While this was intended to make this package
30
+ more tree-shakeable, it also made debugging more difficult for our
31
+ development teams. These chunk files are no longer present.
32
+
10
33
  ## [11.2.0]
11
34
 
12
35
  ### Added
@@ -377,7 +400,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
377
400
 
378
401
  All changes listed after this point were applied to this package following the monorepo conversion.
379
402
 
380
- [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@11.2.0...HEAD
403
+ [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@11.3.0...HEAD
404
+ [11.3.0]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@11.2.0...@metamask/controller-utils@11.3.0
381
405
  [11.2.0]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@11.1.0...@metamask/controller-utils@11.2.0
382
406
  [11.1.0]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@11.0.2...@metamask/controller-utils@11.1.0
383
407
  [11.0.2]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@11.0.1...@metamask/controller-utils@11.0.2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask-previews/controller-utils",
3
- "version": "11.2.0-preview-9d310688",
3
+ "version": "11.3.0-preview-9c79590a",
4
4
  "description": "Data and convenience functions shared by multiple packages",
5
5
  "keywords": [
6
6
  "MetaMask",