@stream-io/video-client 0.0.1-alpha.76 → 0.0.1-alpha.77

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.
@@ -86,7 +86,7 @@
86
86
  <div class='footer quiet pad2 space-top1 center small'>
87
87
  Code coverage generated by
88
88
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
89
- at 2023-04-02T18:59:58.794Z
89
+ at 2023-04-03T08:20:37.912Z
90
90
  </div>
91
91
  <script src="prettify.js"></script>
92
92
  <script>
@@ -5721,6 +5721,11 @@ class Call {
5721
5721
  if (this.joined$.getValue()) {
5722
5722
  throw new Error(`Illegal State: Already joined.`);
5723
5723
  }
5724
+ // FIXME OL: temporary fix which restores the previous behavior.
5725
+ // This data should come from the SDK, or integration
5726
+ data = data || {
5727
+ create: true,
5728
+ };
5724
5729
  const call = yield join(this.streamClient, this.type, this.id, data);
5725
5730
  this.state.setCurrentValue(this.state.metadataSubject, call.metadata);
5726
5731
  this.state.setCurrentValue(this.state.membersSubject, call.members);
@@ -8491,7 +8496,7 @@ class StreamClient {
8491
8496
  }
8492
8497
  getUserAgent() {
8493
8498
  return (this.userAgent ||
8494
- `stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${"0.0.1-alpha.75"}`);
8499
+ `stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${"0.0.1-alpha.76"}`);
8495
8500
  }
8496
8501
  setUserAgent(userAgent) {
8497
8502
  this.userAgent = userAgent;