Skip to content

295.0.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 06 Feb 00:42
8d7c15e

@metamask/token-search-discovery-controller 2.0.0

Added

  • Introduce the logoUrl property to the TokenSearchApiService response (#5195)
    • Specifically in the TokenSearchResponseItem type
  • Introduce TokenDiscoveryApiService to keep discovery and search responsibilities separate (#5214)
    • This service is responsible for fetching discover related data
    • Add getTrendingTokens method to fetch trending tokens by chain
    • Add TokenTrendingResponseItem type for trending token responses
  • Export TokenSearchResponseItem type from the package index (#5214)

Changed

  • Bump @metamask/utils to v11.1.0 (#5223)
  • Update the TokenSearchApiService to use the updated URL for searchTokens (#5195)
    • The URL is now /tokens-search instead of /tokens-search/name
  • BREAKING: The searchTokens method now takes a query parameter instead of name (#5195)