@omnisat/lasereyes 0.0.47 → 0.0.48

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
@@ -641,6 +641,9 @@ var LaserEyesProvider = ({
641
641
  setNetwork(config.network);
642
642
  getNetwork().then((foundNetwork) => {
643
643
  try {
644
+ if (config.network !== foundNetwork) {
645
+ switchNetwork(network);
646
+ }
644
647
  } catch (e) {
645
648
  disconnect();
646
649
  }
package/dist/index.mjs CHANGED
@@ -546,6 +546,9 @@ var LaserEyesProvider = ({
546
546
  setNetwork(config.network);
547
547
  getNetwork().then((foundNetwork) => {
548
548
  try {
549
+ if (config.network !== foundNetwork) {
550
+ switchNetwork(network);
551
+ }
549
552
  } catch (e) {
550
553
  disconnect();
551
554
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnisat/lasereyes",
3
- "version": "0.0.47",
3
+ "version": "0.0.48",
4
4
  "sideEffects": false,
5
5
  "private": false,
6
6
  "license": "MIT",