Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 13, 2025

Bumps @metamask/eth-json-rpc-infura from 10.0.0 to 10.1.0.

Release notes

Sourced from @​metamask/eth-json-rpc-infura's releases.

10.1.0

Added

  • Add a way to pass an RPC service to createInfuraMiddleware (#116)
    • The new, recommended function signature is now createInfuraMiddleware({ rpcService: AbstractRpcService; options?: { source?: string; headers?: HeadersInit } }), where AbstractRpcService matches the same interface from @metamask/network-controller
    • This allows us to support automatic failover to a secondary node when the network goes down

Changed

  • Bump dependencies to remove pre-11.x versions of @metamask/utils from dependency tree (#118)
    • Bump @metamask/eth-json-rpc-provider from ^4.1.5 to ^4.1.7
    • Bump @metamask/json-rpc-engine from ^10.0.0 to ^10.0.2
    • Bump @metamask/rpc-errors from ^7.0.0 to ^7.0.2
    • Bump @metamask/utils from ^9.1.0 to ^11.1.0

Deprecated

  • Deprecate passing an RPC endpoint to createInfuraMiddleware (#116)
    • See recommended function signature above
    • The existing signature createInfuraMiddleware({ network?: InfuraJsonRpcSupportedNetwork; maxAttempts?: number; source?: string; projectId: string; headers?: Record<string, string>; }) will be removed in a future major version
Changelog

Sourced from @​metamask/eth-json-rpc-infura's changelog.

[10.1.0]

Added

  • Add a way to pass an RPC service to createInfuraMiddleware (#116)
    • The new, recommended function signature is now createInfuraMiddleware({ rpcService: AbstractRpcService; options?: { source?: string; headers?: HeadersInit } }), where AbstractRpcService matches the same interface from @metamask/network-controller
    • This allows us to support automatic failover to a secondary node when the network goes down

Changed

  • Bump dependencies to remove pre-11.x versions of @metamask/utils from dependency tree (#118)
    • Bump @metamask/eth-json-rpc-provider from ^4.1.5 to ^4.1.7
    • Bump @metamask/json-rpc-engine from ^10.0.0 to ^10.0.2
    • Bump @metamask/rpc-errors from ^7.0.0 to ^7.0.2
    • Bump @metamask/utils from ^9.1.0 to ^11.1.0

Deprecated

  • Deprecate passing an RPC endpoint to createInfuraMiddleware (#116)
    • See recommended function signature above
    • The existing signature createInfuraMiddleware({ network?: InfuraJsonRpcSupportedNetwork; maxAttempts?: number; source?: string; projectId: string; headers?: Record<string, string>; }) will be removed in a future major version
Commits

Dependabot compatibility score

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 commands and options

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)

Bumps [@metamask/eth-json-rpc-infura](https://github.com/MetaMask/eth-json-rpc-infura) from 10.0.0 to 10.1.0.
- [Release notes](https://github.com/MetaMask/eth-json-rpc-infura/releases)
- [Changelog](https://github.com/MetaMask/eth-json-rpc-infura/blob/main/CHANGELOG.md)
- [Commits](MetaMask/eth-json-rpc-infura@v10.0.0...v10.1.0)

---
updated-dependencies:
- dependency-name: "@metamask/eth-json-rpc-infura"
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner February 13, 2025 06:10
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 13, 2025
@socket-security
Copy link

New and updated dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@metamask/eth-json-rpc-infura@10.1.0 🔁 npm/@metamask/eth-json-rpc-infura@10.0.0 None +4 1.25 MB mcmire

View full report↗︎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant