@urun-sh/core 0.2.53 → 0.2.54

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,2 +1,2 @@
1
1
  import { createRequire as __urunCreateRequire } from 'node:module'; const require = globalThis.require ?? __urunCreateRequire(import.meta.url);
2
- import{E as r,H as t,I as n,J as a,K as s,M as p,N as m,O as c,S as i,T as l,U as S,V as f,W as x,X as C,Y as D,a as e,b as o}from"./chunk-DN7HQ3WI.mjs";export{e as ChannelMultiplexer,l as DOC_SYNC_WIRE_CONTRACT_VERSION,o as DeferredChannelMultiplexer,x as DeferredDocConnector,p as LoopbackStreamData,C as SessionDocumentImpl,i as TransportSession,r as allocateSession,D as createPresence,f as createWebsocketDocConnector,S as deriveYjsServerUrl,s as ensureNodeWebRTC,t as isNodeRuntime,n as nodeMediasoupHandlerName,a as nodeWebRTCUnavailableReason,c as streamDataLabel,m as transportStreamData};
2
+ import{E as r,H as t,I as n,J as a,K as s,M as p,N as m,O as c,S as i,T as l,U as S,V as f,W as x,X as C,Y as D,a as e,b as o}from"./chunk-ROHOB3GT.mjs";export{e as ChannelMultiplexer,l as DOC_SYNC_WIRE_CONTRACT_VERSION,o as DeferredChannelMultiplexer,x as DeferredDocConnector,p as LoopbackStreamData,C as SessionDocumentImpl,i as TransportSession,r as allocateSession,D as createPresence,f as createWebsocketDocConnector,S as deriveYjsServerUrl,s as ensureNodeWebRTC,t as isNodeRuntime,n as nodeMediasoupHandlerName,a as nodeWebRTCUnavailableReason,c as streamDataLabel,m as transportStreamData};
@@ -262,6 +262,8 @@ interface TransportSessionOptions {
262
262
  mediaLiveness?: MediaLivenessOptions;
263
263
 
264
264
  audioPlayout?: AudioPlayoutOptions;
265
+
266
+ diagnosticSink?: (diagnostic: SessionDiagnostic) => void;
265
267
  }
266
268
 
267
269
  interface AudioPlayoutOptions {
@@ -535,6 +537,8 @@ interface AppOptions {
535
537
 
536
538
  authProvider?: string;
537
539
 
540
+ diagnosticSink?: (diagnostic: SessionDiagnostic) => void;
541
+
538
542
  functionsUrl?: string;
539
543
 
540
544
  allowWebTransport?: boolean;
@@ -826,6 +830,8 @@ declare class TransportSession {
826
830
 
827
831
  private _candidatePairDiagnosticEmitted;
828
832
 
833
+ private _diagnosticSinkFailed;
834
+
829
835
  private _currentEpoch;
830
836
 
831
837
  private _consumerId;
@@ -262,6 +262,8 @@ interface TransportSessionOptions {
262
262
  mediaLiveness?: MediaLivenessOptions;
263
263
 
264
264
  audioPlayout?: AudioPlayoutOptions;
265
+
266
+ diagnosticSink?: (diagnostic: SessionDiagnostic) => void;
265
267
  }
266
268
 
267
269
  interface AudioPlayoutOptions {
@@ -535,6 +537,8 @@ interface AppOptions {
535
537
 
536
538
  authProvider?: string;
537
539
 
540
+ diagnosticSink?: (diagnostic: SessionDiagnostic) => void;
541
+
538
542
  functionsUrl?: string;
539
543
 
540
544
  allowWebTransport?: boolean;
@@ -826,6 +830,8 @@ declare class TransportSession {
826
830
 
827
831
  private _candidatePairDiagnosticEmitted;
828
832
 
833
+ private _diagnosticSinkFailed;
834
+
829
835
  private _currentEpoch;
830
836
 
831
837
  private _consumerId;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@urun-sh/core",
3
- "version": "0.2.53",
3
+ "version": "0.2.54",
4
4
  "description": "Core transport and channel primitives for the urun TypeScript SDK",
5
5
  "repository": {
6
6
  "type": "git",