@cloudflare/realtimekit 1.3.0 → 1.4.0-staging.1

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/index.d.ts CHANGED
@@ -3142,6 +3142,12 @@ declare class PermissionPreset extends TypedEventEmitter$1<PermissionEvents> {
3142
3142
  interface UserDetailsResponseV2 {
3143
3143
  participant: UserDetailsResponse;
3144
3144
  preset: PresetV2CamelCased;
3145
+ meeting: {
3146
+ title: string;
3147
+ };
3148
+ socket: {
3149
+ baseUri: string;
3150
+ };
3145
3151
  }
3146
3152
  type LeaveRoomState = 'kicked' | 'ended' | 'left' | 'rejected' | 'connected-meeting' | 'disconnected' | 'failed' | 'stageLeft';
3147
3153
  declare class SelfController {
@@ -3364,7 +3370,6 @@ interface ReactNativeFile {
3364
3370
  declare class APIClient extends API {
3365
3371
  telemetry: Telemetry;
3366
3372
  constructor(context: Context<ContextState>, options?: APIOptions);
3367
- getIPDetails(): Promise<any>;
3368
3373
  getICEServers(): Promise<any>;
3369
3374
  getPlugins(): Promise<any[]>;
3370
3375
  getPluginDetails(pluginId: string): Promise<PluginResponse>;
@@ -3388,7 +3393,6 @@ declare class APIClient extends API {
3388
3393
  getActiveTranscript(): Promise<{
3389
3394
  transcript: string;
3390
3395
  }>;
3391
- getRoomNodeData(): Promise<RoomDetails>;
3392
3396
  }
3393
3397
 
3394
3398
  declare enum MessageType {
@@ -4315,6 +4319,7 @@ type ContextState = {
4315
4319
  peerId?: string;
4316
4320
  apiBase?: string;
4317
4321
  baseURI?: string;
4322
+ socketBaseURI?: string;
4318
4323
  onError?: (error: ClientError) => void;
4319
4324
  stageStatus?: StageStatus;
4320
4325
  organizationId?: string;
@@ -4730,15 +4735,6 @@ type LogData$2 = {
4730
4735
  ip?: any;
4731
4736
  timezone?: string;
4732
4737
  };
4733
- ipInfo?: {
4734
- city: string;
4735
- country: string;
4736
- region: string;
4737
- loc: string;
4738
- timezone: string;
4739
- ip: string;
4740
- postal: string;
4741
- };
4742
4738
  polls?: {
4743
4739
  hasQuestion?: boolean;
4744
4740
  optionsLength?: number;
@@ -4846,9 +4842,6 @@ declare class Telemetry {
4846
4842
  [key: string]: any;
4847
4843
  }[];
4848
4844
  logsProcessorTimer: NodeJS.Timer;
4849
- static location: {
4850
- country: string;
4851
- };
4852
4845
  get logsEndpoint(): string;
4853
4846
  tracingEnabled: boolean;
4854
4847
  initialized: boolean;
@@ -4898,7 +4891,6 @@ interface APIOptions {
4898
4891
  cachedUserDetails?: CachedUserDetails;
4899
4892
  }
4900
4893
  declare class API {
4901
- ipInfo: any;
4902
4894
  protected fetchClient: FetchClient;
4903
4895
  protected requests: FetchClient;
4904
4896
  protected roomName: string;