@cloudflare/realtimekit 1.5.0-staging.1 → 1.5.0-staging.2

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.
@@ -3,7 +3,6 @@ import * as _cloudflare_realtimekit_utils from '@cloudflare/realtimekit-utils';
3
3
  import { PresetTypeV2, MediaVideoQualityType, ViewType, LivestreamViewerMediaQualityType, MediaScreenShareQualityType, PluginAccessControls, WaitingRoomTypes, MediaProductionPermissionType, RecorderType as RecorderType$1, BorderRadius, BorderWidth, Theme, createNewFlagsmithInstance } from '@cloudflare/realtimekit-utils';
4
4
  import { MessageType as MessageType$1 } from '@protobuf-ts/runtime';
5
5
  import { InhouseCallStats } from '@cloudflare/realtimekit-callstats';
6
- import { ClientEnvTypeAll } from '@cloudflare/realtimekit-callstats/dist/types';
7
6
  import { ProducerScoreStats, ConsumerScoreStats } from '@cloudflare/realtimekit-callstats/dist/measurements/types';
8
7
  import * as WorkerTimers from 'worker-timers';
9
8
 
@@ -4369,6 +4368,11 @@ type TypedEvents = {
4369
4368
  type UntypedEvents = Omit<AllEvents, keyof TypedEvents>;
4370
4369
  type SessionEventsType = TypedEvents & UntypedEvents;
4371
4370
 
4371
+ declare const ENVIRONMENTS: {
4372
+ readonly STAGING: "staging";
4373
+ readonly PROD: "prod";
4374
+ };
4375
+
4372
4376
  type ContextState = {
4373
4377
  authToken?: string;
4374
4378
  peerId?: string;
@@ -4391,7 +4395,7 @@ type ContextState = {
4391
4395
  pip?: Pip;
4392
4396
  roomNodeClient?: MediaNodeClient;
4393
4397
  viewType?: ViewType;
4394
- env?: ClientEnvTypeAll;
4398
+ env?: typeof ENVIRONMENTS[keyof typeof ENVIRONMENTS];
4395
4399
  sdkVersion?: string;
4396
4400
  sdkName?: 'web-core';
4397
4401
  callstats?: InhouseCallStats;