@stream-io/video-react-sdk 1.24.0 → 1.24.1

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.es.js CHANGED
@@ -2584,6 +2584,7 @@ const applyParticipantsFilter = (participants, filter) => {
2584
2584
  isPinned: isPinned(participant),
2585
2585
  hasVideo: hasVideo(participant),
2586
2586
  hasAudio: hasAudio(participant),
2587
+ hasScreenShare: hasScreenShare(participant),
2587
2588
  }, filter);
2588
2589
  return participants.filter(filterCallback);
2589
2590
  };
@@ -2615,8 +2616,8 @@ const useSpeakerLayoutSortPreset = (call, isOneOnOneCall) => {
2615
2616
  };
2616
2617
  const useRawRemoteParticipants = () => {
2617
2618
  const { useRawParticipants } = useCallStateHooks();
2618
- const rawParicipants = useRawParticipants();
2619
- return useMemo(() => rawParicipants.filter((p) => !p.isLocalParticipant), [rawParicipants]);
2619
+ const rawParticipants = useRawParticipants();
2620
+ return useMemo(() => rawParticipants.filter((p) => !p.isLocalParticipant), [rawParticipants]);
2620
2621
  };
2621
2622
  const resetSortPreset = (call) => {
2622
2623
  // reset the sorting to the default for the call type
@@ -3005,7 +3006,7 @@ const checkCanJoinEarly = (startsAt, joinAheadTimeSeconds) => {
3005
3006
  return Date.now() >= +startsAt - (joinAheadTimeSeconds ?? 0) * 1000;
3006
3007
  };
3007
3008
 
3008
- const [major, minor, patch] = ("1.24.0").split('.');
3009
+ const [major, minor, patch] = ("1.24.1").split('.');
3009
3010
  setSdkInfo({
3010
3011
  type: SfuModels.SdkType.REACT,
3011
3012
  major,