mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-02-20 00:33:07 +01:00
- Create a new hooks for handling trading asset options.
- It's now currectly memoized, greatly simplified and provides set of network symbols found in the trading info data.
- Also, the types has been greatly improved. There's now `asset.isNativeToken` boolean which easily narrows types.
- However, this change required to migrate all old types related to this hook including those ones in suite-native workspace.
- Instead of `toCryptoOption` method, there're now `createAssetOption` and `createDefaultAssetOption` method. Also the `useTradingAssets` hook now returns `createAssetOptionFromCryptoId` method.
5 lines
76 B
JSON
5 lines
76 B
JSON
{
|
|
"ignore-patterns": ["libDev", "lib"],
|
|
"ignores": ["invity-api"]
|
|
}
|