@metamask-previews/permission-log-controller 3.0.0-preview-cf09c0a → 3.0.1-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.
Files changed (2) hide show
  1. package/CHANGELOG.md +26 -1
  2. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -7,6 +7,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [3.0.1]
11
+
12
+ ### Changed
13
+
14
+ - Bump `@metamask/utils` from `^8.3.0` to `^9.1.0` ([#4516](https://github.com/MetaMask/core/pull/4516), [#4529](https://github.com/MetaMask/core/pull/4529))
15
+ - Bump `@metamask/rpc-errors` from `^6.2.1` to `^6.3.1` ([#4516](https://github.com/MetaMask/core/pull/4516))
16
+ - Bump TypeScript from `~4.9.5` to `~5.2.2` and set `moduleResolution` option to `Node16` ([#3645](https://github.com/MetaMask/core/pull/3645), [#4576](https://github.com/MetaMask/core/pull/4576), [#4584](https://github.com/MetaMask/core/pull/4584))
17
+
18
+ ### Fixed
19
+
20
+ - Produce and export ESM-compatible TypeScript type declaration files in addition to CommonJS-compatible declaration files ([#4648](https://github.com/MetaMask/core/pull/4648))
21
+ - Previously, this package shipped with only one variant of type declaration
22
+ files, and these files were only CommonJS-compatible, and the `exports`
23
+ field in `package.json` linked to these files. This is an anti-pattern and
24
+ was rightfully flagged by the
25
+ ["Are the Types Wrong?"](https://arethetypeswrong.github.io/) tool as
26
+ ["masquerading as CJS"](https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseCJS.md).
27
+ All of the ATTW checks now pass.
28
+ - Remove chunk files ([#4648](https://github.com/MetaMask/core/pull/4648)).
29
+ - Previously, the build tool we used to generate JavaScript files extracted
30
+ common code to "chunk" files. While this was intended to make this package
31
+ more tree-shakeable, it also made debugging more difficult for our
32
+ development teams. These chunk files are no longer present.
33
+
10
34
  ## [3.0.0]
11
35
 
12
36
  ### Changed
@@ -47,7 +71,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
47
71
 
48
72
  - Initial release
49
73
 
50
- [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/permission-log-controller@3.0.0...HEAD
74
+ [Unreleased]: https://github.com/MetaMask/core/compare/@metamask/permission-log-controller@3.0.1...HEAD
75
+ [3.0.1]: https://github.com/MetaMask/core/compare/@metamask/permission-log-controller@3.0.0...@metamask/permission-log-controller@3.0.1
51
76
  [3.0.0]: https://github.com/MetaMask/core/compare/@metamask/permission-log-controller@2.0.2...@metamask/permission-log-controller@3.0.0
52
77
  [2.0.2]: https://github.com/MetaMask/core/compare/@metamask/permission-log-controller@2.0.1...@metamask/permission-log-controller@2.0.2
53
78
  [2.0.1]: https://github.com/MetaMask/core/compare/@metamask/permission-log-controller@2.0.0...@metamask/permission-log-controller@2.0.1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask-previews/permission-log-controller",
3
- "version": "3.0.0-preview-cf09c0a",
3
+ "version": "3.0.1-preview-e34879fb",
4
4
  "description": "Controller with middleware for logging requests and responses to restricted and permissions-related methods",
5
5
  "keywords": [
6
6
  "MetaMask",
@@ -47,8 +47,8 @@
47
47
  "test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch"
48
48
  },
49
49
  "dependencies": {
50
- "@metamask/base-controller": "^7.0.0",
51
- "@metamask/json-rpc-engine": "^9.0.2",
50
+ "@metamask/base-controller": "^7.0.1",
51
+ "@metamask/json-rpc-engine": "^9.0.3",
52
52
  "@metamask/utils": "^9.1.0"
53
53
  },
54
54
  "devDependencies": {