@daily-co/react-native-daily-js 0.77.0 → 0.78.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.
@@ -62,7 +62,9 @@ public class DailyNativeUtils extends ReactContextBaseJavaModule implements Perm
62
62
 
63
63
  @Override
64
64
  public void onHostDestroy() {
65
- eventEmitter.emit("EventOnHostDestroy", Arguments.createMap());
65
+ if (eventEmitter != null) {
66
+ eventEmitter.emit("EventOnHostDestroy", Arguments.createMap());
67
+ }
66
68
  DailyOngoingMeetingForegroundService.stop(reactContext);
67
69
  }
68
70
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daily-co/react-native-daily-js",
3
- "version": "0.77.0",
3
+ "version": "0.78.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,7 +30,7 @@
30
30
  "baseUrl": "https://github.com/daily-co/react-native-daily-js"
31
31
  },
32
32
  "dependencies": {
33
- "@daily-co/daily-js": "^0.80.0",
33
+ "@daily-co/daily-js": "^0.81.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"
@@ -1178,6 +1178,9 @@ export interface DailyEventObjectDialinConnected extends DailyEventObjectBase {
1178
1178
  export interface DailyEventObjectDialinError extends DailyEventObjectBase {
1179
1179
  action: Extract<DailyEvent, 'dialin-error'>;
1180
1180
  errorMsg: string;
1181
+ sessionId: string;
1182
+ type?: 'start-failed' | null;
1183
+ details?: { sipEndpoint?: string };
1181
1184
  actionTraceId?: string;
1182
1185
  }
1183
1186