@metamask-previews/json-rpc-middleware-stream 8.0.2-preview-cf09c0a → 8.0.3-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 +24 -1
- package/package.json +2 -2
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
|
+
## [8.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
|
## [8.0.2]
|
|
11
33
|
|
|
12
34
|
### Uncategorized
|
|
@@ -149,7 +171,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
149
171
|
|
|
150
172
|
- TypeScript typings ([#11](https://github.com/MetaMask/json-rpc-middleware-stream/pull/11))
|
|
151
173
|
|
|
152
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/json-rpc-middleware-stream@8.0.
|
|
174
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/json-rpc-middleware-stream@8.0.3...HEAD
|
|
175
|
+
[8.0.3]: https://github.com/MetaMask/core/compare/@metamask/json-rpc-middleware-stream@8.0.2...@metamask/json-rpc-middleware-stream@8.0.3
|
|
153
176
|
[8.0.2]: https://github.com/MetaMask/core/compare/@metamask/json-rpc-middleware-stream@8.0.1...@metamask/json-rpc-middleware-stream@8.0.2
|
|
154
177
|
[8.0.1]: https://github.com/MetaMask/core/compare/@metamask/json-rpc-middleware-stream@8.0.0...@metamask/json-rpc-middleware-stream@8.0.1
|
|
155
178
|
[8.0.0]: https://github.com/MetaMask/core/compare/@metamask/json-rpc-middleware-stream@7.0.2...@metamask/json-rpc-middleware-stream@8.0.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/json-rpc-middleware-stream",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.3-preview-e34879fb",
|
|
4
4
|
"description": "A small toolset for streaming JSON-RPC data and matching requests and responses",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@metamask/json-rpc-engine": "^9.0.
|
|
50
|
+
"@metamask/json-rpc-engine": "^9.0.3",
|
|
51
51
|
"@metamask/safe-event-emitter": "^3.0.0",
|
|
52
52
|
"@metamask/utils": "^9.1.0",
|
|
53
53
|
"readable-stream": "^3.6.2"
|