@unicitylabs/sphere-sdk 0.6.12 → 0.6.13-dev.1

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.
@@ -1761,6 +1761,9 @@ var NostrTransportProvider = class _NostrTransportProvider {
1761
1761
  onReconnected: (url) => {
1762
1762
  logger.debug("Nostr", "NostrClient reconnected to relay:", url);
1763
1763
  this.emitEvent({ type: "transport:connected", timestamp: Date.now() });
1764
+ this.subscribeToEvents().catch((err) => {
1765
+ logger.error("Nostr", "Failed to re-subscribe after reconnect:", err);
1766
+ });
1764
1767
  }
1765
1768
  });
1766
1769
  await Promise.race([