Files
trezor-suite/suite-native/module-trading/.depcheckrc.json
Jiří Čermák 1cf4a52d8e refactor: migrate from useTradingInfo to useTradingAssets
- 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.
2025-12-15 15:06:36 +01:00

5 lines
76 B
JSON

{
"ignore-patterns": ["libDev", "lib"],
"ignores": ["invity-api"]
}