@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.
package/dist/index.d.ts CHANGED
@@ -3,7 +3,6 @@ import { PresetTypeV2, MediaVideoQualityType, ViewType, MediaScreenShareQualityT
3
3
  import { MessageType as MessageType$1 } from '@protobuf-ts/runtime';
4
4
  import { EventEmitter } from 'events';
5
5
  import { InhouseCallStats } from '@cloudflare/realtimekit-callstats';
6
- import { ClientEnvTypeAll } from '@cloudflare/realtimekit-callstats/dist/types';
7
6
  import { ConsumerScoreStats, ProducerScoreStats } from '@cloudflare/realtimekit-callstats/dist/measurements/types';
8
7
  export { AudioConsumerScoreStats, AudioProducerScoreStats, ConsumerScoreStats, ProducerScoreStats, VideoConsumerScoreStats, VideoProducerScoreStats } from '@cloudflare/realtimekit-callstats/dist/measurements/types';
9
8
  import * as WorkerTimers from 'worker-timers';
@@ -4315,6 +4314,11 @@ declare class AudioPlaybackManager extends AudioPlayback {
4315
4314
  removeParticipantTrack(participantId: string): void;
4316
4315
  }
4317
4316
 
4317
+ declare const ENVIRONMENTS: {
4318
+ readonly STAGING: "staging";
4319
+ readonly PROD: "prod";
4320
+ };
4321
+
4318
4322
  type ContextState = {
4319
4323
  authToken?: string;
4320
4324
  peerId?: string;
@@ -4337,7 +4341,7 @@ type ContextState = {
4337
4341
  pip?: Pip;
4338
4342
  roomNodeClient?: MediaNodeClient;
4339
4343
  viewType?: ViewType;
4340
- env?: ClientEnvTypeAll;
4344
+ env?: typeof ENVIRONMENTS[keyof typeof ENVIRONMENTS];
4341
4345
  sdkVersion?: string;
4342
4346
  sdkName?: 'web-core';
4343
4347
  callstats?: InhouseCallStats;