@omnisat/lasereyes 0.0.66 → 0.0.67

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
@@ -798,7 +798,9 @@ var LaserEyesProvider = ({
798
798
  return;
799
799
  }
800
800
  const lib = provider === WIZZ ? window.wizz : window.unisat;
801
- lib.getAccounts().then((accounts2) => {
801
+ if (!lib)
802
+ return;
803
+ lib == null ? void 0 : lib.getAccounts().then((accounts2) => {
802
804
  handleAccountsChanged(accounts2);
803
805
  });
804
806
  lib.on("accountsChanged", handleAccountsChanged);
package/dist/index.mjs CHANGED
@@ -703,7 +703,9 @@ var LaserEyesProvider = ({
703
703
  return;
704
704
  }
705
705
  const lib = provider === WIZZ ? window.wizz : window.unisat;
706
- lib.getAccounts().then((accounts2) => {
706
+ if (!lib)
707
+ return;
708
+ lib == null ? void 0 : lib.getAccounts().then((accounts2) => {
707
709
  handleAccountsChanged(accounts2);
708
710
  });
709
711
  lib.on("accountsChanged", handleAccountsChanged);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnisat/lasereyes",
3
- "version": "0.0.66",
3
+ "version": "0.0.67",
4
4
  "sideEffects": false,
5
5
  "private": false,
6
6
  "license": "MIT",