@omnisat/lasereyes 0.0.61 → 0.0.62

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
@@ -648,12 +648,12 @@ var LaserEyesProvider = ({
648
648
  getNetwork().then((foundNetwork) => {
649
649
  try {
650
650
  if (config.network !== foundNetwork) {
651
- switchNetwork(network);
651
+ if (provider !== XVERSE) {
652
+ switchNetwork(network);
653
+ }
652
654
  }
653
655
  } catch (e) {
654
- if (provider !== XVERSE) {
655
- disconnect();
656
- }
656
+ disconnect();
657
657
  }
658
658
  });
659
659
  }
package/dist/index.mjs CHANGED
@@ -553,12 +553,12 @@ var LaserEyesProvider = ({
553
553
  getNetwork().then((foundNetwork) => {
554
554
  try {
555
555
  if (config.network !== foundNetwork) {
556
- switchNetwork(network);
556
+ if (provider !== XVERSE) {
557
+ switchNetwork(network);
558
+ }
557
559
  }
558
560
  } catch (e) {
559
- if (provider !== XVERSE) {
560
- disconnect();
561
- }
561
+ disconnect();
562
562
  }
563
563
  });
564
564
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnisat/lasereyes",
3
- "version": "0.0.61",
3
+ "version": "0.0.62",
4
4
  "sideEffects": false,
5
5
  "private": false,
6
6
  "license": "MIT",