Skip to content

[pull] main from MetaMask:main - #244

Merged
pull[bot] merged 2 commits into
Reality2byte:mainfrom
MetaMask:main
Nov 5, 2025
Merged

pull[bot] merged 2 commits into
Reality2byte:mainfrom
MetaMask:main

Conversation

@pull

@pull pull Bot commented Nov 5, 2025 •

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

## Explanation

Creates a new function to fetch trending tokens.

The function accepts an array of CAIP chainIds along with other optional
filtering query params.

## References

<!--
Are there any issues that this pull request is tied to?
Are there other links that reviewers should consult to understand these
changes better?
Are there client or consumer pull requests to adopt any breaking
changes?

For example:

* Fixes #12345
* Related to #67890
-->

## Checklist

- [ ] I've updated the test suite for new or updated code as appropriate
- [ ] I've updated documentation (JSDoc, Markdown, etc.) for new or
updated code as appropriate
- [ ] I've communicated my changes to consumers by [updating changelogs
for packages I've
changed](https://github.com/MetaMask/core/tree/main/docs/contributing.md#updating-changelogs),
highlighting breaking changes as necessary
- [ ] I've prepared draft pull requests for clients and consumer
packages to resolve any breaking changes


<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Adds `getTrendingTokens` to fetch trending tokens by CAIP chain IDs
with optional filters, exports it and new types, and updates tests and
changelog.
> 
> - **Token service (`src/token-service.ts`)**:
> - Add `getTrendingTokens` with optional filters (`sortBy`, liquidity,
volume, market cap) using new `getTrendingTokensURL`.
>   - Introduce types `SortTrendingBy` and `TrendingAsset`.
> - **Exports (`src/index.ts`)**:
> - Export `getTrendingTokens` and types `SortTrendingBy`,
`TrendingAsset`.
> - **Tests (`src/token-service.test.ts`)**:
>   - Add coverage for `getTrendingTokens` success/error/empty cases.
> - **Docs**:
>   - Update `CHANGELOG.md` with new function and types.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
da456e8. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
## Explanation

Minor release for `assets-controllers`.

## References

<!--
Are there any issues that this pull request is tied to?
Are there other links that reviewers should consult to understand these
changes better?
Are there client or consumer pull requests to adopt any breaking
changes?

For example:

* Fixes #12345
* Related to #67890
-->

## Checklist

- [ ] I've updated the test suite for new or updated code as appropriate
- [ ] I've updated documentation (JSDoc, Markdown, etc.) for new or
updated code as appropriate
- [ ] I've communicated my changes to consumers by [updating changelogs
for packages I've
changed](https://github.com/MetaMask/core/tree/main/docs/contributing.md#updating-changelogs),
highlighting breaking changes as necessary
- [ ] I've prepared draft pull requests for clients and consumer
packages to resolve any breaking changes

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Release assets-controllers 87.1.0 with trending tokens API and bump
monorepo to 662.0.0; update dependent packages to use the new version.
> 
> - **Packages**:
>   - `@metamask/assets-controllers` → `87.1.0`
> - Added `getTrendingTokens` API and new types `SortTrendingBy`,
`TrendingAsset` (changelog).
>   - Bump devDeps to `@metamask/assets-controllers@^87.1.0` in:
>     - `packages/bridge-controller/package.json`
>     - `packages/transaction-pay-controller/package.json`
> - **Repo**:
>   - Monorepo version → `662.0.0` in root `package.json`.
> - Update `packages/assets-controllers/CHANGELOG.md` links and
`yarn.lock` entries accordingly.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
8c30bb3. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
@pull pull Bot locked and limited conversation to collaborators Nov 5, 2025
@pull pull Bot added the ⤵️ pull label Nov 5, 2025
@pull
pull Bot merged commit 758ff5e into Reality2byte:main Nov 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant