Merge pull request #1404 from bitcoinjs/fixExports

Expose more interfaces to top level
This commit is contained in:
Jonathan Underwood 2019-05-27 16:34:04 +09:00 committed by GitHub
commit b3def6b400
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 4 deletions

2
package-lock.json generated
View file

@ -1,6 +1,6 @@
{
"name": "bitcoinjs-lib",
"version": "5.0.4",
"version": "5.0.5",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View file

@ -1,6 +1,6 @@
{
"name": "bitcoinjs-lib",
"version": "5.0.4",
"version": "5.0.5",
"description": "Client-side Bitcoin JavaScript library",
"main": "./src/index.js",
"types": "./types/index.d.ts",

View file

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