Changelog:
- Added: Seed passphrase support #1285
- Changed: Better UX when the portfolio is slow #1270
- Add:
isReadyToVisualize
flag to the portfolio inselectedAccount
. It's true when all networks have loaded or when a timeout has passed. This allows the UI to display tokens when some networks are taking too long (As opposed to the previous logic which required all networks to have loaded) - Change: Selected account portfolio error to return
networkNames
instead ofnetworkIds
- Change: Deployless timeouts to 15000/20000 from 5000/15000
- Change: Update the portfolio on popup open only if 5 minutes have passed since the last update (Imo we should implement similar logic for
defiPositions
andaccountState
as we are updating them every time a popup is opened) - Fix:
portfolioStartedLoadingAtTimestamp
not reset after changing the selected account
- Add:
- Changed: Allow the user to dismiss the password recovery banner #1284
- Changed: Tweak the note for the account must have a min of $10 to use the Gas Tank #1288
- Changed: Refactor Actions controller tests #1291
- Changed: Human-friendly message when Swap & Bridge service provider temporarily bans user requests (when user makes too many requests) #1296
- Fixed: Price request - missing network #1273
- If we can't determine the Gecko platform ID, we shouldn't make a request to price (cena.ambire.com) since it would return nothing. This can happen when adding a custom network that doesn't have a CoinGecko platform ID.
- Fixed: Pinned tokens not passed to portfolio lib on failed RPC #1130
- Fixed: DeFi tokens - simulation and pending amounts (The
amountPostSimulation
andsimulationAmount
properties were not set for the DeFi position assets. Because of this, when attempting to withdraw a lending token, its simulation was not displayed or considered, and the balance of the collateral token was doubled (you got richer)) #1281 - Fixed: DeFi positions test (was failing because the previous test accounts had updated their positions) #1292
- Fixed: Inner call failure raw error displayed to the user #1293
- Fixed: Selected account portfolio DeFi glitches #1289
- Add:
maxDataAgeMs
to defiPositions - Fix: Selected account portfolio flashes with an incorrect balance because defiPositions have not loaded an isAllReady is set to true
- Fix: skip hidden tokens in
updatePortfolioStateWithDefiPositions
- Fix: isDefiToken flag not added to defi tokens
- Refactor: Don't reconstruct portfolio tokens in
updatePortfolioStateWithDefiPositions
- Add:
Full Changelog: v2.41.0...v2.42.0