@unicitylabs/sphere-sdk 0.6.11 → 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.
@@ -1241,6 +1241,9 @@ var NostrTransportProvider = class _NostrTransportProvider {
1241
1241
  onReconnected: (url) => {
1242
1242
  logger.debug("Nostr", "NostrClient reconnected to relay:", url);
1243
1243
  this.emitEvent({ type: "transport:connected", timestamp: Date.now() });
1244
+ this.subscribeToEvents().catch((err) => {
1245
+ logger.error("Nostr", "Failed to re-subscribe after reconnect:", err);
1246
+ });
1244
1247
  }
1245
1248
  });
1246
1249
  await Promise.race([