Skip to content

Commit 3cc38eb

Browse files
16.0.0 (#364)
See `CHANGELOG.md`.
1 parent e601069 commit 3cc38eb

File tree

3 files changed

+48
-3
lines changed

3 files changed

+48
-3
lines changed

CHANGELOG.md

+26-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [16.0.0]
10+
### Added
11+
- Support updated EIP-5792 specification ([#363](https://github.com/MetaMask/eth-json-rpc-middleware/pull/363))
12+
- Add optional `id` to `SendCallsParams`.
13+
- Add optional `capabilities` to each call in `SendCallsParams`.
14+
- Add `optional` property to both top-level and call-level capabilities.
15+
- Add `SendCallsResult` type.
16+
- Add `id`, `version`, and optional `capabilities` to `GetCallsStatusResult`.
17+
- Add `GetCallsStatusCode` enum.
18+
- Add `GetCallsStatusHook` type.
19+
- Add optional `chainIds` argument to `GetCapabilitiesParams`.
20+
21+
### Changed
22+
- **BREAKING:** Support updated EIP-5792 specification ([#363](https://github.com/MetaMask/eth-json-rpc-middleware/pull/363))
23+
- Return `SendCallsResult` from `wallet_sendCalls` instead of `string`.
24+
- Change `GetCallsStatusParams` to contain `Hex` instead of `string`.
25+
- Change `status` in `GetCallsStatusResult` to `number` instead of `string`.
26+
- Replace `GetTransactionReceiptsByBatchIdHook` with `GetCallsStatusHook`.
27+
28+
### Removed
29+
- **BREAKING:** Support updated EIP-5792 specification ([#363](https://github.com/MetaMask/eth-json-rpc-middleware/pull/363))
30+
- Remove `GetCallsStatusReceipt` type.
31+
- Remove `GetTransactionReceiptsByBatchIdHook` type.
32+
933
## [15.3.0]
1034
### Added
1135
- Support EIP-5792 ([#357](https://github.com/MetaMask/eth-json-rpc-middleware/pull/359))
@@ -282,7 +306,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
282306
- `json-rpc-engine@5.3.0` ([#53](https://github.com/MetaMask/eth-json-rpc-middleware/pull/53))
283307
- `eth-rpc-errors@3.0.0` ([#55](https://github.com/MetaMask/eth-json-rpc-middleware/pull/55))
284308

285-
[Unreleased]: https://github.com/MetaMask/eth-json-rpc-middleware/compare/v15.3.0...HEAD
309+
[Unreleased]: https://github.com/MetaMask/eth-json-rpc-middleware/compare/v16.0.0...HEAD
310+
[16.0.0]: https://github.com/MetaMask/eth-json-rpc-middleware/compare/v15.3.0...v16.0.0
286311
[15.3.0]: https://github.com/MetaMask/eth-json-rpc-middleware/compare/v15.2.0...v15.3.0
287312
[15.2.0]: https://github.com/MetaMask/eth-json-rpc-middleware/compare/v15.1.2...v15.2.0
288313
[15.1.2]: https://github.com/MetaMask/eth-json-rpc-middleware/compare/v15.1.1...v15.1.2

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/eth-json-rpc-middleware",
3-
"version": "15.3.0",
3+
"version": "16.0.0",
44
"description": "Ethereum-related json-rpc-engine middleware.",
55
"repository": {
66
"type": "git",

yarn.lock

+21-1
Original file line numberDiff line numberDiff line change
@@ -993,7 +993,27 @@ __metadata:
993993
languageName: node
994994
linkType: hard
995995

996-
"@metamask/eth-json-rpc-middleware@^15.0.1, @metamask/eth-json-rpc-middleware@workspace:.":
996+
"@metamask/eth-json-rpc-middleware@npm:^15.0.1":
997+
version: 15.3.0
998+
resolution: "@metamask/eth-json-rpc-middleware@npm:15.3.0"
999+
dependencies:
1000+
"@metamask/eth-block-tracker": ^11.0.4
1001+
"@metamask/eth-json-rpc-provider": ^4.1.7
1002+
"@metamask/eth-sig-util": ^8.1.2
1003+
"@metamask/json-rpc-engine": ^10.0.2
1004+
"@metamask/rpc-errors": ^7.0.2
1005+
"@metamask/superstruct": ^3.1.0
1006+
"@metamask/utils": ^11.1.0
1007+
"@types/bn.js": ^5.1.5
1008+
bn.js: ^5.2.1
1009+
klona: ^2.0.6
1010+
pify: ^5.0.0
1011+
safe-stable-stringify: ^2.4.3
1012+
checksum: 6d6946daf799d898d66133104c10718966e96c3edc59b71c4910fd29587a0aa800dcaa0ba12d404418f7508c5559593d218b5a5f9245f51dd02d229dd913b57f
1013+
languageName: node
1014+
linkType: hard
1015+
1016+
"@metamask/eth-json-rpc-middleware@workspace:.":
9971017
version: 0.0.0-use.local
9981018
resolution: "@metamask/eth-json-rpc-middleware@workspace:."
9991019
dependencies:

0 commit comments

Comments
 (0)