@metamask-previews/token-search-discovery-controller 1.0.0-preview-2a6578b3 → 2.0.0-preview-83e41399
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,22 +7,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [2.0.0]
|
|
11
|
+
|
|
10
12
|
### Added
|
|
11
13
|
|
|
12
|
-
- Introduce the `logoUrl` property to the `TokenSearchApiService` response
|
|
14
|
+
- Introduce the `logoUrl` property to the `TokenSearchApiService` response ([#5195](https://github.com/MetaMask/core/pull/5195))
|
|
13
15
|
- Specifically in the `TokenSearchResponseItem` type
|
|
14
|
-
- Introduce `TokenDiscoveryApiService` to keep discovery and search responsibilities separate
|
|
16
|
+
- Introduce `TokenDiscoveryApiService` to keep discovery and search responsibilities separate ([#5214](https://github.com/MetaMask/core/pull/5214))
|
|
15
17
|
- This service is responsible for fetching discover related data
|
|
16
18
|
- Add `getTrendingTokens` method to fetch trending tokens by chain
|
|
17
19
|
- Add `TokenTrendingResponseItem` type for trending token responses
|
|
18
|
-
- Export `TokenSearchResponseItem` type from the package index
|
|
20
|
+
- Export `TokenSearchResponseItem` type from the package index ([#5214](https://github.com/MetaMask/core/pull/5214))
|
|
19
21
|
|
|
20
22
|
### Changed
|
|
21
23
|
|
|
22
|
-
-
|
|
24
|
+
- Bump @metamask/utils to v11.1.0 ([#5223](https://github.com/MetaMask/core/pull/5223))
|
|
25
|
+
- Update the `TokenSearchApiService` to use the updated URL for `searchTokens` ([#5195](https://github.com/MetaMask/core/pull/5195))
|
|
23
26
|
- The URL is now `/tokens-search` instead of `/tokens-search/name`
|
|
24
|
-
-
|
|
25
|
-
- These updates align with the Portfolio API's `/tokens-search` endpoint
|
|
27
|
+
- **BREAKING:** The `searchTokens` method now takes a `query` parameter instead of `name` ([#5195](https://github.com/MetaMask/core/pull/5195))
|
|
26
28
|
|
|
27
29
|
## [1.0.0]
|
|
28
30
|
|
|
@@ -34,5 +36,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
34
36
|
- This service is responsible for making search related requests to the Portfolio API
|
|
35
37
|
- Specifically, it handles the `tokens-search` endpoint which returns a list of tokens based on the provided query parameters
|
|
36
38
|
|
|
37
|
-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/token-search-discovery-controller@
|
|
39
|
+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/token-search-discovery-controller@2.0.0...HEAD
|
|
40
|
+
[2.0.0]: https://github.com/MetaMask/core/compare/@metamask/token-search-discovery-controller@1.0.0...@metamask/token-search-discovery-controller@2.0.0
|
|
38
41
|
[1.0.0]: https://github.com/MetaMask/core/releases/tag/@metamask/token-search-discovery-controller@1.0.0
|
package/package.json
CHANGED