@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.
@@ -1204,6 +1204,9 @@ var NostrTransportProvider = class _NostrTransportProvider {
1204
1204
  onReconnected: (url) => {
1205
1205
  logger.debug("Nostr", "NostrClient reconnected to relay:", url);
1206
1206
  this.emitEvent({ type: "transport:connected", timestamp: Date.now() });
1207
+ this.subscribeToEvents().catch((err) => {
1208
+ logger.error("Nostr", "Failed to re-subscribe after reconnect:", err);
1209
+ });
1207
1210
  }
1208
1211
  });
1209
1212
  await Promise.race([