core
core copied to clipboard
feat: add lastUpdatedAt to NetworkConfiguration
Explanation
This allows tracking of when the network configuration was updated, which is used to enable accurate network syncing
References
Changelog
@metamask/network-controller
-
ADDED: optional
lastUpdatedAtto theNetworkConfigurationstate. Used for performing network syncing. -
ADDED: logic to update the
lastUpdatedAtwhen a network is added or updated.
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