pull in bip32 typescript
This commit is contained in:
parent
63d51d1da7
commit
e7ac2b9a4e
2 changed files with 8 additions and 11 deletions
|
@ -41,7 +41,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/node": "^10.12.18",
|
"@types/node": "^10.12.18",
|
||||||
"bech32": "^1.1.2",
|
"bech32": "^1.1.2",
|
||||||
"bip32": "^1.0.0",
|
"bip32": "git+https://github.com/junderw/bip32.git#typeScript",
|
||||||
"bip66": "^1.1.0",
|
"bip66": "^1.1.0",
|
||||||
"bitcoin-ops": "^1.4.0",
|
"bitcoin-ops": "^1.4.0",
|
||||||
"bs58check": "^2.0.0",
|
"bs58check": "^2.0.0",
|
||||||
|
|
17
src/index.ts
17
src/index.ts
|
@ -1,31 +1,28 @@
|
||||||
const bip32 = require('bip32')
|
import * as bip32 from 'bip32'
|
||||||
|
|
||||||
import { Block } from './block'
|
|
||||||
import * as ECPair from './ecpair'
|
import * as ECPair from './ecpair'
|
||||||
import { Transaction } from './transaction'
|
|
||||||
import { TransactionBuilder } from './transaction_builder'
|
|
||||||
import * as address from './address'
|
import * as address from './address'
|
||||||
import * as crypto from './crypto'
|
import * as crypto from './crypto'
|
||||||
import * as networks from './networks'
|
import * as networks from './networks'
|
||||||
import * as payments from './payments'
|
import * as payments from './payments'
|
||||||
import * as script from './script'
|
import * as script from './script'
|
||||||
import { OPS as opcodes } from './script'
|
|
||||||
|
|
||||||
export {
|
export {
|
||||||
Block,
|
|
||||||
ECPair,
|
ECPair,
|
||||||
Transaction,
|
|
||||||
TransactionBuilder,
|
|
||||||
address,
|
address,
|
||||||
bip32,
|
bip32,
|
||||||
crypto,
|
crypto,
|
||||||
networks,
|
networks,
|
||||||
opcodes,
|
|
||||||
payments,
|
payments,
|
||||||
script,
|
script,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export { Block } from './block'
|
||||||
|
export { Transaction } from './transaction'
|
||||||
|
export { TransactionBuilder } from './transaction_builder'
|
||||||
|
export { OPS as opcodes } from './script'
|
||||||
|
|
||||||
export { Payment, PaymentOpts } from './payments'
|
export { Payment, PaymentOpts } from './payments'
|
||||||
export { Input as TxInput, Output as TxOutput } from './transaction'
|
export { Input as TxInput, Output as TxOutput } from './transaction'
|
||||||
export { Network } from './networks'
|
export { Network } from './networks'
|
||||||
export { OpCode } from './script'
|
export { OpCode } from './script'
|
||||||
|
export { BIP32Interface } from 'bip32'
|
||||||
|
|
Loading…
Reference in a new issue