Socket
Socket
Sign inDemoInstall

@metamask/providers

Package Overview
Dependencies
Maintainers
7
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask/providers - npm Package Versions

13

14.0.0

Diff

Changelog

Source

[14.0.0]

Changed

  • BREAKING: Update to streams3 API (#288)
    • Update extension-port-stream from ^2.1.1 to ^3.0.0
      • Force subdependency readable-stream to ^3.6.2 in resolutions
    • Update json-rpc-middleware-stream from ^4.2.3 to ^5.0.1
    • Update @metamask/object-multiplex from ^1.3.0 to ^2.0.0
    • Add direct dependency on readable-stream@^3.6.2
    • Replace internal usage of stream with readable-stream
metamaskbot
published 13.1.0 •

Changelog

Source

[13.1.0]

Added

  • Add support for EIP-6963 (#263)
    • initializeProvider() params object now accepts an optional providerInfo property with a value of EIP6963ProviderInfo object
    • Add eip6963AnnounceProvider() which supports a wallet by announcing a provider through the eip6963:announceProvider event and re-announcing the provider whenever an eip6963:requestProvider event is received
    • Add eip6963RequestProvider() which supports a dapp by dispatching an eip6963:requestProvider event and invoking a callback for each eip6963:announceProvider event received
    • Add EIP6963AnnounceProviderEvent type
    • Add EIP6963ProviderDetail type
    • Add EIP6963ProviderInfo type
    • Add EIP6963RequestProviderEvent type
metamaskbot
published 13.0.0 •

Changelog

Source

[13.0.0]

Changed

  • BREAKING: Update chainId, networkVersion, and selectedAddress to be read-only (#280)
  • Log deprecation warning when accessing chainId, networkVersion, and selectedAddress (#280)
  • Remove pump (#281)
metamaskbot
published 12.0.0 •

Changelog

Source

[12.0.0]

Changed

  • BREAKING: Replace eth-rpc-errors@^4.0.2 with @metamask/rpc-errors@6.0.0 (#277)
  • BREAKING: Replace json-rpc-engine@^6.1.0 with @metamask/json-rpc-engine@7.1.1 (#277)
  • Upgrade @metamask/utils from ^6.2.0 to ^8.1.0 (#277)
metamaskbot
published 11.1.2 •

Changelog

Source

[11.1.2]

Changed

  • Update extension-port-stream to ^2.1.1 (#273)
metamaskbot
published 11.1.1 •

Changelog

Source

[11.1.1]

Changed

  • Update fast-deep-equal (#258)
metamaskbot
published 11.1.0 •

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)
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