@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.
- package/dist/core/index.cjs +230 -81
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +70 -5
- package/dist/core/index.d.ts +70 -5
- package/dist/core/index.js +230 -81
- package/dist/core/index.js.map +1 -1
- package/dist/impl/browser/index.cjs +11 -0
- package/dist/impl/browser/index.cjs.map +1 -1
- package/dist/impl/browser/index.js +11 -0
- package/dist/impl/browser/index.js.map +1 -1
- package/dist/impl/nodejs/index.cjs +11 -0
- package/dist/impl/nodejs/index.cjs.map +1 -1
- package/dist/impl/nodejs/index.d.cts +10 -1
- package/dist/impl/nodejs/index.d.ts +10 -1
- package/dist/impl/nodejs/index.js +11 -0
- package/dist/impl/nodejs/index.js.map +1 -1
- package/dist/index.cjs +230 -81
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +230 -81
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -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.
|