@daily-co/react-native-daily-js 0.27.0 → 0.28.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,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@daily-co/react-native-daily-js",
|
|
3
|
-
"
|
|
3
|
+
"//": "^ COMMENT OUT 'private: true' BEFORE RUNNING NPM PUBLISH",
|
|
4
|
+
"version": "0.28.0",
|
|
4
5
|
"description": "React Native library for making video calls using Daily",
|
|
5
6
|
"main": "dist/index.js",
|
|
6
7
|
"types": "dist/index.d.ts",
|
|
@@ -26,11 +27,11 @@
|
|
|
26
27
|
"baseUrl": "https://github.com/daily-co/react-native-daily-js"
|
|
27
28
|
},
|
|
28
29
|
"dependencies": {
|
|
29
|
-
"@daily-co/daily-js": "^0.
|
|
30
|
+
"@daily-co/daily-js": "^0.30.0",
|
|
30
31
|
"@types/react-native-background-timer": "^2.0.0",
|
|
31
32
|
"react-native-url-polyfill": "^1.1.2"
|
|
32
33
|
},
|
|
33
|
-
"
|
|
34
|
+
"///": "WHEN ONE OF THESE CHANGE, PLEASE UPDATE README.md INSTALL SNIPPET ACCORDINGLY",
|
|
34
35
|
"peerDependencies": {
|
|
35
36
|
"@daily-co/react-native-webrtc": "1.94.1-daily.4",
|
|
36
37
|
"@react-native-async-storage/async-storage": "^1.15.7",
|
|
@@ -117,6 +117,8 @@ export interface DailyCallOptions {
|
|
|
117
117
|
videoSource?: string | MediaStreamTrack;
|
|
118
118
|
audioSource?: string | MediaStreamTrack;
|
|
119
119
|
receiveSettings?: DailyReceiveSettings;
|
|
120
|
+
userName?: string;
|
|
121
|
+
userData?: unknown;
|
|
120
122
|
}
|
|
121
123
|
|
|
122
124
|
export interface DailyLoadOptions extends DailyCallOptions {
|
|
@@ -197,8 +199,9 @@ export interface DailyParticipant {
|
|
|
197
199
|
// user/session info
|
|
198
200
|
user_id: string;
|
|
199
201
|
user_name: string;
|
|
202
|
+
userData?: unknown;
|
|
200
203
|
session_id: string;
|
|
201
|
-
joined_at
|
|
204
|
+
joined_at?: Date;
|
|
202
205
|
will_eject_at: Date;
|
|
203
206
|
local: boolean;
|
|
204
207
|
owner: boolean;
|
|
@@ -284,11 +287,13 @@ export interface DailyRoomInfo {
|
|
|
284
287
|
exp?: number;
|
|
285
288
|
max_participants?: number;
|
|
286
289
|
enable_screenshare?: boolean;
|
|
290
|
+
enable_audience_reactions?: boolean;
|
|
287
291
|
enable_chat?: boolean;
|
|
288
292
|
enable_knocking?: boolean;
|
|
289
293
|
enable_network_ui?: boolean;
|
|
290
294
|
enable_people_ui?: boolean;
|
|
291
295
|
enable_pip_ui?: boolean;
|
|
296
|
+
enable_hand_raising?: boolean;
|
|
292
297
|
enable_prejoin_ui?: boolean;
|
|
293
298
|
enable_video_processing_ui?: boolean;
|
|
294
299
|
start_video_off?: boolean;
|
|
@@ -316,9 +321,11 @@ export interface DailyRoomInfo {
|
|
|
316
321
|
max_api_rooms?: number;
|
|
317
322
|
webhook_meeting_end?: any;
|
|
318
323
|
max_live_streams?: number;
|
|
324
|
+
enable_audience_reactions?: boolean;
|
|
319
325
|
enable_network_ui?: boolean;
|
|
320
326
|
enable_people_ui?: boolean;
|
|
321
327
|
enable_pip_ui?: boolean;
|
|
328
|
+
enable_hand_raising?: boolean;
|
|
322
329
|
enable_prejoin_ui?: boolean;
|
|
323
330
|
enable_video_processing_ui?: boolean;
|
|
324
331
|
};
|
|
@@ -742,7 +749,7 @@ export interface DailyCall {
|
|
|
742
749
|
device: { facingMode: DailyCameraFacingMode } | null;
|
|
743
750
|
}>;
|
|
744
751
|
setAudioDevice(deviceId: string): Promise<{
|
|
745
|
-
deviceId:
|
|
752
|
+
deviceId: string;
|
|
746
753
|
}>;
|
|
747
754
|
getCameraFacingMode(): Promise<DailyCameraFacingMode | null>;
|
|
748
755
|
nativeInCallAudioMode(): DailyNativeInCallAudioMode;
|
|
@@ -779,6 +786,7 @@ export interface DailyCall {
|
|
|
779
786
|
enumerateDevices(): Promise<{ devices: MediaDeviceInfo[] }>;
|
|
780
787
|
sendAppMessage(data: any, to?: string): DailyCall;
|
|
781
788
|
setUserName(name: string): Promise<{ userName: string }>;
|
|
789
|
+
setUserData(data: unknown): Promise<{ userData: unknown }>;
|
|
782
790
|
room(options?: {
|
|
783
791
|
includeRoomConfigDefaults: boolean;
|
|
784
792
|
}): Promise<DailyPendingRoomInfo | DailyRoomInfo | null>;
|