Skip to content

Releases: MetaMask/providers

13.1.0

11 Oct 20:58
7342303
Compare
Choose a tag to compare

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

13.0.0

14 Sep 16:25
101eb3a
Compare
Choose a tag to compare

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)

12.0.0

05 Sep 07:21
ece0650
Compare
Choose a tag to compare

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)

11.1.2

04 Sep 08:55
74b5165
Compare
Choose a tag to compare

Changed

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

11.1.1

04 Aug 15:23
6206aad
Compare
Choose a tag to compare

Changed

  • Update fast-deep-equal (#258)

11.1.0

26 Jun 17:06
f39f84b
Compare
Choose a tag to compare

Added

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

11.0.0

11 May 01:21
f2685b5
Compare
Choose a tag to compare

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.

10.2.1

17 Nov 08:24
feeebdf
Compare
Choose a tag to compare

Changed

  • Update json-rpc-middleware-stream (#234)

10.2.0

02 Nov 18:21
ef0de26
Compare
Choose a tag to compare

Changed

  • update json-rpc-middleware-stream (#230)

10.1.0

29 Oct 00:12
e6cf8bc
Compare
Choose a tag to compare

Changed

  • Update json-rpc-middleware-stream (#228)