@unicitylabs/sphere-sdk 0.7.1-dev.1 → 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.
@@ -1770,6 +1770,17 @@ var NostrTransportProvider = class _NostrTransportProvider {
1770
1770
  getStorageAdapter() {
1771
1771
  return this.storage;
1772
1772
  }
1773
+ /**
1774
+ * Get the underlying NostrClient (or null if not yet connected).
1775
+ *
1776
+ * Exposed so {@link MultiAddressTransportMux} can share the same
1777
+ * client/socket pair instead of opening a duplicate WebSocket per
1778
+ * relay (#123). The transport owns the client's lifecycle — callers
1779
+ * MUST NOT call {@code disconnect()} on the returned instance.
1780
+ */
1781
+ getNostrClient() {
1782
+ return this.nostrClient;
1783
+ }
1773
1784
  /**
1774
1785
  * Suppress event subscriptions — unsubscribe wallet/chat filters
1775
1786
  * but keep the connection alive for resolve/identity-binding operations.