@omnisat/lasereyes 0.0.26 → 0.0.27
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.js +2 -3
- package/dist/index.mjs +2 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1654,7 +1654,7 @@ var LaserEyesProvider = ({
|
|
|
1654
1654
|
} else if (provider === LEATHER) {
|
|
1655
1655
|
const requestParams = {
|
|
1656
1656
|
hex: psbtHex,
|
|
1657
|
-
broadcast,
|
|
1657
|
+
broadcast: false,
|
|
1658
1658
|
network
|
|
1659
1659
|
};
|
|
1660
1660
|
const response = yield library == null ? void 0 : library.request(
|
|
@@ -1666,8 +1666,7 @@ var LaserEyesProvider = ({
|
|
|
1666
1666
|
const signed = bitcoin2.Psbt.fromHex(String(signedTx));
|
|
1667
1667
|
if (finalize && broadcast) {
|
|
1668
1668
|
const finalized = signed.finalizeAllInputs();
|
|
1669
|
-
const
|
|
1670
|
-
const txId = yield pushPsbt(extracted.toHex());
|
|
1669
|
+
const txId = yield pushPsbt(finalized.toHex());
|
|
1671
1670
|
return {
|
|
1672
1671
|
signedPsbtHex: signed.toHex(),
|
|
1673
1672
|
signedPsbtBase64: signed.toBase64(),
|
package/dist/index.mjs
CHANGED
|
@@ -1577,7 +1577,7 @@ var LaserEyesProvider = ({
|
|
|
1577
1577
|
} else if (provider === LEATHER) {
|
|
1578
1578
|
const requestParams = {
|
|
1579
1579
|
hex: psbtHex,
|
|
1580
|
-
broadcast,
|
|
1580
|
+
broadcast: false,
|
|
1581
1581
|
network
|
|
1582
1582
|
};
|
|
1583
1583
|
const response = yield library == null ? void 0 : library.request(
|
|
@@ -1589,8 +1589,7 @@ var LaserEyesProvider = ({
|
|
|
1589
1589
|
const signed = bitcoin2.Psbt.fromHex(String(signedTx));
|
|
1590
1590
|
if (finalize && broadcast) {
|
|
1591
1591
|
const finalized = signed.finalizeAllInputs();
|
|
1592
|
-
const
|
|
1593
|
-
const txId = yield pushPsbt(extracted.toHex());
|
|
1592
|
+
const txId = yield pushPsbt(finalized.toHex());
|
|
1594
1593
|
return {
|
|
1595
1594
|
signedPsbtHex: signed.toHex(),
|
|
1596
1595
|
signedPsbtBase64: signed.toBase64(),
|