@whereby.com/core 1.28.0 → 1.30.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.cjs +21 -11
- package/dist/index.d.cts +9 -3
- package/dist/index.d.mts +9 -3
- package/dist/index.d.ts +9 -3
- package/dist/index.mjs +21 -11
- package/dist/legacy-esm.js +21 -11
- package/dist/redux/index.cjs +19 -9
- package/dist/redux/index.d.cts +8 -2
- package/dist/redux/index.d.mts +8 -2
- package/dist/redux/index.d.ts +8 -2
- package/dist/redux/index.js +19 -9
- package/dist/redux/index.mjs +19 -9
- package/package.json +9 -4
package/dist/index.cjs
CHANGED
|
@@ -1152,13 +1152,15 @@ class LocalParticipant extends RoomParticipant {
|
|
|
1152
1152
|
}
|
|
1153
1153
|
|
|
1154
1154
|
const API_BASE_URL = "https://api.whereby.dev";
|
|
1155
|
-
|
|
1155
|
+
const SIGNAL_BASE_URL = "wss://signal.appearin.net";
|
|
1156
|
+
function createServices({ apiBaseUrl, signalBaseUrl } = {}) {
|
|
1157
|
+
const resolvedApiBaseUrl = apiBaseUrl || API_BASE_URL;
|
|
1156
1158
|
const credentialsService = CredentialsService.create({
|
|
1157
|
-
baseUrl:
|
|
1159
|
+
baseUrl: resolvedApiBaseUrl,
|
|
1158
1160
|
});
|
|
1159
1161
|
const apiClient = new ApiClient({
|
|
1160
1162
|
fetchDeviceCredentials: credentialsService.getCredentials.bind(credentialsService),
|
|
1161
|
-
baseUrl:
|
|
1163
|
+
baseUrl: resolvedApiBaseUrl,
|
|
1162
1164
|
});
|
|
1163
1165
|
const organizationService = new OrganizationService({ apiClient });
|
|
1164
1166
|
const roomIntegrationService = new RoomIntegrationService({ apiClient });
|
|
@@ -1177,6 +1179,7 @@ function createServices() {
|
|
|
1177
1179
|
organizationService,
|
|
1178
1180
|
roomIntegrationService,
|
|
1179
1181
|
fetchOrganizationFromRoomUrl,
|
|
1182
|
+
signalBaseUrl: signalBaseUrl || SIGNAL_BASE_URL || "wss://signal.appearin.net",
|
|
1180
1183
|
};
|
|
1181
1184
|
}
|
|
1182
1185
|
|
|
@@ -1310,7 +1313,7 @@ const createReactor = (selectors, callback) => {
|
|
|
1310
1313
|
});
|
|
1311
1314
|
};
|
|
1312
1315
|
|
|
1313
|
-
const coreVersion = "1.
|
|
1316
|
+
const coreVersion = "1.30.0";
|
|
1314
1317
|
|
|
1315
1318
|
function decodeRoomName(roomName) {
|
|
1316
1319
|
if (!roomName) {
|
|
@@ -1621,9 +1624,8 @@ function forwardSocketEvents(socket, dispatch) {
|
|
|
1621
1624
|
socket.on("breakout_timer_ended", () => dispatch(signalEvents.breakoutTimerEnded()));
|
|
1622
1625
|
socket.on("breakout_timer_extended", () => dispatch(signalEvents.breakoutTimerExtended()));
|
|
1623
1626
|
}
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
const parsedUrl = new URL(SIGNAL_BASE_URL);
|
|
1627
|
+
function createSocket(signalBaseUrl) {
|
|
1628
|
+
const parsedUrl = new URL(signalBaseUrl);
|
|
1627
1629
|
const socketHost = parsedUrl.origin;
|
|
1628
1630
|
const socketOverrides = {
|
|
1629
1631
|
autoConnect: false,
|
|
@@ -1667,12 +1669,12 @@ const signalConnectionSlice = toolkit.createSlice({
|
|
|
1667
1669
|
});
|
|
1668
1670
|
const { deviceIdentifying, deviceIdentified, socketConnected, socketConnecting, socketDisconnected, socketReconnecting, } = signalConnectionSlice.actions;
|
|
1669
1671
|
const doSignalConnect = createAppThunk(() => {
|
|
1670
|
-
return (dispatch, getState) => {
|
|
1672
|
+
return (dispatch, getState, { services }) => {
|
|
1671
1673
|
if (selectSignalConnectionSocket(getState())) {
|
|
1672
1674
|
return;
|
|
1673
1675
|
}
|
|
1674
1676
|
dispatch(socketConnecting());
|
|
1675
|
-
const socket = createSocket();
|
|
1677
|
+
const socket = createSocket(services.signalBaseUrl);
|
|
1676
1678
|
socket.on("connect", () => dispatch(socketConnected(socket)));
|
|
1677
1679
|
socket.on("device_identified", () => dispatch(deviceIdentified()));
|
|
1678
1680
|
socket.getManager().on("reconnect", () => dispatch(socketReconnecting()));
|
|
@@ -1984,6 +1986,8 @@ const doUpdateDeviceList = createAppAsyncThunk("localMedia/doUpdateDeviceList",
|
|
|
1984
1986
|
const { changedDevices, addedDevices } = media.getUpdatedDevices({
|
|
1985
1987
|
oldDevices,
|
|
1986
1988
|
newDevices,
|
|
1989
|
+
currentAudioId: selectCurrentMicrophoneDeviceId(state),
|
|
1990
|
+
currentVideoId: selectCurrentCameraDeviceId(state),
|
|
1987
1991
|
});
|
|
1988
1992
|
let autoSwitchAudioId = (_b = changedDevices.audioinput) === null || _b === void 0 ? void 0 : _b.deviceId;
|
|
1989
1993
|
let autoSwitchVideoId = (_c = changedDevices.videoinput) === null || _c === void 0 ? void 0 : _c.deviceId;
|
|
@@ -1993,6 +1997,12 @@ const doUpdateDeviceList = createAppAsyncThunk("localMedia/doUpdateDeviceList",
|
|
|
1993
1997
|
if (autoSwitchVideoId === undefined) {
|
|
1994
1998
|
autoSwitchVideoId = (_e = addedDevices.videoinput) === null || _e === void 0 ? void 0 : _e.deviceId;
|
|
1995
1999
|
}
|
|
2000
|
+
if (!selectIsMicrophoneEnabled(getState())) {
|
|
2001
|
+
autoSwitchAudioId = undefined;
|
|
2002
|
+
}
|
|
2003
|
+
if (!selectIsCameraEnabled(getState())) {
|
|
2004
|
+
autoSwitchVideoId = undefined;
|
|
2005
|
+
}
|
|
1996
2006
|
if (autoSwitchAudioId !== undefined || autoSwitchVideoId !== undefined) {
|
|
1997
2007
|
dispatch(doSwitchLocalStream({ audioId: autoSwitchAudioId, videoId: autoSwitchVideoId }));
|
|
1998
2008
|
}
|
|
@@ -7066,8 +7076,8 @@ class RoomConnectionClient extends BaseClient {
|
|
|
7066
7076
|
}
|
|
7067
7077
|
|
|
7068
7078
|
class WherebyClient {
|
|
7069
|
-
constructor() {
|
|
7070
|
-
this.services = createServices();
|
|
7079
|
+
constructor(options = {}) {
|
|
7080
|
+
this.services = createServices(options);
|
|
7071
7081
|
this.store = createStore({ injectServices: this.services });
|
|
7072
7082
|
this.localMediaClient = new LocalMediaClient(this.store);
|
|
7073
7083
|
this.roomConnectionClient = new RoomConnectionClient(this.store);
|
package/dist/index.d.cts
CHANGED
|
@@ -538,12 +538,17 @@ interface Screenshare {
|
|
|
538
538
|
isLocal: boolean;
|
|
539
539
|
}
|
|
540
540
|
|
|
541
|
-
|
|
541
|
+
interface ServicesOptions {
|
|
542
|
+
apiBaseUrl?: string;
|
|
543
|
+
signalBaseUrl?: string;
|
|
544
|
+
}
|
|
545
|
+
declare function createServices({ apiBaseUrl, signalBaseUrl }?: ServicesOptions): {
|
|
542
546
|
credentialsService: CredentialsService;
|
|
543
547
|
apiClient: ApiClient;
|
|
544
548
|
organizationService: OrganizationService;
|
|
545
549
|
roomIntegrationService: RoomIntegrationService;
|
|
546
550
|
fetchOrganizationFromRoomUrl: (roomUrl: string) => Promise<Organization | null>;
|
|
551
|
+
signalBaseUrl: string;
|
|
547
552
|
};
|
|
548
553
|
|
|
549
554
|
declare function getAudioTrack(): MediaStreamTrack;
|
|
@@ -1201,6 +1206,7 @@ declare const createStore: ({ preloadedState, injectServices, }: {
|
|
|
1201
1206
|
organizationService: OrganizationService;
|
|
1202
1207
|
roomIntegrationService: RoomIntegrationService;
|
|
1203
1208
|
fetchOrganizationFromRoomUrl: (roomUrl: string) => Promise<Organization | null>;
|
|
1209
|
+
signalBaseUrl: string;
|
|
1204
1210
|
};
|
|
1205
1211
|
}, redux.UnknownAction>;
|
|
1206
1212
|
}>, redux.StoreEnhancer]>>;
|
|
@@ -1713,7 +1719,7 @@ declare class WherebyClient {
|
|
|
1713
1719
|
private localMediaClient;
|
|
1714
1720
|
protected roomConnectionClient: RoomConnectionClient;
|
|
1715
1721
|
private gridClient;
|
|
1716
|
-
constructor();
|
|
1722
|
+
constructor(options?: ServicesOptions);
|
|
1717
1723
|
getLocalMedia(): LocalMediaClient;
|
|
1718
1724
|
getRoomConnection(): RoomConnectionClient;
|
|
1719
1725
|
getGrid(): GridClient;
|
|
@@ -1723,4 +1729,4 @@ declare class WherebyClient {
|
|
|
1723
1729
|
}
|
|
1724
1730
|
|
|
1725
1731
|
export { ACCEPTED_FILE_TYPES, AUDIO_ONLY_MODE_CHANGED, ApiClient, BREAKOUT_CONFIG_CHANGED, BREAKOUT_GROUPS_MIN_MAX, BREAKOUT_UNAVAILABLE_ERROR, CAMERA_DEVICES_CHANGED, CAMERA_DEVICE_ERROR_CHANGED, CAMERA_ENABLED_CHANGED, CAMERA_STATE_CHANGED, CHAT_NEW_MESSAGE, CLIENT_VIEW_CHANGED, CLIENT_VIEW_SPOTLIGHTS_CHANGED, CLOUD_RECORDING_STATUS_CHANGED, CONNECTION_ERROR_CHANGED, CONNECTION_STATUS_CHANGED, CURRENT_CAMERA_CHANGED, CURRENT_MICROPHONE_CHANGED, CURRENT_SPEAKER_CHANGED, Credentials, CredentialsService, DEFAULT_BREAKOUT_TIMER_DURATION, GridClient, IS_SETTING_CAMERA_DEVICE, IS_SETTING_MICROPHONE_DEVICE, LIVE_CAPTIONS_STATUS_CHANGED, LIVE_TRANSCRIPTION_STATUS_CHANGED, LOCAL_MEDIA_STARTING, LOCAL_MEDIA_START_ERROR_CHANGED, LOCAL_PARTICIPANT_CHANGED, LOCAL_PARTICIPANT_QUALITY_REPORT_CHANGED, LOCAL_SCREENSHARE_CHANGED, LOCAL_SCREENSHARE_STATUS_CHANGED, LOCAL_STREAM_CHANGED, LiveCaption, LocalMediaClient, LocalParticipant, MAX_FILES_PER_UPLOAD, MAX_FILE_SIZE, MICROPHONE_DEVICES_CHANGED, MICROPHONE_DEVICE_ERROR_CHANGED, MICROPHONE_ENABLED_CHANGED, MICROPHONE_STATE_CHANGED, NUMBER_OF_CLIENT_VIEWS_CHANGED, Organization, OrganizationApiClient, OrganizationService, OrganizationServiceCache, REMOTE_PARTICIPANTS_CHANGED, REMOTE_PARTICIPANT_QUALITY_REPORT_CHANGED, ROOM_INTEGRATION_PICKER_MESSAGES, ROOM_JOINED, ROOM_JOINED_ERROR, ROOM_REJOINED, ROOM_SESSION_ID_CHANGED, RUNNING_ROOM_INTEGRATIONS_CHANGED, RoomConnectionClient, RoomIntegrationService, RoomService, SCREENSHARE_STARTED, SCREENSHARE_STOPPED, SPEAKER_DEVICES_CHANGED, SPOTLIGHT_PARTICIPANT_ADDED, SPOTLIGHT_PARTICIPANT_REMOVED, STREAMING_STARTED, STREAMING_STOPPED, WAITING_PARTICIPANT_JOINED, WAITING_PARTICIPANT_LEFT, WherebyClient, createBreakoutGroups, createServices, debounce, defaultBreakoutGroupName, getAudioTrack, getFakeMediaStream, getUsableCameraEffectPresets, getVideoTrack, hasValue, isAudioDenoiserSupported, miro, parseUnverifiedRoomKeyData, roomIntegrationContent, roomIntegrationContentTagName, roomIntegrationPickerUrl, youtube };
|
|
1726
|
-
export type { AppConfig, BreakoutSessionSettings, BreakoutState, BreakoutTimerEvent, CPUQualityLevel, CallQualityLevel, ChatMessage, ChatMessageEvent, ChatMessageState, ClientView, CloudRecordingState, ConnectionStatus, DeviceCredentials, FileShareError, FileUpload, FindRoomIntegrationsResponse, FullOrganizationPermissions, GridEvents, GridState, InitialMuteStates, LiveCaptionsState, LiveStreamState, LiveTranscriptionState, LocalMediaEvents, LocalMediaOptions, LocalMediaState, LocalParticipantQualityReport, LocalParticipantState, LocalScreenshareState, LocalScreenshareStatus, NotificationEvents, NotificationsEventEmitter, OrganizationLimits, OrganizationOnboardingSurvey, OrganizationPermissionAction, OrganizationPermissions, OrganizationPreferences, ReconnectedEvent, ReconnectingEvent, RemoteParticipant, RemoteParticipantData, RemoteParticipantQualityReport, RemoteParticipantState, RequestAudioEvent, RequestScreenshareEvent, RequestVideoEvent, RoomConnectionEvents, RoomConnectionState, RoomIntegration, RoomIntegrationContent, RoomIntegrationError, RoomIntegrationErrorDetail, RoomIntegrationPickerResult, RoomIntegrationResponse, RoomIntegrationSession, RoomIntegrationSessionView, RoomIntegrationsState, Screenshare, ScreenshareState, SendFilesOptions, SignalClientEvent, SignalStatusEvent, StartBreakoutSessionOptions, StickyReaction, StickyReactionEvent, StreamState, ToggleAudioOnlyModeOptions, UpdateBreakoutSessionOptions, WaitingParticipant, WaitingParticipantState, WherebyClientOptions, YouTubeContentMetadata };
|
|
1732
|
+
export type { AppConfig, BreakoutSessionSettings, BreakoutState, BreakoutTimerEvent, CPUQualityLevel, CallQualityLevel, ChatMessage, ChatMessageEvent, ChatMessageState, ClientView, CloudRecordingState, ConnectionStatus, DeviceCredentials, FileShareError, FileUpload, FindRoomIntegrationsResponse, FullOrganizationPermissions, GridEvents, GridState, InitialMuteStates, LiveCaptionsState, LiveStreamState, LiveTranscriptionState, LocalMediaEvents, LocalMediaOptions, LocalMediaState, LocalParticipantQualityReport, LocalParticipantState, LocalScreenshareState, LocalScreenshareStatus, NotificationEvents, NotificationsEventEmitter, OrganizationLimits, OrganizationOnboardingSurvey, OrganizationPermissionAction, OrganizationPermissions, OrganizationPreferences, ReconnectedEvent, ReconnectingEvent, RemoteParticipant, RemoteParticipantData, RemoteParticipantQualityReport, RemoteParticipantState, RequestAudioEvent, RequestScreenshareEvent, RequestVideoEvent, RoomConnectionEvents, RoomConnectionState, RoomIntegration, RoomIntegrationContent, RoomIntegrationError, RoomIntegrationErrorDetail, RoomIntegrationPickerResult, RoomIntegrationResponse, RoomIntegrationSession, RoomIntegrationSessionView, RoomIntegrationsState, Screenshare, ScreenshareState, SendFilesOptions, ServicesOptions, SignalClientEvent, SignalStatusEvent, StartBreakoutSessionOptions, StickyReaction, StickyReactionEvent, StreamState, ToggleAudioOnlyModeOptions, UpdateBreakoutSessionOptions, WaitingParticipant, WaitingParticipantState, WherebyClientOptions, YouTubeContentMetadata };
|
package/dist/index.d.mts
CHANGED
|
@@ -538,12 +538,17 @@ interface Screenshare {
|
|
|
538
538
|
isLocal: boolean;
|
|
539
539
|
}
|
|
540
540
|
|
|
541
|
-
|
|
541
|
+
interface ServicesOptions {
|
|
542
|
+
apiBaseUrl?: string;
|
|
543
|
+
signalBaseUrl?: string;
|
|
544
|
+
}
|
|
545
|
+
declare function createServices({ apiBaseUrl, signalBaseUrl }?: ServicesOptions): {
|
|
542
546
|
credentialsService: CredentialsService;
|
|
543
547
|
apiClient: ApiClient;
|
|
544
548
|
organizationService: OrganizationService;
|
|
545
549
|
roomIntegrationService: RoomIntegrationService;
|
|
546
550
|
fetchOrganizationFromRoomUrl: (roomUrl: string) => Promise<Organization | null>;
|
|
551
|
+
signalBaseUrl: string;
|
|
547
552
|
};
|
|
548
553
|
|
|
549
554
|
declare function getAudioTrack(): MediaStreamTrack;
|
|
@@ -1201,6 +1206,7 @@ declare const createStore: ({ preloadedState, injectServices, }: {
|
|
|
1201
1206
|
organizationService: OrganizationService;
|
|
1202
1207
|
roomIntegrationService: RoomIntegrationService;
|
|
1203
1208
|
fetchOrganizationFromRoomUrl: (roomUrl: string) => Promise<Organization | null>;
|
|
1209
|
+
signalBaseUrl: string;
|
|
1204
1210
|
};
|
|
1205
1211
|
}, redux.UnknownAction>;
|
|
1206
1212
|
}>, redux.StoreEnhancer]>>;
|
|
@@ -1713,7 +1719,7 @@ declare class WherebyClient {
|
|
|
1713
1719
|
private localMediaClient;
|
|
1714
1720
|
protected roomConnectionClient: RoomConnectionClient;
|
|
1715
1721
|
private gridClient;
|
|
1716
|
-
constructor();
|
|
1722
|
+
constructor(options?: ServicesOptions);
|
|
1717
1723
|
getLocalMedia(): LocalMediaClient;
|
|
1718
1724
|
getRoomConnection(): RoomConnectionClient;
|
|
1719
1725
|
getGrid(): GridClient;
|
|
@@ -1723,4 +1729,4 @@ declare class WherebyClient {
|
|
|
1723
1729
|
}
|
|
1724
1730
|
|
|
1725
1731
|
export { ACCEPTED_FILE_TYPES, AUDIO_ONLY_MODE_CHANGED, ApiClient, BREAKOUT_CONFIG_CHANGED, BREAKOUT_GROUPS_MIN_MAX, BREAKOUT_UNAVAILABLE_ERROR, CAMERA_DEVICES_CHANGED, CAMERA_DEVICE_ERROR_CHANGED, CAMERA_ENABLED_CHANGED, CAMERA_STATE_CHANGED, CHAT_NEW_MESSAGE, CLIENT_VIEW_CHANGED, CLIENT_VIEW_SPOTLIGHTS_CHANGED, CLOUD_RECORDING_STATUS_CHANGED, CONNECTION_ERROR_CHANGED, CONNECTION_STATUS_CHANGED, CURRENT_CAMERA_CHANGED, CURRENT_MICROPHONE_CHANGED, CURRENT_SPEAKER_CHANGED, Credentials, CredentialsService, DEFAULT_BREAKOUT_TIMER_DURATION, GridClient, IS_SETTING_CAMERA_DEVICE, IS_SETTING_MICROPHONE_DEVICE, LIVE_CAPTIONS_STATUS_CHANGED, LIVE_TRANSCRIPTION_STATUS_CHANGED, LOCAL_MEDIA_STARTING, LOCAL_MEDIA_START_ERROR_CHANGED, LOCAL_PARTICIPANT_CHANGED, LOCAL_PARTICIPANT_QUALITY_REPORT_CHANGED, LOCAL_SCREENSHARE_CHANGED, LOCAL_SCREENSHARE_STATUS_CHANGED, LOCAL_STREAM_CHANGED, LiveCaption, LocalMediaClient, LocalParticipant, MAX_FILES_PER_UPLOAD, MAX_FILE_SIZE, MICROPHONE_DEVICES_CHANGED, MICROPHONE_DEVICE_ERROR_CHANGED, MICROPHONE_ENABLED_CHANGED, MICROPHONE_STATE_CHANGED, NUMBER_OF_CLIENT_VIEWS_CHANGED, Organization, OrganizationApiClient, OrganizationService, OrganizationServiceCache, REMOTE_PARTICIPANTS_CHANGED, REMOTE_PARTICIPANT_QUALITY_REPORT_CHANGED, ROOM_INTEGRATION_PICKER_MESSAGES, ROOM_JOINED, ROOM_JOINED_ERROR, ROOM_REJOINED, ROOM_SESSION_ID_CHANGED, RUNNING_ROOM_INTEGRATIONS_CHANGED, RoomConnectionClient, RoomIntegrationService, RoomService, SCREENSHARE_STARTED, SCREENSHARE_STOPPED, SPEAKER_DEVICES_CHANGED, SPOTLIGHT_PARTICIPANT_ADDED, SPOTLIGHT_PARTICIPANT_REMOVED, STREAMING_STARTED, STREAMING_STOPPED, WAITING_PARTICIPANT_JOINED, WAITING_PARTICIPANT_LEFT, WherebyClient, createBreakoutGroups, createServices, debounce, defaultBreakoutGroupName, getAudioTrack, getFakeMediaStream, getUsableCameraEffectPresets, getVideoTrack, hasValue, isAudioDenoiserSupported, miro, parseUnverifiedRoomKeyData, roomIntegrationContent, roomIntegrationContentTagName, roomIntegrationPickerUrl, youtube };
|
|
1726
|
-
export type { AppConfig, BreakoutSessionSettings, BreakoutState, BreakoutTimerEvent, CPUQualityLevel, CallQualityLevel, ChatMessage, ChatMessageEvent, ChatMessageState, ClientView, CloudRecordingState, ConnectionStatus, DeviceCredentials, FileShareError, FileUpload, FindRoomIntegrationsResponse, FullOrganizationPermissions, GridEvents, GridState, InitialMuteStates, LiveCaptionsState, LiveStreamState, LiveTranscriptionState, LocalMediaEvents, LocalMediaOptions, LocalMediaState, LocalParticipantQualityReport, LocalParticipantState, LocalScreenshareState, LocalScreenshareStatus, NotificationEvents, NotificationsEventEmitter, OrganizationLimits, OrganizationOnboardingSurvey, OrganizationPermissionAction, OrganizationPermissions, OrganizationPreferences, ReconnectedEvent, ReconnectingEvent, RemoteParticipant, RemoteParticipantData, RemoteParticipantQualityReport, RemoteParticipantState, RequestAudioEvent, RequestScreenshareEvent, RequestVideoEvent, RoomConnectionEvents, RoomConnectionState, RoomIntegration, RoomIntegrationContent, RoomIntegrationError, RoomIntegrationErrorDetail, RoomIntegrationPickerResult, RoomIntegrationResponse, RoomIntegrationSession, RoomIntegrationSessionView, RoomIntegrationsState, Screenshare, ScreenshareState, SendFilesOptions, SignalClientEvent, SignalStatusEvent, StartBreakoutSessionOptions, StickyReaction, StickyReactionEvent, StreamState, ToggleAudioOnlyModeOptions, UpdateBreakoutSessionOptions, WaitingParticipant, WaitingParticipantState, WherebyClientOptions, YouTubeContentMetadata };
|
|
1732
|
+
export type { AppConfig, BreakoutSessionSettings, BreakoutState, BreakoutTimerEvent, CPUQualityLevel, CallQualityLevel, ChatMessage, ChatMessageEvent, ChatMessageState, ClientView, CloudRecordingState, ConnectionStatus, DeviceCredentials, FileShareError, FileUpload, FindRoomIntegrationsResponse, FullOrganizationPermissions, GridEvents, GridState, InitialMuteStates, LiveCaptionsState, LiveStreamState, LiveTranscriptionState, LocalMediaEvents, LocalMediaOptions, LocalMediaState, LocalParticipantQualityReport, LocalParticipantState, LocalScreenshareState, LocalScreenshareStatus, NotificationEvents, NotificationsEventEmitter, OrganizationLimits, OrganizationOnboardingSurvey, OrganizationPermissionAction, OrganizationPermissions, OrganizationPreferences, ReconnectedEvent, ReconnectingEvent, RemoteParticipant, RemoteParticipantData, RemoteParticipantQualityReport, RemoteParticipantState, RequestAudioEvent, RequestScreenshareEvent, RequestVideoEvent, RoomConnectionEvents, RoomConnectionState, RoomIntegration, RoomIntegrationContent, RoomIntegrationError, RoomIntegrationErrorDetail, RoomIntegrationPickerResult, RoomIntegrationResponse, RoomIntegrationSession, RoomIntegrationSessionView, RoomIntegrationsState, Screenshare, ScreenshareState, SendFilesOptions, ServicesOptions, SignalClientEvent, SignalStatusEvent, StartBreakoutSessionOptions, StickyReaction, StickyReactionEvent, StreamState, ToggleAudioOnlyModeOptions, UpdateBreakoutSessionOptions, WaitingParticipant, WaitingParticipantState, WherebyClientOptions, YouTubeContentMetadata };
|
package/dist/index.d.ts
CHANGED
|
@@ -538,12 +538,17 @@ interface Screenshare {
|
|
|
538
538
|
isLocal: boolean;
|
|
539
539
|
}
|
|
540
540
|
|
|
541
|
-
|
|
541
|
+
interface ServicesOptions {
|
|
542
|
+
apiBaseUrl?: string;
|
|
543
|
+
signalBaseUrl?: string;
|
|
544
|
+
}
|
|
545
|
+
declare function createServices({ apiBaseUrl, signalBaseUrl }?: ServicesOptions): {
|
|
542
546
|
credentialsService: CredentialsService;
|
|
543
547
|
apiClient: ApiClient;
|
|
544
548
|
organizationService: OrganizationService;
|
|
545
549
|
roomIntegrationService: RoomIntegrationService;
|
|
546
550
|
fetchOrganizationFromRoomUrl: (roomUrl: string) => Promise<Organization | null>;
|
|
551
|
+
signalBaseUrl: string;
|
|
547
552
|
};
|
|
548
553
|
|
|
549
554
|
declare function getAudioTrack(): MediaStreamTrack;
|
|
@@ -1201,6 +1206,7 @@ declare const createStore: ({ preloadedState, injectServices, }: {
|
|
|
1201
1206
|
organizationService: OrganizationService;
|
|
1202
1207
|
roomIntegrationService: RoomIntegrationService;
|
|
1203
1208
|
fetchOrganizationFromRoomUrl: (roomUrl: string) => Promise<Organization | null>;
|
|
1209
|
+
signalBaseUrl: string;
|
|
1204
1210
|
};
|
|
1205
1211
|
}, redux.UnknownAction>;
|
|
1206
1212
|
}>, redux.StoreEnhancer]>>;
|
|
@@ -1713,7 +1719,7 @@ declare class WherebyClient {
|
|
|
1713
1719
|
private localMediaClient;
|
|
1714
1720
|
protected roomConnectionClient: RoomConnectionClient;
|
|
1715
1721
|
private gridClient;
|
|
1716
|
-
constructor();
|
|
1722
|
+
constructor(options?: ServicesOptions);
|
|
1717
1723
|
getLocalMedia(): LocalMediaClient;
|
|
1718
1724
|
getRoomConnection(): RoomConnectionClient;
|
|
1719
1725
|
getGrid(): GridClient;
|
|
@@ -1723,4 +1729,4 @@ declare class WherebyClient {
|
|
|
1723
1729
|
}
|
|
1724
1730
|
|
|
1725
1731
|
export { ACCEPTED_FILE_TYPES, AUDIO_ONLY_MODE_CHANGED, ApiClient, BREAKOUT_CONFIG_CHANGED, BREAKOUT_GROUPS_MIN_MAX, BREAKOUT_UNAVAILABLE_ERROR, CAMERA_DEVICES_CHANGED, CAMERA_DEVICE_ERROR_CHANGED, CAMERA_ENABLED_CHANGED, CAMERA_STATE_CHANGED, CHAT_NEW_MESSAGE, CLIENT_VIEW_CHANGED, CLIENT_VIEW_SPOTLIGHTS_CHANGED, CLOUD_RECORDING_STATUS_CHANGED, CONNECTION_ERROR_CHANGED, CONNECTION_STATUS_CHANGED, CURRENT_CAMERA_CHANGED, CURRENT_MICROPHONE_CHANGED, CURRENT_SPEAKER_CHANGED, Credentials, CredentialsService, DEFAULT_BREAKOUT_TIMER_DURATION, GridClient, IS_SETTING_CAMERA_DEVICE, IS_SETTING_MICROPHONE_DEVICE, LIVE_CAPTIONS_STATUS_CHANGED, LIVE_TRANSCRIPTION_STATUS_CHANGED, LOCAL_MEDIA_STARTING, LOCAL_MEDIA_START_ERROR_CHANGED, LOCAL_PARTICIPANT_CHANGED, LOCAL_PARTICIPANT_QUALITY_REPORT_CHANGED, LOCAL_SCREENSHARE_CHANGED, LOCAL_SCREENSHARE_STATUS_CHANGED, LOCAL_STREAM_CHANGED, LiveCaption, LocalMediaClient, LocalParticipant, MAX_FILES_PER_UPLOAD, MAX_FILE_SIZE, MICROPHONE_DEVICES_CHANGED, MICROPHONE_DEVICE_ERROR_CHANGED, MICROPHONE_ENABLED_CHANGED, MICROPHONE_STATE_CHANGED, NUMBER_OF_CLIENT_VIEWS_CHANGED, Organization, OrganizationApiClient, OrganizationService, OrganizationServiceCache, REMOTE_PARTICIPANTS_CHANGED, REMOTE_PARTICIPANT_QUALITY_REPORT_CHANGED, ROOM_INTEGRATION_PICKER_MESSAGES, ROOM_JOINED, ROOM_JOINED_ERROR, ROOM_REJOINED, ROOM_SESSION_ID_CHANGED, RUNNING_ROOM_INTEGRATIONS_CHANGED, RoomConnectionClient, RoomIntegrationService, RoomService, SCREENSHARE_STARTED, SCREENSHARE_STOPPED, SPEAKER_DEVICES_CHANGED, SPOTLIGHT_PARTICIPANT_ADDED, SPOTLIGHT_PARTICIPANT_REMOVED, STREAMING_STARTED, STREAMING_STOPPED, WAITING_PARTICIPANT_JOINED, WAITING_PARTICIPANT_LEFT, WherebyClient, createBreakoutGroups, createServices, debounce, defaultBreakoutGroupName, getAudioTrack, getFakeMediaStream, getUsableCameraEffectPresets, getVideoTrack, hasValue, isAudioDenoiserSupported, miro, parseUnverifiedRoomKeyData, roomIntegrationContent, roomIntegrationContentTagName, roomIntegrationPickerUrl, youtube };
|
|
1726
|
-
export type { AppConfig, BreakoutSessionSettings, BreakoutState, BreakoutTimerEvent, CPUQualityLevel, CallQualityLevel, ChatMessage, ChatMessageEvent, ChatMessageState, ClientView, CloudRecordingState, ConnectionStatus, DeviceCredentials, FileShareError, FileUpload, FindRoomIntegrationsResponse, FullOrganizationPermissions, GridEvents, GridState, InitialMuteStates, LiveCaptionsState, LiveStreamState, LiveTranscriptionState, LocalMediaEvents, LocalMediaOptions, LocalMediaState, LocalParticipantQualityReport, LocalParticipantState, LocalScreenshareState, LocalScreenshareStatus, NotificationEvents, NotificationsEventEmitter, OrganizationLimits, OrganizationOnboardingSurvey, OrganizationPermissionAction, OrganizationPermissions, OrganizationPreferences, ReconnectedEvent, ReconnectingEvent, RemoteParticipant, RemoteParticipantData, RemoteParticipantQualityReport, RemoteParticipantState, RequestAudioEvent, RequestScreenshareEvent, RequestVideoEvent, RoomConnectionEvents, RoomConnectionState, RoomIntegration, RoomIntegrationContent, RoomIntegrationError, RoomIntegrationErrorDetail, RoomIntegrationPickerResult, RoomIntegrationResponse, RoomIntegrationSession, RoomIntegrationSessionView, RoomIntegrationsState, Screenshare, ScreenshareState, SendFilesOptions, SignalClientEvent, SignalStatusEvent, StartBreakoutSessionOptions, StickyReaction, StickyReactionEvent, StreamState, ToggleAudioOnlyModeOptions, UpdateBreakoutSessionOptions, WaitingParticipant, WaitingParticipantState, WherebyClientOptions, YouTubeContentMetadata };
|
|
1732
|
+
export type { AppConfig, BreakoutSessionSettings, BreakoutState, BreakoutTimerEvent, CPUQualityLevel, CallQualityLevel, ChatMessage, ChatMessageEvent, ChatMessageState, ClientView, CloudRecordingState, ConnectionStatus, DeviceCredentials, FileShareError, FileUpload, FindRoomIntegrationsResponse, FullOrganizationPermissions, GridEvents, GridState, InitialMuteStates, LiveCaptionsState, LiveStreamState, LiveTranscriptionState, LocalMediaEvents, LocalMediaOptions, LocalMediaState, LocalParticipantQualityReport, LocalParticipantState, LocalScreenshareState, LocalScreenshareStatus, NotificationEvents, NotificationsEventEmitter, OrganizationLimits, OrganizationOnboardingSurvey, OrganizationPermissionAction, OrganizationPermissions, OrganizationPreferences, ReconnectedEvent, ReconnectingEvent, RemoteParticipant, RemoteParticipantData, RemoteParticipantQualityReport, RemoteParticipantState, RequestAudioEvent, RequestScreenshareEvent, RequestVideoEvent, RoomConnectionEvents, RoomConnectionState, RoomIntegration, RoomIntegrationContent, RoomIntegrationError, RoomIntegrationErrorDetail, RoomIntegrationPickerResult, RoomIntegrationResponse, RoomIntegrationSession, RoomIntegrationSessionView, RoomIntegrationsState, Screenshare, ScreenshareState, SendFilesOptions, ServicesOptions, SignalClientEvent, SignalStatusEvent, StartBreakoutSessionOptions, StickyReaction, StickyReactionEvent, StreamState, ToggleAudioOnlyModeOptions, UpdateBreakoutSessionOptions, WaitingParticipant, WaitingParticipantState, WherebyClientOptions, YouTubeContentMetadata };
|
package/dist/index.mjs
CHANGED
|
@@ -1150,13 +1150,15 @@ class LocalParticipant extends RoomParticipant {
|
|
|
1150
1150
|
}
|
|
1151
1151
|
|
|
1152
1152
|
const API_BASE_URL = "https://api.whereby.dev";
|
|
1153
|
-
|
|
1153
|
+
const SIGNAL_BASE_URL = "wss://signal.appearin.net";
|
|
1154
|
+
function createServices({ apiBaseUrl, signalBaseUrl } = {}) {
|
|
1155
|
+
const resolvedApiBaseUrl = apiBaseUrl || API_BASE_URL;
|
|
1154
1156
|
const credentialsService = CredentialsService.create({
|
|
1155
|
-
baseUrl:
|
|
1157
|
+
baseUrl: resolvedApiBaseUrl,
|
|
1156
1158
|
});
|
|
1157
1159
|
const apiClient = new ApiClient({
|
|
1158
1160
|
fetchDeviceCredentials: credentialsService.getCredentials.bind(credentialsService),
|
|
1159
|
-
baseUrl:
|
|
1161
|
+
baseUrl: resolvedApiBaseUrl,
|
|
1160
1162
|
});
|
|
1161
1163
|
const organizationService = new OrganizationService({ apiClient });
|
|
1162
1164
|
const roomIntegrationService = new RoomIntegrationService({ apiClient });
|
|
@@ -1175,6 +1177,7 @@ function createServices() {
|
|
|
1175
1177
|
organizationService,
|
|
1176
1178
|
roomIntegrationService,
|
|
1177
1179
|
fetchOrganizationFromRoomUrl,
|
|
1180
|
+
signalBaseUrl: signalBaseUrl || SIGNAL_BASE_URL || "wss://signal.appearin.net",
|
|
1178
1181
|
};
|
|
1179
1182
|
}
|
|
1180
1183
|
|
|
@@ -1308,7 +1311,7 @@ const createReactor = (selectors, callback) => {
|
|
|
1308
1311
|
});
|
|
1309
1312
|
};
|
|
1310
1313
|
|
|
1311
|
-
const coreVersion = "1.
|
|
1314
|
+
const coreVersion = "1.30.0";
|
|
1312
1315
|
|
|
1313
1316
|
function decodeRoomName(roomName) {
|
|
1314
1317
|
if (!roomName) {
|
|
@@ -1619,9 +1622,8 @@ function forwardSocketEvents(socket, dispatch) {
|
|
|
1619
1622
|
socket.on("breakout_timer_ended", () => dispatch(signalEvents.breakoutTimerEnded()));
|
|
1620
1623
|
socket.on("breakout_timer_extended", () => dispatch(signalEvents.breakoutTimerExtended()));
|
|
1621
1624
|
}
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
const parsedUrl = new URL(SIGNAL_BASE_URL);
|
|
1625
|
+
function createSocket(signalBaseUrl) {
|
|
1626
|
+
const parsedUrl = new URL(signalBaseUrl);
|
|
1625
1627
|
const socketHost = parsedUrl.origin;
|
|
1626
1628
|
const socketOverrides = {
|
|
1627
1629
|
autoConnect: false,
|
|
@@ -1665,12 +1667,12 @@ const signalConnectionSlice = createSlice({
|
|
|
1665
1667
|
});
|
|
1666
1668
|
const { deviceIdentifying, deviceIdentified, socketConnected, socketConnecting, socketDisconnected, socketReconnecting, } = signalConnectionSlice.actions;
|
|
1667
1669
|
const doSignalConnect = createAppThunk(() => {
|
|
1668
|
-
return (dispatch, getState) => {
|
|
1670
|
+
return (dispatch, getState, { services }) => {
|
|
1669
1671
|
if (selectSignalConnectionSocket(getState())) {
|
|
1670
1672
|
return;
|
|
1671
1673
|
}
|
|
1672
1674
|
dispatch(socketConnecting());
|
|
1673
|
-
const socket = createSocket();
|
|
1675
|
+
const socket = createSocket(services.signalBaseUrl);
|
|
1674
1676
|
socket.on("connect", () => dispatch(socketConnected(socket)));
|
|
1675
1677
|
socket.on("device_identified", () => dispatch(deviceIdentified()));
|
|
1676
1678
|
socket.getManager().on("reconnect", () => dispatch(socketReconnecting()));
|
|
@@ -1982,6 +1984,8 @@ const doUpdateDeviceList = createAppAsyncThunk("localMedia/doUpdateDeviceList",
|
|
|
1982
1984
|
const { changedDevices, addedDevices } = getUpdatedDevices({
|
|
1983
1985
|
oldDevices,
|
|
1984
1986
|
newDevices,
|
|
1987
|
+
currentAudioId: selectCurrentMicrophoneDeviceId(state),
|
|
1988
|
+
currentVideoId: selectCurrentCameraDeviceId(state),
|
|
1985
1989
|
});
|
|
1986
1990
|
let autoSwitchAudioId = (_b = changedDevices.audioinput) === null || _b === void 0 ? void 0 : _b.deviceId;
|
|
1987
1991
|
let autoSwitchVideoId = (_c = changedDevices.videoinput) === null || _c === void 0 ? void 0 : _c.deviceId;
|
|
@@ -1991,6 +1995,12 @@ const doUpdateDeviceList = createAppAsyncThunk("localMedia/doUpdateDeviceList",
|
|
|
1991
1995
|
if (autoSwitchVideoId === undefined) {
|
|
1992
1996
|
autoSwitchVideoId = (_e = addedDevices.videoinput) === null || _e === void 0 ? void 0 : _e.deviceId;
|
|
1993
1997
|
}
|
|
1998
|
+
if (!selectIsMicrophoneEnabled(getState())) {
|
|
1999
|
+
autoSwitchAudioId = undefined;
|
|
2000
|
+
}
|
|
2001
|
+
if (!selectIsCameraEnabled(getState())) {
|
|
2002
|
+
autoSwitchVideoId = undefined;
|
|
2003
|
+
}
|
|
1994
2004
|
if (autoSwitchAudioId !== undefined || autoSwitchVideoId !== undefined) {
|
|
1995
2005
|
dispatch(doSwitchLocalStream({ audioId: autoSwitchAudioId, videoId: autoSwitchVideoId }));
|
|
1996
2006
|
}
|
|
@@ -7064,8 +7074,8 @@ class RoomConnectionClient extends BaseClient {
|
|
|
7064
7074
|
}
|
|
7065
7075
|
|
|
7066
7076
|
class WherebyClient {
|
|
7067
|
-
constructor() {
|
|
7068
|
-
this.services = createServices();
|
|
7077
|
+
constructor(options = {}) {
|
|
7078
|
+
this.services = createServices(options);
|
|
7069
7079
|
this.store = createStore({ injectServices: this.services });
|
|
7070
7080
|
this.localMediaClient = new LocalMediaClient(this.store);
|
|
7071
7081
|
this.roomConnectionClient = new RoomConnectionClient(this.store);
|
package/dist/legacy-esm.js
CHANGED
|
@@ -1150,13 +1150,15 @@ class LocalParticipant extends RoomParticipant {
|
|
|
1150
1150
|
}
|
|
1151
1151
|
|
|
1152
1152
|
const API_BASE_URL = "https://api.whereby.dev";
|
|
1153
|
-
|
|
1153
|
+
const SIGNAL_BASE_URL = "wss://signal.appearin.net";
|
|
1154
|
+
function createServices({ apiBaseUrl, signalBaseUrl } = {}) {
|
|
1155
|
+
const resolvedApiBaseUrl = apiBaseUrl || API_BASE_URL;
|
|
1154
1156
|
const credentialsService = CredentialsService.create({
|
|
1155
|
-
baseUrl:
|
|
1157
|
+
baseUrl: resolvedApiBaseUrl,
|
|
1156
1158
|
});
|
|
1157
1159
|
const apiClient = new ApiClient({
|
|
1158
1160
|
fetchDeviceCredentials: credentialsService.getCredentials.bind(credentialsService),
|
|
1159
|
-
baseUrl:
|
|
1161
|
+
baseUrl: resolvedApiBaseUrl,
|
|
1160
1162
|
});
|
|
1161
1163
|
const organizationService = new OrganizationService({ apiClient });
|
|
1162
1164
|
const roomIntegrationService = new RoomIntegrationService({ apiClient });
|
|
@@ -1175,6 +1177,7 @@ function createServices() {
|
|
|
1175
1177
|
organizationService,
|
|
1176
1178
|
roomIntegrationService,
|
|
1177
1179
|
fetchOrganizationFromRoomUrl,
|
|
1180
|
+
signalBaseUrl: signalBaseUrl || SIGNAL_BASE_URL || "wss://signal.appearin.net",
|
|
1178
1181
|
};
|
|
1179
1182
|
}
|
|
1180
1183
|
|
|
@@ -1308,7 +1311,7 @@ const createReactor = (selectors, callback) => {
|
|
|
1308
1311
|
});
|
|
1309
1312
|
};
|
|
1310
1313
|
|
|
1311
|
-
const coreVersion = "1.
|
|
1314
|
+
const coreVersion = "1.30.0";
|
|
1312
1315
|
|
|
1313
1316
|
function decodeRoomName(roomName) {
|
|
1314
1317
|
if (!roomName) {
|
|
@@ -1619,9 +1622,8 @@ function forwardSocketEvents(socket, dispatch) {
|
|
|
1619
1622
|
socket.on("breakout_timer_ended", () => dispatch(signalEvents.breakoutTimerEnded()));
|
|
1620
1623
|
socket.on("breakout_timer_extended", () => dispatch(signalEvents.breakoutTimerExtended()));
|
|
1621
1624
|
}
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
const parsedUrl = new URL(SIGNAL_BASE_URL);
|
|
1625
|
+
function createSocket(signalBaseUrl) {
|
|
1626
|
+
const parsedUrl = new URL(signalBaseUrl);
|
|
1625
1627
|
const socketHost = parsedUrl.origin;
|
|
1626
1628
|
const socketOverrides = {
|
|
1627
1629
|
autoConnect: false,
|
|
@@ -1665,12 +1667,12 @@ const signalConnectionSlice = createSlice({
|
|
|
1665
1667
|
});
|
|
1666
1668
|
const { deviceIdentifying, deviceIdentified, socketConnected, socketConnecting, socketDisconnected, socketReconnecting, } = signalConnectionSlice.actions;
|
|
1667
1669
|
const doSignalConnect = createAppThunk(() => {
|
|
1668
|
-
return (dispatch, getState) => {
|
|
1670
|
+
return (dispatch, getState, { services }) => {
|
|
1669
1671
|
if (selectSignalConnectionSocket(getState())) {
|
|
1670
1672
|
return;
|
|
1671
1673
|
}
|
|
1672
1674
|
dispatch(socketConnecting());
|
|
1673
|
-
const socket = createSocket();
|
|
1675
|
+
const socket = createSocket(services.signalBaseUrl);
|
|
1674
1676
|
socket.on("connect", () => dispatch(socketConnected(socket)));
|
|
1675
1677
|
socket.on("device_identified", () => dispatch(deviceIdentified()));
|
|
1676
1678
|
socket.getManager().on("reconnect", () => dispatch(socketReconnecting()));
|
|
@@ -1982,6 +1984,8 @@ const doUpdateDeviceList = createAppAsyncThunk("localMedia/doUpdateDeviceList",
|
|
|
1982
1984
|
const { changedDevices, addedDevices } = getUpdatedDevices({
|
|
1983
1985
|
oldDevices,
|
|
1984
1986
|
newDevices,
|
|
1987
|
+
currentAudioId: selectCurrentMicrophoneDeviceId(state),
|
|
1988
|
+
currentVideoId: selectCurrentCameraDeviceId(state),
|
|
1985
1989
|
});
|
|
1986
1990
|
let autoSwitchAudioId = (_b = changedDevices.audioinput) === null || _b === void 0 ? void 0 : _b.deviceId;
|
|
1987
1991
|
let autoSwitchVideoId = (_c = changedDevices.videoinput) === null || _c === void 0 ? void 0 : _c.deviceId;
|
|
@@ -1991,6 +1995,12 @@ const doUpdateDeviceList = createAppAsyncThunk("localMedia/doUpdateDeviceList",
|
|
|
1991
1995
|
if (autoSwitchVideoId === undefined) {
|
|
1992
1996
|
autoSwitchVideoId = (_e = addedDevices.videoinput) === null || _e === void 0 ? void 0 : _e.deviceId;
|
|
1993
1997
|
}
|
|
1998
|
+
if (!selectIsMicrophoneEnabled(getState())) {
|
|
1999
|
+
autoSwitchAudioId = undefined;
|
|
2000
|
+
}
|
|
2001
|
+
if (!selectIsCameraEnabled(getState())) {
|
|
2002
|
+
autoSwitchVideoId = undefined;
|
|
2003
|
+
}
|
|
1994
2004
|
if (autoSwitchAudioId !== undefined || autoSwitchVideoId !== undefined) {
|
|
1995
2005
|
dispatch(doSwitchLocalStream({ audioId: autoSwitchAudioId, videoId: autoSwitchVideoId }));
|
|
1996
2006
|
}
|
|
@@ -7064,8 +7074,8 @@ class RoomConnectionClient extends BaseClient {
|
|
|
7064
7074
|
}
|
|
7065
7075
|
|
|
7066
7076
|
class WherebyClient {
|
|
7067
|
-
constructor() {
|
|
7068
|
-
this.services = createServices();
|
|
7077
|
+
constructor(options = {}) {
|
|
7078
|
+
this.services = createServices(options);
|
|
7069
7079
|
this.store = createStore({ injectServices: this.services });
|
|
7070
7080
|
this.localMediaClient = new LocalMediaClient(this.store);
|
|
7071
7081
|
this.roomConnectionClient = new RoomConnectionClient(this.store);
|
package/dist/redux/index.cjs
CHANGED
|
@@ -76,7 +76,7 @@ const createReactor = (selectors, callback) => {
|
|
|
76
76
|
});
|
|
77
77
|
};
|
|
78
78
|
|
|
79
|
-
const coreVersion = "1.
|
|
79
|
+
const coreVersion = "1.30.0";
|
|
80
80
|
|
|
81
81
|
function decodeRoomName(roomName) {
|
|
82
82
|
if (!roomName) {
|
|
@@ -386,9 +386,8 @@ function forwardSocketEvents(socket, dispatch) {
|
|
|
386
386
|
socket.on("breakout_timer_ended", () => dispatch(signalEvents.breakoutTimerEnded()));
|
|
387
387
|
socket.on("breakout_timer_extended", () => dispatch(signalEvents.breakoutTimerExtended()));
|
|
388
388
|
}
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
const parsedUrl = new URL(SIGNAL_BASE_URL);
|
|
389
|
+
function createSocket(signalBaseUrl) {
|
|
390
|
+
const parsedUrl = new URL(signalBaseUrl);
|
|
392
391
|
const socketHost = parsedUrl.origin;
|
|
393
392
|
const socketOverrides = {
|
|
394
393
|
autoConnect: false,
|
|
@@ -432,12 +431,12 @@ const signalConnectionSlice = toolkit.createSlice({
|
|
|
432
431
|
});
|
|
433
432
|
const { deviceIdentifying, deviceIdentified, socketConnected, socketConnecting, socketDisconnected, socketReconnecting, } = signalConnectionSlice.actions;
|
|
434
433
|
const doSignalConnect = createAppThunk(() => {
|
|
435
|
-
return (dispatch, getState) => {
|
|
434
|
+
return (dispatch, getState, { services }) => {
|
|
436
435
|
if (selectSignalConnectionSocket(getState())) {
|
|
437
436
|
return;
|
|
438
437
|
}
|
|
439
438
|
dispatch(socketConnecting());
|
|
440
|
-
const socket = createSocket();
|
|
439
|
+
const socket = createSocket(services.signalBaseUrl);
|
|
441
440
|
socket.on("connect", () => dispatch(socketConnected(socket)));
|
|
442
441
|
socket.on("device_identified", () => dispatch(deviceIdentified()));
|
|
443
442
|
socket.getManager().on("reconnect", () => dispatch(socketReconnecting()));
|
|
@@ -768,6 +767,8 @@ const doUpdateDeviceList = createAppAsyncThunk("localMedia/doUpdateDeviceList",
|
|
|
768
767
|
const { changedDevices, addedDevices } = media.getUpdatedDevices({
|
|
769
768
|
oldDevices,
|
|
770
769
|
newDevices,
|
|
770
|
+
currentAudioId: selectCurrentMicrophoneDeviceId(state),
|
|
771
|
+
currentVideoId: selectCurrentCameraDeviceId(state),
|
|
771
772
|
});
|
|
772
773
|
let autoSwitchAudioId = (_b = changedDevices.audioinput) === null || _b === void 0 ? void 0 : _b.deviceId;
|
|
773
774
|
let autoSwitchVideoId = (_c = changedDevices.videoinput) === null || _c === void 0 ? void 0 : _c.deviceId;
|
|
@@ -777,6 +778,12 @@ const doUpdateDeviceList = createAppAsyncThunk("localMedia/doUpdateDeviceList",
|
|
|
777
778
|
if (autoSwitchVideoId === undefined) {
|
|
778
779
|
autoSwitchVideoId = (_e = addedDevices.videoinput) === null || _e === void 0 ? void 0 : _e.deviceId;
|
|
779
780
|
}
|
|
781
|
+
if (!selectIsMicrophoneEnabled(getState())) {
|
|
782
|
+
autoSwitchAudioId = undefined;
|
|
783
|
+
}
|
|
784
|
+
if (!selectIsCameraEnabled(getState())) {
|
|
785
|
+
autoSwitchVideoId = undefined;
|
|
786
|
+
}
|
|
780
787
|
if (autoSwitchAudioId !== undefined || autoSwitchVideoId !== undefined) {
|
|
781
788
|
dispatch(doSwitchLocalStream({ audioId: autoSwitchAudioId, videoId: autoSwitchVideoId }));
|
|
782
789
|
}
|
|
@@ -5601,13 +5608,15 @@ class RoomIntegrationService {
|
|
|
5601
5608
|
}
|
|
5602
5609
|
|
|
5603
5610
|
const API_BASE_URL = "https://api.whereby.dev";
|
|
5604
|
-
|
|
5611
|
+
const SIGNAL_BASE_URL = "wss://signal.appearin.net";
|
|
5612
|
+
function createServices({ apiBaseUrl, signalBaseUrl } = {}) {
|
|
5613
|
+
const resolvedApiBaseUrl = apiBaseUrl || API_BASE_URL;
|
|
5605
5614
|
const credentialsService = CredentialsService.create({
|
|
5606
|
-
baseUrl:
|
|
5615
|
+
baseUrl: resolvedApiBaseUrl,
|
|
5607
5616
|
});
|
|
5608
5617
|
const apiClient = new ApiClient({
|
|
5609
5618
|
fetchDeviceCredentials: credentialsService.getCredentials.bind(credentialsService),
|
|
5610
|
-
baseUrl:
|
|
5619
|
+
baseUrl: resolvedApiBaseUrl,
|
|
5611
5620
|
});
|
|
5612
5621
|
const organizationService = new OrganizationService({ apiClient });
|
|
5613
5622
|
const roomIntegrationService = new RoomIntegrationService({ apiClient });
|
|
@@ -5626,6 +5635,7 @@ function createServices() {
|
|
|
5626
5635
|
organizationService,
|
|
5627
5636
|
roomIntegrationService,
|
|
5628
5637
|
fetchOrganizationFromRoomUrl,
|
|
5638
|
+
signalBaseUrl: signalBaseUrl || SIGNAL_BASE_URL || "wss://signal.appearin.net",
|
|
5629
5639
|
};
|
|
5630
5640
|
}
|
|
5631
5641
|
|
package/dist/redux/index.d.cts
CHANGED
|
@@ -7418,12 +7418,17 @@ declare const selectSpotlightedClientViews: ((state: {
|
|
|
7418
7418
|
memoize: typeof reselect.weakMapMemoize;
|
|
7419
7419
|
};
|
|
7420
7420
|
|
|
7421
|
-
|
|
7421
|
+
interface ServicesOptions {
|
|
7422
|
+
apiBaseUrl?: string;
|
|
7423
|
+
signalBaseUrl?: string;
|
|
7424
|
+
}
|
|
7425
|
+
declare function createServices({ apiBaseUrl, signalBaseUrl }?: ServicesOptions): {
|
|
7422
7426
|
credentialsService: CredentialsService;
|
|
7423
7427
|
apiClient: ApiClient;
|
|
7424
7428
|
organizationService: OrganizationService;
|
|
7425
7429
|
roomIntegrationService: RoomIntegrationService;
|
|
7426
7430
|
fetchOrganizationFromRoomUrl: (roomUrl: string) => Promise<Organization | null>;
|
|
7431
|
+
signalBaseUrl: string;
|
|
7427
7432
|
};
|
|
7428
7433
|
|
|
7429
7434
|
declare const appReducer: redux.Reducer<{
|
|
@@ -7551,6 +7556,7 @@ declare const createStore: ({ preloadedState, injectServices, }: {
|
|
|
7551
7556
|
organizationService: OrganizationService;
|
|
7552
7557
|
roomIntegrationService: RoomIntegrationService;
|
|
7553
7558
|
fetchOrganizationFromRoomUrl: (roomUrl: string) => Promise<Organization | null>;
|
|
7559
|
+
signalBaseUrl: string;
|
|
7554
7560
|
};
|
|
7555
7561
|
}, redux.UnknownAction>;
|
|
7556
7562
|
}>, redux.StoreEnhancer]>>;
|
|
@@ -7659,4 +7665,4 @@ declare const selectRoomConnectionKnockResponse: (state: RootState) => _whereby_
|
|
|
7659
7665
|
declare const selectRoomConnectionIsRejoining: (state: RootState) => boolean;
|
|
7660
7666
|
|
|
7661
7667
|
export { ACCEPTED_FILE_TYPES, BREAKOUT_GROUPS_MIN_MAX, BREAKOUT_UNAVAILABLE_ERROR, CALL_QUALITY_LEVELS, DEFAULT_BREAKOUT_TIMER_DURATION, IN_CALL_QUALITY_LEVELS, MAX_FILES_PER_UPLOAD, MAX_FILE_SIZE, ROOM_INTEGRATION_PICKER_MESSAGES, addAppListener, addSpotlight, appSlice, audioOnlyModeToggled, authorizationSlice, authorizationSliceInitialState, breakoutSlice, breakoutSliceInitialState, captioningRequestStarted, chatSlice, chatSliceInitialState, clearCaption, clearFileUploads, cloudRecordingSlice, connectionMonitorReportUpdated, connectionMonitorSlice, connectionMonitorSliceInitialState, connectionMonitorStarted, connectionMonitorStopped, createAppAsyncThunk, createAppAuthorizedThunk, createAppThunk, createAsyncRoomConnectedThunk, createAuthorizedRoomConnectedThunk, createBreakoutGroups, createNotificationEvent, createReactor, createRemoteParticipant, createRoomConnectedThunk, createServices, createStore, createWebRtcEmitter, defaultBreakoutGroupName, deviceBusy, deviceCredentialsSlice, deviceCredentialsSliceInitialState, deviceIdentified, deviceIdentifying, doAcceptWaitingParticipant, doAppStart, doAppStop, doAssignAllBreakoutParticipants, doAssignBreakoutParticipants, doBreakoutJoin, doCancelKnock, doClearNotifications, doConnectRoom, doConnectRtc, doDisconnectRtc, doDownloadFile, doEnableAudio, doEnableVideo, doEndMeeting, doExtendBreakoutTimer, doFetchRoomIntegrations, doGetDeviceCredentials, doHandleAcceptStreams, doHandleStreamingStarted, doHandleStreamingStopped, doHoldWaitingParticipant, doKickParticipant, doKnockRoom, doLocalStreamEffect, doLockRoom, doOrganizationFetch, doRejectWaitingParticipant, doRemoveChatMessage, doRemoveSpotlight, doRequestAudioEnable, doRequestScreenshareEnable, doRequestVideoEnable, doRtcAnalyticsCustomEventsInitialize, doRtcManagerCreated, doRtcManagerInitialize, doRtcReportStreamResolution, doSendChatMessage, doSendClientMetadata, doSendFiles, doSetDevice, doSetDisplayName, doSetLocalCallQualityScore, doSetLocalStickyReaction, doSetNotification, doSetRemoteCallQualityScores, doShuffleBreakoutParticipants, doSignalConnect, doSignalDisconnect, doSignalIdentifyDevice, doSpotlightParticipant, doStartBreakoutSession, doStartCloudRecording, doStartConnectionMonitor, doStartLiveCaptions, doStartLiveTranscription, doStartLocalMedia, doStartRoomIntegration, doStartScreenshare, doStopBreakoutSession, doStopBreakoutTimer, doStopCloudRecording, doStopConnectionMonitor, doStopLiveCaptions, doStopLiveTranscription, doStopLocalMedia, doStopRoomIntegration, doStopScreenshare, doSwitchLocalStream, doToggleAudioOnlyMode, doToggleCamera, doTriggerLocalStreamRefresh, doUnassignAllBreakoutParticipants, doUpdateBreakoutSession, doUpdateConnectionMonitorReport, doUpdateDeviceList, doUpdateRoomIntegrationProps, fileShareRequestSettled, fileShareSlice, fileShareSliceInitialState, fileUploadFailed, fileUploadSucceeded, fileUploadsStarted, initialCloudRecordingState, initialLiveCaptionsState, initialLiveTranscriptionState, initialLocalMediaState, initialNotificationsState, initialState, isAcceptingStreams, isClientSpotlighted, listenerMiddleware, liveCaptionsSlice, liveTranscriptionSlice, localMediaSlice, localMediaStopped, localParticipantSlice, localParticipantSliceInitialState, localScreenshareSlice, localScreenshareSliceInitialState, localStreamMetadataUpdated, notificationsSlice, observeStore, organizationSlice, organizationSliceInitialState, parseRoomIntegration, parseRoomIntegrationSession, participantStreamAdded, participantStreamIdAdded, recordingRequestStarted, remoteParticipantsSlice, remoteParticipantsSliceInitialState, removeSpotlight, resolutionReported, roomConnectionSlice, roomConnectionSliceInitialState, roomIntegrationPickerUrl, roomIntegrationSignalError, roomIntegrationsSlice, roomIntegrationsSliceInitialState, roomRejoined, roomSlice, roomSliceInitialState, rootReducer, rtcAnalyticsCustomEvents, rtcAnalyticsSlice, rtcAnalyticsSliceInitialState, rtcClientConnectionStatusChanged, rtcConnectionSlice, rtcConnectionSliceInitialState, rtcDisconnected, rtcDispatcherCreated, rtcEvents, rtcManagerCreated, rtcManagerDestroyed, rtcManagerInitialized, selectAllClientViews, selectAllClientViewsInCurrentGroup, selectAppDisplayName, selectAppExternalId, selectAppIgnoreBreakoutGroups, selectAppInitialConfig, selectAppInitialMuteStates, selectAppIsActive, selectAppIsAssistant, selectAppIsAudioRecorder, selectAppIsDialIn, selectAppIsNodeSdk, selectAppRaw, selectAppRoomName, selectAppRoomUrl, selectAppUserAgent, selectAssistantKey, selectAuthorizationRoleName, selectAvailableRoomIntegrations, selectBreakoutActive, selectBreakoutAssignments, selectBreakoutAutoMoveToGroup, selectBreakoutAutoMoveToMain, selectBreakoutCurrentGroup, selectBreakoutCurrentId, selectBreakoutEndTime, selectBreakoutEnforceAssignment, selectBreakoutError, selectBreakoutGroupedParticipants, selectBreakoutGroups, selectBreakoutInitiatedBy, selectBreakoutIsAvailable, selectBreakoutMoveToGroupAt, selectBreakoutMoveToGroupGracePeriod, selectBreakoutMoveToMainAt, selectBreakoutMoveToMainGracePeriod, selectBreakoutRaw, selectBreakoutStartedAt, selectBreakoutTimerDuration, selectBreakoutTimerSetting, selectBusyDeviceIds, selectCalculatedLocalCallQualityScore, selectCalculatedRemoteCallQualityScores, selectCameraDeviceError, selectCameraDevices, selectChatMessages, selectChatRaw, selectCloudRecordingError, selectCloudRecordingIsInitiator, selectCloudRecordingRaw, selectCloudRecordingStartedAt, selectCloudRecordingStatus, selectConnectionMediaQualityScores, selectConnectionMonitorIsRunning, selectConnectionMonitorIssuesReport, selectCurrentCameraDeviceId, selectCurrentMicrophoneDeviceId, selectCurrentSpeakerDeviceId, selectDeviceCredentialsRaw, selectDeviceId, selectEmbeddableRoomIntegrations, selectEnabledRoomIntegrations, selectFileShareRaw, selectFileShareRequestInFlight, selectFileUploads, selectHasFetchedDeviceCredentials, selectIsAcceptingStreams, selectIsAudioOnlyModeEnabled, selectIsAuthorizedToAskToSpeak, selectIsAuthorizedToEndMeeting, selectIsAuthorizedToKickClient, selectIsAuthorizedToLockRoom, selectIsAuthorizedToManageBreakout, selectIsAuthorizedToManageRoomIntegration, selectIsAuthorizedToRequestAudioEnable, selectIsAuthorizedToRequestScreenshareEnable, selectIsAuthorizedToRequestVideoEnable, selectIsAuthorizedToSpotlight, selectIsCameraEnabled, selectIsCloudRecording, selectIsHDModeEnabled, selectIsLiveCaptions, selectIsLiveTranscription, selectIsLocalMediaStarting, selectIsLocalParticipantSpotlighted, selectIsLowDataModeEnabled, selectIsMicrophoneEnabled, selectIsRoomIntegrationRunning, selectIsSettingCameraDevice, selectIsSettingMicrophoneDevice, selectIsToggleCamera, selectIsWidescreenModeEnabled, selectLiveCaptionsError, selectLiveCaptionsLog, selectLiveCaptionsRaw, selectLiveCaptionsStartedAt, selectLiveCaptionsStatus, selectLiveTranscriptionError, selectLiveTranscriptionIsInitiator, selectLiveTranscriptionRaw, selectLiveTranscriptionStartedAt, selectLiveTranscriptionStatus, selectLocalCallQualityScore, selectLocalMediaBeforeEffectTracks, selectLocalMediaConstraintsOptions, selectLocalMediaDevices, selectLocalMediaIsSwitchingStream, selectLocalMediaOptions, selectLocalMediaOwnsStream, selectLocalMediaRaw, selectLocalMediaShouldStartWithOptions, selectLocalMediaShouldStop, selectLocalMediaStartError, selectLocalMediaStatus, selectLocalMediaStream, selectLocalParticipantBreakoutAssigned, selectLocalParticipantBreakoutGroup, selectLocalParticipantClientClaim, selectLocalParticipantDisplayName, selectLocalParticipantQualityReport, selectLocalParticipantRaw, selectLocalParticipantStickyReaction, selectLocalParticipantView, selectLocalScreenshareError, selectLocalScreenshareRaw, selectLocalScreenshareStartedAt, selectLocalScreenshareStatus, selectLocalScreenshareStream, selectMicrophoneDeviceError, selectMicrophoneDevices, selectNotificationsEmitter, selectNotificationsEvents, selectNotificationsRaw, selectNumClients, selectNumParticipants, selectOrganizationId, selectOrganizationPreferences, selectOrganizationRaw, selectRemoteCallQualityScores, selectRemoteClientViews, selectRemoteClients, selectRemoteParticipantQualityReport, selectRemoteParticipants, selectRemoteParticipantsRaw, selectRemoteScreenshareVideoTrackIds, selectRoomConnectionError, selectRoomConnectionIsRejoining, selectRoomConnectionKnockResponse, selectRoomConnectionRaw, selectRoomConnectionSession, selectRoomConnectionSessionId, selectRoomConnectionStatus, selectRoomIntegrationForUrl, selectRoomIntegrationsEnabled, selectRoomIntegrationsError, selectRoomIntegrationsHasFetched, selectRoomIntegrationsIsFetching, selectRoomIntegrationsRaw, selectRoomIsLocked, selectRoomKey, selectRoomMode, selectRtcConnectionRaw, selectRtcDispatcherCreated, selectRtcIsCreatingDispatcher, selectRtcManager, selectRtcManagerInitialized, selectRtcStatus, selectRunningRoomIntegrations, selectScreenshares, selectSelfId, selectShouldApplyInitialMuteStates, selectShouldConnectRoom, selectShouldConnectRtc, selectShouldConnectSignal, selectShouldDisconnectRtc, selectShouldFetchDeviceCredentials, selectShouldFetchOrganization, selectShouldFetchRoomIntegrations, selectShouldIdentifyDevice, selectShouldInitializeRtc, selectShouldStartConnectionMonitor, selectShouldStopConnectionMonitor, selectSignalConnectionDeviceIdentified, selectSignalConnectionRaw, selectSignalConnectionSocket, selectSignalIsIdentifyingDevice, selectSignalStatus, selectSpeakerDevices, selectSpotlightedClientViews, selectSpotlights, selectSpotlightsRaw, selectStopCallbackFunction, selectStreamingRaw, selectStreamsToAccept, selectUnavailableRoomIntegrations, selectWaitingParticipants, selectWaitingParticipantsRaw, setBreakoutError, setBreakoutGroupAssigned, setCurrentCameraDeviceId, setCurrentMicrophoneDeviceId, setCurrentSpeakerDeviceId, setDisplayName, setLocalMediaOptions, setLocalMediaStream, setRoomIntegrationsError, setRoomKey, signalConnectionSlice, signalConnectionSliceInitialState, signalEvents, socketConnected, socketConnecting, socketDisconnected, socketReconnecting, spotlightsSlice, spotlightsSliceInitialState, startAppListening, stopScreenshare, streamIdForClient, streamStatusUpdated, streamingSlice, streamingSliceInitialState, toggleCameraEnabled, toggleHdModeEnabled, toggleLowDataModeEnabled, toggleMicrophoneEnabled, toggleWidescreenModeEnabled, transcribingRequestStarted, updateLocalCallQualityScore, updateRemoteCallQualityScores, updateReportedValues, waitingParticipantsSlice, waitingParticipantsSliceInitialState };
|
|
7662
|
-
export type { AppConfig, AppDispatch, AppReducer, AppStartListening, AppState, AppThunk, AuthorizationState, BreakoutGroupAssignedEvent, BreakoutGroupAssignedEventProps, BreakoutSessionSettings, BreakoutState, BreakoutTimerEvent, BreakoutTimerEventProps, CPUQualityLevel, CallQualityLevel, CallQualityScore, ChatMessage, ChatMessageEvent, ChatMessageEventProps, ChatState, ClientView, CloudRecordingState, ConnectionMonitorReport, ConnectionMonitorStart, ConnectionMonitorState, ConnectionStatus, DeviceCredentialsState, FileShareError, FileShareState, FileUpload, InitialMuteStates, LiveCaptionsState, LiveTranscriptionState, LocalCallQualityScore, LocalMediaOptions, LocalMediaState, LocalParticipantQualityReport, LocalParticipantState, LocalScreenshareState, MediaQualityScores, Notification, NotificationEvent, NotificationEventMap, NotificationEvents, NotificationsEventEmitter, NotificationsState, OrganizationState, ReconnectedEvent, ReconnectedEventProps, ReconnectingEvent, ReconnectingEventProps, RemoteCallQualityScores, RemoteParticipantQualityReport, RemoteParticipantSliceState, RequestAudioEvent, RequestAudioEventProps, RequestScreenshareEvent, RequestScreenshareEventProps, RequestVideoEvent, RequestVideoEventProps, RoomConnectionState, RoomIntegration, RoomIntegrationError, RoomIntegrationErrorDetail, RoomIntegrationPickerResult, RoomIntegrationSession, RoomIntegrationSessionView, RoomIntegrationsState, RoomRejoinedPayload, RoomState, RootState, RtcConnectionState, SendFilesOptions, SignalClientEvent, SignalClientEventProps, SignalConnectionState, SignalStatusEvent, SignalStatusEventProps, SpotlightsState, StartBreakoutSessionOptions, StickyReactionEvent, StickyReactionEventProps, Store, StreamingState, ThunkConfig, ToggleAudioOnlyModeOptions, UpdateBreakoutSessionOptions, WaitingParticipantsState, rtcAnalyticsState };
|
|
7668
|
+
export type { AppConfig, AppDispatch, AppReducer, AppStartListening, AppState, AppThunk, AuthorizationState, BreakoutGroupAssignedEvent, BreakoutGroupAssignedEventProps, BreakoutSessionSettings, BreakoutState, BreakoutTimerEvent, BreakoutTimerEventProps, CPUQualityLevel, CallQualityLevel, CallQualityScore, ChatMessage, ChatMessageEvent, ChatMessageEventProps, ChatState, ClientView, CloudRecordingState, ConnectionMonitorReport, ConnectionMonitorStart, ConnectionMonitorState, ConnectionStatus, DeviceCredentialsState, FileShareError, FileShareState, FileUpload, InitialMuteStates, LiveCaptionsState, LiveTranscriptionState, LocalCallQualityScore, LocalMediaOptions, LocalMediaState, LocalParticipantQualityReport, LocalParticipantState, LocalScreenshareState, MediaQualityScores, Notification, NotificationEvent, NotificationEventMap, NotificationEvents, NotificationsEventEmitter, NotificationsState, OrganizationState, ReconnectedEvent, ReconnectedEventProps, ReconnectingEvent, ReconnectingEventProps, RemoteCallQualityScores, RemoteParticipantQualityReport, RemoteParticipantSliceState, RequestAudioEvent, RequestAudioEventProps, RequestScreenshareEvent, RequestScreenshareEventProps, RequestVideoEvent, RequestVideoEventProps, RoomConnectionState, RoomIntegration, RoomIntegrationError, RoomIntegrationErrorDetail, RoomIntegrationPickerResult, RoomIntegrationSession, RoomIntegrationSessionView, RoomIntegrationsState, RoomRejoinedPayload, RoomState, RootState, RtcConnectionState, SendFilesOptions, ServicesOptions, SignalClientEvent, SignalClientEventProps, SignalConnectionState, SignalStatusEvent, SignalStatusEventProps, SpotlightsState, StartBreakoutSessionOptions, StickyReactionEvent, StickyReactionEventProps, Store, StreamingState, ThunkConfig, ToggleAudioOnlyModeOptions, UpdateBreakoutSessionOptions, WaitingParticipantsState, rtcAnalyticsState };
|
package/dist/redux/index.d.mts
CHANGED
|
@@ -7418,12 +7418,17 @@ declare const selectSpotlightedClientViews: ((state: {
|
|
|
7418
7418
|
memoize: typeof reselect.weakMapMemoize;
|
|
7419
7419
|
};
|
|
7420
7420
|
|
|
7421
|
-
|
|
7421
|
+
interface ServicesOptions {
|
|
7422
|
+
apiBaseUrl?: string;
|
|
7423
|
+
signalBaseUrl?: string;
|
|
7424
|
+
}
|
|
7425
|
+
declare function createServices({ apiBaseUrl, signalBaseUrl }?: ServicesOptions): {
|
|
7422
7426
|
credentialsService: CredentialsService;
|
|
7423
7427
|
apiClient: ApiClient;
|
|
7424
7428
|
organizationService: OrganizationService;
|
|
7425
7429
|
roomIntegrationService: RoomIntegrationService;
|
|
7426
7430
|
fetchOrganizationFromRoomUrl: (roomUrl: string) => Promise<Organization | null>;
|
|
7431
|
+
signalBaseUrl: string;
|
|
7427
7432
|
};
|
|
7428
7433
|
|
|
7429
7434
|
declare const appReducer: redux.Reducer<{
|
|
@@ -7551,6 +7556,7 @@ declare const createStore: ({ preloadedState, injectServices, }: {
|
|
|
7551
7556
|
organizationService: OrganizationService;
|
|
7552
7557
|
roomIntegrationService: RoomIntegrationService;
|
|
7553
7558
|
fetchOrganizationFromRoomUrl: (roomUrl: string) => Promise<Organization | null>;
|
|
7559
|
+
signalBaseUrl: string;
|
|
7554
7560
|
};
|
|
7555
7561
|
}, redux.UnknownAction>;
|
|
7556
7562
|
}>, redux.StoreEnhancer]>>;
|
|
@@ -7659,4 +7665,4 @@ declare const selectRoomConnectionKnockResponse: (state: RootState) => _whereby_
|
|
|
7659
7665
|
declare const selectRoomConnectionIsRejoining: (state: RootState) => boolean;
|
|
7660
7666
|
|
|
7661
7667
|
export { ACCEPTED_FILE_TYPES, BREAKOUT_GROUPS_MIN_MAX, BREAKOUT_UNAVAILABLE_ERROR, CALL_QUALITY_LEVELS, DEFAULT_BREAKOUT_TIMER_DURATION, IN_CALL_QUALITY_LEVELS, MAX_FILES_PER_UPLOAD, MAX_FILE_SIZE, ROOM_INTEGRATION_PICKER_MESSAGES, addAppListener, addSpotlight, appSlice, audioOnlyModeToggled, authorizationSlice, authorizationSliceInitialState, breakoutSlice, breakoutSliceInitialState, captioningRequestStarted, chatSlice, chatSliceInitialState, clearCaption, clearFileUploads, cloudRecordingSlice, connectionMonitorReportUpdated, connectionMonitorSlice, connectionMonitorSliceInitialState, connectionMonitorStarted, connectionMonitorStopped, createAppAsyncThunk, createAppAuthorizedThunk, createAppThunk, createAsyncRoomConnectedThunk, createAuthorizedRoomConnectedThunk, createBreakoutGroups, createNotificationEvent, createReactor, createRemoteParticipant, createRoomConnectedThunk, createServices, createStore, createWebRtcEmitter, defaultBreakoutGroupName, deviceBusy, deviceCredentialsSlice, deviceCredentialsSliceInitialState, deviceIdentified, deviceIdentifying, doAcceptWaitingParticipant, doAppStart, doAppStop, doAssignAllBreakoutParticipants, doAssignBreakoutParticipants, doBreakoutJoin, doCancelKnock, doClearNotifications, doConnectRoom, doConnectRtc, doDisconnectRtc, doDownloadFile, doEnableAudio, doEnableVideo, doEndMeeting, doExtendBreakoutTimer, doFetchRoomIntegrations, doGetDeviceCredentials, doHandleAcceptStreams, doHandleStreamingStarted, doHandleStreamingStopped, doHoldWaitingParticipant, doKickParticipant, doKnockRoom, doLocalStreamEffect, doLockRoom, doOrganizationFetch, doRejectWaitingParticipant, doRemoveChatMessage, doRemoveSpotlight, doRequestAudioEnable, doRequestScreenshareEnable, doRequestVideoEnable, doRtcAnalyticsCustomEventsInitialize, doRtcManagerCreated, doRtcManagerInitialize, doRtcReportStreamResolution, doSendChatMessage, doSendClientMetadata, doSendFiles, doSetDevice, doSetDisplayName, doSetLocalCallQualityScore, doSetLocalStickyReaction, doSetNotification, doSetRemoteCallQualityScores, doShuffleBreakoutParticipants, doSignalConnect, doSignalDisconnect, doSignalIdentifyDevice, doSpotlightParticipant, doStartBreakoutSession, doStartCloudRecording, doStartConnectionMonitor, doStartLiveCaptions, doStartLiveTranscription, doStartLocalMedia, doStartRoomIntegration, doStartScreenshare, doStopBreakoutSession, doStopBreakoutTimer, doStopCloudRecording, doStopConnectionMonitor, doStopLiveCaptions, doStopLiveTranscription, doStopLocalMedia, doStopRoomIntegration, doStopScreenshare, doSwitchLocalStream, doToggleAudioOnlyMode, doToggleCamera, doTriggerLocalStreamRefresh, doUnassignAllBreakoutParticipants, doUpdateBreakoutSession, doUpdateConnectionMonitorReport, doUpdateDeviceList, doUpdateRoomIntegrationProps, fileShareRequestSettled, fileShareSlice, fileShareSliceInitialState, fileUploadFailed, fileUploadSucceeded, fileUploadsStarted, initialCloudRecordingState, initialLiveCaptionsState, initialLiveTranscriptionState, initialLocalMediaState, initialNotificationsState, initialState, isAcceptingStreams, isClientSpotlighted, listenerMiddleware, liveCaptionsSlice, liveTranscriptionSlice, localMediaSlice, localMediaStopped, localParticipantSlice, localParticipantSliceInitialState, localScreenshareSlice, localScreenshareSliceInitialState, localStreamMetadataUpdated, notificationsSlice, observeStore, organizationSlice, organizationSliceInitialState, parseRoomIntegration, parseRoomIntegrationSession, participantStreamAdded, participantStreamIdAdded, recordingRequestStarted, remoteParticipantsSlice, remoteParticipantsSliceInitialState, removeSpotlight, resolutionReported, roomConnectionSlice, roomConnectionSliceInitialState, roomIntegrationPickerUrl, roomIntegrationSignalError, roomIntegrationsSlice, roomIntegrationsSliceInitialState, roomRejoined, roomSlice, roomSliceInitialState, rootReducer, rtcAnalyticsCustomEvents, rtcAnalyticsSlice, rtcAnalyticsSliceInitialState, rtcClientConnectionStatusChanged, rtcConnectionSlice, rtcConnectionSliceInitialState, rtcDisconnected, rtcDispatcherCreated, rtcEvents, rtcManagerCreated, rtcManagerDestroyed, rtcManagerInitialized, selectAllClientViews, selectAllClientViewsInCurrentGroup, selectAppDisplayName, selectAppExternalId, selectAppIgnoreBreakoutGroups, selectAppInitialConfig, selectAppInitialMuteStates, selectAppIsActive, selectAppIsAssistant, selectAppIsAudioRecorder, selectAppIsDialIn, selectAppIsNodeSdk, selectAppRaw, selectAppRoomName, selectAppRoomUrl, selectAppUserAgent, selectAssistantKey, selectAuthorizationRoleName, selectAvailableRoomIntegrations, selectBreakoutActive, selectBreakoutAssignments, selectBreakoutAutoMoveToGroup, selectBreakoutAutoMoveToMain, selectBreakoutCurrentGroup, selectBreakoutCurrentId, selectBreakoutEndTime, selectBreakoutEnforceAssignment, selectBreakoutError, selectBreakoutGroupedParticipants, selectBreakoutGroups, selectBreakoutInitiatedBy, selectBreakoutIsAvailable, selectBreakoutMoveToGroupAt, selectBreakoutMoveToGroupGracePeriod, selectBreakoutMoveToMainAt, selectBreakoutMoveToMainGracePeriod, selectBreakoutRaw, selectBreakoutStartedAt, selectBreakoutTimerDuration, selectBreakoutTimerSetting, selectBusyDeviceIds, selectCalculatedLocalCallQualityScore, selectCalculatedRemoteCallQualityScores, selectCameraDeviceError, selectCameraDevices, selectChatMessages, selectChatRaw, selectCloudRecordingError, selectCloudRecordingIsInitiator, selectCloudRecordingRaw, selectCloudRecordingStartedAt, selectCloudRecordingStatus, selectConnectionMediaQualityScores, selectConnectionMonitorIsRunning, selectConnectionMonitorIssuesReport, selectCurrentCameraDeviceId, selectCurrentMicrophoneDeviceId, selectCurrentSpeakerDeviceId, selectDeviceCredentialsRaw, selectDeviceId, selectEmbeddableRoomIntegrations, selectEnabledRoomIntegrations, selectFileShareRaw, selectFileShareRequestInFlight, selectFileUploads, selectHasFetchedDeviceCredentials, selectIsAcceptingStreams, selectIsAudioOnlyModeEnabled, selectIsAuthorizedToAskToSpeak, selectIsAuthorizedToEndMeeting, selectIsAuthorizedToKickClient, selectIsAuthorizedToLockRoom, selectIsAuthorizedToManageBreakout, selectIsAuthorizedToManageRoomIntegration, selectIsAuthorizedToRequestAudioEnable, selectIsAuthorizedToRequestScreenshareEnable, selectIsAuthorizedToRequestVideoEnable, selectIsAuthorizedToSpotlight, selectIsCameraEnabled, selectIsCloudRecording, selectIsHDModeEnabled, selectIsLiveCaptions, selectIsLiveTranscription, selectIsLocalMediaStarting, selectIsLocalParticipantSpotlighted, selectIsLowDataModeEnabled, selectIsMicrophoneEnabled, selectIsRoomIntegrationRunning, selectIsSettingCameraDevice, selectIsSettingMicrophoneDevice, selectIsToggleCamera, selectIsWidescreenModeEnabled, selectLiveCaptionsError, selectLiveCaptionsLog, selectLiveCaptionsRaw, selectLiveCaptionsStartedAt, selectLiveCaptionsStatus, selectLiveTranscriptionError, selectLiveTranscriptionIsInitiator, selectLiveTranscriptionRaw, selectLiveTranscriptionStartedAt, selectLiveTranscriptionStatus, selectLocalCallQualityScore, selectLocalMediaBeforeEffectTracks, selectLocalMediaConstraintsOptions, selectLocalMediaDevices, selectLocalMediaIsSwitchingStream, selectLocalMediaOptions, selectLocalMediaOwnsStream, selectLocalMediaRaw, selectLocalMediaShouldStartWithOptions, selectLocalMediaShouldStop, selectLocalMediaStartError, selectLocalMediaStatus, selectLocalMediaStream, selectLocalParticipantBreakoutAssigned, selectLocalParticipantBreakoutGroup, selectLocalParticipantClientClaim, selectLocalParticipantDisplayName, selectLocalParticipantQualityReport, selectLocalParticipantRaw, selectLocalParticipantStickyReaction, selectLocalParticipantView, selectLocalScreenshareError, selectLocalScreenshareRaw, selectLocalScreenshareStartedAt, selectLocalScreenshareStatus, selectLocalScreenshareStream, selectMicrophoneDeviceError, selectMicrophoneDevices, selectNotificationsEmitter, selectNotificationsEvents, selectNotificationsRaw, selectNumClients, selectNumParticipants, selectOrganizationId, selectOrganizationPreferences, selectOrganizationRaw, selectRemoteCallQualityScores, selectRemoteClientViews, selectRemoteClients, selectRemoteParticipantQualityReport, selectRemoteParticipants, selectRemoteParticipantsRaw, selectRemoteScreenshareVideoTrackIds, selectRoomConnectionError, selectRoomConnectionIsRejoining, selectRoomConnectionKnockResponse, selectRoomConnectionRaw, selectRoomConnectionSession, selectRoomConnectionSessionId, selectRoomConnectionStatus, selectRoomIntegrationForUrl, selectRoomIntegrationsEnabled, selectRoomIntegrationsError, selectRoomIntegrationsHasFetched, selectRoomIntegrationsIsFetching, selectRoomIntegrationsRaw, selectRoomIsLocked, selectRoomKey, selectRoomMode, selectRtcConnectionRaw, selectRtcDispatcherCreated, selectRtcIsCreatingDispatcher, selectRtcManager, selectRtcManagerInitialized, selectRtcStatus, selectRunningRoomIntegrations, selectScreenshares, selectSelfId, selectShouldApplyInitialMuteStates, selectShouldConnectRoom, selectShouldConnectRtc, selectShouldConnectSignal, selectShouldDisconnectRtc, selectShouldFetchDeviceCredentials, selectShouldFetchOrganization, selectShouldFetchRoomIntegrations, selectShouldIdentifyDevice, selectShouldInitializeRtc, selectShouldStartConnectionMonitor, selectShouldStopConnectionMonitor, selectSignalConnectionDeviceIdentified, selectSignalConnectionRaw, selectSignalConnectionSocket, selectSignalIsIdentifyingDevice, selectSignalStatus, selectSpeakerDevices, selectSpotlightedClientViews, selectSpotlights, selectSpotlightsRaw, selectStopCallbackFunction, selectStreamingRaw, selectStreamsToAccept, selectUnavailableRoomIntegrations, selectWaitingParticipants, selectWaitingParticipantsRaw, setBreakoutError, setBreakoutGroupAssigned, setCurrentCameraDeviceId, setCurrentMicrophoneDeviceId, setCurrentSpeakerDeviceId, setDisplayName, setLocalMediaOptions, setLocalMediaStream, setRoomIntegrationsError, setRoomKey, signalConnectionSlice, signalConnectionSliceInitialState, signalEvents, socketConnected, socketConnecting, socketDisconnected, socketReconnecting, spotlightsSlice, spotlightsSliceInitialState, startAppListening, stopScreenshare, streamIdForClient, streamStatusUpdated, streamingSlice, streamingSliceInitialState, toggleCameraEnabled, toggleHdModeEnabled, toggleLowDataModeEnabled, toggleMicrophoneEnabled, toggleWidescreenModeEnabled, transcribingRequestStarted, updateLocalCallQualityScore, updateRemoteCallQualityScores, updateReportedValues, waitingParticipantsSlice, waitingParticipantsSliceInitialState };
|
|
7662
|
-
export type { AppConfig, AppDispatch, AppReducer, AppStartListening, AppState, AppThunk, AuthorizationState, BreakoutGroupAssignedEvent, BreakoutGroupAssignedEventProps, BreakoutSessionSettings, BreakoutState, BreakoutTimerEvent, BreakoutTimerEventProps, CPUQualityLevel, CallQualityLevel, CallQualityScore, ChatMessage, ChatMessageEvent, ChatMessageEventProps, ChatState, ClientView, CloudRecordingState, ConnectionMonitorReport, ConnectionMonitorStart, ConnectionMonitorState, ConnectionStatus, DeviceCredentialsState, FileShareError, FileShareState, FileUpload, InitialMuteStates, LiveCaptionsState, LiveTranscriptionState, LocalCallQualityScore, LocalMediaOptions, LocalMediaState, LocalParticipantQualityReport, LocalParticipantState, LocalScreenshareState, MediaQualityScores, Notification, NotificationEvent, NotificationEventMap, NotificationEvents, NotificationsEventEmitter, NotificationsState, OrganizationState, ReconnectedEvent, ReconnectedEventProps, ReconnectingEvent, ReconnectingEventProps, RemoteCallQualityScores, RemoteParticipantQualityReport, RemoteParticipantSliceState, RequestAudioEvent, RequestAudioEventProps, RequestScreenshareEvent, RequestScreenshareEventProps, RequestVideoEvent, RequestVideoEventProps, RoomConnectionState, RoomIntegration, RoomIntegrationError, RoomIntegrationErrorDetail, RoomIntegrationPickerResult, RoomIntegrationSession, RoomIntegrationSessionView, RoomIntegrationsState, RoomRejoinedPayload, RoomState, RootState, RtcConnectionState, SendFilesOptions, SignalClientEvent, SignalClientEventProps, SignalConnectionState, SignalStatusEvent, SignalStatusEventProps, SpotlightsState, StartBreakoutSessionOptions, StickyReactionEvent, StickyReactionEventProps, Store, StreamingState, ThunkConfig, ToggleAudioOnlyModeOptions, UpdateBreakoutSessionOptions, WaitingParticipantsState, rtcAnalyticsState };
|
|
7668
|
+
export type { AppConfig, AppDispatch, AppReducer, AppStartListening, AppState, AppThunk, AuthorizationState, BreakoutGroupAssignedEvent, BreakoutGroupAssignedEventProps, BreakoutSessionSettings, BreakoutState, BreakoutTimerEvent, BreakoutTimerEventProps, CPUQualityLevel, CallQualityLevel, CallQualityScore, ChatMessage, ChatMessageEvent, ChatMessageEventProps, ChatState, ClientView, CloudRecordingState, ConnectionMonitorReport, ConnectionMonitorStart, ConnectionMonitorState, ConnectionStatus, DeviceCredentialsState, FileShareError, FileShareState, FileUpload, InitialMuteStates, LiveCaptionsState, LiveTranscriptionState, LocalCallQualityScore, LocalMediaOptions, LocalMediaState, LocalParticipantQualityReport, LocalParticipantState, LocalScreenshareState, MediaQualityScores, Notification, NotificationEvent, NotificationEventMap, NotificationEvents, NotificationsEventEmitter, NotificationsState, OrganizationState, ReconnectedEvent, ReconnectedEventProps, ReconnectingEvent, ReconnectingEventProps, RemoteCallQualityScores, RemoteParticipantQualityReport, RemoteParticipantSliceState, RequestAudioEvent, RequestAudioEventProps, RequestScreenshareEvent, RequestScreenshareEventProps, RequestVideoEvent, RequestVideoEventProps, RoomConnectionState, RoomIntegration, RoomIntegrationError, RoomIntegrationErrorDetail, RoomIntegrationPickerResult, RoomIntegrationSession, RoomIntegrationSessionView, RoomIntegrationsState, RoomRejoinedPayload, RoomState, RootState, RtcConnectionState, SendFilesOptions, ServicesOptions, SignalClientEvent, SignalClientEventProps, SignalConnectionState, SignalStatusEvent, SignalStatusEventProps, SpotlightsState, StartBreakoutSessionOptions, StickyReactionEvent, StickyReactionEventProps, Store, StreamingState, ThunkConfig, ToggleAudioOnlyModeOptions, UpdateBreakoutSessionOptions, WaitingParticipantsState, rtcAnalyticsState };
|
package/dist/redux/index.d.ts
CHANGED
|
@@ -7418,12 +7418,17 @@ declare const selectSpotlightedClientViews: ((state: {
|
|
|
7418
7418
|
memoize: typeof reselect.weakMapMemoize;
|
|
7419
7419
|
};
|
|
7420
7420
|
|
|
7421
|
-
|
|
7421
|
+
interface ServicesOptions {
|
|
7422
|
+
apiBaseUrl?: string;
|
|
7423
|
+
signalBaseUrl?: string;
|
|
7424
|
+
}
|
|
7425
|
+
declare function createServices({ apiBaseUrl, signalBaseUrl }?: ServicesOptions): {
|
|
7422
7426
|
credentialsService: CredentialsService;
|
|
7423
7427
|
apiClient: ApiClient;
|
|
7424
7428
|
organizationService: OrganizationService;
|
|
7425
7429
|
roomIntegrationService: RoomIntegrationService;
|
|
7426
7430
|
fetchOrganizationFromRoomUrl: (roomUrl: string) => Promise<Organization | null>;
|
|
7431
|
+
signalBaseUrl: string;
|
|
7427
7432
|
};
|
|
7428
7433
|
|
|
7429
7434
|
declare const appReducer: redux.Reducer<{
|
|
@@ -7551,6 +7556,7 @@ declare const createStore: ({ preloadedState, injectServices, }: {
|
|
|
7551
7556
|
organizationService: OrganizationService;
|
|
7552
7557
|
roomIntegrationService: RoomIntegrationService;
|
|
7553
7558
|
fetchOrganizationFromRoomUrl: (roomUrl: string) => Promise<Organization | null>;
|
|
7559
|
+
signalBaseUrl: string;
|
|
7554
7560
|
};
|
|
7555
7561
|
}, redux.UnknownAction>;
|
|
7556
7562
|
}>, redux.StoreEnhancer]>>;
|
|
@@ -7659,4 +7665,4 @@ declare const selectRoomConnectionKnockResponse: (state: RootState) => _whereby_
|
|
|
7659
7665
|
declare const selectRoomConnectionIsRejoining: (state: RootState) => boolean;
|
|
7660
7666
|
|
|
7661
7667
|
export { ACCEPTED_FILE_TYPES, BREAKOUT_GROUPS_MIN_MAX, BREAKOUT_UNAVAILABLE_ERROR, CALL_QUALITY_LEVELS, DEFAULT_BREAKOUT_TIMER_DURATION, IN_CALL_QUALITY_LEVELS, MAX_FILES_PER_UPLOAD, MAX_FILE_SIZE, ROOM_INTEGRATION_PICKER_MESSAGES, addAppListener, addSpotlight, appSlice, audioOnlyModeToggled, authorizationSlice, authorizationSliceInitialState, breakoutSlice, breakoutSliceInitialState, captioningRequestStarted, chatSlice, chatSliceInitialState, clearCaption, clearFileUploads, cloudRecordingSlice, connectionMonitorReportUpdated, connectionMonitorSlice, connectionMonitorSliceInitialState, connectionMonitorStarted, connectionMonitorStopped, createAppAsyncThunk, createAppAuthorizedThunk, createAppThunk, createAsyncRoomConnectedThunk, createAuthorizedRoomConnectedThunk, createBreakoutGroups, createNotificationEvent, createReactor, createRemoteParticipant, createRoomConnectedThunk, createServices, createStore, createWebRtcEmitter, defaultBreakoutGroupName, deviceBusy, deviceCredentialsSlice, deviceCredentialsSliceInitialState, deviceIdentified, deviceIdentifying, doAcceptWaitingParticipant, doAppStart, doAppStop, doAssignAllBreakoutParticipants, doAssignBreakoutParticipants, doBreakoutJoin, doCancelKnock, doClearNotifications, doConnectRoom, doConnectRtc, doDisconnectRtc, doDownloadFile, doEnableAudio, doEnableVideo, doEndMeeting, doExtendBreakoutTimer, doFetchRoomIntegrations, doGetDeviceCredentials, doHandleAcceptStreams, doHandleStreamingStarted, doHandleStreamingStopped, doHoldWaitingParticipant, doKickParticipant, doKnockRoom, doLocalStreamEffect, doLockRoom, doOrganizationFetch, doRejectWaitingParticipant, doRemoveChatMessage, doRemoveSpotlight, doRequestAudioEnable, doRequestScreenshareEnable, doRequestVideoEnable, doRtcAnalyticsCustomEventsInitialize, doRtcManagerCreated, doRtcManagerInitialize, doRtcReportStreamResolution, doSendChatMessage, doSendClientMetadata, doSendFiles, doSetDevice, doSetDisplayName, doSetLocalCallQualityScore, doSetLocalStickyReaction, doSetNotification, doSetRemoteCallQualityScores, doShuffleBreakoutParticipants, doSignalConnect, doSignalDisconnect, doSignalIdentifyDevice, doSpotlightParticipant, doStartBreakoutSession, doStartCloudRecording, doStartConnectionMonitor, doStartLiveCaptions, doStartLiveTranscription, doStartLocalMedia, doStartRoomIntegration, doStartScreenshare, doStopBreakoutSession, doStopBreakoutTimer, doStopCloudRecording, doStopConnectionMonitor, doStopLiveCaptions, doStopLiveTranscription, doStopLocalMedia, doStopRoomIntegration, doStopScreenshare, doSwitchLocalStream, doToggleAudioOnlyMode, doToggleCamera, doTriggerLocalStreamRefresh, doUnassignAllBreakoutParticipants, doUpdateBreakoutSession, doUpdateConnectionMonitorReport, doUpdateDeviceList, doUpdateRoomIntegrationProps, fileShareRequestSettled, fileShareSlice, fileShareSliceInitialState, fileUploadFailed, fileUploadSucceeded, fileUploadsStarted, initialCloudRecordingState, initialLiveCaptionsState, initialLiveTranscriptionState, initialLocalMediaState, initialNotificationsState, initialState, isAcceptingStreams, isClientSpotlighted, listenerMiddleware, liveCaptionsSlice, liveTranscriptionSlice, localMediaSlice, localMediaStopped, localParticipantSlice, localParticipantSliceInitialState, localScreenshareSlice, localScreenshareSliceInitialState, localStreamMetadataUpdated, notificationsSlice, observeStore, organizationSlice, organizationSliceInitialState, parseRoomIntegration, parseRoomIntegrationSession, participantStreamAdded, participantStreamIdAdded, recordingRequestStarted, remoteParticipantsSlice, remoteParticipantsSliceInitialState, removeSpotlight, resolutionReported, roomConnectionSlice, roomConnectionSliceInitialState, roomIntegrationPickerUrl, roomIntegrationSignalError, roomIntegrationsSlice, roomIntegrationsSliceInitialState, roomRejoined, roomSlice, roomSliceInitialState, rootReducer, rtcAnalyticsCustomEvents, rtcAnalyticsSlice, rtcAnalyticsSliceInitialState, rtcClientConnectionStatusChanged, rtcConnectionSlice, rtcConnectionSliceInitialState, rtcDisconnected, rtcDispatcherCreated, rtcEvents, rtcManagerCreated, rtcManagerDestroyed, rtcManagerInitialized, selectAllClientViews, selectAllClientViewsInCurrentGroup, selectAppDisplayName, selectAppExternalId, selectAppIgnoreBreakoutGroups, selectAppInitialConfig, selectAppInitialMuteStates, selectAppIsActive, selectAppIsAssistant, selectAppIsAudioRecorder, selectAppIsDialIn, selectAppIsNodeSdk, selectAppRaw, selectAppRoomName, selectAppRoomUrl, selectAppUserAgent, selectAssistantKey, selectAuthorizationRoleName, selectAvailableRoomIntegrations, selectBreakoutActive, selectBreakoutAssignments, selectBreakoutAutoMoveToGroup, selectBreakoutAutoMoveToMain, selectBreakoutCurrentGroup, selectBreakoutCurrentId, selectBreakoutEndTime, selectBreakoutEnforceAssignment, selectBreakoutError, selectBreakoutGroupedParticipants, selectBreakoutGroups, selectBreakoutInitiatedBy, selectBreakoutIsAvailable, selectBreakoutMoveToGroupAt, selectBreakoutMoveToGroupGracePeriod, selectBreakoutMoveToMainAt, selectBreakoutMoveToMainGracePeriod, selectBreakoutRaw, selectBreakoutStartedAt, selectBreakoutTimerDuration, selectBreakoutTimerSetting, selectBusyDeviceIds, selectCalculatedLocalCallQualityScore, selectCalculatedRemoteCallQualityScores, selectCameraDeviceError, selectCameraDevices, selectChatMessages, selectChatRaw, selectCloudRecordingError, selectCloudRecordingIsInitiator, selectCloudRecordingRaw, selectCloudRecordingStartedAt, selectCloudRecordingStatus, selectConnectionMediaQualityScores, selectConnectionMonitorIsRunning, selectConnectionMonitorIssuesReport, selectCurrentCameraDeviceId, selectCurrentMicrophoneDeviceId, selectCurrentSpeakerDeviceId, selectDeviceCredentialsRaw, selectDeviceId, selectEmbeddableRoomIntegrations, selectEnabledRoomIntegrations, selectFileShareRaw, selectFileShareRequestInFlight, selectFileUploads, selectHasFetchedDeviceCredentials, selectIsAcceptingStreams, selectIsAudioOnlyModeEnabled, selectIsAuthorizedToAskToSpeak, selectIsAuthorizedToEndMeeting, selectIsAuthorizedToKickClient, selectIsAuthorizedToLockRoom, selectIsAuthorizedToManageBreakout, selectIsAuthorizedToManageRoomIntegration, selectIsAuthorizedToRequestAudioEnable, selectIsAuthorizedToRequestScreenshareEnable, selectIsAuthorizedToRequestVideoEnable, selectIsAuthorizedToSpotlight, selectIsCameraEnabled, selectIsCloudRecording, selectIsHDModeEnabled, selectIsLiveCaptions, selectIsLiveTranscription, selectIsLocalMediaStarting, selectIsLocalParticipantSpotlighted, selectIsLowDataModeEnabled, selectIsMicrophoneEnabled, selectIsRoomIntegrationRunning, selectIsSettingCameraDevice, selectIsSettingMicrophoneDevice, selectIsToggleCamera, selectIsWidescreenModeEnabled, selectLiveCaptionsError, selectLiveCaptionsLog, selectLiveCaptionsRaw, selectLiveCaptionsStartedAt, selectLiveCaptionsStatus, selectLiveTranscriptionError, selectLiveTranscriptionIsInitiator, selectLiveTranscriptionRaw, selectLiveTranscriptionStartedAt, selectLiveTranscriptionStatus, selectLocalCallQualityScore, selectLocalMediaBeforeEffectTracks, selectLocalMediaConstraintsOptions, selectLocalMediaDevices, selectLocalMediaIsSwitchingStream, selectLocalMediaOptions, selectLocalMediaOwnsStream, selectLocalMediaRaw, selectLocalMediaShouldStartWithOptions, selectLocalMediaShouldStop, selectLocalMediaStartError, selectLocalMediaStatus, selectLocalMediaStream, selectLocalParticipantBreakoutAssigned, selectLocalParticipantBreakoutGroup, selectLocalParticipantClientClaim, selectLocalParticipantDisplayName, selectLocalParticipantQualityReport, selectLocalParticipantRaw, selectLocalParticipantStickyReaction, selectLocalParticipantView, selectLocalScreenshareError, selectLocalScreenshareRaw, selectLocalScreenshareStartedAt, selectLocalScreenshareStatus, selectLocalScreenshareStream, selectMicrophoneDeviceError, selectMicrophoneDevices, selectNotificationsEmitter, selectNotificationsEvents, selectNotificationsRaw, selectNumClients, selectNumParticipants, selectOrganizationId, selectOrganizationPreferences, selectOrganizationRaw, selectRemoteCallQualityScores, selectRemoteClientViews, selectRemoteClients, selectRemoteParticipantQualityReport, selectRemoteParticipants, selectRemoteParticipantsRaw, selectRemoteScreenshareVideoTrackIds, selectRoomConnectionError, selectRoomConnectionIsRejoining, selectRoomConnectionKnockResponse, selectRoomConnectionRaw, selectRoomConnectionSession, selectRoomConnectionSessionId, selectRoomConnectionStatus, selectRoomIntegrationForUrl, selectRoomIntegrationsEnabled, selectRoomIntegrationsError, selectRoomIntegrationsHasFetched, selectRoomIntegrationsIsFetching, selectRoomIntegrationsRaw, selectRoomIsLocked, selectRoomKey, selectRoomMode, selectRtcConnectionRaw, selectRtcDispatcherCreated, selectRtcIsCreatingDispatcher, selectRtcManager, selectRtcManagerInitialized, selectRtcStatus, selectRunningRoomIntegrations, selectScreenshares, selectSelfId, selectShouldApplyInitialMuteStates, selectShouldConnectRoom, selectShouldConnectRtc, selectShouldConnectSignal, selectShouldDisconnectRtc, selectShouldFetchDeviceCredentials, selectShouldFetchOrganization, selectShouldFetchRoomIntegrations, selectShouldIdentifyDevice, selectShouldInitializeRtc, selectShouldStartConnectionMonitor, selectShouldStopConnectionMonitor, selectSignalConnectionDeviceIdentified, selectSignalConnectionRaw, selectSignalConnectionSocket, selectSignalIsIdentifyingDevice, selectSignalStatus, selectSpeakerDevices, selectSpotlightedClientViews, selectSpotlights, selectSpotlightsRaw, selectStopCallbackFunction, selectStreamingRaw, selectStreamsToAccept, selectUnavailableRoomIntegrations, selectWaitingParticipants, selectWaitingParticipantsRaw, setBreakoutError, setBreakoutGroupAssigned, setCurrentCameraDeviceId, setCurrentMicrophoneDeviceId, setCurrentSpeakerDeviceId, setDisplayName, setLocalMediaOptions, setLocalMediaStream, setRoomIntegrationsError, setRoomKey, signalConnectionSlice, signalConnectionSliceInitialState, signalEvents, socketConnected, socketConnecting, socketDisconnected, socketReconnecting, spotlightsSlice, spotlightsSliceInitialState, startAppListening, stopScreenshare, streamIdForClient, streamStatusUpdated, streamingSlice, streamingSliceInitialState, toggleCameraEnabled, toggleHdModeEnabled, toggleLowDataModeEnabled, toggleMicrophoneEnabled, toggleWidescreenModeEnabled, transcribingRequestStarted, updateLocalCallQualityScore, updateRemoteCallQualityScores, updateReportedValues, waitingParticipantsSlice, waitingParticipantsSliceInitialState };
|
|
7662
|
-
export type { AppConfig, AppDispatch, AppReducer, AppStartListening, AppState, AppThunk, AuthorizationState, BreakoutGroupAssignedEvent, BreakoutGroupAssignedEventProps, BreakoutSessionSettings, BreakoutState, BreakoutTimerEvent, BreakoutTimerEventProps, CPUQualityLevel, CallQualityLevel, CallQualityScore, ChatMessage, ChatMessageEvent, ChatMessageEventProps, ChatState, ClientView, CloudRecordingState, ConnectionMonitorReport, ConnectionMonitorStart, ConnectionMonitorState, ConnectionStatus, DeviceCredentialsState, FileShareError, FileShareState, FileUpload, InitialMuteStates, LiveCaptionsState, LiveTranscriptionState, LocalCallQualityScore, LocalMediaOptions, LocalMediaState, LocalParticipantQualityReport, LocalParticipantState, LocalScreenshareState, MediaQualityScores, Notification, NotificationEvent, NotificationEventMap, NotificationEvents, NotificationsEventEmitter, NotificationsState, OrganizationState, ReconnectedEvent, ReconnectedEventProps, ReconnectingEvent, ReconnectingEventProps, RemoteCallQualityScores, RemoteParticipantQualityReport, RemoteParticipantSliceState, RequestAudioEvent, RequestAudioEventProps, RequestScreenshareEvent, RequestScreenshareEventProps, RequestVideoEvent, RequestVideoEventProps, RoomConnectionState, RoomIntegration, RoomIntegrationError, RoomIntegrationErrorDetail, RoomIntegrationPickerResult, RoomIntegrationSession, RoomIntegrationSessionView, RoomIntegrationsState, RoomRejoinedPayload, RoomState, RootState, RtcConnectionState, SendFilesOptions, SignalClientEvent, SignalClientEventProps, SignalConnectionState, SignalStatusEvent, SignalStatusEventProps, SpotlightsState, StartBreakoutSessionOptions, StickyReactionEvent, StickyReactionEventProps, Store, StreamingState, ThunkConfig, ToggleAudioOnlyModeOptions, UpdateBreakoutSessionOptions, WaitingParticipantsState, rtcAnalyticsState };
|
|
7668
|
+
export type { AppConfig, AppDispatch, AppReducer, AppStartListening, AppState, AppThunk, AuthorizationState, BreakoutGroupAssignedEvent, BreakoutGroupAssignedEventProps, BreakoutSessionSettings, BreakoutState, BreakoutTimerEvent, BreakoutTimerEventProps, CPUQualityLevel, CallQualityLevel, CallQualityScore, ChatMessage, ChatMessageEvent, ChatMessageEventProps, ChatState, ClientView, CloudRecordingState, ConnectionMonitorReport, ConnectionMonitorStart, ConnectionMonitorState, ConnectionStatus, DeviceCredentialsState, FileShareError, FileShareState, FileUpload, InitialMuteStates, LiveCaptionsState, LiveTranscriptionState, LocalCallQualityScore, LocalMediaOptions, LocalMediaState, LocalParticipantQualityReport, LocalParticipantState, LocalScreenshareState, MediaQualityScores, Notification, NotificationEvent, NotificationEventMap, NotificationEvents, NotificationsEventEmitter, NotificationsState, OrganizationState, ReconnectedEvent, ReconnectedEventProps, ReconnectingEvent, ReconnectingEventProps, RemoteCallQualityScores, RemoteParticipantQualityReport, RemoteParticipantSliceState, RequestAudioEvent, RequestAudioEventProps, RequestScreenshareEvent, RequestScreenshareEventProps, RequestVideoEvent, RequestVideoEventProps, RoomConnectionState, RoomIntegration, RoomIntegrationError, RoomIntegrationErrorDetail, RoomIntegrationPickerResult, RoomIntegrationSession, RoomIntegrationSessionView, RoomIntegrationsState, RoomRejoinedPayload, RoomState, RootState, RtcConnectionState, SendFilesOptions, ServicesOptions, SignalClientEvent, SignalClientEventProps, SignalConnectionState, SignalStatusEvent, SignalStatusEventProps, SpotlightsState, StartBreakoutSessionOptions, StickyReactionEvent, StickyReactionEventProps, Store, StreamingState, ThunkConfig, ToggleAudioOnlyModeOptions, UpdateBreakoutSessionOptions, WaitingParticipantsState, rtcAnalyticsState };
|
package/dist/redux/index.js
CHANGED
|
@@ -74,7 +74,7 @@ const createReactor = (selectors, callback) => {
|
|
|
74
74
|
});
|
|
75
75
|
};
|
|
76
76
|
|
|
77
|
-
const coreVersion = "1.
|
|
77
|
+
const coreVersion = "1.30.0";
|
|
78
78
|
|
|
79
79
|
function decodeRoomName(roomName) {
|
|
80
80
|
if (!roomName) {
|
|
@@ -384,9 +384,8 @@ function forwardSocketEvents(socket, dispatch) {
|
|
|
384
384
|
socket.on("breakout_timer_ended", () => dispatch(signalEvents.breakoutTimerEnded()));
|
|
385
385
|
socket.on("breakout_timer_extended", () => dispatch(signalEvents.breakoutTimerExtended()));
|
|
386
386
|
}
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
const parsedUrl = new URL(SIGNAL_BASE_URL);
|
|
387
|
+
function createSocket(signalBaseUrl) {
|
|
388
|
+
const parsedUrl = new URL(signalBaseUrl);
|
|
390
389
|
const socketHost = parsedUrl.origin;
|
|
391
390
|
const socketOverrides = {
|
|
392
391
|
autoConnect: false,
|
|
@@ -430,12 +429,12 @@ const signalConnectionSlice = createSlice({
|
|
|
430
429
|
});
|
|
431
430
|
const { deviceIdentifying, deviceIdentified, socketConnected, socketConnecting, socketDisconnected, socketReconnecting, } = signalConnectionSlice.actions;
|
|
432
431
|
const doSignalConnect = createAppThunk(() => {
|
|
433
|
-
return (dispatch, getState) => {
|
|
432
|
+
return (dispatch, getState, { services }) => {
|
|
434
433
|
if (selectSignalConnectionSocket(getState())) {
|
|
435
434
|
return;
|
|
436
435
|
}
|
|
437
436
|
dispatch(socketConnecting());
|
|
438
|
-
const socket = createSocket();
|
|
437
|
+
const socket = createSocket(services.signalBaseUrl);
|
|
439
438
|
socket.on("connect", () => dispatch(socketConnected(socket)));
|
|
440
439
|
socket.on("device_identified", () => dispatch(deviceIdentified()));
|
|
441
440
|
socket.getManager().on("reconnect", () => dispatch(socketReconnecting()));
|
|
@@ -766,6 +765,8 @@ const doUpdateDeviceList = createAppAsyncThunk("localMedia/doUpdateDeviceList",
|
|
|
766
765
|
const { changedDevices, addedDevices } = getUpdatedDevices({
|
|
767
766
|
oldDevices,
|
|
768
767
|
newDevices,
|
|
768
|
+
currentAudioId: selectCurrentMicrophoneDeviceId(state),
|
|
769
|
+
currentVideoId: selectCurrentCameraDeviceId(state),
|
|
769
770
|
});
|
|
770
771
|
let autoSwitchAudioId = (_b = changedDevices.audioinput) === null || _b === void 0 ? void 0 : _b.deviceId;
|
|
771
772
|
let autoSwitchVideoId = (_c = changedDevices.videoinput) === null || _c === void 0 ? void 0 : _c.deviceId;
|
|
@@ -775,6 +776,12 @@ const doUpdateDeviceList = createAppAsyncThunk("localMedia/doUpdateDeviceList",
|
|
|
775
776
|
if (autoSwitchVideoId === undefined) {
|
|
776
777
|
autoSwitchVideoId = (_e = addedDevices.videoinput) === null || _e === void 0 ? void 0 : _e.deviceId;
|
|
777
778
|
}
|
|
779
|
+
if (!selectIsMicrophoneEnabled(getState())) {
|
|
780
|
+
autoSwitchAudioId = undefined;
|
|
781
|
+
}
|
|
782
|
+
if (!selectIsCameraEnabled(getState())) {
|
|
783
|
+
autoSwitchVideoId = undefined;
|
|
784
|
+
}
|
|
778
785
|
if (autoSwitchAudioId !== undefined || autoSwitchVideoId !== undefined) {
|
|
779
786
|
dispatch(doSwitchLocalStream({ audioId: autoSwitchAudioId, videoId: autoSwitchVideoId }));
|
|
780
787
|
}
|
|
@@ -5599,13 +5606,15 @@ class RoomIntegrationService {
|
|
|
5599
5606
|
}
|
|
5600
5607
|
|
|
5601
5608
|
const API_BASE_URL = "https://api.whereby.dev";
|
|
5602
|
-
|
|
5609
|
+
const SIGNAL_BASE_URL = "wss://signal.appearin.net";
|
|
5610
|
+
function createServices({ apiBaseUrl, signalBaseUrl } = {}) {
|
|
5611
|
+
const resolvedApiBaseUrl = apiBaseUrl || API_BASE_URL;
|
|
5603
5612
|
const credentialsService = CredentialsService.create({
|
|
5604
|
-
baseUrl:
|
|
5613
|
+
baseUrl: resolvedApiBaseUrl,
|
|
5605
5614
|
});
|
|
5606
5615
|
const apiClient = new ApiClient({
|
|
5607
5616
|
fetchDeviceCredentials: credentialsService.getCredentials.bind(credentialsService),
|
|
5608
|
-
baseUrl:
|
|
5617
|
+
baseUrl: resolvedApiBaseUrl,
|
|
5609
5618
|
});
|
|
5610
5619
|
const organizationService = new OrganizationService({ apiClient });
|
|
5611
5620
|
const roomIntegrationService = new RoomIntegrationService({ apiClient });
|
|
@@ -5624,6 +5633,7 @@ function createServices() {
|
|
|
5624
5633
|
organizationService,
|
|
5625
5634
|
roomIntegrationService,
|
|
5626
5635
|
fetchOrganizationFromRoomUrl,
|
|
5636
|
+
signalBaseUrl: signalBaseUrl || SIGNAL_BASE_URL || "wss://signal.appearin.net",
|
|
5627
5637
|
};
|
|
5628
5638
|
}
|
|
5629
5639
|
|
package/dist/redux/index.mjs
CHANGED
|
@@ -74,7 +74,7 @@ const createReactor = (selectors, callback) => {
|
|
|
74
74
|
});
|
|
75
75
|
};
|
|
76
76
|
|
|
77
|
-
const coreVersion = "1.
|
|
77
|
+
const coreVersion = "1.30.0";
|
|
78
78
|
|
|
79
79
|
function decodeRoomName(roomName) {
|
|
80
80
|
if (!roomName) {
|
|
@@ -384,9 +384,8 @@ function forwardSocketEvents(socket, dispatch) {
|
|
|
384
384
|
socket.on("breakout_timer_ended", () => dispatch(signalEvents.breakoutTimerEnded()));
|
|
385
385
|
socket.on("breakout_timer_extended", () => dispatch(signalEvents.breakoutTimerExtended()));
|
|
386
386
|
}
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
const parsedUrl = new URL(SIGNAL_BASE_URL);
|
|
387
|
+
function createSocket(signalBaseUrl) {
|
|
388
|
+
const parsedUrl = new URL(signalBaseUrl);
|
|
390
389
|
const socketHost = parsedUrl.origin;
|
|
391
390
|
const socketOverrides = {
|
|
392
391
|
autoConnect: false,
|
|
@@ -430,12 +429,12 @@ const signalConnectionSlice = createSlice({
|
|
|
430
429
|
});
|
|
431
430
|
const { deviceIdentifying, deviceIdentified, socketConnected, socketConnecting, socketDisconnected, socketReconnecting, } = signalConnectionSlice.actions;
|
|
432
431
|
const doSignalConnect = createAppThunk(() => {
|
|
433
|
-
return (dispatch, getState) => {
|
|
432
|
+
return (dispatch, getState, { services }) => {
|
|
434
433
|
if (selectSignalConnectionSocket(getState())) {
|
|
435
434
|
return;
|
|
436
435
|
}
|
|
437
436
|
dispatch(socketConnecting());
|
|
438
|
-
const socket = createSocket();
|
|
437
|
+
const socket = createSocket(services.signalBaseUrl);
|
|
439
438
|
socket.on("connect", () => dispatch(socketConnected(socket)));
|
|
440
439
|
socket.on("device_identified", () => dispatch(deviceIdentified()));
|
|
441
440
|
socket.getManager().on("reconnect", () => dispatch(socketReconnecting()));
|
|
@@ -766,6 +765,8 @@ const doUpdateDeviceList = createAppAsyncThunk("localMedia/doUpdateDeviceList",
|
|
|
766
765
|
const { changedDevices, addedDevices } = getUpdatedDevices({
|
|
767
766
|
oldDevices,
|
|
768
767
|
newDevices,
|
|
768
|
+
currentAudioId: selectCurrentMicrophoneDeviceId(state),
|
|
769
|
+
currentVideoId: selectCurrentCameraDeviceId(state),
|
|
769
770
|
});
|
|
770
771
|
let autoSwitchAudioId = (_b = changedDevices.audioinput) === null || _b === void 0 ? void 0 : _b.deviceId;
|
|
771
772
|
let autoSwitchVideoId = (_c = changedDevices.videoinput) === null || _c === void 0 ? void 0 : _c.deviceId;
|
|
@@ -775,6 +776,12 @@ const doUpdateDeviceList = createAppAsyncThunk("localMedia/doUpdateDeviceList",
|
|
|
775
776
|
if (autoSwitchVideoId === undefined) {
|
|
776
777
|
autoSwitchVideoId = (_e = addedDevices.videoinput) === null || _e === void 0 ? void 0 : _e.deviceId;
|
|
777
778
|
}
|
|
779
|
+
if (!selectIsMicrophoneEnabled(getState())) {
|
|
780
|
+
autoSwitchAudioId = undefined;
|
|
781
|
+
}
|
|
782
|
+
if (!selectIsCameraEnabled(getState())) {
|
|
783
|
+
autoSwitchVideoId = undefined;
|
|
784
|
+
}
|
|
778
785
|
if (autoSwitchAudioId !== undefined || autoSwitchVideoId !== undefined) {
|
|
779
786
|
dispatch(doSwitchLocalStream({ audioId: autoSwitchAudioId, videoId: autoSwitchVideoId }));
|
|
780
787
|
}
|
|
@@ -5599,13 +5606,15 @@ class RoomIntegrationService {
|
|
|
5599
5606
|
}
|
|
5600
5607
|
|
|
5601
5608
|
const API_BASE_URL = "https://api.whereby.dev";
|
|
5602
|
-
|
|
5609
|
+
const SIGNAL_BASE_URL = "wss://signal.appearin.net";
|
|
5610
|
+
function createServices({ apiBaseUrl, signalBaseUrl } = {}) {
|
|
5611
|
+
const resolvedApiBaseUrl = apiBaseUrl || API_BASE_URL;
|
|
5603
5612
|
const credentialsService = CredentialsService.create({
|
|
5604
|
-
baseUrl:
|
|
5613
|
+
baseUrl: resolvedApiBaseUrl,
|
|
5605
5614
|
});
|
|
5606
5615
|
const apiClient = new ApiClient({
|
|
5607
5616
|
fetchDeviceCredentials: credentialsService.getCredentials.bind(credentialsService),
|
|
5608
|
-
baseUrl:
|
|
5617
|
+
baseUrl: resolvedApiBaseUrl,
|
|
5609
5618
|
});
|
|
5610
5619
|
const organizationService = new OrganizationService({ apiClient });
|
|
5611
5620
|
const roomIntegrationService = new RoomIntegrationService({ apiClient });
|
|
@@ -5624,6 +5633,7 @@ function createServices() {
|
|
|
5624
5633
|
organizationService,
|
|
5625
5634
|
roomIntegrationService,
|
|
5626
5635
|
fetchOrganizationFromRoomUrl,
|
|
5636
|
+
signalBaseUrl: signalBaseUrl || SIGNAL_BASE_URL || "wss://signal.appearin.net",
|
|
5627
5637
|
};
|
|
5628
5638
|
}
|
|
5629
5639
|
|
package/package.json
CHANGED
|
@@ -2,8 +2,13 @@
|
|
|
2
2
|
"name": "@whereby.com/core",
|
|
3
3
|
"description": "Core library for whereby.com sdk",
|
|
4
4
|
"author": "Whereby AS",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.30.0",
|
|
6
6
|
"license": "MIT",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/whereby/sdk.git",
|
|
10
|
+
"directory": "packages/core"
|
|
11
|
+
},
|
|
7
12
|
"publishConfig": {
|
|
8
13
|
"access": "public"
|
|
9
14
|
},
|
|
@@ -66,9 +71,9 @@
|
|
|
66
71
|
},
|
|
67
72
|
"dependencies": {
|
|
68
73
|
"@reduxjs/toolkit": "^2.2.3",
|
|
69
|
-
"@whereby.com/media": "11.3.
|
|
70
|
-
"@whereby.com/audio-denoiser": "1.0.
|
|
71
|
-
"@whereby.com/camera-effects": "1.1.
|
|
74
|
+
"@whereby.com/media": "11.3.4",
|
|
75
|
+
"@whereby.com/audio-denoiser": "1.0.32",
|
|
76
|
+
"@whereby.com/camera-effects": "1.1.4",
|
|
72
77
|
"axios": "^1.11.0",
|
|
73
78
|
"btoa": "^1.2.1",
|
|
74
79
|
"events": "^3.3.0"
|