From 849495b76b00901e112b011d853365b5599d9aa9 Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Mon, 19 Dec 2022 15:33:56 -0330 Subject: [PATCH] Export `isTokenDetectionSupportedForNetwork` function 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`. --- 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 2634885e00..65f742dedc 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';