@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 CHANGED
@@ -1643,7 +1643,8 @@ var LaserEyesProvider = ({
1643
1643
  throw new Error("Invalid PSBT format");
1644
1644
  }
1645
1645
  if (provider === UNISAT) {
1646
- const signedPsbt = yield library == null ? void 0 : library.signPsbt(psbtHex, {
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 signedPsbt = yield library == null ? void 0 : library.signPsbt(psbtHex, {
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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnisat/lasereyes",
3
- "version": "0.0.59",
3
+ "version": "0.0.60",
4
4
  "sideEffects": false,
5
5
  "private": false,
6
6
  "license": "MIT",