Expose more interfaces to top level

This commit is contained in:
junderw 2019-05-23 07:22:21 +09:00
parent f9f4707b34
commit c6c59c7c68
No known key found for this signature in database
GPG key ID: B256185D3A971908
2 changed files with 4 additions and 2 deletions

View file

@ -14,7 +14,8 @@ export { Transaction } from './transaction';
export { TransactionBuilder } from './transaction_builder'; export { TransactionBuilder } from './transaction_builder';
export { BIP32Interface } from 'bip32'; export { BIP32Interface } from 'bip32';
export { ECPairInterface } from './ecpair';
export { Network } from './networks'; export { Network } from './networks';
export { Payment, PaymentOpts } from './payments'; export { Payment, PaymentOpts, Stack, StackElement } from './payments';
export { OpCode } from './script'; export { OpCode } from './script';
export { Input as TxInput, Output as TxOutput } from './transaction'; export { Input as TxInput, Output as TxOutput } from './transaction';

3
types/index.d.ts vendored
View file

@ -11,7 +11,8 @@ export { OPS as opcodes } from './script';
export { Transaction } from './transaction'; export { Transaction } from './transaction';
export { TransactionBuilder } from './transaction_builder'; export { TransactionBuilder } from './transaction_builder';
export { BIP32Interface } from 'bip32'; export { BIP32Interface } from 'bip32';
export { ECPairInterface } from './ecpair';
export { Network } from './networks'; export { Network } from './networks';
export { Payment, PaymentOpts } from './payments'; export { Payment, PaymentOpts, Stack, StackElement } from './payments';
export { OpCode } from './script'; export { OpCode } from './script';
export { Input as TxInput, Output as TxOutput } from './transaction'; export { Input as TxInput, Output as TxOutput } from './transaction';