@metamask-previews/eth-json-rpc-provider 4.1.3-preview-9d310688 → 4.1.4-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 +20 -1
- package/package.json +2 -2
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
|
+
## [4.1.4]
|
|
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
|
## [4.1.3]
|
|
11
29
|
|
|
12
30
|
### Changed
|
|
@@ -144,7 +162,8 @@ Release `v2.0.0` is identical to `v1.0.1` aside from Node.js version requirement
|
|
|
144
162
|
|
|
145
163
|
- Initial release, including `providerFromEngine` and `providerFromMiddleware`.
|
|
146
164
|
|
|
147
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/eth-json-rpc-provider@4.1.
|
|
165
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/eth-json-rpc-provider@4.1.4...HEAD
|
|
166
|
+
[4.1.4]: https://github.com/MetaMask/core/compare/@metamask/eth-json-rpc-provider@4.1.3...@metamask/eth-json-rpc-provider@4.1.4
|
|
148
167
|
[4.1.3]: https://github.com/MetaMask/core/compare/@metamask/eth-json-rpc-provider@4.1.2...@metamask/eth-json-rpc-provider@4.1.3
|
|
149
168
|
[4.1.2]: https://github.com/MetaMask/core/compare/@metamask/eth-json-rpc-provider@4.1.1...@metamask/eth-json-rpc-provider@4.1.2
|
|
150
169
|
[4.1.1]: https://github.com/MetaMask/core/compare/@metamask/eth-json-rpc-provider@4.1.0...@metamask/eth-json-rpc-provider@4.1.1
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask-previews/eth-json-rpc-provider",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.4-preview-e34879fb",
|
|
4
4
|
"description": "Create an Ethereum provider using a JSON-RPC engine or middleware",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"MetaMask",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@metamask/json-rpc-engine": "^9.0.
|
|
55
|
+
"@metamask/json-rpc-engine": "^9.0.3",
|
|
56
56
|
"@metamask/rpc-errors": "^6.3.1",
|
|
57
57
|
"@metamask/safe-event-emitter": "^3.0.0",
|
|
58
58
|
"@metamask/utils": "^9.1.0",
|