@cloudflare/realtimekit 2.0.2-staging.7 → 2.0.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.
@@ -3422,12 +3422,7 @@ declare abstract class HandlerInterface<TransportPromiseEvents> extends Enhanced
3422
3422
  setRtpEncodingParameters(localId: string, params: any): Promise<void>;
3423
3423
  getSenderStats(localId: string): Promise<RTCStatsReport>;
3424
3424
  _addEventListeners(): void;
3425
- addCustomEventListeners(): void;
3426
3425
  }
3427
- type DCMessage = {
3428
- type: string;
3429
- payload: Record<string, unknown>;
3430
- };
3431
3426
  type TransportPromiseEvents = {
3432
3427
  'close': {
3433
3428
  answer: RTCSessionDescriptionInit;
@@ -4517,11 +4512,6 @@ type LogData$2 = {
4517
4512
  consumerStateMap?: {
4518
4513
  [key: string]: ConsumerState;
4519
4514
  };
4520
- rtcChannel?: {
4521
- label?: string;
4522
- message?: DCMessage;
4523
- messageStringified?: string;
4524
- };
4525
4515
  localStorage?: {
4526
4516
  key?: string;
4527
4517
  value?: string;
@@ -4618,13 +4608,6 @@ type LogData$2 = {
4618
4608
  eventName: string;
4619
4609
  listenerCount: number;
4620
4610
  };
4621
- dataChannelMessageChunk?: {
4622
- id: string;
4623
- count: number;
4624
- chunkIndex: number;
4625
- chunk: string;
4626
- transprtId: string;
4627
- };
4628
4611
  peerIds?: string[];
4629
4612
  producers?: ProducerState[];
4630
4613
  sdp?: RTCSessionDescription['sdp'];
@@ -2219,12 +2219,7 @@ declare abstract class HandlerInterface<TransportPromiseEvents> extends Enhanced
2219
2219
  setRtpEncodingParameters(localId: string, params: any): Promise<void>;
2220
2220
  getSenderStats(localId: string): Promise<RTCStatsReport>;
2221
2221
  _addEventListeners(): void;
2222
- addCustomEventListeners(): void;
2223
2222
  }
2224
- type DCMessage = {
2225
- type: string;
2226
- payload: Record<string, unknown>;
2227
- };
2228
2223
  type TransportPromiseEvents = {
2229
2224
  'close': {
2230
2225
  answer: RTCSessionDescriptionInit;
@@ -4462,11 +4457,6 @@ type LogData$2 = {
4462
4457
  consumerStateMap?: {
4463
4458
  [key: string]: ConsumerState;
4464
4459
  };
4465
- rtcChannel?: {
4466
- label?: string;
4467
- message?: DCMessage;
4468
- messageStringified?: string;
4469
- };
4470
4460
  localStorage?: {
4471
4461
  key?: string;
4472
4462
  value?: string;
@@ -4563,13 +4553,6 @@ type LogData$2 = {
4563
4553
  eventName: string;
4564
4554
  listenerCount: number;
4565
4555
  };
4566
- dataChannelMessageChunk?: {
4567
- id: string;
4568
- count: number;
4569
- chunkIndex: number;
4570
- chunk: string;
4571
- transprtId: string;
4572
- };
4573
4556
  peerIds?: string[];
4574
4557
  producers?: ProducerState[];
4575
4558
  sdp?: RTCSessionDescription['sdp'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudflare/realtimekit",
3
- "version": "2.0.2-staging.7",
3
+ "version": "2.0.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",
@@ -86,7 +86,8 @@
86
86
  "worker-timers": "7.0.60"
87
87
  },
88
88
  "publishConfig": {
89
- "tag": "staging"
89
+ "access": "public",
90
+ "tag": "latest"
90
91
  },
91
92
  "devDependencies": {
92
93
  "@types/events": "^3.0.0",