@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.
@@ -1722,6 +1722,17 @@ var NostrTransportProvider = class _NostrTransportProvider {
1722
1722
  getStorageAdapter() {
1723
1723
  return this.storage;
1724
1724
  }
1725
+ /**
1726
+ * Get the underlying NostrClient (or null if not yet connected).
1727
+ *
1728
+ * Exposed so {@link MultiAddressTransportMux} can share the same
1729
+ * client/socket pair instead of opening a duplicate WebSocket per
1730
+ * relay (#123). The transport owns the client's lifecycle — callers
1731
+ * MUST NOT call {@code disconnect()} on the returned instance.
1732
+ */
1733
+ getNostrClient() {
1734
+ return this.nostrClient;
1735
+ }
1725
1736
  /**
1726
1737
  * Suppress event subscriptions — unsubscribe wallet/chat filters
1727
1738
  * but keep the connection alive for resolve/identity-binding operations.