@omnisat/lasereyes 0.0.60 → 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 +3 -1
- package/dist/index.mjs +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -648,7 +648,9 @@ var LaserEyesProvider = ({
|
|
|
648
648
|
getNetwork().then((foundNetwork) => {
|
|
649
649
|
try {
|
|
650
650
|
if (config.network !== foundNetwork) {
|
|
651
|
-
|
|
651
|
+
if (provider !== XVERSE) {
|
|
652
|
+
switchNetwork(network);
|
|
653
|
+
}
|
|
652
654
|
}
|
|
653
655
|
} catch (e) {
|
|
654
656
|
disconnect();
|
package/dist/index.mjs
CHANGED
|
@@ -553,7 +553,9 @@ var LaserEyesProvider = ({
|
|
|
553
553
|
getNetwork().then((foundNetwork) => {
|
|
554
554
|
try {
|
|
555
555
|
if (config.network !== foundNetwork) {
|
|
556
|
-
|
|
556
|
+
if (provider !== XVERSE) {
|
|
557
|
+
switchNetwork(network);
|
|
558
|
+
}
|
|
557
559
|
}
|
|
558
560
|
} catch (e) {
|
|
559
561
|
disconnect();
|