You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
@metamask/ramps-controller 10.0.0
Changed
BREAKING: Remove state.quotes and state.widgetUrl from RampsController state. Quote and widget URL data are now managed by consuming components (#8013)
BREAKING: Remove fetchQuotesForSelection() and setSelectedQuote(). Components call getQuotes() directly and manage selection locally (#8013)
Simplify getWidgetUrl() to a pure fetch-and-return API; it no longer reads or writes controller state (#8013)
BREAKING: Replace startQuotePolling()/stopQuotePolling() with fetchQuotesForSelection() — quotes are now fetched once per call instead of polling on a 15-second interval (#7999)
Removed
Remove stopQuotePolling() method (no interval to stop) (#7999)
Remove internal polling restart logic (#restartPollingIfActive) from setSelectedProvider, setSelectedToken, and setSelectedPaymentMethod (#7999)