@stream-io/video-client 1.23.4 → 1.23.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 +6 -0
- package/dist/index.browser.es.js +8 -3
- package/dist/index.browser.es.js.map +1 -1
- package/dist/index.cjs.js +8 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +8 -3
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/src/devices/BrowserPermission.ts +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [1.23.5](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.23.4...@stream-io/video-client-1.23.5) (2025-06-04)
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- **react-native:** skip browser permission for react native ([#1818](https://github.com/GetStream/stream-video-js/issues/1818)) ([b18f418](https://github.com/GetStream/stream-video-js/commit/b18f418698e12b9804efb43e712ba813b0dbb056))
|
|
10
|
+
|
|
5
11
|
## [1.23.4](https://github.com/GetStream/stream-video-js/compare/@stream-io/video-client-1.23.3...@stream-io/video-client-1.23.4) (2025-06-03)
|
|
6
12
|
|
|
7
13
|
### Bug Fixes
|
package/dist/index.browser.es.js
CHANGED
|
@@ -5685,7 +5685,7 @@ const aggregate = (stats) => {
|
|
|
5685
5685
|
return report;
|
|
5686
5686
|
};
|
|
5687
5687
|
|
|
5688
|
-
const version = "1.23.
|
|
5688
|
+
const version = "1.23.5";
|
|
5689
5689
|
const [major, minor, patch] = version.split('.');
|
|
5690
5690
|
let sdkInfo = {
|
|
5691
5691
|
type: SdkType.PLAIN_JAVASCRIPT,
|
|
@@ -9025,7 +9025,12 @@ class BrowserPermission {
|
|
|
9025
9025
|
const signal = this.disposeController.signal;
|
|
9026
9026
|
this.ready = (async () => {
|
|
9027
9027
|
const assumeGranted = () => {
|
|
9028
|
-
|
|
9028
|
+
if (isReactNative()) {
|
|
9029
|
+
this.setState('granted');
|
|
9030
|
+
}
|
|
9031
|
+
else {
|
|
9032
|
+
this.setState('prompt');
|
|
9033
|
+
}
|
|
9029
9034
|
};
|
|
9030
9035
|
if (!canQueryPermissions()) {
|
|
9031
9036
|
return assumeGranted();
|
|
@@ -13894,7 +13899,7 @@ class StreamClient {
|
|
|
13894
13899
|
this.getUserAgent = () => {
|
|
13895
13900
|
if (!this.cachedUserAgent) {
|
|
13896
13901
|
const { clientAppIdentifier = {} } = this.options;
|
|
13897
|
-
const { sdkName = 'js', sdkVersion = "1.23.
|
|
13902
|
+
const { sdkName = 'js', sdkVersion = "1.23.5", ...extras } = clientAppIdentifier;
|
|
13898
13903
|
this.cachedUserAgent = [
|
|
13899
13904
|
`stream-video-${sdkName}-v${sdkVersion}`,
|
|
13900
13905
|
...Object.entries(extras).map(([key, value]) => `${key}=${value}`),
|