@daily-co/react-native-daily-js 0.82.0 → 0.83.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": "@daily-co/react-native-daily-js",
3
- "version": "0.82.0",
3
+ "version": "0.83.0",
4
4
  "description": "React Native library for making video calls using Daily",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -30,11 +30,12 @@
30
30
  "baseUrl": "https://github.com/daily-co/react-native-daily-js"
31
31
  },
32
32
  "dependencies": {
33
- "@daily-co/daily-js": "^0.85.0",
33
+ "@daily-co/daily-js": "^0.86.0",
34
34
  "@types/react-native-background-timer": "^2.0.0",
35
35
  "base-64": "^1.0.0",
36
36
  "react-native-url-polyfill": "^1.1.2"
37
37
  },
38
+ "///": "WHEN ONE OF THESE CHANGE, PLEASE UPDATE README.md INSTALL SNIPPET ACCORDINGLY",
38
39
  "peerDependencies": {
39
40
  "@daily-co/react-native-webrtc": "^124.0.6-daily.1",
40
41
  "@react-native-async-storage/async-storage": "^1.24.0",
@@ -22,19 +22,20 @@ export type DailyLanguage =
22
22
  | 'da'
23
23
  | 'de'
24
24
  | 'en'
25
+ | 'es'
25
26
  | 'fi'
26
27
  | 'fr'
28
+ | 'it'
29
+ | 'jp'
30
+ | 'ka'
27
31
  | 'nl'
28
32
  | 'no'
29
- | 'pt'
30
33
  | 'pl'
34
+ | 'pt'
35
+ | 'pt-BR'
31
36
  | 'ru'
32
37
  | 'sv'
33
- | 'es'
34
- | 'tr'
35
- | 'it'
36
- | 'ka'
37
- | 'jp';
38
+ | 'tr';
38
39
 
39
40
  export type DailyLanguageSetting = DailyLanguage | 'user';
40
41
 
@@ -337,6 +338,8 @@ export interface DailyParticipantTracks {
337
338
  video: DailyTrackState;
338
339
  screenAudio: DailyTrackState;
339
340
  screenVideo: DailyTrackState;
341
+ rmpAudio?: DailyTrackState;
342
+ rmpVideo?: DailyTrackState;
340
343
  [customTrackKey: string]: DailyTrackState | undefined;
341
344
  }
342
345
 
@@ -609,7 +612,7 @@ export interface DailyCpuLoadStats {
609
612
  };
610
613
  }
611
614
 
612
- interface DailySendSettings {
615
+ export interface DailySendSettings {
613
616
  video?: DailyVideoSendSettings | DailyVideoSendSettingsPreset;
614
617
  customVideoDefaults?: DailyVideoSendSettings | DailyVideoSendSettingsPreset;
615
618
  [customKey: string]:
@@ -702,6 +705,7 @@ export interface DailyRoomInfo {
702
705
  webhook_meeting_end?: any;
703
706
  max_live_streams?: number;
704
707
  max_streaming_instances_per_room?: number;
708
+ max_app_message_size?: number;
705
709
  enable_breakout_rooms?: boolean;
706
710
  enable_emoji_reactions?: boolean;
707
711
  enable_network_ui?: boolean;
@@ -1465,9 +1469,13 @@ export interface DailyStreamingOptions<
1465
1469
  maxDuration?: number;
1466
1470
  backgroundColor?: string;
1467
1471
  instanceId?: string;
1472
+ dataOutputs?: Array<string>;
1468
1473
  layout?: Method extends 'recording'
1469
1474
  ? DailyStreamingLayoutConfig<Type>
1470
1475
  : DailyLiveStreamingLayoutConfig<Type>;
1476
+ type?: Method extends 'recording'
1477
+ ? 'cloud' | 'raw-tracks' | 'cloud-audio-only'
1478
+ : never;
1471
1479
  }
1472
1480
 
1473
1481
  export interface DailyStreamingEndpoint {
@@ -1488,7 +1496,10 @@ export interface RemoteMediaPlayerSimulcastEncoding {
1488
1496
  }
1489
1497
 
1490
1498
  export interface DailyRemoteMediaPlayerSettings {
1491
- state: DailyRemoteMediaPlayerSettingPlay | DailyRemoteMediaPlayerSettingPause;
1499
+ state?:
1500
+ | DailyRemoteMediaPlayerSettingPlay
1501
+ | DailyRemoteMediaPlayerSettingPause;
1502
+ volume?: number;
1492
1503
  simulcastEncodings?: RemoteMediaPlayerSimulcastEncoding[];
1493
1504
  }
1494
1505