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

chore(deps): bump @metamask/network-controller from 13.0.1 to 15.0.0 #211

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 13, 2023

Bumps @metamask/network-controller from 13.0.1 to 15.0.0.

Release notes

Sourced from @​metamask/network-controller's releases.

15.0.0

Changed

  • BREAKING: Update TokensController allTokens state structure to make network/chainID parent of account (#572)
    • The shape of allTokens state field on TokensController has been reorganized. Consumers of the TokensController will have to migrate existing token state to new shape.
  • BREAKING: ignoredTokens changed to allIgnoredTokens (#570)
    • a new state field on the TokensController - allIgnoredTokens - now manages ignoredTokens by network and accountAddress, ignoredTokens is now the array of token address strings (previously an array of full token objects) that have been hidden by the user for the currently active network and accountAddress pair. Consumers of the TokensController will have to migrate existing ignoredTokens array to allIgnoredTokens object.
  • BREAKING: Improve BaseControllerV2 messenger type (#556)
    • This is a breaking change, because anyone extending BaseControllerV2 will now be required to supply an additional generic parameter.
  • BREAKING: Remove redundant default export from util.ts (#574)
    • This is breaking for consumers who use the default import of the utils module, and will require using named imports instead.
  • BREAKING: Removing aggregator from TokenListToken (#564)
    • This is breaking because the the DynamicToken and TokenListToken types no longer contain an aggregators field. Consumers will have to remove aggregators for objects using this type.
  • BREAKING: Migrate ApprovalController to BaseControllerV2 (#555)
    • This is a breaking change because the BaseControllerV2 migration is breaking, and the 'resolve' method has been renamed to 'accept'.
  • Speed up token detection for most popular 1000 tokens (#568)
  • Cancel inflight request during chainId change and useStaticTokenList flag change (#571)
  • Update the token list API host (#563)
  • Bump @​metamask/contract-metadata from 1.28.0 to 1.29.0 (#569)
  • Reduce frequency of token list updates (#561)
    • Previously it would update the token list upon any preference or network configuration change. Now it only restarts polling when the network switches or when the useStaticTokenList flag changes.

14.2.0

Added

  • Added the ability to limit the number of transactions stored (default is 40) (#550)
  • Added the ability to speedUp and stop based on provided gasValues from consumer (#535)
  • Consolidate token list controller data. (#527)
    • Adds 3 fields: address, aggregators, and occurrences to static tokens

14.1.0

Added

  • Controller messenger selector subscriptions (#551)

14.0.2

Changed

  • Fix resetPolling functionality (#546)
  • TokenService improvements (#541)

14.0.1

Changed

  • Ensure gas estimate fetching in gasFeeController correctly handles responses with invalid number of decimals (#544)
  • Bump @​metamask/contract-metadata from 1.27.0 to 1.28.0 (#540)

14.0.0

Added

  • BREAKING Add EIP1559 support including speedUpTransaction and stopTransaction (#521)
  • The breaking change here is that consumers of this repo now have to check if the transaction object includes a gas price and fetch and add it themselves (if need be).

Changed

  • Make equality comparisons for token and collectible addresses in TokensController and CollectiblesController case insensitive (#537)
  • Reset gas fee estimate polling onNetworkStateChange in the gasFeeController (#534)

... (truncated)

Commits
  • 855a752 Release 82.0.0 (#1803)
  • 0fd4b39 Rename executePoll -> _executePoll + stopPollingByNetworkClientId -> `s...
  • 6b1dab7 Remove as assertion casting FakeBlockTracer to BlockTracker (#1833)
  • 2fe9fc7 Fix issue where @​metamask/polling-controller was mistakenly omitted from @​met...
  • 8f9ca28 Bump/deps @​metamask/eth-snap-keyring @​metamask/keyring-api @​metamask/snaps-co...
  • 2e95c89 deps: Bump @metamask/{eth-json-rpc-provider,rpc-errors} (#1653)
  • d53d83a Added options to PollingController to help handle cases where the Controller ...
  • 033bba6 Parameterize TokenListController by NetworkClientId + Integrate `PollingC...
  • deb9317 feat(linea): support token detection on linea mainnet and linea goerli networ...
  • bc04f49 Add case for non ipfs metadata when open sea API is off on nft contro… (#1772)
  • Additional commits viewable in compare view

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
@metamask/network-controller [>= 10.2.a, < 10.3]

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

Bumps [@metamask/network-controller](https://github.com/MetaMask/core) from 13.0.1 to 15.0.0.
- [Release notes](https://github.com/MetaMask/core/releases)
- [Commits](https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected])

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner October 13, 2023 06:51
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 13, 2023
@socket-security
Copy link

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

Packages Version New capabilities Transitives Size Publisher
@metamask/network-controller 13.0.1...15.0.0 None +12/-19 1.37 MB metamaskbot

@socket-security
Copy link

socket-security bot commented Oct 13, 2023

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

Ignoring: [email protected]

Next steps

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of package-name@version specifiers. e.g. @SocketSecurity ignore [email protected] bar@* or ignore all packages with @SocketSecurity ignore-all

@legobeat
Copy link
Contributor

@SocketSecurity ignore [email protected]

ownership ok

Copy link
Contributor

@legobeat legobeat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot merge

@dependabot dependabot bot merged commit 3a0eb54 into main Oct 13, 2023
16 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/main/metamask/network-controller-15.0.0 branch October 13, 2023 07:03
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