Browse Source

Merge pull request #1404 from bitcoinjs/fixExports

Expose more interfaces to top level
psbt-support
Jonathan Underwood 6 years ago
committed by GitHub
parent
commit
b3def6b400
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      package-lock.json
  2. 2
      package.json
  3. 3
      ts_src/index.ts
  4. 3
      types/index.d.ts

2
package-lock.json

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

2
package.json

@ -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",

3
ts_src/index.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

@ -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…
Cancel
Save