@stream-io/video-client 1.0.7 → 1.0.8

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.js CHANGED
@@ -12334,7 +12334,9 @@ class Call {
12334
12334
  if (this.ringing) {
12335
12335
  // I'm the one who started the call, so I should cancel it.
12336
12336
  const hasOtherParticipants = this.state.remoteParticipants.length > 0;
12337
- if (this.isCreatedByMe && !hasOtherParticipants) {
12337
+ if (this.isCreatedByMe &&
12338
+ !hasOtherParticipants &&
12339
+ callingState === exports.CallingState.RINGING) {
12338
12340
  // Signals other users that I have cancelled my call to them
12339
12341
  // before they accepted it.
12340
12342
  await this.reject();
@@ -15282,7 +15284,7 @@ class StreamClient {
15282
15284
  });
15283
15285
  };
15284
15286
  this.getUserAgent = () => {
15285
- const version = "1.0.7" ;
15287
+ const version = "1.0.8" ;
15286
15288
  return (this.userAgent ||
15287
15289
  `stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
15288
15290
  };