@urun-sh/core 0.1.41 → 0.1.43

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/internal.mjs CHANGED
@@ -1 +1 @@
1
- import{a as e,b as o,c as r,d as n,e as t,g as s,h as p,i as a}from"./chunk-4O3YOYT6.mjs";import"./chunk-FNR7JDXN.mjs";export{e as ChannelMultiplexer,o as DeferredChannelMultiplexer,a as TransportSession,p as decodeDocSyncFrame,s as encodeDocSyncFrame,t as ensureNodeWebRTC,r as isNodeRuntime,n as nodeMediasoupHandlerName};
1
+ import{a as e,b as o,c as r,d as n,e as t,g as s,h as p,i as a}from"./chunk-PWBUBR5C.mjs";export{e as ChannelMultiplexer,o as DeferredChannelMultiplexer,a as TransportSession,p as decodeDocSyncFrame,s as encodeDocSyncFrame,t as ensureNodeWebRTC,r as isNodeRuntime,n as nodeMediasoupHandlerName};
@@ -193,6 +193,10 @@ interface SessionStream {
193
193
  on(event: 'track', handler: (track: MediaStreamTrack | null) => void): () => void;
194
194
 
195
195
  messages(): AsyncIterable<unknown>;
196
+
197
+ emit(payload: unknown, options?: {
198
+ to?: string;
199
+ }): Promise<void>;
196
200
  }
197
201
 
198
202
  interface RequestOptions {
@@ -193,6 +193,10 @@ interface SessionStream {
193
193
  on(event: 'track', handler: (track: MediaStreamTrack | null) => void): () => void;
194
194
 
195
195
  messages(): AsyncIterable<unknown>;
196
+
197
+ emit(payload: unknown, options?: {
198
+ to?: string;
199
+ }): Promise<void>;
196
200
  }
197
201
 
198
202
  interface RequestOptions {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@urun-sh/core",
3
- "version": "0.1.41",
3
+ "version": "0.1.43",
4
4
  "description": "Core transport and channel primitives for the urun TypeScript SDK",
5
5
  "repository": {
6
6
  "type": "git",