@cloudflare/realtimekit 1.3.0-staging.2 → 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.
@@ -2771,6 +2771,12 @@ declare class PermissionPreset extends TypedEventEmitter<PermissionEvents> {
2771
2771
  interface UserDetailsResponseV2 {
2772
2772
  participant: UserDetailsResponse;
2773
2773
  preset: PresetV2CamelCased;
2774
+ meeting: {
2775
+ title: string;
2776
+ };
2777
+ socket: {
2778
+ baseUri: string;
2779
+ };
2774
2780
  }
2775
2781
  type LeaveRoomState = 'kicked' | 'ended' | 'left' | 'rejected' | 'connected-meeting' | 'disconnected' | 'failed' | 'stageLeft';
2776
2782
  declare class SelfController {
@@ -2860,7 +2866,6 @@ interface APIOptions {
2860
2866
  cachedUserDetails?: CachedUserDetails;
2861
2867
  }
2862
2868
  declare class API {
2863
- ipInfo: any;
2864
2869
  protected fetchClient: FetchClient;
2865
2870
  protected requests: FetchClient;
2866
2871
  protected roomName: string;
@@ -3923,7 +3928,6 @@ interface ReactNativeFile {
3923
3928
  declare class APIClient extends API {
3924
3929
  telemetry: Telemetry;
3925
3930
  constructor(context: Context<ContextState>, options?: APIOptions);
3926
- getIPDetails(): Promise<any>;
3927
3931
  getICEServers(): Promise<any>;
3928
3932
  getPlugins(): Promise<any[]>;
3929
3933
  getPluginDetails(pluginId: string): Promise<PluginResponse>;
@@ -3947,7 +3951,6 @@ declare class APIClient extends API {
3947
3951
  getActiveTranscript(): Promise<{
3948
3952
  transcript: string;
3949
3953
  }>;
3950
- getRoomNodeData(): Promise<RoomDetails>;
3951
3954
  }
3952
3955
  declare enum MessageType {
3953
3956
  text = "text",
@@ -4336,6 +4339,7 @@ type ContextState = {
4336
4339
  peerId?: string;
4337
4340
  apiBase?: string;
4338
4341
  baseURI?: string;
4342
+ socketBaseURI?: string;
4339
4343
  onError?: (error: ClientError) => void;
4340
4344
  stageStatus?: StageStatus;
4341
4345
  organizationId?: string;
@@ -4745,15 +4749,6 @@ type LogData$2 = {
4745
4749
  ip?: any;
4746
4750
  timezone?: string;
4747
4751
  };
4748
- ipInfo?: {
4749
- city: string;
4750
- country: string;
4751
- region: string;
4752
- loc: string;
4753
- timezone: string;
4754
- ip: string;
4755
- postal: string;
4756
- };
4757
4752
  polls?: {
4758
4753
  hasQuestion?: boolean;
4759
4754
  optionsLength?: number;
@@ -4860,9 +4855,6 @@ declare class Telemetry {
4860
4855
  [key: string]: any;
4861
4856
  }[];
4862
4857
  logsProcessorTimer: NodeJS.Timer;
4863
- static location: {
4864
- country: string;
4865
- };
4866
4858
  readonly logsEndpoint: string;
4867
4859
  tracingEnabled: boolean;
4868
4860
  initialized: boolean;
@@ -3130,6 +3130,12 @@ declare class PermissionPreset extends TypedEventEmitter$1<PermissionEvents> {
3130
3130
  interface UserDetailsResponseV2 {
3131
3131
  participant: UserDetailsResponse;
3132
3132
  preset: PresetV2CamelCased;
3133
+ meeting: {
3134
+ title: string;
3135
+ };
3136
+ socket: {
3137
+ baseUri: string;
3138
+ };
3133
3139
  }
3134
3140
  type LeaveRoomState = 'kicked' | 'ended' | 'left' | 'rejected' | 'connected-meeting' | 'disconnected' | 'failed' | 'stageLeft';
3135
3141
  declare class SelfController {
@@ -3348,7 +3354,6 @@ interface ReactNativeFile {
3348
3354
  declare class APIClient extends API {
3349
3355
  telemetry: Telemetry;
3350
3356
  constructor(context: Context<ContextState>, options?: APIOptions);
3351
- getIPDetails(): Promise<any>;
3352
3357
  getICEServers(): Promise<any>;
3353
3358
  getPlugins(): Promise<any[]>;
3354
3359
  getPluginDetails(pluginId: string): Promise<PluginResponse>;
@@ -3372,7 +3377,6 @@ declare class APIClient extends API {
3372
3377
  getActiveTranscript(): Promise<{
3373
3378
  transcript: string;
3374
3379
  }>;
3375
- getRoomNodeData(): Promise<RoomDetails>;
3376
3380
  }
3377
3381
  declare enum MessageType {
3378
3382
  text = "text",
@@ -4276,6 +4280,7 @@ type ContextState = {
4276
4280
  peerId?: string;
4277
4281
  apiBase?: string;
4278
4282
  baseURI?: string;
4283
+ socketBaseURI?: string;
4279
4284
  onError?: (error: ClientError) => void;
4280
4285
  stageStatus?: StageStatus;
4281
4286
  organizationId?: string;
@@ -4685,15 +4690,6 @@ type LogData$2 = {
4685
4690
  ip?: any;
4686
4691
  timezone?: string;
4687
4692
  };
4688
- ipInfo?: {
4689
- city: string;
4690
- country: string;
4691
- region: string;
4692
- loc: string;
4693
- timezone: string;
4694
- ip: string;
4695
- postal: string;
4696
- };
4697
4693
  polls?: {
4698
4694
  hasQuestion?: boolean;
4699
4695
  optionsLength?: number;
@@ -4800,9 +4796,6 @@ declare class Telemetry {
4800
4796
  [key: string]: any;
4801
4797
  }[];
4802
4798
  logsProcessorTimer: NodeJS.Timer;
4803
- static location: {
4804
- country: string;
4805
- };
4806
4799
  readonly logsEndpoint: string;
4807
4800
  tracingEnabled: boolean;
4808
4801
  initialized: boolean;
@@ -4850,7 +4843,6 @@ interface APIOptions {
4850
4843
  cachedUserDetails?: CachedUserDetails;
4851
4844
  }
4852
4845
  declare class API {
4853
- ipInfo: any;
4854
4846
  protected fetchClient: FetchClient;
4855
4847
  protected requests: FetchClient;
4856
4848
  protected roomName: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudflare/realtimekit",
3
- "version": "1.3.0-staging.2",
3
+ "version": "1.4.0-staging.1",
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",