@cloudflare/realtimekit-react 0.5.0-staging.124 → 0.5.0-staging.125

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
@@ -21797,7 +21797,7 @@ const jc = (im = class {
21797
21797
  case "PAGINATED": {
21798
21798
  if (!e)
21799
21799
  return;
21800
- const i = this.selectPagePeers(e), n = this.selectActivePeers(this.participants.maxActiveParticipantsCount);
21800
+ const i = this.selectPagePeers(e), n = this.selectActivePeers(this.participants.maxActiveParticipantsCount + 4);
21801
21801
  this.updateParticipantsMap(this.participants.videoSubscribed, i), this.updateParticipantsMap(this.participants.audioSubscribed, n), l.debug(
21802
21802
  "ParticipantController::updateActive::updating_current_page_peers",
21803
21803
  { peerIds: i }
@@ -21805,8 +21805,8 @@ const jc = (im = class {
21805
21805
  break;
21806
21806
  }
21807
21807
  case "ACTIVE_GRID": {
21808
- const i = this.selectActivePeers(this.participants.maxActiveParticipantsCount);
21809
- this.updateParticipantsMapMinReplacement(this.participants.videoSubscribed, i), this.updateParticipantsMap(this.participants.audioSubscribed, i);
21808
+ const i = this.selectActivePeers(this.participants.maxActiveParticipantsCount + 4), n = this.selectActivePeers(this.participants.maxActiveParticipantsCount);
21809
+ this.updateParticipantsMapMinReplacement(this.participants.videoSubscribed, n), this.updateParticipantsMap(this.participants.audioSubscribed, i);
21810
21810
  break;
21811
21811
  }
21812
21812
  default:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudflare/realtimekit-react",
3
- "version": "0.5.0-staging.124",
3
+ "version": "0.5.0-staging.125",
4
4
  "description": "A real-time video and audio SDK for building custom, collaborative communication experiences.",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.es.js",
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "private": false,
19
19
  "dependencies": {
20
- "@cloudflare/realtimekit": "0.5.0-staging.124"
20
+ "@cloudflare/realtimekit": "0.5.0-staging.125"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "react": ">=16.8.6"