@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
  declare global {
@@ -4335,6 +4334,10 @@ type TypedEvents = {
4335
4334
  };
4336
4335
  type UntypedEvents = Pick<AllEvents, Exclude<keyof AllEvents, keyof TypedEvents>>;
4337
4336
  type SessionEventsType = TypedEvents & UntypedEvents;
4337
+ declare const ENVIRONMENTS: {
4338
+ readonly STAGING: "staging";
4339
+ readonly PROD: "prod";
4340
+ };
4338
4341
  type ContextState = {
4339
4342
  authToken?: string;
4340
4343
  peerId?: string;
@@ -4357,7 +4360,7 @@ type ContextState = {
4357
4360
  pip?: Pip;
4358
4361
  roomNodeClient?: MediaNodeClient;
4359
4362
  viewType?: ViewType;
4360
- env?: ClientEnvTypeAll;
4363
+ env?: typeof ENVIRONMENTS[keyof typeof ENVIRONMENTS];
4361
4364
  sdkVersion?: string;
4362
4365
  sdkName?: 'web-core';
4363
4366
  callstats?: InhouseCallStats;
@@ -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';
@@ -4276,6 +4275,10 @@ declare class AudioPlaybackManager extends AudioPlayback {
4276
4275
  addParticipantTrack(participantId: string, track: MediaStreamTrack): void;
4277
4276
  removeParticipantTrack(participantId: string): void;
4278
4277
  }
4278
+ declare const ENVIRONMENTS: {
4279
+ readonly STAGING: "staging";
4280
+ readonly PROD: "prod";
4281
+ };
4279
4282
  type ContextState = {
4280
4283
  authToken?: string;
4281
4284
  peerId?: string;
@@ -4298,7 +4301,7 @@ type ContextState = {
4298
4301
  pip?: Pip;
4299
4302
  roomNodeClient?: MediaNodeClient;
4300
4303
  viewType?: ViewType;
4301
- env?: ClientEnvTypeAll;
4304
+ env?: typeof ENVIRONMENTS[keyof typeof ENVIRONMENTS];
4302
4305
  sdkVersion?: string;
4303
4306
  sdkName?: 'web-core';
4304
4307
  callstats?: InhouseCallStats;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudflare/realtimekit",
3
- "version": "1.5.0-staging.1",
3
+ "version": "1.5.0-staging.2",
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",