-
-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explanation This is a RC for v295.0.0. @metamask/[email protected] ## Highlights: ## Added - Introduce the `logoUrl` - Introduce `TokenDiscoveryApiService` - Add `getTrendingTokens` method - Export types from pakage index for easier access to consumers ## Changed - TokenSearchApiService uses the updated URL for `searchTokens` - "name" parameter is now "query" Changelog has complete details. Checklist - [x] I've updated the test suite for new or updated code as appropriate - [x] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate - [x] I've highlighted breaking changes using the "BREAKING" category above as appropriate - [x] I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes
- Loading branch information
Showing
3 changed files
with
12 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,22 +7,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |
|
||
## [Unreleased] | ||
|
||
## [2.0.0] | ||
|
||
### Added | ||
|
||
- Introduce the `logoUrl` property to the `TokenSearchApiService` response | ||
- Introduce the `logoUrl` property to the `TokenSearchApiService` response ([#5195](https://github.com/MetaMask/core/pull/5195)) | ||
- Specifically in the `TokenSearchResponseItem` type | ||
- Introduce `TokenDiscoveryApiService` to keep discovery and search responsibilities separate | ||
- Introduce `TokenDiscoveryApiService` to keep discovery and search responsibilities separate ([#5214](https://github.com/MetaMask/core/pull/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 | ||
- Export `TokenSearchResponseItem` type from the package index ([#5214](https://github.com/MetaMask/core/pull/5214)) | ||
|
||
### Changed | ||
|
||
- Update the TokenSearchApiService to use the updated URL for `searchTokens` | ||
- Bump @metamask/utils to v11.1.0 ([#5223](https://github.com/MetaMask/core/pull/5223)) | ||
- Update the `TokenSearchApiService` to use the updated URL for `searchTokens` ([#5195](https://github.com/MetaMask/core/pull/5195)) | ||
- The URL is now `/tokens-search` instead of `/tokens-search/name` | ||
- Changed the "name" parameter to "query" in the `searchTokens` method | ||
- These updates align with the Portfolio API's `/tokens-search` endpoint | ||
- **BREAKING:** The `searchTokens` method now takes a `query` parameter instead of `name` ([#5195](https://github.com/MetaMask/core/pull/5195)) | ||
|
||
## [1.0.0] | ||
|
||
|
@@ -34,5 +36,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |
- 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 | ||
|
||
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected] | ||
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected] | ||
[2.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected] | ||
[1.0.0]: https://github.com/MetaMask/core/releases/tag/@metamask/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters