@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
|
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?:
|
|
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?:
|
|
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.
|
|
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",
|