Commit bb8bf45
committed
feat(abstract-utxo): export UtxoCoinName types and type guards
BTC-3011
Export the following from @bitgo/abstract-utxo main entry point:
- UtxoCoinName, UtxoCoinNameMainnet, UtxoCoinNameTestnet types
- isUtxoCoinName, isUtxoCoinNameMainnet, isUtxoCoinNameTestnet type guards
- utxoCoinsMainnet, utxoCoinsTestnet constants
This allows consumers to properly type check coin names instead of
using `as any` casts when calling functions like getTransactionExplanation.
TICKET: BTC-30111 parent 79aad00 commit bb8bf45
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
0 commit comments