bitcoinjs-lib
Advanced tools
Comparing version 5.1.5 to 5.1.6
@@ -0,1 +1,5 @@ | ||
# 5.1.6 | ||
__fixed__ | ||
- `PsbtOutputExtended` did not support using the address attribute properly. It is now fixed. | ||
# 5.1.5 | ||
@@ -2,0 +6,0 @@ __added__ |
{ | ||
"name": "bitcoinjs-lib", | ||
"version": "5.1.5", | ||
"version": "5.1.6", | ||
"description": "Client-side Bitcoin JavaScript library", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
/// <reference types="node" /> | ||
import { Psbt as PsbtBase } from 'bip174'; | ||
import { KeyValue, PsbtGlobalUpdate, PsbtInput, PsbtInputUpdate, PsbtOutput, PsbtOutputUpdate, TransactionInput, TransactionOutput } from 'bip174/src/lib/interfaces'; | ||
import { KeyValue, PsbtGlobalUpdate, PsbtInput, PsbtInputUpdate, PsbtOutput, PsbtOutputUpdate, TransactionInput } from 'bip174/src/lib/interfaces'; | ||
import { Signer, SignerAsync } from './ecpair'; | ||
@@ -90,4 +90,11 @@ import { Network } from './networks'; | ||
} | ||
interface PsbtOutputExtended extends PsbtOutput, TransactionOutput { | ||
declare type PsbtOutputExtended = PsbtOutputExtendedAddress | PsbtOutputExtendedScript; | ||
interface PsbtOutputExtendedAddress extends PsbtOutput { | ||
address: string; | ||
value: number; | ||
} | ||
interface PsbtOutputExtendedScript extends PsbtOutput { | ||
script: Buffer; | ||
value: number; | ||
} | ||
interface HDSignerBase { | ||
@@ -94,0 +101,0 @@ /** |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
213916
5577