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

feat: add NetworkController NetworkConfiguration actions and events #4698

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Prithpal-Sooriya
Copy link
Contributor

@Prithpal-Sooriya Prithpal-Sooriya commented Sep 13, 2024

Explanation

This adds and exposes actions and events when adding, updating, or removing a NetworkConfiguration.

Events:

  • NetworkController:networkAdded
  • NetworkController:networkUpdated
  • NetworkController:networkRemoved

Actions

  • NetworkController:addNetwork
  • NetworkController:updateNetwork
  • NetworkController:removeNetwork

References

https://consensyssoftware.atlassian.net/browse/NOTIFY-1089

Changelog

@metamask/network-controller

  • ADDED: add events NetworkController:networkAdded; NetworkController:networkUpdated; NetworkController:networkRemoved
  • ADDED: add actions NetworkController:addNetwork; NetworkController:updateNetwork; NetworkController:removeNetwork

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've highlighted breaking changes using the "BREAKING" category above as appropriate

@Prithpal-Sooriya Prithpal-Sooriya added the team-notifications Notification Team changes. https://github.com/orgs/MetaMask/teams/notifications label Sep 13, 2024
actions and events for adding, updating, and removing a network configuration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-notifications Notification Team changes. https://github.com/orgs/MetaMask/teams/notifications
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant