Skip to content

Latest commit

 

History

History
73 lines (48 loc) · 3.61 KB

File metadata and controls

73 lines (48 loc) · 3.61 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Added

  • Export SwappableTokenSearchParams type (#5654)

Added

  • Add swappable token search to the TokenDiscoveryApiService (#5640)
  • Add support for blue-chip endpoint (#5588)
  • Add getTopGainers and getTopLosers to TokenSearchDiscoveryController (#5309)

Changed

  • BREAKING: Renamed TokenTrendingResponseItem name to MoralisTokenResponseItem
  • Bump @metamask/utils from ^11.1.0 to ^11.2.0 (#5301)

Added

  • Export TokenSearchDiscoveryControllerMessenger type (#5296)

Changed

  • Bump @metamask/base-controller from ^7.1.1 to ^8.0.0 (#5305)

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)

Added

  • Introduce the TokenSearchDiscoveryController (#5142)
    • This controller manages token search and discovery through the Portfolio API
  • Introduce the TokenSearchApiService (#5142)
    • This service is responsible for making search related requests to the Portfolio API
    • Specifically, it handles the tokens-search endpoint which returns a list of tokens based on the provided query parameters