@unicitylabs/sphere-sdk 0.7.1-dev.2 → 0.7.1-dev.3

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.
@@ -24787,6 +24787,17 @@ var NostrTransportProvider = class _NostrTransportProvider {
24787
24787
  getStorageAdapter() {
24788
24788
  return this.storage;
24789
24789
  }
24790
+ /**
24791
+ * Get the underlying NostrClient (or null if not yet connected).
24792
+ *
24793
+ * Exposed so {@link MultiAddressTransportMux} can share the same
24794
+ * client/socket pair instead of opening a duplicate WebSocket per
24795
+ * relay (#123). The transport owns the client's lifecycle — callers
24796
+ * MUST NOT call {@code disconnect()} on the returned instance.
24797
+ */
24798
+ getNostrClient() {
24799
+ return this.nostrClient;
24800
+ }
24790
24801
  /**
24791
24802
  * Suppress event subscriptions — unsubscribe wallet/chat filters
24792
24803
  * but keep the connection alive for resolve/identity-binding operations.