@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.
@@ -1809,6 +1809,9 @@ var NostrTransportProvider = class _NostrTransportProvider {
1809
1809
  onReconnected: (url) => {
1810
1810
  logger.debug("Nostr", "NostrClient reconnected to relay:", url);
1811
1811
  this.emitEvent({ type: "transport:connected", timestamp: Date.now() });
1812
+ this.subscribeToEvents().catch((err) => {
1813
+ logger.error("Nostr", "Failed to re-subscribe after reconnect:", err);
1814
+ });
1812
1815
  }
1813
1816
  });
1814
1817
  await Promise.race([