@metamask-previews/json-rpc-engine 9.0.2-preview-9d310688 → 9.0.3-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.
- package/CHANGELOG.md +24 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,28 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [9.0.3]
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Bump TypeScript from `~5.0.4` to `~5.2.2` ([#4576](https://github.com/MetaMask/core/pull/4576), [#4584](https://github.com/MetaMask/core/pull/4584))
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- Produce and export ESM-compatible TypeScript type declaration files in addition to CommonJS-compatible declaration files ([#4648](https://github.com/MetaMask/core/pull/4648))
|
|
19
|
+
- Previously, this package shipped with only one variant of type declaration
|
|
20
|
+
files, and these files were only CommonJS-compatible, and the `exports`
|
|
21
|
+
field in `package.json` linked to these files. This is an anti-pattern and
|
|
22
|
+
was rightfully flagged by the
|
|
23
|
+
["Are the Types Wrong?"](https://arethetypeswrong.github.io/) tool as
|
|
24
|
+
["masquerading as CJS"](https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseCJS.md).
|
|
25
|
+
All of the ATTW checks now pass.
|
|
26
|
+
- Remove chunk files ([#4648](https://github.com/MetaMask/core/pull/4648)).
|
|
27
|
+
- Previously, the build tool we used to generate JavaScript files extracted
|
|
28
|
+
common code to "chunk" files. While this was intended to make this package
|
|
29
|
+
more tree-shakeable, it also made debugging more difficult for our
|
|
30
|
+
development teams. These chunk files are no longer present.
|
|
31
|
+
|
|
10
32
|
## [9.0.2]
|
|
11
33
|
|
|
12
34
|
### Changed
|
|
@@ -181,7 +203,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
181
203
|
This change may affect consumers that depend on the eager execution of middleware _during_ request processing, _outside of_ middleware functions and request handlers.
|
|
182
204
|
- In general, it is a bad practice to work with state that depends on middleware execution, while the middleware are executing.
|
|
183
205
|
|
|
184
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/json-rpc-engine@9.0.
|
|
206
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/json-rpc-engine@9.0.3...HEAD
|
|
207
|
+
[9.0.3]: https://github.com/MetaMask/core/compare/@metamask/json-rpc-engine@9.0.2...@metamask/json-rpc-engine@9.0.3
|
|
185
208
|
[9.0.2]: https://github.com/MetaMask/core/compare/@metamask/json-rpc-engine@9.0.1...@metamask/json-rpc-engine@9.0.2
|
|
186
209
|
[9.0.1]: https://github.com/MetaMask/core/compare/@metamask/json-rpc-engine@9.0.0...@metamask/json-rpc-engine@9.0.1
|
|
187
210
|
[9.0.0]: https://github.com/MetaMask/core/compare/@metamask/json-rpc-engine@8.0.2...@metamask/json-rpc-engine@9.0.0
|