Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/cjs/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export { address, crypto, networks, payments, script };
export { Block } from './block.js';
/** @hidden */
export { TaggedHashPrefix } from './crypto.js';
export { Psbt, PsbtTxInput, PsbtTxOutput, Signer, SignerAsync, HDSigner, HDSignerAsync, toXOnly, } from './psbt.js';
export { Psbt, PsbtTxInput, PsbtTxOutput, PsbtInputExtended, PsbtOutputExtended, Signer, SignerAsync, HDSigner, HDSignerAsync, toXOnly, } from './psbt.js';
/** @hidden */
export { OPS as opcodes } from './ops.js';
export { Transaction } from './transaction.js';
Expand Down
4 changes: 2 additions & 2 deletions src/cjs/psbt.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ interface PsbtOptsOptional {
network?: Network;
maximumFeeRate?: number;
}
interface PsbtInputExtended extends PsbtInput, TransactionInput {
export interface PsbtInputExtended extends PsbtInput, TransactionInput {
}
type PsbtOutputExtended = PsbtOutputExtendedAddress | PsbtOutputExtendedScript;
export type PsbtOutputExtended = PsbtOutputExtendedAddress | PsbtOutputExtendedScript;
interface PsbtOutputExtendedAddress extends PsbtOutput {
address: string;
value: bigint;
Expand Down
2 changes: 2 additions & 0 deletions ts_src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ export {
Psbt,
PsbtTxInput,
PsbtTxOutput,
PsbtInputExtended,
PsbtOutputExtended,
Signer,
SignerAsync,
HDSigner,
Expand Down
6 changes: 4 additions & 2 deletions ts_src/psbt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1164,9 +1164,11 @@ interface PsbtOpts {
maximumFeeRate: number;
}

interface PsbtInputExtended extends PsbtInput, TransactionInput {}
export interface PsbtInputExtended extends PsbtInput, TransactionInput {}

type PsbtOutputExtended = PsbtOutputExtendedAddress | PsbtOutputExtendedScript;
export type PsbtOutputExtended =
| PsbtOutputExtendedAddress
| PsbtOutputExtendedScript;

interface PsbtOutputExtendedAddress extends PsbtOutput {
address: string;
Expand Down
Loading