This repository was archived by the owner on Mar 20, 2026. It is now read-only.
7.0.0
Changed
- BREAKING: Bump
@metamask/controllersfrom 26.0.0 to 33.0.0 (#139)- This is breaking because it changes the type of the state property
usedGasEstimate. Specifically, it is now possible for thehistoricalBaseFeeRange,baseFeeTrend,latestPriorityFeeRange,historicalPriorityFeeRange,priorityFeeTrend, andnetworkCongestionproperties in this object to benull.
- This is breaking because it changes the type of the state property
- BREAKING: Change
chainIdandsupportedChainIdsconfig options so that they must be0x-prefixed hex strings (#184) - BREAKING: Change
fetchEstimatedMultiLayerL1Feeconstructor option so that thechainIdoption must be an0x-prefixed hex string (#184) - BREAKING: Change
getNewChainCachemethod so thatchainIdmust be an0x-prefixed hex string (#184) - BREAKING: Change
chainIdsetter so that the value must be an0x-prefixed hex string (#184) - BREAKING: Change
chainCachestate property so that it is keyed by a0x-prefixed chain ID (#184) - BREAKING: Change various utility functions so that their
chainIdargument must be an0x-prefixed hex string (#184)getNativeSwapsTokengetSwapsContractAddressisValidContractAddressshouldEnableDirectWrappinggetBaseApiURLgetTokenMetadataURLfetchTradesInfofetchTokensfetchAggregatorMetadatafetchTopAssetsfetchSwapsFeatureLivenessfetchGasPrices
- BREAKING: Bump minimum Node version to 18 (#186)
- Update Gas API base URL from
https://gas.metaswap.codefi.networktohttps://gas.api.cx.metamask.io(#185)