Skip to content

Commit bb8bf45

Browse files
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-3011
1 parent 79aad00 commit bb8bf45

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

modules/abstract-utxo/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
export * from './abstractUtxoCoin';
22
export * from './address';
33
export * from './config';
4+
export * from './names';
45
export * from './recovery';
56
export * from './transaction/fixedScript/replayProtection';
67
export * from './transaction/fixedScript/signLegacyTransaction';

0 commit comments

Comments
 (0)