From aba2f4dd74bd70abd38dc4a3c3e40d3fc5d19315 Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Mon, 19 Dec 2022 21:24:42 -0330 Subject: [PATCH] Export `isTokenDetectionSupportedForNetwork` function (#1034) The function `isTokenDetectionSupportedForNetwork` is now exported from the `assets-controllets` package. This function was exported from the `utils` before this repository was split into separate packages. This function is used in `metamask-mobile`. - CHANGED: - [assets-controllers]: Export the function `isTokenDetectionSupportedForNetwork` **Checklist** - [x] Tests are included if applicable - [x] Any added code is fully documented --- packages/assets-controllers/src/index.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/assets-controllers/src/index.ts b/packages/assets-controllers/src/index.ts index 2634885e002..65f742dedc7 100644 --- a/packages/assets-controllers/src/index.ts +++ b/packages/assets-controllers/src/index.ts @@ -8,4 +8,8 @@ export * from './TokenDetectionController'; export * from './TokenListController'; export * from './TokenRatesController'; export * from './TokensController'; -export { formatIconUrlWithProxy, getFormattedIpfsUrl } from './assetsUtil'; +export { + isTokenDetectionSupportedForNetwork, + formatIconUrlWithProxy, + getFormattedIpfsUrl, +} from './assetsUtil';