Skip to content

Commit 9b7ff3b

Browse files
chore(deps): bump @metamask/eth-json-rpc-middleware from 15.1.2 to 15.2.0 (#3090)
Bumps [@metamask/eth-json-rpc-middleware](https://github.com/MetaMask/eth-json-rpc-middleware) from 15.1.2 to 15.2.0. <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>15.2.0</h2> <h3>Added</h3> <ul> <li>Add a way to pass an RPC service to <code>createFetchMiddleware</code> (<a href="https://redirect.github.com/MetaMask/eth-json-rpc-middleware/pull/357">#357</a>) <ul> <li>The new, recommended function signature is now <code>createFetchMiddleware({ rpcService: AbstractRpcService; options?: { originHttpHeaderKey?: string; } })</code>, where <code>AbstractRpcService</code> matches the same interface from <code>@metamask/network-controller</code></li> <li>This allows us to support automatic failover to a secondary node when the network goes down</li> </ul> </li> </ul> <h3>Changed</h3> <ul> <li>Bump <code>@metamask/utils</code> to <code>^11.1.0</code> (<a href="https://redirect.github.com/MetaMask/eth-json-rpc-middleware/pull/358">#358</a>)</li> </ul> <h3>Deprecated</h3> <ul> <li>Deprecate passing an RPC endpoint to <code>createFetchMiddleware</code> (<a href="https://redirect.github.com/MetaMask/eth-json-rpc-middleware/pull/357">#357</a>) <ul> <li>See recommended function signature above</li> <li>The existing signature <code>createFetchMiddleware({ btoa: typeof btoa; fetch: typeof fetch; rpcUrl: string; originHttpHeaderKey?: string; })</code> will be removed in a future major version</li> </ul> </li> <li>Deprecate <code>PayloadWithOrigin</code> type (<a href="https://redirect.github.com/MetaMask/eth-json-rpc-middleware/pull/357">#357</a>) <ul> <li>There is no replacement for this type; it will be removed in a future major version.</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>[15.2.0]</h2> <h3>Added</h3> <ul> <li>Add a way to pass an RPC service to <code>createFetchMiddleware</code> (<a href="https://redirect.github.com/MetaMask/eth-json-rpc-middleware/pull/357">#357</a>) <ul> <li>The new, recommended function signature is now <code>createFetchMiddleware({ rpcService: AbstractRpcService; options?: { originHttpHeaderKey?: string; } })</code>, where <code>AbstractRpcService</code> matches the same interface from <code>@metamask/network-controller</code></li> <li>This allows us to support automatic failover to a secondary node when the network goes down</li> </ul> </li> </ul> <h3>Changed</h3> <ul> <li>Bump <code>@metamask/utils</code> to <code>^11.1.0</code> (<a href="https://redirect.github.com/MetaMask/eth-json-rpc-middleware/pull/358">#358</a>)</li> </ul> <h3>Deprecated</h3> <ul> <li>Deprecate passing an RPC endpoint to <code>createFetchMiddleware</code> (<a href="https://redirect.github.com/MetaMask/eth-json-rpc-middleware/pull/357">#357</a>) <ul> <li>See recommended function signature above</li> <li>The existing signature <code>createFetchMiddleware({ btoa: typeof btoa; fetch: typeof fetch; rpcUrl: string; originHttpHeaderKey?: string; })</code> will be removed in a future major version</li> </ul> </li> <li>Deprecate <code>PayloadWithOrigin</code> type (<a href="https://redirect.github.com/MetaMask/eth-json-rpc-middleware/pull/357">#357</a>) <ul> <li>There is no replacement for this type; it will be removed in a future major version.</li> </ul> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/MetaMask/eth-json-rpc-middleware/commit/fb247ec42b39778945a7f6c2d8bb16fcc032b24f"><code>fb247ec</code></a> 15.2.0 (<a href="https://redirect.github.com/MetaMask/eth-json-rpc-middleware/issues/360">#360</a>)</li> <li><a href="https://github.com/MetaMask/eth-json-rpc-middleware/commit/76f07aa983ee00140f3f27e0e5d41dad72c65798"><code>76f07aa</code></a> Allow createFetchMiddleware to take an RPC service (<a href="https://redirect.github.com/MetaMask/eth-json-rpc-middleware/issues/357">#357</a>)</li> <li><a href="https://github.com/MetaMask/eth-json-rpc-middleware/commit/af6897b801bf99b30f2ddf930b4d43e51191edc3"><code>af6897b</code></a> Bump <code>@metamask/utils</code> to ^11.1.0 (<a href="https://redirect.github.com/MetaMask/eth-json-rpc-middleware/issues/358">#358</a>)</li> <li>See full diff in <a href="https://github.com/MetaMask/eth-json-rpc-middleware/compare/v15.1.2...v15.2.0">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~mcmire">mcmire</a>, a new releaser for <code>@​metamask/eth-json-rpc-middleware</code> since your current version.</p> </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.1.2&new-version=15.2.0)](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 473d07f commit 9b7ff3b

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
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.1.2",
59+
"@metamask/eth-json-rpc-middleware": "^15.2.0",
6060
"@metamask/json-rpc-engine": "^10.0.2",
6161
"@metamask/json-rpc-middleware-stream": "^8.0.7",
6262
"@metamask/key-tree": "^10.0.2",

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.1.2",
50+
"@metamask/eth-json-rpc-middleware": "^15.2.0",
5151
"@metamask/json-rpc-engine": "^10.0.2",
5252
"@metamask/json-rpc-middleware-stream": "^8.0.7",
5353
"@metamask/key-tree": "^10.0.2",

yarn.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4478,22 +4478,22 @@ __metadata:
44784478
languageName: node
44794479
linkType: hard
44804480

4481-
"@metamask/eth-json-rpc-middleware@npm:^15.1.2":
4482-
version: 15.1.2
4483-
resolution: "@metamask/eth-json-rpc-middleware@npm:15.1.2"
4481+
"@metamask/eth-json-rpc-middleware@npm:^15.2.0":
4482+
version: 15.2.0
4483+
resolution: "@metamask/eth-json-rpc-middleware@npm:15.2.0"
44844484
dependencies:
44854485
"@metamask/eth-block-tracker": "npm:^11.0.4"
44864486
"@metamask/eth-json-rpc-provider": "npm:^4.1.7"
44874487
"@metamask/eth-sig-util": "npm:^8.1.2"
44884488
"@metamask/json-rpc-engine": "npm:^10.0.2"
44894489
"@metamask/rpc-errors": "npm:^7.0.2"
4490-
"@metamask/utils": "npm:^11.0.1"
4490+
"@metamask/utils": "npm:^11.1.0"
44914491
"@types/bn.js": "npm:^5.1.5"
44924492
bn.js: "npm:^5.2.1"
44934493
klona: "npm:^2.0.6"
44944494
pify: "npm:^5.0.0"
44954495
safe-stable-stringify: "npm:^2.4.3"
4496-
checksum: 10/71e7d61cc58df250bfef73438a9e30cc2f78e0e979feb8a9c0be72bbad470a2fe068fa790194cb88ef56865e36156e525272bc3e1a2a7135d07f7bd81a752239
4496+
checksum: 10/52dcb5927fe5e2db318965e3c5179704a1fa56ebccabeda93b8f9a6c28cb8958d5fefd7bddf5673c6532eab5d46ced8c7001394ce5cc634d8acd491755bcdd4c
44974497
languageName: node
44984498
linkType: hard
44994499

@@ -6125,7 +6125,7 @@ __metadata:
61256125
"@metamask/eslint-config-jest": "npm:^12.1.0"
61266126
"@metamask/eslint-config-nodejs": "npm:^12.1.0"
61276127
"@metamask/eslint-config-typescript": "npm:^12.1.0"
6128-
"@metamask/eth-json-rpc-middleware": "npm:^15.1.2"
6128+
"@metamask/eth-json-rpc-middleware": "npm:^15.2.0"
61296129
"@metamask/json-rpc-engine": "npm:^10.0.2"
61306130
"@metamask/json-rpc-middleware-stream": "npm:^8.0.7"
61316131
"@metamask/key-tree": "npm:^10.0.2"
@@ -6187,7 +6187,7 @@ __metadata:
61876187
"@metamask/eslint-config-jest": "npm:^12.1.0"
61886188
"@metamask/eslint-config-nodejs": "npm:^12.1.0"
61896189
"@metamask/eslint-config-typescript": "npm:^12.1.0"
6190-
"@metamask/eth-json-rpc-middleware": "npm:^15.1.2"
6190+
"@metamask/eth-json-rpc-middleware": "npm:^15.2.0"
61916191
"@metamask/json-rpc-engine": "npm:^10.0.2"
61926192
"@metamask/json-rpc-middleware-stream": "npm:^8.0.7"
61936193
"@metamask/key-tree": "npm:^10.0.2"

0 commit comments

Comments
 (0)