@whereby.com/core 0.30.4 → 0.31.0

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.cts CHANGED
@@ -5654,14 +5654,6 @@ declare const roomConnectionSlice: _reduxjs_toolkit.Slice<RoomConnectionState, {
5654
5654
  }, "roomConnection", "roomConnection", _reduxjs_toolkit.SliceSelectors<RoomConnectionState>>;
5655
5655
  declare const doKnockRoom: (args: void) => AppThunk<void>;
5656
5656
  declare const doConnectRoom: (args: void) => AppThunk<void>;
5657
- declare const selectRoomConnectionRaw: (state: RootState) => RoomConnectionState;
5658
- declare const selectRoomConnectionSession: (state: RootState) => {
5659
- createdAt: string;
5660
- id: string;
5661
- } | null;
5662
- declare const selectRoomConnectionSessionId: (state: RootState) => string | undefined;
5663
- declare const selectRoomConnectionStatus: (state: RootState) => ConnectionStatus;
5664
- declare const selectRoomConnectionError: (state: RootState) => string | null;
5665
5657
  declare const selectShouldConnectRoom: ((state: {
5666
5658
  app: AppState;
5667
5659
  authorization: AuthorizationState;
@@ -5737,7 +5729,28 @@ declare const selectShouldConnectRoom: ((state: {
5737
5729
  spotlights: SpotlightsState;
5738
5730
  streaming: StreamingState;
5739
5731
  waitingParticipants: WaitingParticipantsState;
5740
- }) => string | undefined, (state: RootState) => ConnectionStatus, (state: {
5732
+ }) => string | undefined, (state: {
5733
+ app: AppState;
5734
+ authorization: AuthorizationState;
5735
+ chat: ChatState;
5736
+ cloudRecording: CloudRecordingState;
5737
+ connectionMonitor: ConnectionMonitorState;
5738
+ deviceCredentials: DeviceCredentialsState;
5739
+ localMedia: LocalMediaState;
5740
+ localParticipant: LocalParticipantState;
5741
+ localScreenshare: LocalScreenshareState;
5742
+ notifications: NotificationsState;
5743
+ organization: OrganizationState;
5744
+ remoteParticipants: RemoteParticipantState;
5745
+ room: RoomState;
5746
+ roomConnection: RoomConnectionState;
5747
+ rtcAnalytics: rtcAnalyticsState;
5748
+ rtcConnection: RtcConnectionState;
5749
+ signalConnection: SignalConnectionState;
5750
+ spotlights: SpotlightsState;
5751
+ streaming: StreamingState;
5752
+ waitingParticipants: WaitingParticipantsState;
5753
+ }) => ConnectionStatus, (state: {
5741
5754
  app: AppState;
5742
5755
  authorization: AuthorizationState;
5743
5756
  chat: ChatState;
@@ -5779,7 +5792,28 @@ declare const selectShouldConnectRoom: ((state: {
5779
5792
  spotlights: SpotlightsState;
5780
5793
  streaming: StreamingState;
5781
5794
  waitingParticipants: WaitingParticipantsState;
5782
- }) => "error" | "inactive" | "stopped" | "starting" | "started", (state: RootState) => string | null];
5795
+ }) => "error" | "inactive" | "stopped" | "starting" | "started", (state: {
5796
+ app: AppState;
5797
+ authorization: AuthorizationState;
5798
+ chat: ChatState;
5799
+ cloudRecording: CloudRecordingState;
5800
+ connectionMonitor: ConnectionMonitorState;
5801
+ deviceCredentials: DeviceCredentialsState;
5802
+ localMedia: LocalMediaState;
5803
+ localParticipant: LocalParticipantState;
5804
+ localScreenshare: LocalScreenshareState;
5805
+ notifications: NotificationsState;
5806
+ organization: OrganizationState;
5807
+ remoteParticipants: RemoteParticipantState;
5808
+ room: RoomState;
5809
+ roomConnection: RoomConnectionState;
5810
+ rtcAnalytics: rtcAnalyticsState;
5811
+ rtcConnection: RtcConnectionState;
5812
+ signalConnection: SignalConnectionState;
5813
+ spotlights: SpotlightsState;
5814
+ streaming: StreamingState;
5815
+ waitingParticipants: WaitingParticipantsState;
5816
+ }) => string | null];
5783
5817
  recomputations: () => number;
5784
5818
  resetRecomputations: () => void;
5785
5819
  dependencyRecomputations: () => number;
@@ -8914,6 +8948,15 @@ declare const createReactor: <Selectors extends Selector<{
8914
8948
  extra: ReturnType<typeof createServices>;
8915
8949
  }, ...selectorValues: SelectorResults<Selectors>) => void | Promise<void>) => _reduxjs_toolkit.UnsubscribeListener;
8916
8950
 
8951
+ declare const selectRoomConnectionRaw: (state: RootState) => RoomConnectionState;
8952
+ declare const selectRoomConnectionSession: (state: RootState) => {
8953
+ createdAt: string;
8954
+ id: string;
8955
+ } | null;
8956
+ declare const selectRoomConnectionSessionId: (state: RootState) => string | undefined;
8957
+ declare const selectRoomConnectionStatus: (state: RootState) => ConnectionStatus;
8958
+ declare const selectRoomConnectionError: (state: RootState) => string | null;
8959
+
8917
8960
  declare function getAudioTrack(): MediaStreamTrack;
8918
8961
  declare function getVideoTrack({ canvas }: {
8919
8962
  canvas: HTMLCanvasElement;
package/dist/index.d.mts CHANGED
@@ -5654,14 +5654,6 @@ declare const roomConnectionSlice: _reduxjs_toolkit.Slice<RoomConnectionState, {
5654
5654
  }, "roomConnection", "roomConnection", _reduxjs_toolkit.SliceSelectors<RoomConnectionState>>;
5655
5655
  declare const doKnockRoom: (args: void) => AppThunk<void>;
5656
5656
  declare const doConnectRoom: (args: void) => AppThunk<void>;
5657
- declare const selectRoomConnectionRaw: (state: RootState) => RoomConnectionState;
5658
- declare const selectRoomConnectionSession: (state: RootState) => {
5659
- createdAt: string;
5660
- id: string;
5661
- } | null;
5662
- declare const selectRoomConnectionSessionId: (state: RootState) => string | undefined;
5663
- declare const selectRoomConnectionStatus: (state: RootState) => ConnectionStatus;
5664
- declare const selectRoomConnectionError: (state: RootState) => string | null;
5665
5657
  declare const selectShouldConnectRoom: ((state: {
5666
5658
  app: AppState;
5667
5659
  authorization: AuthorizationState;
@@ -5737,7 +5729,28 @@ declare const selectShouldConnectRoom: ((state: {
5737
5729
  spotlights: SpotlightsState;
5738
5730
  streaming: StreamingState;
5739
5731
  waitingParticipants: WaitingParticipantsState;
5740
- }) => string | undefined, (state: RootState) => ConnectionStatus, (state: {
5732
+ }) => string | undefined, (state: {
5733
+ app: AppState;
5734
+ authorization: AuthorizationState;
5735
+ chat: ChatState;
5736
+ cloudRecording: CloudRecordingState;
5737
+ connectionMonitor: ConnectionMonitorState;
5738
+ deviceCredentials: DeviceCredentialsState;
5739
+ localMedia: LocalMediaState;
5740
+ localParticipant: LocalParticipantState;
5741
+ localScreenshare: LocalScreenshareState;
5742
+ notifications: NotificationsState;
5743
+ organization: OrganizationState;
5744
+ remoteParticipants: RemoteParticipantState;
5745
+ room: RoomState;
5746
+ roomConnection: RoomConnectionState;
5747
+ rtcAnalytics: rtcAnalyticsState;
5748
+ rtcConnection: RtcConnectionState;
5749
+ signalConnection: SignalConnectionState;
5750
+ spotlights: SpotlightsState;
5751
+ streaming: StreamingState;
5752
+ waitingParticipants: WaitingParticipantsState;
5753
+ }) => ConnectionStatus, (state: {
5741
5754
  app: AppState;
5742
5755
  authorization: AuthorizationState;
5743
5756
  chat: ChatState;
@@ -5779,7 +5792,28 @@ declare const selectShouldConnectRoom: ((state: {
5779
5792
  spotlights: SpotlightsState;
5780
5793
  streaming: StreamingState;
5781
5794
  waitingParticipants: WaitingParticipantsState;
5782
- }) => "error" | "inactive" | "stopped" | "starting" | "started", (state: RootState) => string | null];
5795
+ }) => "error" | "inactive" | "stopped" | "starting" | "started", (state: {
5796
+ app: AppState;
5797
+ authorization: AuthorizationState;
5798
+ chat: ChatState;
5799
+ cloudRecording: CloudRecordingState;
5800
+ connectionMonitor: ConnectionMonitorState;
5801
+ deviceCredentials: DeviceCredentialsState;
5802
+ localMedia: LocalMediaState;
5803
+ localParticipant: LocalParticipantState;
5804
+ localScreenshare: LocalScreenshareState;
5805
+ notifications: NotificationsState;
5806
+ organization: OrganizationState;
5807
+ remoteParticipants: RemoteParticipantState;
5808
+ room: RoomState;
5809
+ roomConnection: RoomConnectionState;
5810
+ rtcAnalytics: rtcAnalyticsState;
5811
+ rtcConnection: RtcConnectionState;
5812
+ signalConnection: SignalConnectionState;
5813
+ spotlights: SpotlightsState;
5814
+ streaming: StreamingState;
5815
+ waitingParticipants: WaitingParticipantsState;
5816
+ }) => string | null];
5783
5817
  recomputations: () => number;
5784
5818
  resetRecomputations: () => void;
5785
5819
  dependencyRecomputations: () => number;
@@ -8914,6 +8948,15 @@ declare const createReactor: <Selectors extends Selector<{
8914
8948
  extra: ReturnType<typeof createServices>;
8915
8949
  }, ...selectorValues: SelectorResults<Selectors>) => void | Promise<void>) => _reduxjs_toolkit.UnsubscribeListener;
8916
8950
 
8951
+ declare const selectRoomConnectionRaw: (state: RootState) => RoomConnectionState;
8952
+ declare const selectRoomConnectionSession: (state: RootState) => {
8953
+ createdAt: string;
8954
+ id: string;
8955
+ } | null;
8956
+ declare const selectRoomConnectionSessionId: (state: RootState) => string | undefined;
8957
+ declare const selectRoomConnectionStatus: (state: RootState) => ConnectionStatus;
8958
+ declare const selectRoomConnectionError: (state: RootState) => string | null;
8959
+
8917
8960
  declare function getAudioTrack(): MediaStreamTrack;
8918
8961
  declare function getVideoTrack({ canvas }: {
8919
8962
  canvas: HTMLCanvasElement;
package/dist/index.d.ts CHANGED
@@ -5654,14 +5654,6 @@ declare const roomConnectionSlice: _reduxjs_toolkit.Slice<RoomConnectionState, {
5654
5654
  }, "roomConnection", "roomConnection", _reduxjs_toolkit.SliceSelectors<RoomConnectionState>>;
5655
5655
  declare const doKnockRoom: (args: void) => AppThunk<void>;
5656
5656
  declare const doConnectRoom: (args: void) => AppThunk<void>;
5657
- declare const selectRoomConnectionRaw: (state: RootState) => RoomConnectionState;
5658
- declare const selectRoomConnectionSession: (state: RootState) => {
5659
- createdAt: string;
5660
- id: string;
5661
- } | null;
5662
- declare const selectRoomConnectionSessionId: (state: RootState) => string | undefined;
5663
- declare const selectRoomConnectionStatus: (state: RootState) => ConnectionStatus;
5664
- declare const selectRoomConnectionError: (state: RootState) => string | null;
5665
5657
  declare const selectShouldConnectRoom: ((state: {
5666
5658
  app: AppState;
5667
5659
  authorization: AuthorizationState;
@@ -5737,7 +5729,28 @@ declare const selectShouldConnectRoom: ((state: {
5737
5729
  spotlights: SpotlightsState;
5738
5730
  streaming: StreamingState;
5739
5731
  waitingParticipants: WaitingParticipantsState;
5740
- }) => string | undefined, (state: RootState) => ConnectionStatus, (state: {
5732
+ }) => string | undefined, (state: {
5733
+ app: AppState;
5734
+ authorization: AuthorizationState;
5735
+ chat: ChatState;
5736
+ cloudRecording: CloudRecordingState;
5737
+ connectionMonitor: ConnectionMonitorState;
5738
+ deviceCredentials: DeviceCredentialsState;
5739
+ localMedia: LocalMediaState;
5740
+ localParticipant: LocalParticipantState;
5741
+ localScreenshare: LocalScreenshareState;
5742
+ notifications: NotificationsState;
5743
+ organization: OrganizationState;
5744
+ remoteParticipants: RemoteParticipantState;
5745
+ room: RoomState;
5746
+ roomConnection: RoomConnectionState;
5747
+ rtcAnalytics: rtcAnalyticsState;
5748
+ rtcConnection: RtcConnectionState;
5749
+ signalConnection: SignalConnectionState;
5750
+ spotlights: SpotlightsState;
5751
+ streaming: StreamingState;
5752
+ waitingParticipants: WaitingParticipantsState;
5753
+ }) => ConnectionStatus, (state: {
5741
5754
  app: AppState;
5742
5755
  authorization: AuthorizationState;
5743
5756
  chat: ChatState;
@@ -5779,7 +5792,28 @@ declare const selectShouldConnectRoom: ((state: {
5779
5792
  spotlights: SpotlightsState;
5780
5793
  streaming: StreamingState;
5781
5794
  waitingParticipants: WaitingParticipantsState;
5782
- }) => "error" | "inactive" | "stopped" | "starting" | "started", (state: RootState) => string | null];
5795
+ }) => "error" | "inactive" | "stopped" | "starting" | "started", (state: {
5796
+ app: AppState;
5797
+ authorization: AuthorizationState;
5798
+ chat: ChatState;
5799
+ cloudRecording: CloudRecordingState;
5800
+ connectionMonitor: ConnectionMonitorState;
5801
+ deviceCredentials: DeviceCredentialsState;
5802
+ localMedia: LocalMediaState;
5803
+ localParticipant: LocalParticipantState;
5804
+ localScreenshare: LocalScreenshareState;
5805
+ notifications: NotificationsState;
5806
+ organization: OrganizationState;
5807
+ remoteParticipants: RemoteParticipantState;
5808
+ room: RoomState;
5809
+ roomConnection: RoomConnectionState;
5810
+ rtcAnalytics: rtcAnalyticsState;
5811
+ rtcConnection: RtcConnectionState;
5812
+ signalConnection: SignalConnectionState;
5813
+ spotlights: SpotlightsState;
5814
+ streaming: StreamingState;
5815
+ waitingParticipants: WaitingParticipantsState;
5816
+ }) => string | null];
5783
5817
  recomputations: () => number;
5784
5818
  resetRecomputations: () => void;
5785
5819
  dependencyRecomputations: () => number;
@@ -8914,6 +8948,15 @@ declare const createReactor: <Selectors extends Selector<{
8914
8948
  extra: ReturnType<typeof createServices>;
8915
8949
  }, ...selectorValues: SelectorResults<Selectors>) => void | Promise<void>) => _reduxjs_toolkit.UnsubscribeListener;
8916
8950
 
8951
+ declare const selectRoomConnectionRaw: (state: RootState) => RoomConnectionState;
8952
+ declare const selectRoomConnectionSession: (state: RootState) => {
8953
+ createdAt: string;
8954
+ id: string;
8955
+ } | null;
8956
+ declare const selectRoomConnectionSessionId: (state: RootState) => string | undefined;
8957
+ declare const selectRoomConnectionStatus: (state: RootState) => ConnectionStatus;
8958
+ declare const selectRoomConnectionError: (state: RootState) => string | null;
8959
+
8917
8960
  declare function getAudioTrack(): MediaStreamTrack;
8918
8961
  declare function getVideoTrack({ canvas }: {
8919
8962
  canvas: HTMLCanvasElement;