Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Sep 19, 2022

Bumps @metamask/controllers from 26.0.0 to 31.1.0.

Release notes

Sourced from @​metamask/controllers's releases.

31.1.0

Added

  • Add new error type - ApprovalRequestNotFoundError (#909)

Changed

  • Replace ethers with submodules (@ethersproject/**) (#907)

31.0.0

Added

  • Add support for caveats on endowment permissions (#878)

Changed

  • BREAKING: Bump to Node 14 (#893)
  • BREAKING: PhishingController is now async (#897)
    • PhishingController.test now returns a Promise
    • PhishingController.setRefreshInterval should now be used to change the polling interval
  • Changed TokenController._createEthersContract to no longer be async (#895)

30.3.0

Added

  • Add new functionality to the CollectiblesController to verify the transaction state of a collectible (#762).
    • Add new method to the CollectiblesController to search a Collectible by smart contract address and token ID (findCollectibleByAddressAndTokenId).
    • Add new method to the CollectiblesController to update the state of a Collectible (updateCollectible).
    • Add new method to the CollectiblesController to reset the transaction status of a Collectible (resetCollectibleTransactionStatusByTransactionId).
  • Add new method validatePassword to KeyringController to validate the password (#884)
  • Add formatIconUrlWithProxy function for formatting iconUrl Proxy for tokens from Swaps API (#889)

30.2.0

Changed

  • Updated the Testnet Ticker string format to be prefixed with the network name (e.g. ETH) (#868)

30.1.0

Added

  • Allow clients to avoid third party tokenlist polling (#861):
    • Added a new configuration property preventPollingOnNetworkRestart is added to TokenListController.
    • Added a method to update the new preventPollingOnNetworkRestart property value.
    • Added a method to reset the tokenList and tokensChainsCache properties in state.

30.0.2

Added

  • Adds method isTokenListSupportedForNetwork which returns SupportedTokenDetectionNetworks plus the local ganache network chainId. Then changes TokenListController to use this method to check whether or not to start polling, so that polling can occur on ganache networks to allow for e2e testing (#855)

30.0.1

Fixed

  • Change formatIconUrlWithProxy to accept hex strings for chainId (#851)
  • This change fixes an issue introduced in v30.0.0 for metamask-extension where the chainId is currently represented as a hexadecimal in the TokensController and was, as a result, getting invalid URL responses from formatIconUrlWithProxy which previously expected its chainId argument to be in decimal format.

30.0.0

Added

  • BREAKING: Introduce getNetworkState, getPreferencesState, and onTokenListStateChange to the TokenDetectionController constructor options object (#808)

... (truncated)

Changelog

Sourced from @​metamask/controllers's changelog.

[31.1.0]

Added

  • Add new error type - ApprovalRequestNotFoundError (#909)

Changed

  • Replace ethers with submodules (@ethersproject/**) (#907)

[31.0.0]

Added

  • Add support for caveats on endowment permissions (#878)

Changed

  • BREAKING: Bump to Node 14 (#893)
  • BREAKING: PhishingController is now async (#897)
    • PhishingController.test now returns a Promise
    • PhishingController.setRefreshInterval should now be used to change the polling interval
  • Changed TokenController._createEthersContract to no longer be async (#895)

[30.3.0]

Added

  • Add new functionality to the CollectiblesController to verify the transaction state of a collectible (#762).
    • Add new method to the CollectiblesController to search a Collectible by smart contract address and token ID (findCollectibleByAddressAndTokenId).
    • Add new method to the CollectiblesController to update the state of a Collectible (updateCollectible).
    • Add new method to the CollectiblesController to reset the transaction status of a Collectible (resetCollectibleTransactionStatusByTransactionId).
  • Add new method validatePassword to KeyringController to validate the password (#884)
  • Add formatIconUrlWithProxy function for formatting iconUrl Proxy for tokens from Swaps API (#889)

[30.2.0]

Changed

  • Updated the Testnet Ticker string format to be prefixed with the network name (e.g. ETH) (#868)

[30.1.0]

Added

  • Allow clients to avoid third party tokenlist polling (#861):
    • Added a new configuration property preventPollingOnNetworkRestart is added to TokenListController.
    • Added a method to update the new preventPollingOnNetworkRestart property value.
    • Added a method to reset the tokenList and tokensChainsCache properties in state.

[30.0.2]

Added

  • Adds method isTokenListSupportedForNetwork which returns SupportedTokenDetectionNetworks plus the local ganache network chainId. Then changes TokenListController to use this method to check whether or not to start polling, so that polling can occur on ganache networks to allow for e2e testing (#855)

[30.0.1]

Fixed

  • Change formatIconUrlWithProxy to accept hex strings for chainId (#851)
  • This change fixes an issue introduced in v30.0.0 for metamask-extension where the chainId is currently represented as a hexadecimal in the TokensController and was, as a result, getting invalid URL responses from formatIconUrlWithProxy which previously expected its chainId argument to be in decimal format.

[30.0.0]

Added

  • BREAKING: Introduce getNetworkState, getPreferencesState, and onTokenListStateChange to the TokenDetectionController constructor options object (#808)

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by metamaskbot, a new releaser for @​metamask/controllers 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 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 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)

Bumps [@metamask/controllers](https://github.com/MetaMask/controllers) from 26.0.0 to 31.1.0.
- [Release notes](https://github.com/MetaMask/controllers/releases)
- [Changelog](https://github.com/MetaMask/controllers/blob/main/CHANGELOG.md)
- [Commits](MetaMask/core@v26.0.0...v31.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested review from a team and meppsilon as code owners September 19, 2022 06:15
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 19, 2022
@socket-security
Copy link

Socket Security Report

Dependency issues detected. If you merge this pull request, you will not be alerted to the instances of these issues again.

📜 New install scripts detected

A dependency change in this PR is introducing new install scripts to your install step.

Package Script field Location
secp256k1@4.0.3 (upgraded) binding.gyp package.json via ethereumjs-util@7.1.5, ethereum-cryptography@0.1.3
secp256k1@4.0.3 (upgraded) install package.json via ethereumjs-util@7.1.5, ethereum-cryptography@0.1.3
🫣 Native code

Contains native code which could be a vector to obscure malicious code, and generally decrease the likelihood of reproducible or reliable installs.

Package Location
secp256k1@4.0.3 (upgraded) package.json via ethereumjs-util@7.1.5, ethereum-cryptography@0.1.3
Socket.dev scan summary
Issue Status
Did you mean? ✅ no new possible package typos
Install scripts ⚠️ 2 new install scripts detected
Telemetry ✅ no new telemetry
Troll package ✅ no new troll packages
Malware ✅ no new malware
Native code ⚠️ 1 new native module detected
Bot Commands

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of package-name@version specifiers.

  • @SocketSecurity ignore secp256k1@4.0.3

Please accept the latest app permissions to ensure bot commands work properly. Accept the new permissions here.

Powered by socket.dev

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Sep 29, 2022

Superseded by #134.

@dependabot dependabot bot closed this Sep 29, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/main/metamask/controllers-31.1.0 branch September 29, 2022 06:07
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.

1 participant