@nibgate/sdk 0.2.22 → 0.2.23

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/nibgate.js CHANGED
@@ -27544,7 +27544,7 @@ ${prettyStateOverride(stateOverride)}`;
27544
27544
  return balEl;
27545
27545
  }
27546
27546
  async function refreshBalance() {
27547
- if (stateRef?.destroyed) return;
27547
+ if (!card.isConnected) return;
27548
27548
  const addr = ctrl.getWalletAddress();
27549
27549
  if (!addr) return;
27550
27550
  const txt = ensureBalEl().querySelector("[data-nibgate-bal-text]");