@cloudflare/realtimekit-react 0.5.0-staging.106 → 0.5.0-staging.108

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
@@ -1,5 +1,5 @@
1
1
  import RTKClient, { RealtimeKitClientOptions } from '@cloudflare/realtimekit';
2
- export { RTKBasicParticipant, RTKConnectedMeetings, RTKParticipant, RTKParticipantMap, RTKParticipants, RTKPermissionsPreset, RTKPlugin, RTKSelf, RTKSelfMedia, RTKThemePreset } from '@cloudflare/realtimekit';
2
+ export { ActiveTab, ActiveTabType, AudioConsumerScoreStats, AudioMiddleware, AudioProducerScoreStats, BroadcastMessagePayload, ChatChannel, ChatUpdateParams, CustomMessage, DeviceConfig, FileMessage, ImageMessage, JoinedPeer, LeaveRoomState, LivestreamIngestionCredentials, LivestreamState, LogData, MediaConnectionState, MediaConnectionUpdate, MediaKind, MediaPermission, Message, ProducerScoreStats, RTKBasicParticipant, RTKChat, RTKConnectedMeetings, RTKLivestream, RTKMeta, RTKParticipant, RTKParticipantMap, RTKParticipants, RTKPermissionsPreset, RTKPlugin, RTKPluginMap, RTKPlugins, RTKPolls, RTKRecording, RTKSelf, RTKSelfMedia, RTKStore, RTKThemePreset, RecordingState, RequestToJoinType, SocketConnectionState, StageStatus, StartLivestreamConfig, TextMessage, VideoConsumerScoreStats, VideoMiddleware, VideoProducerScoreStats, VideoQualityConstraints, leaveRoomState } from '@cloudflare/realtimekit';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import React, { ReactNode } from 'react';
5
5
 
@@ -14,7 +14,7 @@ declare class RTKUpdates {
14
14
  private onUpdate;
15
15
  }
16
16
  declare const RealtimeKitContext: React.Context<{
17
- meeting: DyteClient | undefined;
17
+ meeting: RTKClient | undefined;
18
18
  updates: RTKUpdates | undefined;
19
19
  }>;
20
20
  /**
@@ -34,7 +34,7 @@ declare function RealtimeKitProvider({ value, children, fallback, }: {
34
34
  * @returns meeting instance
35
35
  */
36
36
  declare const useRealtimeKitMeeting: () => {
37
- meeting: any;
37
+ meeting: RTKClient;
38
38
  };
39
39
 
40
40
  interface DyteClientParams {
package/dist/index.es.js CHANGED
@@ -30007,7 +30007,7 @@ class RTKUpdates {
30007
30007
  l2();
30008
30008
  });
30009
30009
  });
30010
- var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j, _k2, _l2, _m2, _n2, _o2, _p2, _q, _r2;
30010
+ var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j, _k2, _l2, _m2, _n2, _o2, _p2;
30011
30011
  this.meeting = meeting;
30012
30012
  this.l = /* @__PURE__ */ new Set();
30013
30013
  (_a2 = this.meeting.self) == null ? void 0 : _a2.addListener("*", this.onUpdate);
@@ -30022,12 +30022,10 @@ class RTKUpdates {
30022
30022
  (_m2 = this.meeting.plugins) == null ? void 0 : _m2.all.addListener("*", this.onUpdate);
30023
30023
  (_n2 = this.meeting.recording) == null ? void 0 : _n2.addListener("*", this.onUpdate);
30024
30024
  (_o2 = this.meeting.connectedMeetings) == null ? void 0 : _o2.addListener("*", this.onUpdate);
30025
- (_p2 = this.meeting.spotlight) == null ? void 0 : _p2.addListener("*", this.onUpdate);
30026
- (_q = this.meeting.remote) == null ? void 0 : _q.addListener("*", this.onUpdate);
30027
- (_r2 = this.meeting.polls) == null ? void 0 : _r2.addListener("*", this.onUpdate);
30025
+ (_p2 = this.meeting.polls) == null ? void 0 : _p2.addListener("*", this.onUpdate);
30028
30026
  }
30029
30027
  clean() {
30030
- var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j, _k2, _l2, _m2, _n2, _o2, _p2, _q, _r2;
30028
+ var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j, _k2, _l2, _m2, _n2, _o2, _p2;
30031
30029
  (_a2 = this.meeting.self) == null ? void 0 : _a2.removeListener("*", this.onUpdate);
30032
30030
  (_b2 = this.meeting.meta) == null ? void 0 : _b2.removeListener("*", this.onUpdate);
30033
30031
  (_c2 = this.meeting.participants) == null ? void 0 : _c2.removeListener("*", this.onUpdate);
@@ -30040,9 +30038,7 @@ class RTKUpdates {
30040
30038
  (_m2 = this.meeting.plugins) == null ? void 0 : _m2.all.removeListener("*", this.onUpdate);
30041
30039
  (_n2 = this.meeting.recording) == null ? void 0 : _n2.removeListener("*", this.onUpdate);
30042
30040
  (_o2 = this.meeting.connectedMeetings) == null ? void 0 : _o2.removeListener("*", this.onUpdate);
30043
- (_p2 = this.meeting.spotlight) == null ? void 0 : _p2.removeListener("*", this.onUpdate);
30044
- (_q = this.meeting.remote) == null ? void 0 : _q.removeListener("*", this.onUpdate);
30045
- (_r2 = this.meeting.polls) == null ? void 0 : _r2.removeListener("*", this.onUpdate);
30041
+ (_p2 = this.meeting.polls) == null ? void 0 : _p2.removeListener("*", this.onUpdate);
30046
30042
  }
30047
30043
  addListener(listener) {
30048
30044
  this.l.add(listener);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudflare/realtimekit-react",
3
- "version": "0.5.0-staging.106",
3
+ "version": "0.5.0-staging.108",
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",
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "private": false,
19
19
  "dependencies": {
20
- "@cloudflare/realtimekit": "0.5.0-staging.106"
20
+ "@cloudflare/realtimekit": "0.5.0-staging.108"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "react": ">=16.8.6"