@ikonai/sdk 1.0.18 → 1.0.20

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.
@@ -68,6 +68,12 @@ export interface LocalConfig extends CommonConnectionConfig {
68
68
  * User ID for the connection.
69
69
  */
70
70
  userId?: string;
71
+ /**
72
+ * Space ID used for anonymous authentication to resolve the user ID.
73
+ * When provided (and userId is not set), the SDK will attempt to call
74
+ * the anonymous auth endpoint to obtain an internal user ID.
75
+ */
76
+ spaceId?: string;
71
77
  }
72
78
  /**
73
79
  * Common options for cloud-based modes (apiKey and sessionToken).
@@ -277,7 +277,9 @@ export declare class IkonClient {
277
277
  private setupWebRtcSignaling;
278
278
  private _webRtcAudioElement;
279
279
  private _webRtcAudioUnlockHandler;
280
+ private readonly _webRtcMediaSession;
280
281
  private autoPlayWebRtcAudio;
282
+ private setupWebRtcMediaSession;
281
283
  private removeWebRtcAudioUnlockHandler;
282
284
  private connectProtocolOnMainThread;
283
285
  private disconnectProtocol;