@eka-care/ekascribe-ts-sdk 1.5.40 → 1.5.42
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.
|
@@ -244,12 +244,6 @@ class VadWebClient {
|
|
|
244
244
|
onFrameProcessed: (prob, frames) => {
|
|
245
245
|
// Get callback dynamically to ensure it's always up to date
|
|
246
246
|
const vadFrameProcessedCallback = EkaScribeStore.vadFrameProcessedCallback;
|
|
247
|
-
// console.log(
|
|
248
|
-
// 'VAD callback exists:',
|
|
249
|
-
// !!vadFrameProcessedCallback,
|
|
250
|
-
// 'Recording started:',
|
|
251
|
-
// this.recording_started
|
|
252
|
-
// );
|
|
253
247
|
if (vadFrameProcessedCallback) {
|
|
254
248
|
vadFrameProcessedCallback({ probabilities: prob, frame: frames });
|
|
255
249
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const DEV = {
|
|
2
2
|
COG_HOST: 'https://cog.dev.eka.care',
|
|
3
|
-
EKA_VOICE_HOST_V1: 'https://
|
|
4
|
-
EKA_VOICE_HOST_V2: 'https://
|
|
5
|
-
EKA_VOICE_HOST_V3: 'https://
|
|
3
|
+
EKA_VOICE_HOST_V1: 'https://api.dev.eka.care/voice/api/v1',
|
|
4
|
+
EKA_VOICE_HOST_V2: 'https://api.dev.eka.care/voice/api/v2',
|
|
5
|
+
EKA_VOICE_HOST_V3: 'https://api.dev.eka.care/voice/api/v3',
|
|
6
6
|
COOK_V1: ' https://deepthought-genai.dev.eka.care/api/v1',
|
|
7
7
|
EKA_HOST: 'https://api.dev.eka.care',
|
|
8
8
|
};
|
|
@@ -15,7 +15,7 @@ const PROD = {
|
|
|
15
15
|
EKA_HOST: 'https://api.eka.care',
|
|
16
16
|
};
|
|
17
17
|
let envVar = PROD;
|
|
18
|
-
let client_id = '';
|
|
18
|
+
let client_id = 'doc-web';
|
|
19
19
|
let auth;
|
|
20
20
|
const setEnv = ({ env, clientId, auth_token, }) => {
|
|
21
21
|
if (env) {
|
|
@@ -24,9 +24,7 @@ export default async function fetchWrapper(url, options = {}, timeoutMs = API_TI
|
|
|
24
24
|
signal: controller.signal,
|
|
25
25
|
credentials: 'include',
|
|
26
26
|
});
|
|
27
|
-
console.log(response, 'response.ok in fetch wrapper');
|
|
28
27
|
if (!response.ok) {
|
|
29
|
-
console.log(response, '!response.ok in fetch wrapper');
|
|
30
28
|
if (onEventCallback) {
|
|
31
29
|
onEventCallback({
|
|
32
30
|
callback_type: CALLBACK_TYPE.AUTHENTICATION_STATUS,
|