@videosdk.live/react-sdk 0.1.104 → 0.1.105
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/dist/index.js +13 -9
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +13 -9
- package/dist/index.modern.js.map +1 -1
- package/dist/types/index.d.ts +16 -2
- package/package.json +2 -2
package/dist/types/index.d.ts
CHANGED
|
@@ -852,6 +852,14 @@ export function useMeeting({
|
|
|
852
852
|
theme: 'DEFAULT' | 'DARK' | 'LIGHT';
|
|
853
853
|
quality: 'low' | 'med' | 'high';
|
|
854
854
|
mode: 'video-and-audio' | 'audio';
|
|
855
|
+
},
|
|
856
|
+
transcription?: {
|
|
857
|
+
enabled: boolean;
|
|
858
|
+
summary?: {
|
|
859
|
+
enabled: boolean;
|
|
860
|
+
prompt?: string;
|
|
861
|
+
};
|
|
862
|
+
language?: string;
|
|
855
863
|
}
|
|
856
864
|
) => void;
|
|
857
865
|
stopRecording: () => void;
|
|
@@ -1094,11 +1102,13 @@ export function useTranscription({
|
|
|
1094
1102
|
* @param config.modelConfig? modelConfig if any, which will be used while doing transcription
|
|
1095
1103
|
* @param config.summary.enabled Enables or disables summary generation from realtime transcriptions.
|
|
1096
1104
|
* @param config.summary.prompt Guides summary generation (optional).
|
|
1105
|
+
* @param config.language Language code for transcription, default is 'en' (optional).
|
|
1097
1106
|
*/
|
|
1098
1107
|
startTranscription: ({
|
|
1099
1108
|
webhookUrl,
|
|
1100
1109
|
modelConfig,
|
|
1101
|
-
summary
|
|
1110
|
+
summary,
|
|
1111
|
+
language
|
|
1102
1112
|
}: {
|
|
1103
1113
|
webhookUrl?: string;
|
|
1104
1114
|
modelConfig?: object;
|
|
@@ -1106,6 +1116,7 @@ export function useTranscription({
|
|
|
1106
1116
|
enabled: boolean;
|
|
1107
1117
|
prompt?: string;
|
|
1108
1118
|
};
|
|
1119
|
+
language?: string;
|
|
1109
1120
|
}) => void;
|
|
1110
1121
|
stopTranscription: () => void;
|
|
1111
1122
|
};
|
|
@@ -1192,7 +1203,8 @@ export function useCharacter(
|
|
|
1192
1203
|
characterRole,
|
|
1193
1204
|
characterMode,
|
|
1194
1205
|
knowledgeBases,
|
|
1195
|
-
language
|
|
1206
|
+
language,
|
|
1207
|
+
metaData
|
|
1196
1208
|
}: {
|
|
1197
1209
|
interactionId: string;
|
|
1198
1210
|
// OR
|
|
@@ -1202,6 +1214,7 @@ export function useCharacter(
|
|
|
1202
1214
|
characterMode: 'text' | 'co_pilot' | 'auto_pilot' | 'vision_pilot';
|
|
1203
1215
|
knowledgeBases: string[];
|
|
1204
1216
|
language: string;
|
|
1217
|
+
metaData: any;
|
|
1205
1218
|
},
|
|
1206
1219
|
{
|
|
1207
1220
|
onCharacterStateChanged,
|
|
@@ -1268,6 +1281,7 @@ export function useCharacter(
|
|
|
1268
1281
|
characterMode?: CharacterMode;
|
|
1269
1282
|
characterState?: CharacterState;
|
|
1270
1283
|
knowledgeBases?: string[];
|
|
1284
|
+
metaData?: any;
|
|
1271
1285
|
|
|
1272
1286
|
enableMic: () => void;
|
|
1273
1287
|
disableMic: () => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@videosdk.live/react-sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.105",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.modern.js",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@videosdk.live/js-sdk": "0.0.
|
|
77
|
+
"@videosdk.live/js-sdk": "0.0.101",
|
|
78
78
|
"events": "^3.3.0"
|
|
79
79
|
}
|
|
80
80
|
}
|