@cloudflare/realtimekit 0.5.0-staging.54 → 0.5.0-staging.56

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/build-types.sh CHANGED
@@ -18,4 +18,19 @@ function restore {
18
18
  trap restore EXIT
19
19
 
20
20
  npx tsup src/index.ts --external @protobuf-ts/runtime,worker-timers,bowser,lodash-es,sdp-transform --dts-resolve --dts-only --format esm
21
- npx tsup src/react.ts --external @protobuf-ts/runtime,worker-timers,bowser,lodash-es,sdp-transform --dts-resolve --dts-only --format esm
21
+ npx tsup src/react.ts --external @protobuf-ts/runtime,worker-timers,bowser,lodash-es,sdp-transform --dts-resolve --dts-only --format esm
22
+
23
+ # temp hack till we replace dyte completely with realtimekit
24
+ OS="$(uname)"
25
+ SED_CMD=""
26
+
27
+ if [[ "$OS" == "Darwin" ]]; then
28
+ # macOS (BSD sed requires backup extension or '')
29
+ SED_CMD="sed -i '' '/#private;/d'"
30
+ else
31
+ # Linux (GNU sed)
32
+ SED_CMD="sed -i '/#private;/d'"
33
+ fi
34
+
35
+ # Find and process all .d.ts files
36
+ find dist/ -name '*.d.ts' -exec bash -c "$SED_CMD \"{}\"" \;
package/dist/index.d.ts CHANGED
@@ -2090,7 +2090,6 @@ type PipEvents = {
2090
2090
  ['*']: (eventName: string, ...args: any[]) => void;
2091
2091
  };
2092
2092
  declare class RTKPip extends RTKTypedEventEmitter<PipEvents> {
2093
- #private;
2094
2093
  private constructor();
2095
2094
  static _init(context: Context<RTKContextState>, self: RTKSelf$1): Promise<RTKPip>;
2096
2095
  private setupIcon;
@@ -2253,7 +2252,6 @@ type MetaEvents = {
2253
2252
  ['*']: (event: string, ...args: any[]) => void;
2254
2253
  };
2255
2254
  declare class RTKMeta$1 extends RTKTypedEventEmitter<MetaEvents> {
2256
- #private;
2257
2255
  selfActiveTab: ActiveTab | undefined;
2258
2256
  get socketState(): SocketConnectionState;
2259
2257
  get mediaState(): MediaConnectionState;
@@ -2282,7 +2280,6 @@ type ModifyPrependObject<T extends EventMap, U> = {
2282
2280
  declare class RTKMap<T extends (EventMap & WildCardEvent<T>), U extends {
2283
2281
  id: string;
2284
2282
  } & RTKTypedEventEmitter<T>, V extends EventMap> extends Map<string, U> {
2285
- #private;
2286
2283
  readonly onAddEvent: keyof V;
2287
2284
  readonly onDeleteEvent: keyof V;
2288
2285
  readonly onClearEvent: keyof V;
@@ -2448,7 +2445,6 @@ interface RTKBasicParticipant {
2448
2445
  customParticipantId: string;
2449
2446
  }
2450
2447
  declare class RTKBasicParticipantsMap extends RTKEventEmitter<'participantsUpdate'> {
2451
- #private;
2452
2448
  constructor();
2453
2449
  __set(objId: string, obj: RTKBasicParticipant): Map<string, RTKBasicParticipant>;
2454
2450
  __clear(): void;
@@ -2513,7 +2509,6 @@ type ParticipantsEvents = {
2513
2509
  ['*']: (event: string, ...args: any[]) => void;
2514
2510
  };
2515
2511
  declare class RTKParticipants$1 extends RTKTypedEventEmitter<ParticipantsEvents> {
2516
- #private;
2517
2512
  readonly waitlisted: Readonly<RTKParticipantMap$1<Omit<RTKParticipant$1, 'audioTrack' | 'videoTrack' | 'screenShareTracks'>>>;
2518
2513
  readonly joined: Readonly<RTKParticipantMap$1>;
2519
2514
  readonly active: Readonly<RTKParticipantMap$1>;
@@ -2585,7 +2580,6 @@ declare class RTKParticipants$1 extends RTKTypedEventEmitter<ParticipantsEvents>
2585
2580
 
2586
2581
  type EventHandlerTypes = PeerInfoResponse | GetWaitingRoomRequests | RecordingEvent | UpdatePeersPresetResponse | PeerJoinBroadcastResponse | PeerJoinCompleteResponse | GlobalPeerPinningBroadcastResponse | PeerLeaveResponse | SelectedPeersResponse | SelectedPeersDiffResponse;
2587
2582
  declare class RoomSocketHandler {
2588
- #private;
2589
2583
  socket: SocketService;
2590
2584
  static create(socket: SocketService, context: Context<RTKContextState>): RoomSocketHandler;
2591
2585
  static cleanup(): void;
@@ -2669,7 +2663,6 @@ interface Participant {
2669
2663
  recorderType?: string;
2670
2664
  }
2671
2665
  declare class RTKParticipant$1 extends RTKTypedEventEmitter<ParticipantEvents> {
2672
- #private;
2673
2666
  id: string;
2674
2667
  userId: string;
2675
2668
  name: string;
@@ -2717,7 +2710,6 @@ declare class RTKParticipant$1 extends RTKTypedEventEmitter<ParticipantEvents> {
2717
2710
  }
2718
2711
 
2719
2712
  declare abstract class RoomNodeClient {
2720
- #private;
2721
2713
  meetingTitle: string;
2722
2714
  roomName: string;
2723
2715
  roomUUID: string;
@@ -2788,7 +2780,6 @@ interface UpdateChannelRequestPayload {
2788
2780
  visibility?: string;
2789
2781
  }
2790
2782
  declare class ChatChannelSocketHandler {
2791
- #private;
2792
2783
  constructor(socketService: SocketService);
2793
2784
  createChannel(displayName: string, memberIds: string[], displayPictureUrl?: string, visibility?: string, isDirectMessage?: boolean): Promise<ChatChannel>;
2794
2785
  updateChannel(channelId: string, payload: UpdateChannelRequestPayload): Promise<ChatChannel>;
@@ -2811,7 +2802,6 @@ interface SearchFilters {
2811
2802
  reversed?: boolean;
2812
2803
  }
2813
2804
  declare class ChatSocketHandler {
2814
- #private;
2815
2805
  constructor(socketService: SocketService);
2816
2806
  getChatMessages(): Promise<{
2817
2807
  id: string;
@@ -2842,7 +2832,6 @@ interface ResponseStatus {
2842
2832
  type MediaPermission$1 = 'NOT_REQUESTED' | 'ACCEPTED' | 'DENIED' | 'SYSTEM_DENIED' | 'COULD_NOT_START' | 'NO_DEVICES_AVAILABLE' | 'CANCELED';
2843
2833
 
2844
2834
  declare class LocalMediaHandler extends RTKEventEmitter<LocalMediaEvents> {
2845
- #private;
2846
2835
  audioUpdateInProgress: boolean;
2847
2836
  videoUpdateInProgress: boolean;
2848
2837
  constructor(context: Context<RTKContextState>, mediaConstraints: MediaConstraints, isNonPreferredDevice?: (media: MediaDeviceInfo) => boolean, autoSwitchDevice?: boolean);
@@ -3124,7 +3113,6 @@ type PresetV2CamelCased = {
3124
3113
  };
3125
3114
  type MaxVideoStreams = PresetV2CamelCased['config']['maxVideoStreams'];
3126
3115
  declare class RTKThemePreset$1 {
3127
- #private;
3128
3116
  private constructor();
3129
3117
  static fromResponse(preset: PresetV2CamelCased): RTKThemePreset$1;
3130
3118
  static default(): RTKThemePreset$1;
@@ -3182,7 +3170,6 @@ type PermissionEvents = {
3182
3170
  ['*']: () => void;
3183
3171
  };
3184
3172
  declare class RTKPermissionsPreset$1 extends RTKTypedEventEmitter<PermissionEvents> {
3185
- #private;
3186
3173
  private constructor();
3187
3174
  private setupEvents;
3188
3175
  static fromResponse(response: PresetPermissions, viewType: ViewType, context: Context<RTKContextState>): RTKPermissionsPreset$1;
@@ -3261,7 +3248,6 @@ type LivestreamResponse = {
3261
3248
  ingestionCredentials?: LivestreamIngestionCredentials;
3262
3249
  };
3263
3250
  declare class RTKLivestream$1 extends RTKTypedEventEmitter<LivestreamEvents> {
3264
- #private;
3265
3251
  state: LivestreamState;
3266
3252
  playbackUrl: string | undefined;
3267
3253
  ingestionCredentials: LivestreamIngestionCredentials;
@@ -3417,7 +3403,6 @@ type ChatEvents = {
3417
3403
  ['*']: (event: string, ...args: any[]) => void;
3418
3404
  };
3419
3405
  declare class RTKChat$1 extends RTKTypedEventEmitter<ChatEvents> {
3420
- #private;
3421
3406
  messages: Message[];
3422
3407
  channels: ChatChannel[];
3423
3408
  maxTextLimit: number;
@@ -3467,7 +3452,6 @@ declare class RTKChat$1 extends RTKTypedEventEmitter<ChatEvents> {
3467
3452
  }
3468
3453
 
3469
3454
  declare class PollSocketHandler {
3470
- #private;
3471
3455
  constructor(socketService: SocketService);
3472
3456
  getPolls(): Promise<{
3473
3457
  id: string;
@@ -3505,7 +3489,6 @@ type PollsEvents = {
3505
3489
  ['*']: (eventName: string, ...args: any[]) => void;
3506
3490
  };
3507
3491
  declare class RTKPolls$1 extends RTKTypedEventEmitter<PollsEvents> {
3508
- #private;
3509
3492
  items: Poll[];
3510
3493
  private get socketJoined();
3511
3494
  constructor(context: Context<RTKContextState>, self: RTKSelf$1, pollSocketHandler: PollSocketHandler);
@@ -3544,7 +3527,6 @@ declare class RTKPlugins$1 {
3544
3527
 
3545
3528
  type PluginSocketMessage = DisablePluginResponse | EnablePluginResponse | PluginEventResponse | PluginStoreResponse | SendChatMessageToPeersResponse | SendChatMessageToRoomResponse;
3546
3529
  declare class PluginSocketHandler {
3547
- #private;
3548
3530
  constructor(socketService: SocketService);
3549
3531
  addPlugin(pluginId: string, staggered: boolean): void;
3550
3532
  removePlugin(pluginId: string): void;
@@ -3572,7 +3554,6 @@ declare class PluginSocketHandler {
3572
3554
  }
3573
3555
 
3574
3556
  declare class RTKSelfMedia extends RTKTypedEventEmitter<SelfEvents> {
3575
- #private;
3576
3557
  protected localMediaHandler: LocalMediaHandler;
3577
3558
  protected updatePermission(): Promise<void>;
3578
3559
  protected populateMediaPermissionsInCallstats({ message, kind, }: {
@@ -3655,7 +3636,6 @@ type RecordingEvents = {
3655
3636
  ['*']: (eventName: string, ...args: any[]) => void;
3656
3637
  };
3657
3638
  declare class RTKRecording$1 extends RTKTypedEventEmitter<RecordingEvents> {
3658
- #private;
3659
3639
  recordingPeerIds: string[];
3660
3640
  get recordingState(): RecordingState;
3661
3641
  recordings: RecordingInfo[];
@@ -4062,7 +4042,6 @@ type StoreData = {
4062
4042
  [type: string]: any;
4063
4043
  };
4064
4044
  declare class RTKStore$1 {
4065
- #private;
4066
4045
  name: string;
4067
4046
  rateLimitConfig: {
4068
4047
  maxInvocations: number;
@@ -4107,7 +4086,6 @@ declare class RTKStore$1 {
4107
4086
  }
4108
4087
 
4109
4088
  declare class RTKStoreManager {
4110
- #private;
4111
4089
  stores: Map<String, RTKStore$1>;
4112
4090
  constructor(context: Context<RTKContextState>, handler: PluginSocketHandler);
4113
4091
  create(name: string): Promise<RTKStore$1>;
@@ -4318,7 +4296,6 @@ interface SocketConnectionState {
4318
4296
  reconnectionAttempt: number;
4319
4297
  }
4320
4298
  declare class SocketService {
4321
- #private;
4322
4299
  readonly roomName: string;
4323
4300
  readonly authToken: string;
4324
4301
  readonly capabilities: SocketServiceCapabilities;
@@ -4368,7 +4345,6 @@ declare class SocketService {
4368
4345
 
4369
4346
  type StageSocketMessage = GetStageRequestsResponse | GetStagePeersResponse | DenyStageAccessRequest | PeerStatusUpdate;
4370
4347
  declare class StageSocketHandler {
4371
- #private;
4372
4348
  constructor(socketService: SocketService);
4373
4349
  getStageRequests(): Promise<GetStageRequestsResponse>;
4374
4350
  requestAccess(): void;
@@ -4408,7 +4384,6 @@ type StageEvents = {
4408
4384
  ['*']: (eventName: string, ...args: any[]) => void;
4409
4385
  };
4410
4386
  declare class RTKStage extends RTKTypedEventEmitter<StageEvents> {
4411
- #private;
4412
4387
  constructor(context: Context<RTKContextState>, self: RTKSelf$1, participants: RTKParticipants, stageSocketHandler: StageSocketHandler, roomSocketHandler: RoomSocketHandler);
4413
4388
  get status(): StageStatus;
4414
4389
  private setupEvents;
@@ -4439,7 +4414,6 @@ interface UserDetailsResponse {
4439
4414
  organizationId?: string;
4440
4415
  }
4441
4416
  declare class RTKSelf$1 extends RTKSelfMedia {
4442
- #private;
4443
4417
  name: string;
4444
4418
  picture: string;
4445
4419
  customParticipantId: string;
@@ -4574,7 +4548,6 @@ type _string = string & {
4574
4548
  };
4575
4549
  type PluginEvents = keyof typeof PluginEventKeys | _string;
4576
4550
  declare class RTKPlugin$1 extends RTKEventEmitter<PluginEvents> {
4577
- #private;
4578
4551
  readonly baseURL: string;
4579
4552
  readonly createdAt: Date;
4580
4553
  readonly description: string;
@@ -4677,7 +4650,6 @@ type ConnectedMeetingsEvents = {
4677
4650
  ['*']: (eventName: string, ...args: any[]) => void;
4678
4651
  };
4679
4652
  declare class RTKConnectedMeetings$1 extends RTKTypedEventEmitter<ConnectedMeetingsEvents> {
4680
- #private;
4681
4653
  constructor(context: Context<RTKContextState>, meeting: RealtimeKitClient);
4682
4654
  meetings: ConnectedMeeting[];
4683
4655
  parentMeeting: ConnectedMeeting;
@@ -4736,7 +4708,6 @@ interface RealtimeKitClientOptions {
4736
4708
  cachedUserDetails?: CachedUserDetails;
4737
4709
  }
4738
4710
  declare class RealtimeKitClient {
4739
- #private;
4740
4711
  private constructor();
4741
4712
  static init(options: RealtimeKitClientOptions): Promise<RealtimeKitClient>;
4742
4713
  private static setupContext;
package/dist/react.d.ts CHANGED
@@ -2092,7 +2092,6 @@ type PipEvents = {
2092
2092
  ['*']: (eventName: string, ...args: any[]) => void;
2093
2093
  };
2094
2094
  declare class RTKPip extends RTKTypedEventEmitter<PipEvents> {
2095
- #private;
2096
2095
  private constructor();
2097
2096
  static _init(context: Context<RTKContextState>, self: RTKSelf$1): Promise<RTKPip>;
2098
2097
  private setupIcon;
@@ -2255,7 +2254,6 @@ type MetaEvents = {
2255
2254
  ['*']: (event: string, ...args: any[]) => void;
2256
2255
  };
2257
2256
  declare class RTKMeta$1 extends RTKTypedEventEmitter<MetaEvents> {
2258
- #private;
2259
2257
  selfActiveTab: ActiveTab | undefined;
2260
2258
  get socketState(): SocketConnectionState;
2261
2259
  get mediaState(): MediaConnectionState;
@@ -2284,7 +2282,6 @@ type ModifyPrependObject<T extends EventMap, U> = {
2284
2282
  declare class RTKMap<T extends (EventMap & WildCardEvent<T>), U extends {
2285
2283
  id: string;
2286
2284
  } & RTKTypedEventEmitter<T>, V extends EventMap> extends Map<string, U> {
2287
- #private;
2288
2285
  readonly onAddEvent: keyof V;
2289
2286
  readonly onDeleteEvent: keyof V;
2290
2287
  readonly onClearEvent: keyof V;
@@ -2448,7 +2445,6 @@ interface RTKBasicParticipant {
2448
2445
  customParticipantId: string;
2449
2446
  }
2450
2447
  declare class RTKBasicParticipantsMap extends RTKEventEmitter<'participantsUpdate'> {
2451
- #private;
2452
2448
  constructor();
2453
2449
  __set(objId: string, obj: RTKBasicParticipant): Map<string, RTKBasicParticipant>;
2454
2450
  __clear(): void;
@@ -2513,7 +2509,6 @@ type ParticipantsEvents = {
2513
2509
  ['*']: (event: string, ...args: any[]) => void;
2514
2510
  };
2515
2511
  declare class RTKParticipants$1 extends RTKTypedEventEmitter<ParticipantsEvents> {
2516
- #private;
2517
2512
  readonly waitlisted: Readonly<RTKParticipantMap$1<Omit<RTKParticipant$1, 'audioTrack' | 'videoTrack' | 'screenShareTracks'>>>;
2518
2513
  readonly joined: Readonly<RTKParticipantMap$1>;
2519
2514
  readonly active: Readonly<RTKParticipantMap$1>;
@@ -2585,7 +2580,6 @@ declare class RTKParticipants$1 extends RTKTypedEventEmitter<ParticipantsEvents>
2585
2580
 
2586
2581
  type EventHandlerTypes = PeerInfoResponse | GetWaitingRoomRequests | RecordingEvent | UpdatePeersPresetResponse | PeerJoinBroadcastResponse | PeerJoinCompleteResponse | GlobalPeerPinningBroadcastResponse | PeerLeaveResponse | SelectedPeersResponse | SelectedPeersDiffResponse;
2587
2582
  declare class RoomSocketHandler {
2588
- #private;
2589
2583
  socket: SocketService;
2590
2584
  static create(socket: SocketService, context: Context<RTKContextState>): RoomSocketHandler;
2591
2585
  static cleanup(): void;
@@ -2669,7 +2663,6 @@ interface Participant {
2669
2663
  recorderType?: string;
2670
2664
  }
2671
2665
  declare class RTKParticipant$1 extends RTKTypedEventEmitter<ParticipantEvents> {
2672
- #private;
2673
2666
  id: string;
2674
2667
  userId: string;
2675
2668
  name: string;
@@ -2717,7 +2710,6 @@ declare class RTKParticipant$1 extends RTKTypedEventEmitter<ParticipantEvents> {
2717
2710
  }
2718
2711
 
2719
2712
  declare abstract class RoomNodeClient {
2720
- #private;
2721
2713
  meetingTitle: string;
2722
2714
  roomName: string;
2723
2715
  roomUUID: string;
@@ -2788,7 +2780,6 @@ interface UpdateChannelRequestPayload {
2788
2780
  visibility?: string;
2789
2781
  }
2790
2782
  declare class ChatChannelSocketHandler {
2791
- #private;
2792
2783
  constructor(socketService: SocketService);
2793
2784
  createChannel(displayName: string, memberIds: string[], displayPictureUrl?: string, visibility?: string, isDirectMessage?: boolean): Promise<ChatChannel>;
2794
2785
  updateChannel(channelId: string, payload: UpdateChannelRequestPayload): Promise<ChatChannel>;
@@ -2811,7 +2802,6 @@ interface SearchFilters {
2811
2802
  reversed?: boolean;
2812
2803
  }
2813
2804
  declare class ChatSocketHandler {
2814
- #private;
2815
2805
  constructor(socketService: SocketService);
2816
2806
  getChatMessages(): Promise<{
2817
2807
  id: string;
@@ -2842,7 +2832,6 @@ interface ResponseStatus {
2842
2832
  type MediaPermission$1 = 'NOT_REQUESTED' | 'ACCEPTED' | 'DENIED' | 'SYSTEM_DENIED' | 'COULD_NOT_START' | 'NO_DEVICES_AVAILABLE' | 'CANCELED';
2843
2833
 
2844
2834
  declare class LocalMediaHandler extends RTKEventEmitter<LocalMediaEvents> {
2845
- #private;
2846
2835
  audioUpdateInProgress: boolean;
2847
2836
  videoUpdateInProgress: boolean;
2848
2837
  constructor(context: Context<RTKContextState>, mediaConstraints: MediaConstraints, isNonPreferredDevice?: (media: MediaDeviceInfo) => boolean, autoSwitchDevice?: boolean);
@@ -3124,7 +3113,6 @@ type PresetV2CamelCased = {
3124
3113
  };
3125
3114
  type MaxVideoStreams = PresetV2CamelCased['config']['maxVideoStreams'];
3126
3115
  declare class RTKThemePreset$1 {
3127
- #private;
3128
3116
  private constructor();
3129
3117
  static fromResponse(preset: PresetV2CamelCased): RTKThemePreset$1;
3130
3118
  static default(): RTKThemePreset$1;
@@ -3182,7 +3170,6 @@ type PermissionEvents = {
3182
3170
  ['*']: () => void;
3183
3171
  };
3184
3172
  declare class RTKPermissionsPreset$1 extends RTKTypedEventEmitter<PermissionEvents> {
3185
- #private;
3186
3173
  private constructor();
3187
3174
  private setupEvents;
3188
3175
  static fromResponse(response: PresetPermissions, viewType: ViewType, context: Context<RTKContextState>): RTKPermissionsPreset$1;
@@ -3261,7 +3248,6 @@ type LivestreamResponse = {
3261
3248
  ingestionCredentials?: LivestreamIngestionCredentials;
3262
3249
  };
3263
3250
  declare class RTKLivestream$1 extends RTKTypedEventEmitter<LivestreamEvents> {
3264
- #private;
3265
3251
  state: LivestreamState;
3266
3252
  playbackUrl: string | undefined;
3267
3253
  ingestionCredentials: LivestreamIngestionCredentials;
@@ -3417,7 +3403,6 @@ type ChatEvents = {
3417
3403
  ['*']: (event: string, ...args: any[]) => void;
3418
3404
  };
3419
3405
  declare class RTKChat$1 extends RTKTypedEventEmitter<ChatEvents> {
3420
- #private;
3421
3406
  messages: Message[];
3422
3407
  channels: ChatChannel[];
3423
3408
  maxTextLimit: number;
@@ -3467,7 +3452,6 @@ declare class RTKChat$1 extends RTKTypedEventEmitter<ChatEvents> {
3467
3452
  }
3468
3453
 
3469
3454
  declare class PollSocketHandler {
3470
- #private;
3471
3455
  constructor(socketService: SocketService);
3472
3456
  getPolls(): Promise<{
3473
3457
  id: string;
@@ -3505,7 +3489,6 @@ type PollsEvents = {
3505
3489
  ['*']: (eventName: string, ...args: any[]) => void;
3506
3490
  };
3507
3491
  declare class RTKPolls$1 extends RTKTypedEventEmitter<PollsEvents> {
3508
- #private;
3509
3492
  items: Poll[];
3510
3493
  private get socketJoined();
3511
3494
  constructor(context: Context<RTKContextState>, self: RTKSelf$1, pollSocketHandler: PollSocketHandler);
@@ -3544,7 +3527,6 @@ declare class RTKPlugins$1 {
3544
3527
 
3545
3528
  type PluginSocketMessage = DisablePluginResponse | EnablePluginResponse | PluginEventResponse | PluginStoreResponse | SendChatMessageToPeersResponse | SendChatMessageToRoomResponse;
3546
3529
  declare class PluginSocketHandler {
3547
- #private;
3548
3530
  constructor(socketService: SocketService);
3549
3531
  addPlugin(pluginId: string, staggered: boolean): void;
3550
3532
  removePlugin(pluginId: string): void;
@@ -3572,7 +3554,6 @@ declare class PluginSocketHandler {
3572
3554
  }
3573
3555
 
3574
3556
  declare class RTKSelfMedia extends RTKTypedEventEmitter<SelfEvents> {
3575
- #private;
3576
3557
  protected localMediaHandler: LocalMediaHandler;
3577
3558
  protected updatePermission(): Promise<void>;
3578
3559
  protected populateMediaPermissionsInCallstats({ message, kind, }: {
@@ -3655,7 +3636,6 @@ type RecordingEvents = {
3655
3636
  ['*']: (eventName: string, ...args: any[]) => void;
3656
3637
  };
3657
3638
  declare class RTKRecording$1 extends RTKTypedEventEmitter<RecordingEvents> {
3658
- #private;
3659
3639
  recordingPeerIds: string[];
3660
3640
  get recordingState(): RecordingState;
3661
3641
  recordings: RecordingInfo[];
@@ -4062,7 +4042,6 @@ type StoreData = {
4062
4042
  [type: string]: any;
4063
4043
  };
4064
4044
  declare class RTKStore$1 {
4065
- #private;
4066
4045
  name: string;
4067
4046
  rateLimitConfig: {
4068
4047
  maxInvocations: number;
@@ -4107,7 +4086,6 @@ declare class RTKStore$1 {
4107
4086
  }
4108
4087
 
4109
4088
  declare class RTKStoreManager {
4110
- #private;
4111
4089
  stores: Map<String, RTKStore$1>;
4112
4090
  constructor(context: Context<RTKContextState>, handler: PluginSocketHandler);
4113
4091
  create(name: string): Promise<RTKStore$1>;
@@ -4318,7 +4296,6 @@ interface SocketConnectionState {
4318
4296
  reconnectionAttempt: number;
4319
4297
  }
4320
4298
  declare class SocketService {
4321
- #private;
4322
4299
  readonly roomName: string;
4323
4300
  readonly authToken: string;
4324
4301
  readonly capabilities: SocketServiceCapabilities;
@@ -4368,7 +4345,6 @@ declare class SocketService {
4368
4345
 
4369
4346
  type StageSocketMessage = GetStageRequestsResponse | GetStagePeersResponse | DenyStageAccessRequest | PeerStatusUpdate;
4370
4347
  declare class StageSocketHandler {
4371
- #private;
4372
4348
  constructor(socketService: SocketService);
4373
4349
  getStageRequests(): Promise<GetStageRequestsResponse>;
4374
4350
  requestAccess(): void;
@@ -4408,7 +4384,6 @@ type StageEvents = {
4408
4384
  ['*']: (eventName: string, ...args: any[]) => void;
4409
4385
  };
4410
4386
  declare class RTKStage extends RTKTypedEventEmitter<StageEvents> {
4411
- #private;
4412
4387
  constructor(context: Context<RTKContextState>, self: RTKSelf$1, participants: RTKParticipants, stageSocketHandler: StageSocketHandler, roomSocketHandler: RoomSocketHandler);
4413
4388
  get status(): StageStatus;
4414
4389
  private setupEvents;
@@ -4439,7 +4414,6 @@ interface UserDetailsResponse {
4439
4414
  organizationId?: string;
4440
4415
  }
4441
4416
  declare class RTKSelf$1 extends RTKSelfMedia {
4442
- #private;
4443
4417
  name: string;
4444
4418
  picture: string;
4445
4419
  customParticipantId: string;
@@ -4574,7 +4548,6 @@ type _string = string & {
4574
4548
  };
4575
4549
  type PluginEvents = keyof typeof PluginEventKeys | _string;
4576
4550
  declare class RTKPlugin$1 extends RTKEventEmitter<PluginEvents> {
4577
- #private;
4578
4551
  readonly baseURL: string;
4579
4552
  readonly createdAt: Date;
4580
4553
  readonly description: string;
@@ -4677,7 +4650,6 @@ type ConnectedMeetingsEvents = {
4677
4650
  ['*']: (eventName: string, ...args: any[]) => void;
4678
4651
  };
4679
4652
  declare class RTKConnectedMeetings$1 extends RTKTypedEventEmitter<ConnectedMeetingsEvents> {
4680
- #private;
4681
4653
  constructor(context: Context<RTKContextState>, meeting: RealtimeKitClient);
4682
4654
  meetings: ConnectedMeeting[];
4683
4655
  parentMeeting: ConnectedMeeting;
@@ -4736,7 +4708,6 @@ interface RealtimeKitClientOptions {
4736
4708
  cachedUserDetails?: CachedUserDetails;
4737
4709
  }
4738
4710
  declare class RealtimeKitClient {
4739
- #private;
4740
4711
  private constructor();
4741
4712
  static init(options: RealtimeKitClientOptions): Promise<RealtimeKitClient>;
4742
4713
  private static setupContext;
@@ -2023,7 +2023,6 @@ type PipEvents = {
2023
2023
  ['*']: (eventName: string, ...args: any[]) => void;
2024
2024
  };
2025
2025
  declare class RTKPip extends RTKTypedEventEmitter<PipEvents> {
2026
- private "RTKPip.#private";
2027
2026
  private constructor();
2028
2027
  static _init(context: Context<RTKContextState>, self: RTKSelf$1): Promise<RTKPip>;
2029
2028
  private setupIcon;
@@ -2182,7 +2181,6 @@ type MetaEvents = {
2182
2181
  ['*']: (event: string, ...args: any[]) => void;
2183
2182
  };
2184
2183
  declare class RTKMeta$1 extends RTKTypedEventEmitter<MetaEvents> {
2185
- private "RTKMeta$1.#private";
2186
2184
  selfActiveTab: ActiveTab | undefined;
2187
2185
  readonly socketState: SocketConnectionState;
2188
2186
  readonly mediaState: MediaConnectionState;
@@ -2210,7 +2208,6 @@ type ModifyPrependObject<T extends EventMap, U> = {
2210
2208
  declare class RTKMap<T extends (EventMap & WildCardEvent<T>), U extends {
2211
2209
  id: string;
2212
2210
  } & RTKTypedEventEmitter<T>, V extends EventMap> extends Map<string, U> {
2213
- private "RTKMap.#private";
2214
2211
  readonly onAddEvent: keyof V;
2215
2212
  readonly onDeleteEvent: keyof V;
2216
2213
  readonly onClearEvent: keyof V;
@@ -2398,7 +2395,6 @@ interface RTKBasicParticipant {
2398
2395
  customParticipantId: string;
2399
2396
  }
2400
2397
  declare class RTKBasicParticipantsMap extends RTKEventEmitter<'participantsUpdate'> {
2401
- private "RTKBasicParticipantsMap.#private";
2402
2398
  constructor();
2403
2399
  __set(objId: string, obj: RTKBasicParticipant): Map<string, RTKBasicParticipant>;
2404
2400
  __clear(): void;
@@ -2466,7 +2462,6 @@ type ParticipantsEvents = {
2466
2462
  ['*']: (event: string, ...args: any[]) => void;
2467
2463
  };
2468
2464
  declare class RTKParticipants$1 extends RTKTypedEventEmitter<ParticipantsEvents> {
2469
- private "RTKParticipants$1.#private";
2470
2465
  readonly waitlisted: Readonly<RTKParticipantMap$1<Pick<RTKParticipant$1, Exclude<keyof RTKParticipant$1, 'audioTrack' | 'videoTrack' | 'screenShareTracks'>>>>;
2471
2466
  readonly joined: Readonly<RTKParticipantMap$1>;
2472
2467
  readonly active: Readonly<RTKParticipantMap$1>;
@@ -2537,7 +2532,6 @@ declare class RTKParticipants$1 extends RTKTypedEventEmitter<ParticipantsEvents>
2537
2532
  }
2538
2533
  type EventHandlerTypes = PeerInfoResponse | GetWaitingRoomRequests | RecordingEvent | UpdatePeersPresetResponse | PeerJoinBroadcastResponse | PeerJoinCompleteResponse | GlobalPeerPinningBroadcastResponse | PeerLeaveResponse | SelectedPeersResponse | SelectedPeersDiffResponse;
2539
2534
  declare class RoomSocketHandler {
2540
- private "RoomSocketHandler.#private";
2541
2535
  socket: SocketService;
2542
2536
  static create(socket: SocketService, context: Context<RTKContextState>): RoomSocketHandler;
2543
2537
  static cleanup(): void;
@@ -2620,7 +2614,6 @@ interface Participant {
2620
2614
  recorderType?: string;
2621
2615
  }
2622
2616
  declare class RTKParticipant$1 extends RTKTypedEventEmitter<ParticipantEvents> {
2623
- private "RTKParticipant$1.#private";
2624
2617
  id: string;
2625
2618
  userId: string;
2626
2619
  name: string;
@@ -2667,7 +2660,6 @@ declare class RTKParticipant$1 extends RTKTypedEventEmitter<ParticipantEvents> {
2667
2660
  private updateVideo;
2668
2661
  }
2669
2662
  declare abstract class RoomNodeClient {
2670
- private "RoomNodeClient.#private";
2671
2663
  meetingTitle: string;
2672
2664
  roomName: string;
2673
2665
  roomUUID: string;
@@ -2736,7 +2728,6 @@ interface UpdateChannelRequestPayload {
2736
2728
  visibility?: string;
2737
2729
  }
2738
2730
  declare class ChatChannelSocketHandler {
2739
- private "ChatChannelSocketHandler.#private";
2740
2731
  constructor(socketService: SocketService);
2741
2732
  createChannel(displayName: string, memberIds: string[], displayPictureUrl?: string, visibility?: string, isDirectMessage?: boolean): Promise<ChatChannel>;
2742
2733
  updateChannel(channelId: string, payload: UpdateChannelRequestPayload): Promise<ChatChannel>;
@@ -2758,7 +2749,6 @@ interface SearchFilters {
2758
2749
  reversed?: boolean;
2759
2750
  }
2760
2751
  declare class ChatSocketHandler {
2761
- private "ChatSocketHandler.#private";
2762
2752
  constructor(socketService: SocketService);
2763
2753
  getChatMessages(): Promise<{
2764
2754
  id: string;
@@ -2786,7 +2776,6 @@ interface ResponseStatus {
2786
2776
  }
2787
2777
  type MediaPermission$1 = 'NOT_REQUESTED' | 'ACCEPTED' | 'DENIED' | 'SYSTEM_DENIED' | 'COULD_NOT_START' | 'NO_DEVICES_AVAILABLE' | 'CANCELED';
2788
2778
  declare class LocalMediaHandler extends RTKEventEmitter<LocalMediaEvents> {
2789
- private "LocalMediaHandler.#private";
2790
2779
  audioUpdateInProgress: boolean;
2791
2780
  videoUpdateInProgress: boolean;
2792
2781
  constructor(context: Context<RTKContextState>, mediaConstraints: MediaConstraints, isNonPreferredDevice?: (media: MediaDeviceInfo) => boolean, autoSwitchDevice?: boolean);
@@ -3063,7 +3052,6 @@ type PresetV2CamelCased = {
3063
3052
  };
3064
3053
  type MaxVideoStreams = PresetV2CamelCased['config']['maxVideoStreams'];
3065
3054
  declare class RTKThemePreset$1 {
3066
- private "RTKThemePreset$1.#private";
3067
3055
  private constructor();
3068
3056
  static fromResponse(preset: PresetV2CamelCased): RTKThemePreset$1;
3069
3057
  static default(): RTKThemePreset$1;
@@ -3120,7 +3108,6 @@ type PermissionEvents = {
3120
3108
  ['*']: () => void;
3121
3109
  };
3122
3110
  declare class RTKPermissionsPreset$1 extends RTKTypedEventEmitter<PermissionEvents> {
3123
- private "RTKPermissionsPreset$1.#private";
3124
3111
  private constructor();
3125
3112
  private setupEvents;
3126
3113
  static fromResponse(response: PresetPermissions, viewType: ViewType, context: Context<RTKContextState>): RTKPermissionsPreset$1;
@@ -3197,7 +3184,6 @@ type LivestreamResponse = {
3197
3184
  ingestionCredentials?: LivestreamIngestionCredentials;
3198
3185
  };
3199
3186
  declare class RTKLivestream$1 extends RTKTypedEventEmitter<LivestreamEvents> {
3200
- private "RTKLivestream$1.#private";
3201
3187
  state: LivestreamState;
3202
3188
  playbackUrl: string | undefined;
3203
3189
  ingestionCredentials: LivestreamIngestionCredentials;
@@ -3351,7 +3337,6 @@ type ChatEvents = {
3351
3337
  ['*']: (event: string, ...args: any[]) => void;
3352
3338
  };
3353
3339
  declare class RTKChat$1 extends RTKTypedEventEmitter<ChatEvents> {
3354
- private "RTKChat$1.#private";
3355
3340
  messages: Message[];
3356
3341
  channels: ChatChannel[];
3357
3342
  maxTextLimit: number;
@@ -3400,7 +3385,6 @@ declare class RTKChat$1 extends RTKTypedEventEmitter<ChatEvents> {
3400
3385
  readonly pinned: Message[];
3401
3386
  }
3402
3387
  declare class PollSocketHandler {
3403
- private "PollSocketHandler.#private";
3404
3388
  constructor(socketService: SocketService);
3405
3389
  getPolls(): Promise<{
3406
3390
  id: string;
@@ -3437,7 +3421,6 @@ type PollsEvents = {
3437
3421
  ['*']: (eventName: string, ...args: any[]) => void;
3438
3422
  };
3439
3423
  declare class RTKPolls$1 extends RTKTypedEventEmitter<PollsEvents> {
3440
- private "RTKPolls$1.#private";
3441
3424
  items: Poll[];
3442
3425
  private readonly socketJoined: any;
3443
3426
  constructor(context: Context<RTKContextState>, self: RTKSelf$1, pollSocketHandler: PollSocketHandler);
@@ -3473,7 +3456,6 @@ declare class RTKPlugins$1 {
3473
3456
  }
3474
3457
  type PluginSocketMessage = DisablePluginResponse | EnablePluginResponse | PluginEventResponse | PluginStoreResponse | SendChatMessageToPeersResponse | SendChatMessageToRoomResponse;
3475
3458
  declare class PluginSocketHandler {
3476
- private "PluginSocketHandler.#private";
3477
3459
  constructor(socketService: SocketService);
3478
3460
  addPlugin(pluginId: string, staggered: boolean): void;
3479
3461
  removePlugin(pluginId: string): void;
@@ -3500,7 +3482,6 @@ declare class PluginSocketHandler {
3500
3482
  on(event: number, handler: (socketMessage: PluginSocketMessage, messageId?: string) => void): void;
3501
3483
  }
3502
3484
  declare class RTKSelfMedia extends RTKTypedEventEmitter<SelfEvents> {
3503
- private "RTKSelfMedia.#private";
3504
3485
  protected localMediaHandler: LocalMediaHandler;
3505
3486
  protected updatePermission(): Promise<void>;
3506
3487
  protected populateMediaPermissionsInCallstats({ message, kind, }: {
@@ -3582,7 +3563,6 @@ type RecordingEvents = {
3582
3563
  ['*']: (eventName: string, ...args: any[]) => void;
3583
3564
  };
3584
3565
  declare class RTKRecording$1 extends RTKTypedEventEmitter<RecordingEvents> {
3585
- private "RTKRecording$1.#private";
3586
3566
  recordingPeerIds: string[];
3587
3567
  readonly recordingState: RecordingState;
3588
3568
  recordings: RecordingInfo[];
@@ -3979,7 +3959,6 @@ type StoreData = {
3979
3959
  [type: string]: any;
3980
3960
  };
3981
3961
  declare class RTKStore$1 {
3982
- private "RTKStore$1.#private";
3983
3962
  name: string;
3984
3963
  rateLimitConfig: {
3985
3964
  maxInvocations: number;
@@ -4023,7 +4002,6 @@ declare class RTKStore$1 {
4023
4002
  populate(data: StoreData): void;
4024
4003
  }
4025
4004
  declare class RTKStoreManager {
4026
- private "RTKStoreManager.#private";
4027
4005
  stores: Map<String, RTKStore$1>;
4028
4006
  constructor(context: Context<RTKContextState>, handler: PluginSocketHandler);
4029
4007
  create(name: string): Promise<RTKStore$1>;
@@ -4229,7 +4207,6 @@ interface SocketConnectionState {
4229
4207
  reconnectionAttempt: number;
4230
4208
  }
4231
4209
  declare class SocketService {
4232
- private "SocketService.#private";
4233
4210
  readonly roomName: string;
4234
4211
  readonly authToken: string;
4235
4212
  readonly capabilities: SocketServiceCapabilities;
@@ -4277,7 +4254,6 @@ declare class SocketService {
4277
4254
  }
4278
4255
  type StageSocketMessage = GetStageRequestsResponse | GetStagePeersResponse | DenyStageAccessRequest | PeerStatusUpdate;
4279
4256
  declare class StageSocketHandler {
4280
- private "StageSocketHandler.#private";
4281
4257
  constructor(socketService: SocketService);
4282
4258
  getStageRequests(): Promise<GetStageRequestsResponse>;
4283
4259
  requestAccess(): void;
@@ -4316,7 +4292,6 @@ type StageEvents = {
4316
4292
  ['*']: (eventName: string, ...args: any[]) => void;
4317
4293
  };
4318
4294
  declare class RTKStage extends RTKTypedEventEmitter<StageEvents> {
4319
- private "RTKStage.#private";
4320
4295
  constructor(context: Context<RTKContextState>, self: RTKSelf$1, participants: RTKParticipants, stageSocketHandler: StageSocketHandler, roomSocketHandler: RoomSocketHandler);
4321
4296
  readonly status: StageStatus;
4322
4297
  private setupEvents;
@@ -4346,7 +4321,6 @@ interface UserDetailsResponse {
4346
4321
  organizationId?: string;
4347
4322
  }
4348
4323
  declare class RTKSelf$1 extends RTKSelfMedia {
4349
- private "RTKSelf$1.#private";
4350
4324
  name: string;
4351
4325
  picture: string;
4352
4326
  customParticipantId: string;
@@ -4480,7 +4454,6 @@ type _string = string & {
4480
4454
  };
4481
4455
  type PluginEvents = keyof typeof PluginEventKeys | _string;
4482
4456
  declare class RTKPlugin$1 extends RTKEventEmitter<PluginEvents> {
4483
- private "RTKPlugin$1.#private";
4484
4457
  readonly baseURL: string;
4485
4458
  readonly createdAt: Date;
4486
4459
  readonly description: string;
@@ -4580,7 +4553,6 @@ type ConnectedMeetingsEvents = {
4580
4553
  ['*']: (eventName: string, ...args: any[]) => void;
4581
4554
  };
4582
4555
  declare class RTKConnectedMeetings$1 extends RTKTypedEventEmitter<ConnectedMeetingsEvents> {
4583
- private "RTKConnectedMeetings$1.#private";
4584
4556
  constructor(context: Context<RTKContextState>, meeting: RealtimeKitClient);
4585
4557
  meetings: ConnectedMeeting[];
4586
4558
  parentMeeting: ConnectedMeeting;
@@ -4638,7 +4610,6 @@ interface RealtimeKitClientOptions {
4638
4610
  cachedUserDetails?: CachedUserDetails;
4639
4611
  }
4640
4612
  declare class RealtimeKitClient {
4641
- private "RealtimeKitClient.#private";
4642
4613
  private constructor();
4643
4614
  static init(options: RealtimeKitClientOptions): Promise<RealtimeKitClient>;
4644
4615
  private static setupContext;
@@ -2025,7 +2025,6 @@ type PipEvents = {
2025
2025
  ['*']: (eventName: string, ...args: any[]) => void;
2026
2026
  };
2027
2027
  declare class RTKPip extends RTKTypedEventEmitter<PipEvents> {
2028
- private "RTKPip.#private";
2029
2028
  private constructor();
2030
2029
  static _init(context: Context<RTKContextState>, self: RTKSelf$1): Promise<RTKPip>;
2031
2030
  private setupIcon;
@@ -2184,7 +2183,6 @@ type MetaEvents = {
2184
2183
  ['*']: (event: string, ...args: any[]) => void;
2185
2184
  };
2186
2185
  declare class RTKMeta$1 extends RTKTypedEventEmitter<MetaEvents> {
2187
- private "RTKMeta$1.#private";
2188
2186
  selfActiveTab: ActiveTab | undefined;
2189
2187
  readonly socketState: SocketConnectionState;
2190
2188
  readonly mediaState: MediaConnectionState;
@@ -2212,7 +2210,6 @@ type ModifyPrependObject<T extends EventMap, U> = {
2212
2210
  declare class RTKMap<T extends (EventMap & WildCardEvent<T>), U extends {
2213
2211
  id: string;
2214
2212
  } & RTKTypedEventEmitter<T>, V extends EventMap> extends Map<string, U> {
2215
- private "RTKMap.#private";
2216
2213
  readonly onAddEvent: keyof V;
2217
2214
  readonly onDeleteEvent: keyof V;
2218
2215
  readonly onClearEvent: keyof V;
@@ -2399,7 +2396,6 @@ interface RTKBasicParticipant {
2399
2396
  customParticipantId: string;
2400
2397
  }
2401
2398
  declare class RTKBasicParticipantsMap extends RTKEventEmitter<'participantsUpdate'> {
2402
- private "RTKBasicParticipantsMap.#private";
2403
2399
  constructor();
2404
2400
  __set(objId: string, obj: RTKBasicParticipant): Map<string, RTKBasicParticipant>;
2405
2401
  __clear(): void;
@@ -2467,7 +2463,6 @@ type ParticipantsEvents = {
2467
2463
  ['*']: (event: string, ...args: any[]) => void;
2468
2464
  };
2469
2465
  declare class RTKParticipants$1 extends RTKTypedEventEmitter<ParticipantsEvents> {
2470
- private "RTKParticipants$1.#private";
2471
2466
  readonly waitlisted: Readonly<RTKParticipantMap$1<Pick<RTKParticipant$1, Exclude<keyof RTKParticipant$1, 'audioTrack' | 'videoTrack' | 'screenShareTracks'>>>>;
2472
2467
  readonly joined: Readonly<RTKParticipantMap$1>;
2473
2468
  readonly active: Readonly<RTKParticipantMap$1>;
@@ -2538,7 +2533,6 @@ declare class RTKParticipants$1 extends RTKTypedEventEmitter<ParticipantsEvents>
2538
2533
  }
2539
2534
  type EventHandlerTypes = PeerInfoResponse | GetWaitingRoomRequests | RecordingEvent | UpdatePeersPresetResponse | PeerJoinBroadcastResponse | PeerJoinCompleteResponse | GlobalPeerPinningBroadcastResponse | PeerLeaveResponse | SelectedPeersResponse | SelectedPeersDiffResponse;
2540
2535
  declare class RoomSocketHandler {
2541
- private "RoomSocketHandler.#private";
2542
2536
  socket: SocketService;
2543
2537
  static create(socket: SocketService, context: Context<RTKContextState>): RoomSocketHandler;
2544
2538
  static cleanup(): void;
@@ -2621,7 +2615,6 @@ interface Participant {
2621
2615
  recorderType?: string;
2622
2616
  }
2623
2617
  declare class RTKParticipant$1 extends RTKTypedEventEmitter<ParticipantEvents> {
2624
- private "RTKParticipant$1.#private";
2625
2618
  id: string;
2626
2619
  userId: string;
2627
2620
  name: string;
@@ -2668,7 +2661,6 @@ declare class RTKParticipant$1 extends RTKTypedEventEmitter<ParticipantEvents> {
2668
2661
  private updateVideo;
2669
2662
  }
2670
2663
  declare abstract class RoomNodeClient {
2671
- private "RoomNodeClient.#private";
2672
2664
  meetingTitle: string;
2673
2665
  roomName: string;
2674
2666
  roomUUID: string;
@@ -2737,7 +2729,6 @@ interface UpdateChannelRequestPayload {
2737
2729
  visibility?: string;
2738
2730
  }
2739
2731
  declare class ChatChannelSocketHandler {
2740
- private "ChatChannelSocketHandler.#private";
2741
2732
  constructor(socketService: SocketService);
2742
2733
  createChannel(displayName: string, memberIds: string[], displayPictureUrl?: string, visibility?: string, isDirectMessage?: boolean): Promise<ChatChannel>;
2743
2734
  updateChannel(channelId: string, payload: UpdateChannelRequestPayload): Promise<ChatChannel>;
@@ -2759,7 +2750,6 @@ interface SearchFilters {
2759
2750
  reversed?: boolean;
2760
2751
  }
2761
2752
  declare class ChatSocketHandler {
2762
- private "ChatSocketHandler.#private";
2763
2753
  constructor(socketService: SocketService);
2764
2754
  getChatMessages(): Promise<{
2765
2755
  id: string;
@@ -2787,7 +2777,6 @@ interface ResponseStatus {
2787
2777
  }
2788
2778
  type MediaPermission$1 = 'NOT_REQUESTED' | 'ACCEPTED' | 'DENIED' | 'SYSTEM_DENIED' | 'COULD_NOT_START' | 'NO_DEVICES_AVAILABLE' | 'CANCELED';
2789
2779
  declare class LocalMediaHandler extends RTKEventEmitter<LocalMediaEvents> {
2790
- private "LocalMediaHandler.#private";
2791
2780
  audioUpdateInProgress: boolean;
2792
2781
  videoUpdateInProgress: boolean;
2793
2782
  constructor(context: Context<RTKContextState>, mediaConstraints: MediaConstraints, isNonPreferredDevice?: (media: MediaDeviceInfo) => boolean, autoSwitchDevice?: boolean);
@@ -3064,7 +3053,6 @@ type PresetV2CamelCased = {
3064
3053
  };
3065
3054
  type MaxVideoStreams = PresetV2CamelCased['config']['maxVideoStreams'];
3066
3055
  declare class RTKThemePreset$1 {
3067
- private "RTKThemePreset$1.#private";
3068
3056
  private constructor();
3069
3057
  static fromResponse(preset: PresetV2CamelCased): RTKThemePreset$1;
3070
3058
  static default(): RTKThemePreset$1;
@@ -3121,7 +3109,6 @@ type PermissionEvents = {
3121
3109
  ['*']: () => void;
3122
3110
  };
3123
3111
  declare class RTKPermissionsPreset$1 extends RTKTypedEventEmitter<PermissionEvents> {
3124
- private "RTKPermissionsPreset$1.#private";
3125
3112
  private constructor();
3126
3113
  private setupEvents;
3127
3114
  static fromResponse(response: PresetPermissions, viewType: ViewType, context: Context<RTKContextState>): RTKPermissionsPreset$1;
@@ -3198,7 +3185,6 @@ type LivestreamResponse = {
3198
3185
  ingestionCredentials?: LivestreamIngestionCredentials;
3199
3186
  };
3200
3187
  declare class RTKLivestream$1 extends RTKTypedEventEmitter<LivestreamEvents> {
3201
- private "RTKLivestream$1.#private";
3202
3188
  state: LivestreamState;
3203
3189
  playbackUrl: string | undefined;
3204
3190
  ingestionCredentials: LivestreamIngestionCredentials;
@@ -3352,7 +3338,6 @@ type ChatEvents = {
3352
3338
  ['*']: (event: string, ...args: any[]) => void;
3353
3339
  };
3354
3340
  declare class RTKChat$1 extends RTKTypedEventEmitter<ChatEvents> {
3355
- private "RTKChat$1.#private";
3356
3341
  messages: Message[];
3357
3342
  channels: ChatChannel[];
3358
3343
  maxTextLimit: number;
@@ -3401,7 +3386,6 @@ declare class RTKChat$1 extends RTKTypedEventEmitter<ChatEvents> {
3401
3386
  readonly pinned: Message[];
3402
3387
  }
3403
3388
  declare class PollSocketHandler {
3404
- private "PollSocketHandler.#private";
3405
3389
  constructor(socketService: SocketService);
3406
3390
  getPolls(): Promise<{
3407
3391
  id: string;
@@ -3438,7 +3422,6 @@ type PollsEvents = {
3438
3422
  ['*']: (eventName: string, ...args: any[]) => void;
3439
3423
  };
3440
3424
  declare class RTKPolls$1 extends RTKTypedEventEmitter<PollsEvents> {
3441
- private "RTKPolls$1.#private";
3442
3425
  items: Poll[];
3443
3426
  private readonly socketJoined: any;
3444
3427
  constructor(context: Context<RTKContextState>, self: RTKSelf$1, pollSocketHandler: PollSocketHandler);
@@ -3474,7 +3457,6 @@ declare class RTKPlugins$1 {
3474
3457
  }
3475
3458
  type PluginSocketMessage = DisablePluginResponse | EnablePluginResponse | PluginEventResponse | PluginStoreResponse | SendChatMessageToPeersResponse | SendChatMessageToRoomResponse;
3476
3459
  declare class PluginSocketHandler {
3477
- private "PluginSocketHandler.#private";
3478
3460
  constructor(socketService: SocketService);
3479
3461
  addPlugin(pluginId: string, staggered: boolean): void;
3480
3462
  removePlugin(pluginId: string): void;
@@ -3501,7 +3483,6 @@ declare class PluginSocketHandler {
3501
3483
  on(event: number, handler: (socketMessage: PluginSocketMessage, messageId?: string) => void): void;
3502
3484
  }
3503
3485
  declare class RTKSelfMedia extends RTKTypedEventEmitter<SelfEvents> {
3504
- private "RTKSelfMedia.#private";
3505
3486
  protected localMediaHandler: LocalMediaHandler;
3506
3487
  protected updatePermission(): Promise<void>;
3507
3488
  protected populateMediaPermissionsInCallstats({ message, kind, }: {
@@ -3583,7 +3564,6 @@ type RecordingEvents = {
3583
3564
  ['*']: (eventName: string, ...args: any[]) => void;
3584
3565
  };
3585
3566
  declare class RTKRecording$1 extends RTKTypedEventEmitter<RecordingEvents> {
3586
- private "RTKRecording$1.#private";
3587
3567
  recordingPeerIds: string[];
3588
3568
  readonly recordingState: RecordingState;
3589
3569
  recordings: RecordingInfo[];
@@ -3980,7 +3960,6 @@ type StoreData = {
3980
3960
  [type: string]: any;
3981
3961
  };
3982
3962
  declare class RTKStore$1 {
3983
- private "RTKStore$1.#private";
3984
3963
  name: string;
3985
3964
  rateLimitConfig: {
3986
3965
  maxInvocations: number;
@@ -4024,7 +4003,6 @@ declare class RTKStore$1 {
4024
4003
  populate(data: StoreData): void;
4025
4004
  }
4026
4005
  declare class RTKStoreManager {
4027
- private "RTKStoreManager.#private";
4028
4006
  stores: Map<String, RTKStore$1>;
4029
4007
  constructor(context: Context<RTKContextState>, handler: PluginSocketHandler);
4030
4008
  create(name: string): Promise<RTKStore$1>;
@@ -4230,7 +4208,6 @@ interface SocketConnectionState {
4230
4208
  reconnectionAttempt: number;
4231
4209
  }
4232
4210
  declare class SocketService {
4233
- private "SocketService.#private";
4234
4211
  readonly roomName: string;
4235
4212
  readonly authToken: string;
4236
4213
  readonly capabilities: SocketServiceCapabilities;
@@ -4278,7 +4255,6 @@ declare class SocketService {
4278
4255
  }
4279
4256
  type StageSocketMessage = GetStageRequestsResponse | GetStagePeersResponse | DenyStageAccessRequest | PeerStatusUpdate;
4280
4257
  declare class StageSocketHandler {
4281
- private "StageSocketHandler.#private";
4282
4258
  constructor(socketService: SocketService);
4283
4259
  getStageRequests(): Promise<GetStageRequestsResponse>;
4284
4260
  requestAccess(): void;
@@ -4317,7 +4293,6 @@ type StageEvents = {
4317
4293
  ['*']: (eventName: string, ...args: any[]) => void;
4318
4294
  };
4319
4295
  declare class RTKStage extends RTKTypedEventEmitter<StageEvents> {
4320
- private "RTKStage.#private";
4321
4296
  constructor(context: Context<RTKContextState>, self: RTKSelf$1, participants: RTKParticipants, stageSocketHandler: StageSocketHandler, roomSocketHandler: RoomSocketHandler);
4322
4297
  readonly status: StageStatus;
4323
4298
  private setupEvents;
@@ -4347,7 +4322,6 @@ interface UserDetailsResponse {
4347
4322
  organizationId?: string;
4348
4323
  }
4349
4324
  declare class RTKSelf$1 extends RTKSelfMedia {
4350
- private "RTKSelf$1.#private";
4351
4325
  name: string;
4352
4326
  picture: string;
4353
4327
  customParticipantId: string;
@@ -4481,7 +4455,6 @@ type _string = string & {
4481
4455
  };
4482
4456
  type PluginEvents = keyof typeof PluginEventKeys | _string;
4483
4457
  declare class RTKPlugin$1 extends RTKEventEmitter<PluginEvents> {
4484
- private "RTKPlugin$1.#private";
4485
4458
  readonly baseURL: string;
4486
4459
  readonly createdAt: Date;
4487
4460
  readonly description: string;
@@ -4581,7 +4554,6 @@ type ConnectedMeetingsEvents = {
4581
4554
  ['*']: (eventName: string, ...args: any[]) => void;
4582
4555
  };
4583
4556
  declare class RTKConnectedMeetings$1 extends RTKTypedEventEmitter<ConnectedMeetingsEvents> {
4584
- private "RTKConnectedMeetings$1.#private";
4585
4557
  constructor(context: Context<RTKContextState>, meeting: RealtimeKitClient);
4586
4558
  meetings: ConnectedMeeting[];
4587
4559
  parentMeeting: ConnectedMeeting;
@@ -4639,7 +4611,6 @@ interface RealtimeKitClientOptions {
4639
4611
  cachedUserDetails?: CachedUserDetails;
4640
4612
  }
4641
4613
  declare class RealtimeKitClient {
4642
- private "RealtimeKitClient.#private";
4643
4614
  private constructor();
4644
4615
  static init(options: RealtimeKitClientOptions): Promise<RealtimeKitClient>;
4645
4616
  private static setupContext;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudflare/realtimekit",
3
- "version": "0.5.0-staging.54",
3
+ "version": "0.5.0-staging.56",
4
4
  "description": "A real-time video and audio SDK for building custom, collaborative communication experiences.",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.es.js",