@daily-co/react-native-daily-js 0.35.0 → 0.36.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.35.0",
3
+ "version": "0.36.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",
@@ -26,7 +26,7 @@
26
26
  "baseUrl": "https://github.com/daily-co/react-native-daily-js"
27
27
  },
28
28
  "dependencies": {
29
- "@daily-co/daily-js": "^0.37.0",
29
+ "@daily-co/daily-js": "^0.38.0",
30
30
  "@types/react-native-background-timer": "^2.0.0",
31
31
  "react-native-url-polyfill": "^1.1.2"
32
32
  },
@@ -266,6 +266,8 @@ export interface DailyWaitingParticipant {
266
266
 
267
267
  export type DailyTrackSubscriptionState = 'staged' | boolean;
268
268
 
269
+ export type DailyCustomTrackSubscriptionState = DailyTrackSubscriptionState | { [name: string]: DailyTrackSubscriptionState };
270
+
269
271
  export type DailyTrackSubscriptionOptions =
270
272
  | DailyTrackSubscriptionState
271
273
  | {
@@ -273,6 +275,7 @@ export type DailyTrackSubscriptionOptions =
273
275
  video?: DailyTrackSubscriptionState;
274
276
  screenVideo?: DailyTrackSubscriptionState;
275
277
  screenAudio?: DailyTrackSubscriptionState;
278
+ custom?: DailyCustomTrackSubscriptionState;
276
279
  };
277
280
 
278
281
  export interface DailyParticipantUpdateOptions {