@omnisat/lasereyes 0.0.59 → 0.0.60
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 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1643,7 +1643,8 @@ var LaserEyesProvider = ({
|
|
|
1643
1643
|
throw new Error("Invalid PSBT format");
|
|
1644
1644
|
}
|
|
1645
1645
|
if (provider === UNISAT) {
|
|
1646
|
-
const
|
|
1646
|
+
const lib = window.unisat;
|
|
1647
|
+
const signedPsbt = yield lib == null ? void 0 : lib.signPsbt(psbtHex, {
|
|
1647
1648
|
autoFinalized: finalize
|
|
1648
1649
|
});
|
|
1649
1650
|
const psbtSignedPsbt = bitcoin2.Psbt.fromHex(signedPsbt);
|
package/dist/index.mjs
CHANGED
|
@@ -1548,7 +1548,8 @@ var LaserEyesProvider = ({
|
|
|
1548
1548
|
throw new Error("Invalid PSBT format");
|
|
1549
1549
|
}
|
|
1550
1550
|
if (provider === UNISAT) {
|
|
1551
|
-
const
|
|
1551
|
+
const lib = window.unisat;
|
|
1552
|
+
const signedPsbt = yield lib == null ? void 0 : lib.signPsbt(psbtHex, {
|
|
1552
1553
|
autoFinalized: finalize
|
|
1553
1554
|
});
|
|
1554
1555
|
const psbtSignedPsbt = bitcoin2.Psbt.fromHex(signedPsbt);
|