@stream-io/video-client 1.4.4 → 1.4.5

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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ### [1.4.5](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.4.4...@stream-io/video-client-1.4.5) (2024-07-12)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * report the Plain-JS sdk version to the SFU ([#1438](https://github.com/GetStream/stream-video-js/issues/1438)) ([7ac54e4](https://github.com/GetStream/stream-video-js/commit/7ac54e46c80288debbf99339e861fe7f6cdb0fdf))
11
+
5
12
  ### [1.4.4](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.4.3...@stream-io/video-client-1.4.4) (2024-07-02)
6
13
 
7
14
 
@@ -925,6 +925,14 @@ var SdkType;
925
925
  * @generated from protobuf enum value: SDK_TYPE_UNITY = 7;
926
926
  */
927
927
  SdkType[SdkType["UNITY"] = 7] = "UNITY";
928
+ /**
929
+ * @generated from protobuf enum value: SDK_TYPE_GO = 8;
930
+ */
931
+ SdkType[SdkType["GO"] = 8] = "GO";
932
+ /**
933
+ * @generated from protobuf enum value: SDK_TYPE_PLAIN_JAVASCRIPT = 9;
934
+ */
935
+ SdkType[SdkType["PLAIN_JAVASCRIPT"] = 9] = "PLAIN_JAVASCRIPT";
928
936
  })(SdkType || (SdkType = {}));
929
937
  /**
930
938
  * @generated from protobuf enum stream.video.sfu.models.TrackUnpublishReason
@@ -6527,7 +6535,14 @@ function getIceCandidate(candidate) {
6527
6535
  }
6528
6536
  }
6529
6537
 
6530
- let sdkInfo;
6538
+ const version = "1.4.5" ;
6539
+ const [major, minor, patch] = version.split('.');
6540
+ let sdkInfo = {
6541
+ type: SdkType.PLAIN_JAVASCRIPT,
6542
+ major,
6543
+ minor,
6544
+ patch,
6545
+ };
6531
6546
  let osInfo;
6532
6547
  let deviceInfo;
6533
6548
  let webRtcInfo;
@@ -15506,7 +15521,7 @@ class StreamClient {
15506
15521
  });
15507
15522
  };
15508
15523
  this.getUserAgent = () => {
15509
- const version = "1.4.4" ;
15524
+ const version = "1.4.5" ;
15510
15525
  return (this.userAgent ||
15511
15526
  `stream-video-javascript-client-${this.node ? 'node' : 'browser'}-${version}`);
15512
15527
  };