@whereby.com/core 0.32.11 → 0.33.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 CHANGED
@@ -75,9 +75,9 @@ const createReactor = (selectors, callback) => {
75
75
  });
76
76
  };
77
77
 
78
- const coreVersion = "0.32.11";
78
+ const coreVersion = "0.33.0";
79
79
 
80
- const initialState$h = {
80
+ const initialState = {
81
81
  isNodeSdk: false,
82
82
  isActive: false,
83
83
  isDialIn: false,
@@ -90,7 +90,7 @@ const initialState$h = {
90
90
  };
91
91
  const appSlice = toolkit.createSlice({
92
92
  name: "app",
93
- initialState: initialState$h,
93
+ initialState,
94
94
  reducers: {
95
95
  doAppStart: (state, action) => {
96
96
  const url = new URL(action.payload.roomUrl);
@@ -160,13 +160,13 @@ const ROOM_ACTION_PERMISSIONS_BY_ROLE = {
160
160
  canAskToSpeak: ["host"],
161
161
  canSpotlight: ["host"],
162
162
  };
163
- const initialState$g = {
163
+ const authorizationSliceInitialState = {
164
164
  roomKey: null,
165
165
  roleName: "none",
166
166
  };
167
167
  const authorizationSlice = toolkit.createSlice({
168
168
  name: "authorization",
169
- initialState: initialState$g,
169
+ initialState: authorizationSliceInitialState,
170
170
  reducers: {
171
171
  setRoomKey: (state, action) => {
172
172
  return Object.assign(Object.assign({}, state), { roomKey: action.payload });
@@ -177,9 +177,15 @@ const authorizationSlice = toolkit.createSlice({
177
177
  return Object.assign(Object.assign({}, state), { roomKey: action.payload.roomKey });
178
178
  });
179
179
  builder.addCase(signalEvents.roomJoined, (state, action) => {
180
- var _a, _b;
181
- const client = (_b = (_a = action.payload) === null || _a === void 0 ? void 0 : _a.room) === null || _b === void 0 ? void 0 : _b.clients.find((c) => { var _a; return c.id === ((_a = action.payload) === null || _a === void 0 ? void 0 : _a.selfId); });
182
- return Object.assign(Object.assign({}, state), { roleName: (client === null || client === void 0 ? void 0 : client.role.roleName) || "none" });
180
+ if ("error" in action.payload) {
181
+ return state;
182
+ }
183
+ const { room, selfId } = action.payload || {};
184
+ const client = room === null || room === void 0 ? void 0 : room.clients.find((c) => c.id === selfId);
185
+ if (client) {
186
+ return Object.assign(Object.assign({}, state), { roleName: (client === null || client === void 0 ? void 0 : client.role.roleName) || "none" });
187
+ }
188
+ return state;
183
189
  });
184
190
  },
185
191
  });
@@ -238,13 +244,13 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
238
244
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
239
245
  };
240
246
 
241
- const initialState$f = {
247
+ const deviceCredentialsSliceInitialState = {
242
248
  isFetching: false,
243
249
  data: null,
244
250
  };
245
251
  const deviceCredentialsSlice = toolkit.createSlice({
246
252
  name: "deviceCredentials",
247
- initialState: initialState$f,
253
+ initialState: deviceCredentialsSliceInitialState,
248
254
  reducers: {},
249
255
  extraReducers: (builder) => {
250
256
  builder.addCase(doGetDeviceCredentials.pending, (state) => {
@@ -324,7 +330,7 @@ function createSocket() {
324
330
  };
325
331
  return new media.ServerSocket(socketHost, socketOverrides);
326
332
  }
327
- const initialState$e = {
333
+ const signalConnectionSliceInitialState = {
328
334
  deviceIdentified: false,
329
335
  isIdentifyingDevice: false,
330
336
  status: "ready",
@@ -332,7 +338,7 @@ const initialState$e = {
332
338
  };
333
339
  const signalConnectionSlice = toolkit.createSlice({
334
340
  name: "signalConnection",
335
- initialState: initialState$e,
341
+ initialState: signalConnectionSliceInitialState,
336
342
  reducers: {
337
343
  socketConnecting: (state) => {
338
344
  return Object.assign(Object.assign({}, state), { status: "connecting" });
@@ -1060,15 +1066,19 @@ function createBreakout({ assignments, groups, startedAt, initiatedBy, breakoutS
1060
1066
  breakoutTimerSetting: breakoutTimerSetting || false,
1061
1067
  };
1062
1068
  }
1063
- const initialState$d = Object.assign(Object.assign({}, createBreakout()), { groupId: null });
1069
+ const breakoutSliceInitialState = Object.assign(Object.assign({}, createBreakout()), { groupId: null });
1064
1070
  const breakoutSlice = toolkit.createSlice({
1065
1071
  name: "breakout",
1066
- initialState: initialState$d,
1072
+ initialState: breakoutSliceInitialState,
1067
1073
  reducers: {},
1068
1074
  extraReducers: (builder) => {
1069
1075
  builder.addCase(signalEvents.roomJoined, (state, action) => {
1070
- if (action.payload.breakout) {
1071
- return Object.assign(Object.assign({}, state), createBreakout(action.payload.breakout));
1076
+ if ("error" in action.payload) {
1077
+ return state;
1078
+ }
1079
+ const { breakout } = action.payload || {};
1080
+ if (breakout) {
1081
+ return Object.assign(Object.assign({}, state), createBreakout(breakout));
1072
1082
  }
1073
1083
  return state;
1074
1084
  });
@@ -1135,12 +1145,12 @@ startAppListening({
1135
1145
  },
1136
1146
  });
1137
1147
 
1138
- const initialState$c = {
1148
+ const chatSliceInitialState = {
1139
1149
  chatMessages: [],
1140
1150
  };
1141
1151
  const chatSlice = toolkit.createSlice({
1142
1152
  name: "chat",
1143
- initialState: initialState$c,
1153
+ initialState: chatSliceInitialState,
1144
1154
  reducers: {},
1145
1155
  extraReducers(builder) {
1146
1156
  builder.addCase(signalEvents.chatMessage, (state, action) => {
@@ -1329,12 +1339,12 @@ function addStream(state, payload) {
1329
1339
  presentationStream: stream,
1330
1340
  });
1331
1341
  }
1332
- const initialState$b = {
1342
+ const remoteParticipantsSliceInitialState = {
1333
1343
  remoteParticipants: [],
1334
1344
  };
1335
1345
  const remoteParticipantsSlice = toolkit.createSlice({
1336
1346
  name: "remoteParticipants",
1337
- initialState: initialState$b,
1347
+ initialState: remoteParticipantsSliceInitialState,
1338
1348
  reducers: {
1339
1349
  streamStatusUpdated: (state, action) => {
1340
1350
  let newState = state;
@@ -1356,12 +1366,16 @@ const remoteParticipantsSlice = toolkit.createSlice({
1356
1366
  },
1357
1367
  extraReducers: (builder) => {
1358
1368
  builder.addCase(signalEvents.roomJoined, (state, action) => {
1359
- var _a;
1360
- if (!((_a = action.payload) === null || _a === void 0 ? void 0 : _a.room))
1369
+ if ("error" in action.payload) {
1361
1370
  return state;
1362
- const selfId = action.payload.selfId;
1363
- const { clients } = action.payload.room;
1364
- return Object.assign(Object.assign({}, state), { remoteParticipants: clients.filter((c) => c.id !== selfId).map((c) => createRemoteParticipant(c)) });
1371
+ }
1372
+ const { room, selfId } = action.payload || {};
1373
+ if (room === null || room === void 0 ? void 0 : room.clients) {
1374
+ return Object.assign(Object.assign({}, state), { remoteParticipants: room.clients
1375
+ .filter((c) => c.id !== selfId)
1376
+ .map((c) => createRemoteParticipant(c)) });
1377
+ }
1378
+ return state;
1365
1379
  });
1366
1380
  builder.addCase(rtcEvents.streamAdded, (state, action) => {
1367
1381
  return addStream(state, action.payload);
@@ -1441,14 +1455,14 @@ const selectNumParticipants = toolkit.createSelector(selectRemoteParticipants, s
1441
1455
  return clients.length + 1;
1442
1456
  });
1443
1457
 
1444
- const initialState$a = {
1458
+ const localScreenshareSliceInitialState = {
1445
1459
  status: "inactive",
1446
1460
  stream: null,
1447
1461
  error: null,
1448
1462
  };
1449
1463
  const localScreenshareSlice = toolkit.createSlice({
1450
1464
  name: "localScreenshare",
1451
- initialState: initialState$a,
1465
+ initialState: localScreenshareSliceInitialState,
1452
1466
  reducers: {
1453
1467
  stopScreenshare(state, action) {
1454
1468
  return Object.assign(Object.assign({}, state), { status: "inactive", stream: null });
@@ -1523,20 +1537,23 @@ function isStreamerClient(client) {
1523
1537
  function isRecorderClient(client) {
1524
1538
  return client.roleName === "recorder";
1525
1539
  }
1526
- const initialState$9 = {
1540
+ const roomSliceInitialState = {
1527
1541
  isLocked: false,
1528
1542
  };
1529
1543
  const roomSlice = toolkit.createSlice({
1530
1544
  name: "room",
1531
- initialState: initialState$9,
1545
+ initialState: roomSliceInitialState,
1532
1546
  reducers: {},
1533
1547
  extraReducers: (builder) => {
1534
1548
  builder.addCase(signalEvents.roomJoined, (state, action) => {
1535
- const { error, isLocked } = action.payload;
1536
- if (error) {
1549
+ if ("error" in action.payload) {
1550
+ if (action.payload.error === "room_locked") {
1551
+ return Object.assign(Object.assign({}, state), { isLocked: Boolean(action.payload.isLocked) });
1552
+ }
1537
1553
  return state;
1538
1554
  }
1539
- return Object.assign(Object.assign({}, state), { isLocked: Boolean(isLocked) });
1555
+ const { room } = action.payload;
1556
+ return Object.assign(Object.assign({}, state), { isLocked: Boolean(room.isLocked) });
1540
1557
  });
1541
1558
  builder.addCase(signalEvents.roomLocked, (state, action) => {
1542
1559
  const { isLocked } = action.payload;
@@ -1677,12 +1694,12 @@ function mapSpotlightsToClientViews(spotlights, clientViews) {
1677
1694
  return acc;
1678
1695
  }, []);
1679
1696
  }
1680
- const initialState$8 = {
1697
+ const spotlightsSliceInitialState = {
1681
1698
  sorted: [],
1682
1699
  };
1683
1700
  const spotlightsSlice = toolkit.createSlice({
1684
1701
  name: "spotlights",
1685
- initialState: initialState$8,
1702
+ initialState: spotlightsSliceInitialState,
1686
1703
  reducers: {
1687
1704
  addSpotlight(state, action) {
1688
1705
  const { clientId, streamId } = action.payload;
@@ -1695,11 +1712,15 @@ const spotlightsSlice = toolkit.createSlice({
1695
1712
  },
1696
1713
  extraReducers: (builder) => {
1697
1714
  builder.addCase(signalEvents.roomJoined, (state, action) => {
1698
- if (!action.payload.room) {
1715
+ var _a;
1716
+ if ("error" in action.payload) {
1699
1717
  return state;
1700
1718
  }
1701
- const { spotlights } = action.payload.room;
1702
- return Object.assign(Object.assign({}, state), { sorted: spotlights });
1719
+ const { room } = action.payload || {};
1720
+ if (room) {
1721
+ return Object.assign(Object.assign({}, state), { sorted: (_a = room.spotlights) !== null && _a !== void 0 ? _a : state.sorted });
1722
+ }
1723
+ return state;
1703
1724
  });
1704
1725
  builder.addCase(signalEvents.spotlightAdded, (state, action) => {
1705
1726
  const { clientId, streamId } = action.payload;
@@ -1799,7 +1820,7 @@ const createWebRtcEmitter = (dispatch) => {
1799
1820
  },
1800
1821
  };
1801
1822
  };
1802
- const initialState$7 = {
1823
+ const rtcConnectionSliceInitialState = {
1803
1824
  dispatcherCreated: false,
1804
1825
  error: null,
1805
1826
  isCreatingDispatcher: false,
@@ -1812,7 +1833,7 @@ const initialState$7 = {
1812
1833
  };
1813
1834
  const rtcConnectionSlice = toolkit.createSlice({
1814
1835
  name: "rtcConnection",
1815
- initialState: initialState$7,
1836
+ initialState: rtcConnectionSliceInitialState,
1816
1837
  reducers: {
1817
1838
  isAcceptingStreams: (state, action) => {
1818
1839
  return Object.assign(Object.assign({}, state), { isAcceptingStreams: action.payload });
@@ -1822,7 +1843,7 @@ const rtcConnectionSlice = toolkit.createSlice({
1822
1843
  return Object.assign(Object.assign({}, state), { reportedStreamResolutions: Object.assign(Object.assign({}, state.reportedStreamResolutions), { [streamId]: { width, height } }) });
1823
1844
  },
1824
1845
  rtcDisconnected: () => {
1825
- return Object.assign({}, initialState$7);
1846
+ return Object.assign({}, rtcConnectionSliceInitialState);
1826
1847
  },
1827
1848
  rtcDispatcherCreated: (state, action) => {
1828
1849
  return Object.assign(Object.assign({}, state), { dispatcherCreated: true, rtcManagerDispatcher: action.payload });
@@ -1854,7 +1875,10 @@ const rtcConnectionSlice = toolkit.createSlice({
1854
1875
  builder.addCase(socketReconnecting, (state) => {
1855
1876
  return Object.assign(Object.assign({}, state), { status: "reconnecting" });
1856
1877
  });
1857
- builder.addCase(signalEvents.roomJoined, (state) => {
1878
+ builder.addCase(signalEvents.roomJoined, (state, action) => {
1879
+ if ("error" in action.payload) {
1880
+ return state;
1881
+ }
1858
1882
  return Object.assign(Object.assign({}, state), { status: state.status === "reconnecting" ? "ready" : state.status });
1859
1883
  });
1860
1884
  },
@@ -2120,18 +2144,18 @@ createReactor([selectStreamsToAccept, selectIsAcceptingStreams], ({ dispatch },
2120
2144
  }
2121
2145
  });
2122
2146
 
2123
- const initialState$6 = {
2147
+ const connectionMonitorSliceInitialState = {
2124
2148
  running: false,
2125
2149
  };
2126
2150
  const connectionMonitorSlice = toolkit.createSlice({
2127
2151
  name: "connectionMonitor",
2128
- initialState: initialState$6,
2152
+ initialState: connectionMonitorSliceInitialState,
2129
2153
  reducers: {
2130
2154
  connectionMonitorStarted: (state, action) => {
2131
2155
  return Object.assign(Object.assign({}, state), { running: true, stopCallbackFunction: action.payload.stopIssueSubscription });
2132
2156
  },
2133
2157
  connectionMonitorStopped: () => {
2134
- return Object.assign({}, initialState$6);
2158
+ return Object.assign({}, connectionMonitorSliceInitialState);
2135
2159
  },
2136
2160
  },
2137
2161
  });
@@ -2225,7 +2249,7 @@ createReactor([selectShouldStopConnectionMonitor], ({ dispatch }, shouldStartCon
2225
2249
  }
2226
2250
  });
2227
2251
 
2228
- const initialState$5 = {
2252
+ const localParticipantSliceInitialState = {
2229
2253
  displayName: "",
2230
2254
  id: "",
2231
2255
  breakoutGroup: null,
@@ -2242,7 +2266,7 @@ const initialState$5 = {
2242
2266
  };
2243
2267
  const localParticipantSlice = toolkit.createSlice({
2244
2268
  name: "localParticipant",
2245
- initialState: initialState$5,
2269
+ initialState: localParticipantSliceInitialState,
2246
2270
  reducers: {
2247
2271
  setDisplayName: (state, action) => {
2248
2272
  return Object.assign(Object.assign({}, state), { displayName: action.payload.displayName });
@@ -2265,9 +2289,16 @@ const localParticipantSlice = toolkit.createSlice({
2265
2289
  return Object.assign(Object.assign({}, state), { stickyReaction: action.payload });
2266
2290
  });
2267
2291
  builder.addCase(signalEvents.roomJoined, (state, action) => {
2268
- var _a, _b;
2269
- const client = (_b = (_a = action.payload) === null || _a === void 0 ? void 0 : _a.room) === null || _b === void 0 ? void 0 : _b.clients.find((c) => { var _a; return c.id === ((_a = action.payload) === null || _a === void 0 ? void 0 : _a.selfId); });
2270
- return Object.assign(Object.assign({}, state), { id: action.payload.selfId, roleName: (client === null || client === void 0 ? void 0 : client.role.roleName) || "none", clientClaim: action.payload.clientClaim, breakoutGroup: (client === null || client === void 0 ? void 0 : client.breakoutGroup) || null });
2292
+ var _a;
2293
+ if ("error" in action.payload) {
2294
+ if (action.payload.error === "room_locked") {
2295
+ return Object.assign(Object.assign({}, state), { id: action.payload.selfId });
2296
+ }
2297
+ return state;
2298
+ }
2299
+ const { room, selfId, clientClaim } = action.payload || {};
2300
+ const client = room.clients.find((c) => c.id === selfId);
2301
+ return Object.assign(Object.assign({}, state), { id: selfId, roleName: ((_a = client === null || client === void 0 ? void 0 : client.role) === null || _a === void 0 ? void 0 : _a.roleName) || "none", clientClaim, breakoutGroup: (client === null || client === void 0 ? void 0 : client.breakoutGroup) || null });
2271
2302
  });
2272
2303
  builder.addCase(signalEvents.breakoutGroupJoined, (state, action) => {
2273
2304
  var _a, _b;
@@ -2533,14 +2564,14 @@ startAppListening({
2533
2564
  },
2534
2565
  });
2535
2566
 
2536
- const initialState$4 = {
2567
+ const organizationSliceInitialState = {
2537
2568
  data: null,
2538
2569
  isFetching: false,
2539
2570
  error: null,
2540
2571
  };
2541
2572
  const organizationSlice = toolkit.createSlice({
2542
- initialState: initialState$4,
2543
2573
  name: "organization",
2574
+ initialState: organizationSliceInitialState,
2544
2575
  reducers: {},
2545
2576
  extraReducers: (builder) => {
2546
2577
  builder.addCase(doOrganizationFetch.pending, (state) => {
@@ -2587,14 +2618,14 @@ createReactor([selectShouldFetchOrganization], ({ dispatch }, shouldFetchOrganiz
2587
2618
  }
2588
2619
  });
2589
2620
 
2590
- const initialState$3 = {
2621
+ const roomConnectionSliceInitialState = {
2591
2622
  session: null,
2592
2623
  status: "ready",
2593
2624
  error: null,
2594
2625
  };
2595
2626
  const roomConnectionSlice = toolkit.createSlice({
2596
- initialState: initialState$3,
2597
2627
  name: "roomConnection",
2628
+ initialState: roomConnectionSliceInitialState,
2598
2629
  reducers: {
2599
2630
  connectionStatusChanged: (state, action) => {
2600
2631
  return Object.assign(Object.assign({}, state), { status: action.payload });
@@ -2602,15 +2633,15 @@ const roomConnectionSlice = toolkit.createSlice({
2602
2633
  },
2603
2634
  extraReducers: (builder) => {
2604
2635
  builder.addCase(signalEvents.roomJoined, (state, action) => {
2605
- var _a, _b;
2606
- const { error, isLocked } = action.payload;
2607
- if (error === "room_locked" && isLocked) {
2608
- return Object.assign(Object.assign({}, state), { status: "room_locked" });
2609
- }
2610
- if (error) {
2611
- return Object.assign(Object.assign({}, state), { status: "disconnected", error });
2636
+ var _a;
2637
+ if ("error" in action.payload) {
2638
+ if (action.payload.error === "room_locked" && action.payload.isLocked) {
2639
+ return Object.assign(Object.assign({}, state), { status: "room_locked" });
2640
+ }
2641
+ return Object.assign(Object.assign({}, state), { status: "disconnected", error: action.payload.error });
2612
2642
  }
2613
- return Object.assign(Object.assign({}, state), { status: "connected", session: (_b = (_a = action.payload.room) === null || _a === void 0 ? void 0 : _a.session) !== null && _b !== void 0 ? _b : null });
2643
+ const { room } = action.payload;
2644
+ return Object.assign(Object.assign({}, state), { status: "connected", session: (_a = room.session) !== null && _a !== void 0 ? _a : null });
2614
2645
  });
2615
2646
  builder.addCase(signalEvents.disconnect, (state) => {
2616
2647
  if (["kicked", "left"].includes(state.status)) {
@@ -2861,12 +2892,12 @@ const makeComparable = (value) => {
2861
2892
  return JSON.stringify(value);
2862
2893
  return value;
2863
2894
  };
2864
- const initialState$2 = {
2895
+ const rtcAnalyticsSliceInitialState = {
2865
2896
  reportedValues: {},
2866
2897
  };
2867
2898
  const rtcAnalyticsSlice = toolkit.createSlice({
2868
- initialState: initialState$2,
2869
2899
  name: "rtcAnalytics",
2900
+ initialState: rtcAnalyticsSliceInitialState,
2870
2901
  reducers: {
2871
2902
  updateReportedValues(state, action) {
2872
2903
  return Object.assign(Object.assign({}, state), { reportedValues: Object.assign(Object.assign({}, state.reportedValues), { [action.payload.rtcEventName]: action.payload.value }) });
@@ -2925,14 +2956,14 @@ createReactor([selectRtcManagerInitialized], ({ dispatch }, selectRtcManagerInit
2925
2956
  }
2926
2957
  });
2927
2958
 
2928
- const initialState$1 = {
2959
+ const streamingSliceInitialState = {
2929
2960
  isStreaming: false,
2930
2961
  error: null,
2931
2962
  startedAt: undefined,
2932
2963
  };
2933
2964
  const streamingSlice = toolkit.createSlice({
2934
2965
  name: "streaming",
2935
- initialState: initialState$1,
2966
+ initialState: streamingSliceInitialState,
2936
2967
  reducers: {
2937
2968
  doHandleStreamingStarted: (state) => {
2938
2969
  return Object.assign(Object.assign({}, state), { isStreaming: true, error: null, startedAt: new Date().getTime() });
@@ -2945,25 +2976,26 @@ const streamingSlice = toolkit.createSlice({
2945
2976
  const { doHandleStreamingStarted, doHandleStreamingStopped } = streamingSlice.actions;
2946
2977
  const selectStreamingRaw = (state) => state.streaming;
2947
2978
 
2948
- const initialState = {
2979
+ const waitingParticipantsSliceInitialState = {
2949
2980
  waitingParticipants: [],
2950
2981
  };
2951
2982
  const waitingParticipantsSlice = toolkit.createSlice({
2952
2983
  name: "waitingParticipants",
2953
- initialState,
2984
+ initialState: waitingParticipantsSliceInitialState,
2954
2985
  reducers: {},
2955
2986
  extraReducers: (builder) => {
2956
- builder.addCase(signalEvents.roomJoined, (state, { payload }) => {
2957
- var _a;
2958
- if ((_a = payload.room) === null || _a === void 0 ? void 0 : _a.knockers.length) {
2959
- return Object.assign(Object.assign({}, state), { waitingParticipants: payload.room.knockers.map((knocker) => ({
2987
+ builder.addCase(signalEvents.roomJoined, (state, action) => {
2988
+ if ("error" in action.payload) {
2989
+ return state;
2990
+ }
2991
+ const { room } = action.payload;
2992
+ if (room.knockers.length) {
2993
+ return Object.assign(Object.assign({}, state), { waitingParticipants: room.knockers.map((knocker) => ({
2960
2994
  id: knocker.clientId,
2961
2995
  displayName: knocker.displayName,
2962
2996
  })) });
2963
2997
  }
2964
- else {
2965
- return state;
2966
- }
2998
+ return state;
2967
2999
  });
2968
3000
  builder.addCase(signalEvents.roomKnocked, (state, action) => {
2969
3001
  const { clientId, displayName } = action.payload;
@@ -4083,10 +4115,14 @@ exports.addAppListener = addAppListener;
4083
4115
  exports.addSpotlight = addSpotlight;
4084
4116
  exports.appSlice = appSlice;
4085
4117
  exports.authorizationSlice = authorizationSlice;
4118
+ exports.authorizationSliceInitialState = authorizationSliceInitialState;
4086
4119
  exports.breakoutSlice = breakoutSlice;
4120
+ exports.breakoutSliceInitialState = breakoutSliceInitialState;
4087
4121
  exports.chatSlice = chatSlice;
4122
+ exports.chatSliceInitialState = chatSliceInitialState;
4088
4123
  exports.cloudRecordingSlice = cloudRecordingSlice;
4089
4124
  exports.connectionMonitorSlice = connectionMonitorSlice;
4125
+ exports.connectionMonitorSliceInitialState = connectionMonitorSliceInitialState;
4090
4126
  exports.connectionMonitorStarted = connectionMonitorStarted;
4091
4127
  exports.connectionMonitorStopped = connectionMonitorStopped;
4092
4128
  exports.createAppAsyncThunk = createAppAsyncThunk;
@@ -4103,6 +4139,7 @@ exports.createWebRtcEmitter = createWebRtcEmitter;
4103
4139
  exports.debounce = debounce;
4104
4140
  exports.deviceBusy = deviceBusy;
4105
4141
  exports.deviceCredentialsSlice = deviceCredentialsSlice;
4142
+ exports.deviceCredentialsSliceInitialState = deviceCredentialsSliceInitialState;
4106
4143
  exports.deviceIdentified = deviceIdentified;
4107
4144
  exports.deviceIdentifying = deviceIdentifying;
4108
4145
  exports.doAcceptWaitingParticipant = doAcceptWaitingParticipant;
@@ -4161,32 +4198,40 @@ exports.hasValue = hasValue;
4161
4198
  exports.initialCloudRecordingState = initialCloudRecordingState;
4162
4199
  exports.initialLocalMediaState = initialLocalMediaState;
4163
4200
  exports.initialNotificationsState = initialNotificationsState;
4164
- exports.initialState = initialState$h;
4201
+ exports.initialState = initialState;
4165
4202
  exports.isAcceptingStreams = isAcceptingStreams;
4166
4203
  exports.isClientSpotlighted = isClientSpotlighted;
4167
4204
  exports.listenerMiddleware = listenerMiddleware;
4168
4205
  exports.localMediaSlice = localMediaSlice;
4169
4206
  exports.localMediaStopped = localMediaStopped;
4170
4207
  exports.localParticipantSlice = localParticipantSlice;
4208
+ exports.localParticipantSliceInitialState = localParticipantSliceInitialState;
4171
4209
  exports.localScreenshareSlice = localScreenshareSlice;
4210
+ exports.localScreenshareSliceInitialState = localScreenshareSliceInitialState;
4172
4211
  exports.localStreamMetadataUpdated = localStreamMetadataUpdated;
4173
4212
  exports.notificationsSlice = notificationsSlice;
4174
4213
  exports.observeStore = observeStore;
4175
4214
  exports.organizationSlice = organizationSlice;
4215
+ exports.organizationSliceInitialState = organizationSliceInitialState;
4176
4216
  exports.parseUnverifiedRoomKeyData = parseUnverifiedRoomKeyData;
4177
4217
  exports.participantStreamAdded = participantStreamAdded;
4178
4218
  exports.participantStreamIdAdded = participantStreamIdAdded;
4179
4219
  exports.recordingRequestStarted = recordingRequestStarted;
4180
4220
  exports.remoteParticipantsSlice = remoteParticipantsSlice;
4221
+ exports.remoteParticipantsSliceInitialState = remoteParticipantsSliceInitialState;
4181
4222
  exports.removeSpotlight = removeSpotlight;
4182
4223
  exports.resolutionReported = resolutionReported;
4183
4224
  exports.roomConnectionSlice = roomConnectionSlice;
4225
+ exports.roomConnectionSliceInitialState = roomConnectionSliceInitialState;
4184
4226
  exports.roomSlice = roomSlice;
4227
+ exports.roomSliceInitialState = roomSliceInitialState;
4185
4228
  exports.rootReducer = rootReducer;
4186
4229
  exports.rtcAnalyticsCustomEvents = rtcAnalyticsCustomEvents;
4187
4230
  exports.rtcAnalyticsSlice = rtcAnalyticsSlice;
4231
+ exports.rtcAnalyticsSliceInitialState = rtcAnalyticsSliceInitialState;
4188
4232
  exports.rtcClientConnectionStatusChanged = rtcClientConnectionStatusChanged;
4189
4233
  exports.rtcConnectionSlice = rtcConnectionSlice;
4234
+ exports.rtcConnectionSliceInitialState = rtcConnectionSliceInitialState;
4190
4235
  exports.rtcDisconnected = rtcDisconnected;
4191
4236
  exports.rtcDispatcherCreated = rtcDispatcherCreated;
4192
4237
  exports.rtcEvents = rtcEvents;
@@ -4331,19 +4376,23 @@ exports.setLocalMediaOptions = setLocalMediaOptions;
4331
4376
  exports.setLocalMediaStream = setLocalMediaStream;
4332
4377
  exports.setRoomKey = setRoomKey;
4333
4378
  exports.signalConnectionSlice = signalConnectionSlice;
4379
+ exports.signalConnectionSliceInitialState = signalConnectionSliceInitialState;
4334
4380
  exports.signalEvents = signalEvents;
4335
4381
  exports.socketConnected = socketConnected;
4336
4382
  exports.socketConnecting = socketConnecting;
4337
4383
  exports.socketDisconnected = socketDisconnected;
4338
4384
  exports.socketReconnecting = socketReconnecting;
4339
4385
  exports.spotlightsSlice = spotlightsSlice;
4386
+ exports.spotlightsSliceInitialState = spotlightsSliceInitialState;
4340
4387
  exports.startAppListening = startAppListening;
4341
4388
  exports.stopScreenshare = stopScreenshare;
4342
4389
  exports.streamIdForClient = streamIdForClient;
4343
4390
  exports.streamStatusUpdated = streamStatusUpdated;
4344
4391
  exports.streamingSlice = streamingSlice;
4392
+ exports.streamingSliceInitialState = streamingSliceInitialState;
4345
4393
  exports.toggleCameraEnabled = toggleCameraEnabled;
4346
4394
  exports.toggleLowDataModeEnabled = toggleLowDataModeEnabled;
4347
4395
  exports.toggleMicrophoneEnabled = toggleMicrophoneEnabled;
4348
4396
  exports.updateReportedValues = updateReportedValues;
4349
4397
  exports.waitingParticipantsSlice = waitingParticipantsSlice;
4398
+ exports.waitingParticipantsSliceInitialState = waitingParticipantsSliceInitialState;