pull in bip32 typescript

This commit is contained in:
junderw 2018-12-30 15:08:29 +09:00
parent 63d51d1da7
commit e7ac2b9a4e
No known key found for this signature in database
GPG key ID: B256185D3A971908
2 changed files with 8 additions and 11 deletions

View file

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

View file

@ -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'