@omnisat/lasereyes 0.0.58 → 0.0.59

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
@@ -1552,7 +1552,8 @@ var LaserEyesProvider = ({
1552
1552
  if (!library)
1553
1553
  return;
1554
1554
  if (provider === UNISAT) {
1555
- return yield library == null ? void 0 : library.signMessage(message);
1555
+ const lib = window.unisat;
1556
+ return yield lib == null ? void 0 : lib.signMessage(message);
1556
1557
  } else if (provider === XVERSE) {
1557
1558
  const tempAddy = toSignAddress || paymentAddress;
1558
1559
  const response = yield (0, import_sats_connect.request)("signMessage", {
package/dist/index.mjs CHANGED
@@ -1457,7 +1457,8 @@ var LaserEyesProvider = ({
1457
1457
  if (!library)
1458
1458
  return;
1459
1459
  if (provider === UNISAT) {
1460
- return yield library == null ? void 0 : library.signMessage(message);
1460
+ const lib = window.unisat;
1461
+ return yield lib == null ? void 0 : lib.signMessage(message);
1461
1462
  } else if (provider === XVERSE) {
1462
1463
  const tempAddy = toSignAddress || paymentAddress;
1463
1464
  const response = yield request("signMessage", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnisat/lasereyes",
3
- "version": "0.0.58",
3
+ "version": "0.0.59",
4
4
  "sideEffects": false,
5
5
  "private": false,
6
6
  "license": "MIT",