@snapcall/stream-ui 1.12.1 → 1.13.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/dist/types.d.ts CHANGED
@@ -495,7 +495,8 @@ interface ControlSettings {
495
495
  interface StreamUIBaseOptions {
496
496
  recorder?: {
497
497
  enabled: boolean;
498
- defaultState?: 'photo' | 'video' | 'screen';
498
+ defaultMode?: 'photo' | 'video';
499
+ defaultMedia?: 'camera' | 'screen';
499
500
  };
500
501
  sharedURL?: string;
501
502
  audioTiles?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snapcall/stream-ui",
3
- "version": "1.12.1",
3
+ "version": "1.13.0",
4
4
  "description": "",
5
5
  "source": "src/index.tsx",
6
6
  "main": "dist/stream-ui.js",
@@ -93,6 +93,7 @@
93
93
  "react-dom": "^18.2.0",
94
94
  "react-hot-toast": "^2.2.0",
95
95
  "react-i18next": "^11.18.5",
96
+ "react-query": "^3.39.3",
96
97
  "react-stately": "^3.20.0",
97
98
  "react-transition-group": "^4.4.5",
98
99
  "styled-components": "^5.3.3",