@daily-co/react-native-daily-js 0.34.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.34.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.36.1",
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
  },
@@ -103,7 +103,8 @@ export type DailyFatalErrorType =
103
103
  | 'exp-room'
104
104
  | 'exp-token'
105
105
  | 'meeting-full'
106
- | 'end-of-life';
106
+ | 'end-of-life'
107
+ | 'not-allowed';
107
108
 
108
109
  export type DailyNonFatalErrorType =
109
110
  | 'remote-media-player-error'
@@ -265,6 +266,8 @@ export interface DailyWaitingParticipant {
265
266
 
266
267
  export type DailyTrackSubscriptionState = 'staged' | boolean;
267
268
 
269
+ export type DailyCustomTrackSubscriptionState = DailyTrackSubscriptionState | { [name: string]: DailyTrackSubscriptionState };
270
+
268
271
  export type DailyTrackSubscriptionOptions =
269
272
  | DailyTrackSubscriptionState
270
273
  | {
@@ -272,6 +275,7 @@ export type DailyTrackSubscriptionOptions =
272
275
  video?: DailyTrackSubscriptionState;
273
276
  screenVideo?: DailyTrackSubscriptionState;
274
277
  screenAudio?: DailyTrackSubscriptionState;
278
+ custom?: DailyCustomTrackSubscriptionState;
275
279
  };
276
280
 
277
281
  export interface DailyParticipantUpdateOptions {