Remove bip32, (User must bring their own)

This commit is contained in:
junderw 2021-10-21 08:58:53 +09:00
parent b1ff3cee49
commit 84bc2ea6bf
No known key found for this signature in database
GPG key ID: B256185D3A971908
7 changed files with 45 additions and 33 deletions

4
src/index.d.ts vendored
View file

@ -1,15 +1,13 @@
import * as bip32 from 'bip32';
import * as address from './address';
import * as crypto from './crypto';
import * as networks from './networks';
import * as payments from './payments';
import * as script from './script';
export { address, bip32, crypto, networks, payments, script };
export { address, crypto, networks, payments, script };
export { Block } from './block';
export { Psbt, PsbtTxInput, PsbtTxOutput, Signer, SignerAsync, HDSigner, HDSignerAsync, } from './psbt';
export { OPS as opcodes } from './ops';
export { Transaction } from './transaction';
export { BIP32Interface } from 'bip32';
export { Network } from './networks';
export { Payment, PaymentCreator, PaymentOpts, Stack, StackElement, } from './payments';
export { Input as TxInput, Output as TxOutput } from './transaction';

View file

@ -1,8 +1,6 @@
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
exports.Transaction = exports.opcodes = exports.Psbt = exports.Block = exports.script = exports.payments = exports.networks = exports.crypto = exports.bip32 = exports.address = void 0;
const bip32 = require('bip32');
exports.bip32 = bip32;
exports.Transaction = exports.opcodes = exports.Psbt = exports.Block = exports.script = exports.payments = exports.networks = exports.crypto = exports.address = void 0;
const address = require('./address');
exports.address = address;
const crypto = require('./crypto');