@caravan/psbt 1.4.1 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +6 -0
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -93787,8 +93787,8 @@ var convertLegacyOutput = (output) => {
|
|
|
93787
93787
|
address: output.address,
|
|
93788
93788
|
value: new import_bignumber.default(output.amountSats).toNumber(),
|
|
93789
93789
|
bip32Derivation: output.bip32Derivation || getBip32Derivation(output.multisig),
|
|
93790
|
-
witnessScript: output.witnessScript,
|
|
93791
|
-
redeemScript: output.redeemScript
|
|
93790
|
+
witnessScript: output.witnessScript || output.multisig?.witness?.output,
|
|
93791
|
+
redeemScript: output.redeemScript || output.multisig?.redeem?.output
|
|
93792
93792
|
};
|
|
93793
93793
|
};
|
|
93794
93794
|
var getWalletConfigFromInput = (input) => {
|
package/dist/index.mjs
CHANGED
|
@@ -93765,8 +93765,8 @@ var convertLegacyOutput = (output) => {
|
|
|
93765
93765
|
address: output.address,
|
|
93766
93766
|
value: new BigNumber(output.amountSats).toNumber(),
|
|
93767
93767
|
bip32Derivation: output.bip32Derivation || getBip32Derivation(output.multisig),
|
|
93768
|
-
witnessScript: output.witnessScript,
|
|
93769
|
-
redeemScript: output.redeemScript
|
|
93768
|
+
witnessScript: output.witnessScript || output.multisig?.witness?.output,
|
|
93769
|
+
redeemScript: output.redeemScript || output.multisig?.redeem?.output
|
|
93770
93770
|
};
|
|
93771
93771
|
};
|
|
93772
93772
|
var getWalletConfigFromInput = (input) => {
|