Merge pull request #1404 from bitcoinjs/fixExports
Expose more interfaces to top level
This commit is contained in:
commit
b3def6b400
4 changed files with 6 additions and 4 deletions
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "bitcoinjs-lib",
|
||||
"version": "5.0.4",
|
||||
"version": "5.0.5",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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
3
types/index.d.ts
vendored
|
@ -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';
|
||||
|
|
Loading…
Reference in a new issue