@stream-io/video-react-sdk 1.0.14 → 1.1.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stream-io/video-react-sdk",
3
- "version": "1.0.14",
3
+ "version": "1.1.0",
4
4
  "packageManager": "yarn@3.2.4",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.es.js",
@@ -29,9 +29,9 @@
29
29
  ],
30
30
  "dependencies": {
31
31
  "@floating-ui/react": "^0.26.5",
32
- "@stream-io/video-client": "1.0.9",
33
- "@stream-io/video-filters-web": "0.1.0",
34
- "@stream-io/video-react-bindings": "0.4.35",
32
+ "@stream-io/video-client": "1.1.0",
33
+ "@stream-io/video-filters-web": "0.1.1",
34
+ "@stream-io/video-react-bindings": "0.4.37",
35
35
  "chart.js": "^4.4.1",
36
36
  "clsx": "^2.0.0",
37
37
  "react-chartjs-2": "^5.2.0"
@@ -125,8 +125,8 @@ export const ToggleAudioPublishingButton = (
125
125
  !hasPermission
126
126
  ? t('You have no permission to share your audio')
127
127
  : !hasBrowserPermission
128
- ? t('Check your browser mic permissions')
129
- : caption ?? t('Mic')
128
+ ? t('Check your browser mic permissions')
129
+ : caption ?? t('Mic')
130
130
  }
131
131
  tooltipDisabled={tooltipDisabled}
132
132
  >
@@ -130,10 +130,10 @@ export const ToggleVideoPublishingButton = (
130
130
  !hasPermission
131
131
  ? t('You have no permission to share your video')
132
132
  : !hasBrowserPermission
133
- ? t('Check your browser video permissions')
134
- : !isPublishingVideoAllowed
135
- ? t('Video publishing is disabled by the system')
136
- : caption || t('Video')
133
+ ? t('Check your browser video permissions')
134
+ : !isPublishingVideoAllowed
135
+ ? t('Video publishing is disabled by the system')
136
+ : caption || t('Video')
137
137
  }
138
138
  tooltipDisabled={tooltipDisabled}
139
139
  >
@@ -82,8 +82,8 @@ export const Video = ({
82
82
  trackType === 'videoTrack'
83
83
  ? videoStream
84
84
  : trackType === 'screenShareTrack'
85
- ? screenShareStream
86
- : undefined;
85
+ ? screenShareStream
86
+ : undefined;
87
87
 
88
88
  useLayoutEffect(() => {
89
89
  if (!call || !videoElement || trackType === 'none') return;
@@ -132,8 +132,8 @@ export const Video = ({
132
132
  trackType === 'videoTrack'
133
133
  ? hasVideo(participant)
134
134
  : trackType === 'screenShareTrack'
135
- ? hasScreenShare(participant)
136
- : false;
135
+ ? hasScreenShare(participant)
136
+ : false;
137
137
 
138
138
  const isInvisible =
139
139
  trackType === 'none' ||