@omnisat/lasereyes 0.0.48 → 0.0.50

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
@@ -1343,6 +1343,7 @@ var LaserEyesProvider = ({
1343
1343
  console.log("wantedNetwork", wantedNetwork);
1344
1344
  yield library == null ? void 0 : library.switchChain(wantedNetwork);
1345
1345
  setNetwork(network2);
1346
+ yield getBalance();
1346
1347
  } else if (provider === WIZZ) {
1347
1348
  if (network2 === FRACTAL_TESTNET || network2 === FRACTAL_MAINNET) {
1348
1349
  return yield library.switchNetwork(WIZZ_MAINNET);
@@ -1350,6 +1351,7 @@ var LaserEyesProvider = ({
1350
1351
  const wantedNetwork = getNetworkForWizz(network2);
1351
1352
  yield library == null ? void 0 : library.switchNetwork(wantedNetwork);
1352
1353
  setNetwork(network2);
1354
+ yield getBalance();
1353
1355
  } else {
1354
1356
  disconnect();
1355
1357
  throw new Error(
package/dist/index.mjs CHANGED
@@ -1248,6 +1248,7 @@ var LaserEyesProvider = ({
1248
1248
  console.log("wantedNetwork", wantedNetwork);
1249
1249
  yield library == null ? void 0 : library.switchChain(wantedNetwork);
1250
1250
  setNetwork(network2);
1251
+ yield getBalance();
1251
1252
  } else if (provider === WIZZ) {
1252
1253
  if (network2 === FRACTAL_TESTNET || network2 === FRACTAL_MAINNET) {
1253
1254
  return yield library.switchNetwork(WIZZ_MAINNET);
@@ -1255,6 +1256,7 @@ var LaserEyesProvider = ({
1255
1256
  const wantedNetwork = getNetworkForWizz(network2);
1256
1257
  yield library == null ? void 0 : library.switchNetwork(wantedNetwork);
1257
1258
  setNetwork(network2);
1259
+ yield getBalance();
1258
1260
  } else {
1259
1261
  disconnect();
1260
1262
  throw new Error(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnisat/lasereyes",
3
- "version": "0.0.48",
3
+ "version": "0.0.50",
4
4
  "sideEffects": false,
5
5
  "private": false,
6
6
  "license": "MIT",