@eka-care/ekascribe-ts-sdk 1.4.28 → 1.4.30
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.
|
@@ -10,7 +10,7 @@ async function postV1ConvertToTemplate({ txn_id, template_id, }) {
|
|
|
10
10
|
headers,
|
|
11
11
|
body: JSON.stringify({}),
|
|
12
12
|
};
|
|
13
|
-
const response = await fetchWrapper(`${GET_EKA_VOICE_HOST_V1()}/transaction/${txn_id}/convert-to-template/${template_id}`, options);
|
|
13
|
+
const response = await fetchWrapper(`${GET_EKA_VOICE_HOST_V1()}/transaction/${txn_id}/convert-to-template/${template_id}`, options, 60000);
|
|
14
14
|
let res = await response.json();
|
|
15
15
|
res = {
|
|
16
16
|
...res,
|
|
@@ -14,7 +14,7 @@ const startVoiceRecording = async () => {
|
|
|
14
14
|
message: 'Microphone access is required to start recording. Please recheck access.',
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
|
-
await vadInstance?.initVad();
|
|
17
|
+
// await vadInstance?.initVad();
|
|
18
18
|
console.log(vadInstance, 'vad in start recording');
|
|
19
19
|
const micVad = vadInstance?.getMicVad();
|
|
20
20
|
console.log(micVad, 'mic vad in start recording');
|