@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/EncryptionManager.cjs.js +1 -1
- package/dist/EncryptionManager.d.ts +6 -2
- package/dist/EncryptionManager.es.js +100 -100
- package/dist/browser.js +14 -14
- package/dist/dependencies.txt +1 -1
- package/dist/index.cjs.js +11 -11
- package/dist/index.d.ts +6 -2
- package/dist/index.es.js +2490 -2483
- package/dist/index.es5.js +2284 -2284
- package/dist/index.rn.js +11 -11
- package/dist/ts3.4/dist/EncryptionManager.d.ts +5 -2
- package/dist/ts3.4/dist/index.d.ts +5 -2
- package/package.json +1 -1
|
@@ -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?:
|
|
4398
|
+
env?: typeof ENVIRONMENTS[keyof typeof ENVIRONMENTS];
|
|
4395
4399
|
sdkVersion?: string;
|
|
4396
4400
|
sdkName?: 'web-core';
|
|
4397
4401
|
callstats?: InhouseCallStats;
|