Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump @metamask/providers from 9.0.0 to 13.1.0 #84

Merged
merged 2 commits into from
Nov 1, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 1, 2023

Bumps @metamask/providers from 9.0.0 to 13.1.0.

Release notes

Sourced from @​metamask/providers's releases.

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

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)

11.1.2

Changed

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

11.1.1

Changed

  • Update fast-deep-equal (#258)

11.1.0

Added

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

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.

10.2.1

Changed

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

10.2.0

Changed

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

10.1.0

Changed

... (truncated)

Changelog

Sourced from @​metamask/providers's changelog.

[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

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

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

[11.1.2]

Changed

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

[11.1.1]

Changed

  • Update fast-deep-equal (#258)

[11.1.0]

Added

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

[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.

[10.2.1]

Changed

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

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by metamaskbot, a new releaser for @​metamask/providers since your current version.


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 will merge this PR once it's up-to-date and CI passes on it, as requested by @FrederikBolding.


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)

@dependabot dependabot bot requested a review from a team as a code owner November 1, 2023 11:36
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 1, 2023
Copy link

socket-security bot commented Nov 1, 2023

Removed dependencies detected. Learn more about Socket for GitHub ↗︎

🚮 Removed packages: @metamask/[email protected], [email protected]

FrederikBolding
FrederikBolding previously approved these changes Nov 1, 2023
@FrederikBolding
Copy link
Member

@dependabot merge

Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 1, 2023

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.

@Mrtenz
Copy link
Member

Mrtenz commented Nov 1, 2023

@dependabot recreate

Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 1, 2023

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.

Bumps [@metamask/providers](https://github.com/MetaMask/providers) from 9.0.0 to 13.1.0.
- [Release notes](https://github.com/MetaMask/providers/releases)
- [Changelog](https://github.com/MetaMask/providers/blob/main/CHANGELOG.md)
- [Commits](MetaMask/providers@v9.0.0...v13.1.0)

---
updated-dependencies:
- dependency-name: "@metamask/providers"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@Mrtenz Mrtenz force-pushed the dependabot/npm_and_yarn/main/metamask/providers-13.1.0 branch from ad7de1f to 4673cd6 Compare November 1, 2023 12:09
FrederikBolding
FrederikBolding previously approved these changes Nov 1, 2023
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 1, 2023

One of your CI runs failed on this pull request, so Dependabot won't merge it.

Dependabot will still automatically merge this pull request if you amend it and your tests pass.

@Mrtenz Mrtenz merged commit 5bf5f08 into main Nov 1, 2023
8 checks passed
@Mrtenz Mrtenz deleted the dependabot/npm_and_yarn/main/metamask/providers-13.1.0 branch November 1, 2023 12:17
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.

2 participants