Skip to content

Commit

Permalink
Export isTokenDetectionSupportedForNetwork function (#1034)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Gudahtt authored and MajorLift committed Oct 11, 2023
1 parent 0362122 commit baba15b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/assets-controllers/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';

0 comments on commit baba15b

Please sign in to comment.