@eka-care/ekascribe-ts-sdk 2.1.24 → 2.1.26

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.d.ts CHANGED
@@ -464,6 +464,7 @@ export declare type TPatchVoiceApiV2ConfigRequest = {
464
464
  request_type: string;
465
465
  data: {
466
466
  auto_download?: boolean;
467
+ auto_detect_language?: boolean;
467
468
  input_languages?: TGetConfigItem[];
468
469
  consultation_mode?: string;
469
470
  model_type?: string;
@@ -697,6 +698,7 @@ export declare type TSelectedPreferences = {
697
698
  auto_download?: boolean;
698
699
  model_type?: string;
699
700
  copy_overlay?: boolean;
701
+ auto_detect_language?: boolean;
700
702
  };
701
703
 
702
704
  export declare type TSessionHistoryData = {
package/dist/index.mjs CHANGED
@@ -168,7 +168,7 @@ async function fetchWrapper(s, n = {}, i = API_TIMEOUT_MS) {
168
168
  l.abort();
169
169
  }, i);
170
170
  const u = new Headers(n.headers);
171
- u.get("client-id") || u.set("client-id", GET_CLIENT_ID()), u.get("flavour") || u.set("flavour", GET_FLAVOUR()), !u.get("auth") && GET_AUTH_TOKEN() && u.set("auth", GET_AUTH_TOKEN());
171
+ u.get("client-id") || u.set("client-id", GET_CLIENT_ID()), !u.get("flavour") && !s.includes("file-upload") && u.set("flavour", GET_FLAVOUR()), !u.get("auth") && GET_AUTH_TOKEN() && u.set("auth", GET_AUTH_TOKEN());
172
172
  const d = getNetworkBridge();
173
173
  let _;
174
174
  if (d) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eka-care/ekascribe-ts-sdk",
3
- "version": "2.1.24",
3
+ "version": "2.1.26",
4
4
  "description": "EkaScribe TypeScript SDK - Modern ES2020 build",
5
5
  "main": "dist/index.mjs",
6
6
  "module": "dist/index.mjs",