@daily-co/react-native-daily-js 0.65.0 → 0.66.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.65.0",
3
+ "version": "0.66.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",
@@ -28,7 +28,7 @@
28
28
  "baseUrl": "https://github.com/daily-co/react-native-daily-js"
29
29
  },
30
30
  "dependencies": {
31
- "@daily-co/daily-js": "^0.67.0",
31
+ "@daily-co/daily-js": "^0.68.0",
32
32
  "@types/react-native-background-timer": "^2.0.0",
33
33
  "base-64": "^1.0.0",
34
34
  "react-native-url-polyfill": "^1.1.2"
@@ -291,6 +291,7 @@ export interface DailyParticipantTracks {
291
291
  video: DailyTrackState;
292
292
  screenAudio: DailyTrackState;
293
293
  screenVideo: DailyTrackState;
294
+ [customTrackKey: string]: DailyTrackState | undefined;
294
295
  }
295
296
 
296
297
  export interface DailyParticipant {
@@ -325,9 +326,7 @@ export interface DailyParticipant {
325
326
  screen: boolean;
326
327
 
327
328
  // track state
328
- tracks: DailyParticipantTracks & {
329
- [customTrackKey: string]: DailyTrackState;
330
- };
329
+ tracks: DailyParticipantTracks;
331
330
 
332
331
  // user/session info
333
332
  user_id: string;
@@ -1426,9 +1425,11 @@ export interface DailyCall {
1426
1425
  ): Promise<DailyReceiveSettings>;
1427
1426
  startCamera(properties?: DailyCallOptions): Promise<void>;
1428
1427
  startLocalAudioLevelObserver(interval?: number): Promise<void>;
1428
+ isLocalAudioLevelObserverRunning(): boolean;
1429
1429
  stopLocalAudioLevelObserver(): void;
1430
1430
  getLocalAudioLevel(): number;
1431
1431
  startRemoteParticipantsAudioLevelObserver(interval?: number): Promise<void>;
1432
+ isRemoteParticipantsAudioLevelObserverRunning(): boolean;
1432
1433
  stopRemoteParticipantsAudioLevelObserver(): void;
1433
1434
  getRemoteParticipantsAudioLevel(): DailyParticipantsAudioLevel;
1434
1435
  cycleCamera(): Promise<{