@capgo/capacitor-stream-call 0.0.69 → 0.0.70

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.
@@ -52,7 +52,6 @@ import io.getstream.android.video.generated.models.CallMissedEvent
52
52
  import io.getstream.android.video.generated.models.CallRejectedEvent
53
53
  import io.getstream.android.video.generated.models.CallRingEvent
54
54
  import io.getstream.android.video.generated.models.CallSessionEndedEvent
55
- import io.getstream.android.video.generated.models.CallSessionParticipantCountsUpdatedEvent
56
55
  import io.getstream.android.video.generated.models.CallSessionParticipantLeftEvent
57
56
  import io.getstream.android.video.generated.models.CallSessionStartedEvent
58
57
  import io.getstream.android.video.generated.models.VideoEvent
@@ -824,7 +823,7 @@ public class StreamCallPlugin : Plugin() {
824
823
  updateCallStatusAndNotify(event.callCid, "left")
825
824
  }
826
825
 
827
- is ParticipantLeftEvent, is CallSessionParticipantLeftEvent, is CallSessionParticipantCountsUpdatedEvent -> {
826
+ is ParticipantLeftEvent, is CallSessionParticipantLeftEvent -> {
828
827
  val activeCall = streamVideoClient?.state?.activeCall?.value
829
828
 
830
829
  val callId = when (event) {
@@ -834,9 +833,6 @@ public class StreamCallPlugin : Plugin() {
834
833
  is CallSessionParticipantLeftEvent -> {
835
834
  event.callCid
836
835
  }
837
- is CallSessionParticipantCountsUpdatedEvent -> {
838
- event.callCid
839
- }
840
836
 
841
837
  else -> {
842
838
  throw RuntimeException("Unreachable code reached when getting callId")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-stream-call",
3
- "version": "0.0.69",
3
+ "version": "0.0.70",
4
4
  "description": "Uses the https://getstream.io/ SDK to implement calling in Capacitor",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",