Skip to content

Commit 8d1d907

Browse files
chore(deps): bump @metamask/eth-json-rpc-middleware from 15.3.0 to 16.0.1 (#3291)
Bumps [@metamask/eth-json-rpc-middleware](https://github.com/MetaMask/eth-json-rpc-middleware) from 15.3.0 to 16.0.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/MetaMask/eth-json-rpc-middleware/releases"><code>@​metamask/eth-json-rpc-middleware</code>'s releases</a>.</em></p> <blockquote> <h2>16.0.1</h2> <h3>Fixed</h3> <ul> <li>Fix <code>fetch</code> middleware so that non-standard JSON-RPC error responses are no longer treated as successful responses (<a href="https://redirect.github.com/MetaMask/eth-json-rpc-middleware/pull/367">#367</a>) <ul> <li>A &quot;non-standard&quot; error response is one with an <code>error</code> field but where there are more properties in the error object than expected</li> </ul> </li> </ul> <h2>16.0.0</h2> <h3>Added</h3> <ul> <li>Support updated EIP-5792 specification (<a href="https://redirect.github.com/MetaMask/eth-json-rpc-middleware/pull/363">#363</a>) <ul> <li>Add optional <code>id</code> to <code>SendCallsParams</code>.</li> <li>Add optional <code>capabilities</code> to each call in <code>SendCallsParams</code>.</li> <li>Add <code>optional</code> property to both top-level and call-level capabilities.</li> <li>Add <code>SendCallsResult</code> type.</li> <li>Add <code>id</code>, <code>version</code>, and optional <code>capabilities</code> to <code>GetCallsStatusResult</code>.</li> <li>Add <code>GetCallsStatusCode</code> enum.</li> <li>Add <code>GetCallsStatusHook</code> type.</li> <li>Add optional <code>chainIds</code> argument to <code>GetCapabilitiesParams</code>.</li> </ul> </li> </ul> <h3>Changed</h3> <ul> <li><strong>BREAKING:</strong> Support updated EIP-5792 specification (<a href="https://redirect.github.com/MetaMask/eth-json-rpc-middleware/pull/363">#363</a>) <ul> <li>Return <code>SendCallsResult</code> from <code>wallet_sendCalls</code> instead of <code>string</code>.</li> <li>Change <code>GetCallsStatusParams</code> to contain <code>Hex</code> instead of <code>string</code>.</li> <li>Change <code>status</code> in <code>GetCallsStatusResult</code> to <code>number</code> instead of <code>string</code>.</li> <li>Replace <code>GetTransactionReceiptsByBatchIdHook</code> with <code>GetCallsStatusHook</code>.</li> </ul> </li> </ul> <h3>Removed</h3> <ul> <li><strong>BREAKING:</strong> Support updated EIP-5792 specification (<a href="https://redirect.github.com/MetaMask/eth-json-rpc-middleware/pull/363">#363</a>) <ul> <li>Remove <code>GetCallsStatusReceipt</code> type.</li> <li>Remove <code>GetTransactionReceiptsByBatchIdHook</code> type.</li> </ul> </li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/MetaMask/eth-json-rpc-middleware/blob/main/CHANGELOG.md"><code>@​metamask/eth-json-rpc-middleware</code>'s changelog</a>.</em></p> <blockquote> <h2>[16.0.1]</h2> <h3>Fixed</h3> <ul> <li>Fix <code>fetch</code> middleware so that non-standard JSON-RPC error responses are no longer treated as successful responses (<a href="https://redirect.github.com/MetaMask/eth-json-rpc-middleware/pull/367">#367</a>) <ul> <li>A &quot;non-standard&quot; error response is one with an <code>error</code> field but where there are more properties in the error object than expected</li> </ul> </li> </ul> <h2>[16.0.0]</h2> <h3>Added</h3> <ul> <li>Support updated EIP-5792 specification (<a href="https://redirect.github.com/MetaMask/eth-json-rpc-middleware/pull/363">#363</a>) <ul> <li>Add optional <code>id</code> to <code>SendCallsParams</code>.</li> <li>Add optional <code>capabilities</code> to each call in <code>SendCallsParams</code>.</li> <li>Add <code>optional</code> property to both top-level and call-level capabilities.</li> <li>Add <code>SendCallsResult</code> type.</li> <li>Add <code>id</code>, <code>version</code>, and optional <code>capabilities</code> to <code>GetCallsStatusResult</code>.</li> <li>Add <code>GetCallsStatusCode</code> enum.</li> <li>Add <code>GetCallsStatusHook</code> type.</li> <li>Add optional <code>chainIds</code> argument to <code>GetCapabilitiesParams</code>.</li> </ul> </li> </ul> <h3>Changed</h3> <ul> <li><strong>BREAKING:</strong> Support updated EIP-5792 specification (<a href="https://redirect.github.com/MetaMask/eth-json-rpc-middleware/pull/363">#363</a>) <ul> <li>Return <code>SendCallsResult</code> from <code>wallet_sendCalls</code> instead of <code>string</code>.</li> <li>Change <code>GetCallsStatusParams</code> to contain <code>Hex</code> instead of <code>string</code>.</li> <li>Change <code>status</code> in <code>GetCallsStatusResult</code> to <code>number</code> instead of <code>string</code>.</li> <li>Replace <code>GetTransactionReceiptsByBatchIdHook</code> with <code>GetCallsStatusHook</code>.</li> </ul> </li> </ul> <h3>Removed</h3> <ul> <li><strong>BREAKING:</strong> Support updated EIP-5792 specification (<a href="https://redirect.github.com/MetaMask/eth-json-rpc-middleware/pull/363">#363</a>) <ul> <li>Remove <code>GetCallsStatusReceipt</code> type.</li> <li>Remove <code>GetTransactionReceiptsByBatchIdHook</code> type.</li> </ul> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/MetaMask/eth-json-rpc-middleware/commit/9d15930c09aa7c31e66444ad8cfb0d90740aa86b"><code>9d15930</code></a> 16.0.1 (<a href="https://redirect.github.com/MetaMask/eth-json-rpc-middleware/issues/368">#368</a>)</li> <li><a href="https://github.com/MetaMask/eth-json-rpc-middleware/commit/a84a05725ab388e491fe429fb269b495e169de0c"><code>a84a057</code></a> fetch: Treat non-standard JSON-RPC errors as standard (<a href="https://redirect.github.com/MetaMask/eth-json-rpc-middleware/issues/367">#367</a>)</li> <li><a href="https://github.com/MetaMask/eth-json-rpc-middleware/commit/e09777d077c0371001dff40aff250aedb853c1ef"><code>e09777d</code></a> chore: update security-code-scanner@main to action-security-code-scanner@v1 (...</li> <li><a href="https://github.com/MetaMask/eth-json-rpc-middleware/commit/3cc38eb8961e91e7fcfc22e429378ef379fc82c1"><code>3cc38eb</code></a> 16.0.0 (<a href="https://redirect.github.com/MetaMask/eth-json-rpc-middleware/issues/364">#364</a>)</li> <li><a href="https://github.com/MetaMask/eth-json-rpc-middleware/commit/e6010690a0078fb4769cde6464eb726efb56b021"><code>e601069</code></a> feat: support updated EIP-5792 specification (<a href="https://redirect.github.com/MetaMask/eth-json-rpc-middleware/issues/363">#363</a>)</li> <li><a href="https://github.com/MetaMask/eth-json-rpc-middleware/commit/29b4007b3552606188d4fbf823d2f9865ce6227f"><code>29b4007</code></a> chore: add workflow_dispatch to security-code-scanner (<a href="https://redirect.github.com/MetaMask/eth-json-rpc-middleware/issues/362">#362</a>)</li> <li>See full diff in <a href="https://github.com/MetaMask/eth-json-rpc-middleware/compare/v15.3.0...v16.0.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@metamask/eth-json-rpc-middleware&package-manager=npm_and_yarn&previous-version=15.3.0&new-version=16.0.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 7fcbef5 commit 8d1d907

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

packages/snaps-simulation/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
},
5757
"dependencies": {
5858
"@metamask/base-controller": "^8.0.0",
59-
"@metamask/eth-json-rpc-middleware": "^15.3.0",
59+
"@metamask/eth-json-rpc-middleware": "^16.0.1",
6060
"@metamask/json-rpc-engine": "^10.0.2",
6161
"@metamask/json-rpc-middleware-stream": "^8.0.7",
6262
"@metamask/key-tree": "^10.1.1",

packages/snaps-simulator/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"@emotion/styled": "^11.10.8",
4848
"@ethersproject/units": "^5.7.0",
4949
"@metamask/base-controller": "^8.0.0",
50-
"@metamask/eth-json-rpc-middleware": "^15.3.0",
50+
"@metamask/eth-json-rpc-middleware": "^16.0.1",
5151
"@metamask/json-rpc-engine": "^10.0.2",
5252
"@metamask/json-rpc-middleware-stream": "^8.0.7",
5353
"@metamask/key-tree": "^10.1.1",

yarn.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4647,9 +4647,9 @@ __metadata:
46474647
languageName: node
46484648
linkType: hard
46494649

4650-
"@metamask/eth-json-rpc-middleware@npm:^15.3.0":
4651-
version: 15.3.0
4652-
resolution: "@metamask/eth-json-rpc-middleware@npm:15.3.0"
4650+
"@metamask/eth-json-rpc-middleware@npm:^16.0.1":
4651+
version: 16.0.1
4652+
resolution: "@metamask/eth-json-rpc-middleware@npm:16.0.1"
46534653
dependencies:
46544654
"@metamask/eth-block-tracker": "npm:^11.0.4"
46554655
"@metamask/eth-json-rpc-provider": "npm:^4.1.7"
@@ -4663,7 +4663,7 @@ __metadata:
46634663
klona: "npm:^2.0.6"
46644664
pify: "npm:^5.0.0"
46654665
safe-stable-stringify: "npm:^2.4.3"
4666-
checksum: 10/09e595a064b5f45bf0597dad38d04aaa4f2eb09700c70c85ec06ec22a6f642adffdbd1120380fd4b1d485c0d39bfc4b354c39c2b75d7ffa96210a2003189c0db
4666+
checksum: 10/5c806cbac87c30cc4dcc9a9437a92e8c25aa4f00af34826433529d19ac1dd9e69488795bef9cbe59c7b982f33e0386e1f39426203c0e422e30c74e7f79ade803
46674667
languageName: node
46684668
linkType: hard
46694669

@@ -5893,7 +5893,7 @@ __metadata:
58935893
"@lavamoat/allow-scripts": "npm:^3.0.4"
58945894
"@metamask/auto-changelog": "npm:^5.0.0"
58955895
"@metamask/base-controller": "npm:^8.0.0"
5896-
"@metamask/eth-json-rpc-middleware": "npm:^15.3.0"
5896+
"@metamask/eth-json-rpc-middleware": "npm:^16.0.1"
58975897
"@metamask/json-rpc-engine": "npm:^10.0.2"
58985898
"@metamask/json-rpc-middleware-stream": "npm:^8.0.7"
58995899
"@metamask/key-tree": "npm:^10.1.1"
@@ -5940,7 +5940,7 @@ __metadata:
59405940
"@ethersproject/units": "npm:^5.7.0"
59415941
"@metamask/auto-changelog": "npm:^5.0.0"
59425942
"@metamask/base-controller": "npm:^8.0.0"
5943-
"@metamask/eth-json-rpc-middleware": "npm:^15.3.0"
5943+
"@metamask/eth-json-rpc-middleware": "npm:^16.0.1"
59445944
"@metamask/json-rpc-engine": "npm:^10.0.2"
59455945
"@metamask/json-rpc-middleware-stream": "npm:^8.0.7"
59465946
"@metamask/key-tree": "npm:^10.1.1"

0 commit comments

Comments
 (0)