Files
trezor-suite/packages/asset-utils/tsconfig.json
Jiří Čermák 28e951aaa7 refactor: extend coin image sizes
- Currently, it was possible to generate coin images from Coingecko only in single size (24x24) in two image qualities (1x, 2x).
- Now it's possible to easily add additionally sizes to the `COIN_IMAGE_SIZES` or qualities to `COIN_IMAGE_QUALITIES`.
- This required to change the generated image name. I made sure to update all existing occurances, mainly the `getAssetLogoUrl` util to stay backwards compatible.

Coin image name:
```
 type OldCoinImageName = `${string}--{'' | '2x'}.webp`
 type NewCoinImageName = `${string}--${24 | 40}{'' | '2x'}.webp`
```
2025-11-07 07:30:42 +01:00

8 lines
167 B
JSON

{
"extends": "../../tsconfig.base.json",
"compilerOptions": { "outDir": "libDev" },
"references": [
{ "path": "../../suite-common/icons" }
]
}