@unicitylabs/sphere-sdk 0.4.8 → 0.4.9

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.
@@ -610,6 +610,8 @@ function disconnect() {
610
610
  if (cb.timeoutId) clearTimeout(cb.timeoutId);
611
611
  });
612
612
  connectionCallbacks.length = 0;
613
+ blockSubscribers.length = 0;
614
+ lastBlockHeader = null;
613
615
  }
614
616
  var DEFAULT_ENDPOINT, ws, isConnected, isConnecting, requestId, intentionalClose, reconnectAttempts, isBlockSubscribed, lastBlockHeader, pending, blockSubscribers, connectionCallbacks, MAX_RECONNECT_ATTEMPTS, BASE_DELAY, MAX_DELAY, RPC_TIMEOUT, CONNECTION_TIMEOUT;
615
617
  var init_network = __esm({