New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@metamask/eth-json-rpc-middleware

Package Overview
Dependencies
Maintainers
0
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask/eth-json-rpc-middleware - npm Package Versions

1

12.1.1

Diff

Changelog

Source

[12.1.1]

Fixed

  • Update from eth-block-tracker@^8.0.0 to @metamask/eth-block-tracker@^9.0.2 (#303)
    • Mitigates polling-loop related concurrency issue in the block tracker.
metamaskbot
published 12.1.0 •

Changelog

Source

[12.1.0]

Added

  • Add signatureMethod property to MessageParams (#273)
  • Add version property to eth_signTypedData message params (#282)

Changed

  • Update message types (#282)
metamaskbot
published 12.0.1 •

Changelog

Source

[12.0.1]

Changed

  • Bump @metamask/json-rpc-engine from 7.1.1 to 7.2.0 (#256)
  • Bump @metamask/utils from 8.1.0 to 8.2.0 (#258)
  • Bump @metamask/rpc-errors from 6.0.0 to 6.1.0 (#253)
  • Bump @metamask/eth-json-rpc-provider from 2.1.0 to 2.2.0 (#252)
  • Update retryOnEmpty middleware to not retry "execution reverted" errors (#254)

Fixed

  • Fix signTransaction and sendTransaction so it preserves transaction data instead of overwriting it (#263)
metamaskbot
published 12.0.0 •

Changelog

Source

[12.0.0]

Changed

  • BREAKING: Minimum Node.js version is now v16 (#243)
  • BREAKING: Bump @metamask/utils from ^5.0.2 to ^8.1.0 (#241)
  • BREAKING: Bump @metamask/eth-json-rpc-provider from ^1.0.0 to ^2.1.0 (#245)
  • BREAKING: Migrate from eth-rpc-errors ^4.0.3 to @metamask/rpc-errors ^6.0.0 (#245)
  • BREAKING: Migrate from json-rpc-engine ^6.1.0 to @metamask/json-rpc-engine ^7.1.1 (#245)
  • Bump @metamask/eth-sig-util from ^6.0.0 to ^7.0.0 (#248)
  • Bump @metamask/eth-block-tracker from ^7.0.1 to ^8.0.0 (#245)
  • Replace deep-cloning implemantation clone with klona/full(#250)
metamaskbot
published 11.0.2 •

Changelog

Source

[11.0.2]

Changed

  • Bump @metamask/eth-sig-util from ^5.0.0 to ^6.0.0 (#236)
metamaskbot
published 11.0.1 •

Changelog

Source

[11.0.1]

Changed

  • Bump @metamask/utils from ^3.5.0 to ^5.0.2 (#201)
  • Bump eth-block-tracker from ^7.0.0 to ^7.0.1 (#204)
metamaskbot
published 11.0.0 •

Changelog

Source

[11.0.0]

Changed

  • BREAKING: Update eth-block-tracker to v7 (#196, #188)
    • This changes the expected type of the blockTracker parameter for the following functions:
      • createBlockCacheMiddleware
      • createBlockRefMiddleware
      • createBlockRefRewriteMiddleware
      • createBlockTrackerInspectorMiddleware
      • createRetryOnEmptyMiddleware
    • Only the type change is breaking; there is no functional change here.
  • BREAKING: Add new required parameters for the fetch middleware (#192, #190)
    • The required parameters are fetch and btoa. Previously we would either use the global by that name (if one existed), or a polyfill. Those polyfills have been removed.
  • Replace json-stable-stringify with safe-stable-stringify (#104)
    • This should slightly improve performance of the inlight cache and block cache middleware

Removed

  • BREAKING: Remove providerFromEngine and providerFromMiddleware (#194)
    • These are now provided by the package @metamask/eth-json-rpc-provider instead
  • BREAKING: Remove unnecessary suppressUnauthorized option (#193)

Fixed

  • BREAKING: Fix types for createWalletMiddleware (#111)
    • This middleware had previously included a number of errors, where the type contradicted the Ethereum JSON-RPC specification and how we've been using this middleware in practice. They should all now match the specification.
gudahtt
published 10.0.0 •

Changelog

Source

[10.0.0]

Changed

  • BREAKING: Rename the package from eth-json-rpc-middleware to @metamask/eth-json-rpc-middleware (#180)
  • Change all middleware request and response types to unknown (#183)
    • This more accurately reflects the expectations of the middleware, and the way they had been used. This was required to more easily compose this middleware with others that had non-matching types.
  • The block cache and the inflight cache middleware types have been updated to include the skipCache request property (#178)
    • This property was always supported, but it was missing from the type.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc