Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exporting formatIconUrlWithProxy to format iconUrl Proxy for tokens from swaps api #889

Merged
merged 4 commits into from Aug 16, 2022

Conversation

NiranjanaBinoy
Copy link
Contributor

We need to use formatIconUrlWithProxy in extension for formating the token iconURL to proxy for the tokens from swap API. Since the extension is currently using a static token list for the scenario when token detection is OFF on MAINNET, we cannot use the proxy iconUrl from the dynamic token list as the default one for swap.

@NiranjanaBinoy NiranjanaBinoy requested a review from a team as a code owner August 11, 2022 20:05
@NiranjanaBinoy NiranjanaBinoy self-assigned this Aug 11, 2022
dan437
dan437 previously approved these changes Aug 12, 2022
src/index.ts Outdated Show resolved Hide resolved
@adonesky1 adonesky1 merged commit 2e8bf4e into main Aug 16, 2022
@adonesky1 adonesky1 deleted the export-formatIconUrlWithProxy branch August 16, 2022 16:00
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
…rom swaps api (#889)

* exporting formatIconUrlWithProxy to be used in extension for the swaps iconUrl proxy

* rearranging the export
MajorLift pushed a commit that referenced this pull request Oct 11, 2023
…rom swaps api (#889)

* exporting formatIconUrlWithProxy to be used in extension for the swaps iconUrl proxy

* rearranging the export
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants