@stream-io/video-react-sdk 1.15.0 → 1.16.1

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.15.0",
3
+ "version": "1.16.1",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.es.js",
6
6
  "types": "./dist/index.d.ts",
@@ -30,9 +30,9 @@
30
30
  ],
31
31
  "dependencies": {
32
32
  "@floating-ui/react": "^0.27.6",
33
- "@stream-io/video-client": "1.21.0",
34
- "@stream-io/video-filters-web": "0.1.7",
35
- "@stream-io/video-react-bindings": "1.5.19",
33
+ "@stream-io/video-client": "1.22.1",
34
+ "@stream-io/video-filters-web": "0.2.0",
35
+ "@stream-io/video-react-bindings": "1.6.1",
36
36
  "chart.js": "^4.4.4",
37
37
  "clsx": "^2.0.0",
38
38
  "react-chartjs-2": "^5.3.0"
@@ -45,14 +45,14 @@
45
45
  "@rollup/plugin-json": "^6.1.0",
46
46
  "@rollup/plugin-replace": "^6.0.2",
47
47
  "@rollup/plugin-typescript": "^12.1.2",
48
- "@stream-io/audio-filters-web": "^0.2.3",
48
+ "@stream-io/audio-filters-web": "^0.3.0",
49
49
  "@stream-io/video-styling": "^1.1.4",
50
- "@types/react": "^18.3.2",
51
- "@types/react-dom": "^18.3.0",
52
- "react": "^18.3.1",
53
- "react-dom": "^18.3.1",
50
+ "@types/react": "^19.1.3",
51
+ "@types/react-dom": "^19.1.3",
52
+ "react": "19.0.0",
53
+ "react-dom": "19.0.0",
54
54
  "rimraf": "^6.0.1",
55
- "rollup": "^4.36.0",
56
- "typescript": "^5.8.2"
55
+ "rollup": "^4.40.2",
56
+ "typescript": "^5.8.3"
57
57
  }
58
58
  }
@@ -41,7 +41,7 @@ export const CallStats = (props: CallStatsProps) => {
41
41
  const { t } = useI18n();
42
42
  const [publishBitrate, setPublishBitrate] = useState('-');
43
43
  const [subscribeBitrate, setSubscribeBitrate] = useState('-');
44
- const previousStats = useRef<CallStatsReport>();
44
+ const previousStats = useRef<CallStatsReport>(undefined);
45
45
  const { useCallStatsReport } = useCallStateHooks();
46
46
  const callStatsReport = useCallStatsReport();
47
47
 
@@ -103,7 +103,7 @@ export const NoiseCancellationProvider = (
103
103
  isSupportedByBrowser && hasCapability && noiseCancellationAllowed;
104
104
 
105
105
  const [isEnabled, setIsEnabled] = useState(false);
106
- const deinit = useRef<Promise<void>>();
106
+ const deinit = useRef<Promise<void>>(undefined);
107
107
  useEffect(() => {
108
108
  if (!call || !isSupported) return;
109
109
  const unsubscribe = noiseCancellation.on('change', (v) => setIsEnabled(v));