Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@metamask/providers

Package Overview
Dependencies
Maintainers
11
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask/providers - npm Package Versions

12

11.1.0

Diff

Changelog

Source

[11.1.0]

Added

  • Add warning for callers of wallet_watchAsset with ERC721 and ERC1155 token types, that support is currently considered experimental (#264)
metamaskbot
published 11.0.0 •

Changelog

Source

[11.0.0]

Changed

  • BREAKING: Minimum Node.js version 16 (#254)
  • Support Flask and Beta in the external extension provider (#252)
  • Bump @metamask/safe-event-emitter from 2.0.0 to 3.0.0 (#255)

Fixed

  • Fix console warning about deprecated webextension-polyfill-ts (#249)
  • Prevent accountsChanged + eth_accounts callback loop (#248)
    • If you listen to the provider accountsChanged event, modify the returned accounts, then call eth_accounts, it was possible to enter an infinite loop. This was caused by the provider mistakenly thinking the accounts had changed because of the mutation performed in the event listener, triggering redundant accountsChanged events. This was fixed; there should be no more redundant accountsChanged events and no infinite loop.
gudahtt
published 10.2.1 •

Changelog

Source

[10.2.1]

Changed

  • Update json-rpc-middleware-stream (#234)
gudahtt
published 10.2.0 •

Changelog

Source

[10.2.0]

Changed

  • Update json-rpc-middleware-stream (#230)
gudahtt
published 10.1.0 •

Changelog

Source

[10.1.0]

Changed

  • Update json-rpc-middleware-stream (#228)
gudahtt
published 10.0.0 •

Changelog

Source

[10.0.0]

Changed

  • Retry sending messages to extension when METAMASK_EXTENSION_STREAM_CONNECT is received (#223)
  • BREAKING: Update minimum Node.js version to v14 (#225)
gudahtt
published 9.1.0 •

Changelog

Source

[9.1.0]

Added

  • Add deprecation warning for encryption methods (#218)
rekmarks
published 9.0.0 •

Changelog

Source

[9.0.0]

Changed

  • BREAKING: Move stream functionality from BaseProvider to new StreamProvider (#209)
    • BaseProvider is now a transport-agnostic abstract class. StreamProvider accepts a stream and relies on MetaMask's internal JSON-RPC API for its behavior. See the StreamProvider class for more details.
    • MetaMaskInpageProvider should be completely unaffected except that its prototype chain now includes a class named AbstractStreamProvider.
rekmarks
published 8.1.1 •

Changelog

Source

[8.1.1] - 2021-05-12

Changed

  • Rename package to @metamask/providers (#168)

Fixed

  • Restore networkChanged event in MetaMaskInpageProvider (#171)
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