@daily-co/react-native-daily-js 0.74.0 → 0.76.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/README.md CHANGED
@@ -15,7 +15,7 @@ Install `react-native-daily-js` along with its peer dependencies:
15
15
 
16
16
  ```bash
17
17
  npm i @daily-co/react-native-daily-js @react-native-async-storage/async-storage@^1.15.7 react-native-background-timer@^2.3.1 react-native-get-random-values@^1.9.0
18
- npm i --save-exact @daily-co/react-native-webrtc@118.0.3-daily.1
18
+ npm i --save-exact @daily-co/react-native-webrtc@118.0.3-daily.2
19
19
  ```
20
20
 
21
21
  Then, follow the below steps to set up your native project on each platform. **Note that these steps assume you're using a version of React Native that supports autolinking (>= 60).**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daily-co/react-native-daily-js",
3
- "version": "0.74.0",
3
+ "version": "0.76.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.77.0",
31
+ "@daily-co/daily-js": "^0.79.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"
@@ -1162,6 +1162,12 @@ export interface DailyEventObjectRemoteMediaPlayerStopped
1162
1162
  updatedBy: string;
1163
1163
  reason: DailyRemoteMediaPlayerStopReason;
1164
1164
  }
1165
+
1166
+ export interface DailyEventObjectDialinReady extends DailyEventObjectBase {
1167
+ action: Extract<DailyEvent, 'dialin-ready'>;
1168
+ sipEndpoint: string;
1169
+ }
1170
+
1165
1171
  export interface DailyEventObjectDialinConnected extends DailyEventObjectBase {
1166
1172
  action: Extract<DailyEvent, 'dialin-connected'>;
1167
1173
  sipHeaders?: Record<string, any>;
@@ -1289,6 +1295,8 @@ export type DailyEventObject<T extends DailyEvent = any> =
1289
1295
  ? DailyEventObjectAvailableDevicesUpdated
1290
1296
  : T extends DailyEventObjectSendSettingsUpdated['action']
1291
1297
  ? DailyEventObjectSendSettingsUpdated
1298
+ : T extends DailyEventObjectDialinReady['action']
1299
+ ? DailyEventObjectDialinReady
1292
1300
  : T extends DailyEventObjectDialinConnected['action']
1293
1301
  ? DailyEventObjectDialinConnected
1294
1302
  : T extends DailyEventObjectDialinError['action']