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

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.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -1
  2. package/package.json +1 -1
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.25",
4
4
  "description": "EkaScribe TypeScript SDK - Modern ES2020 build",
5
5
  "main": "dist/index.mjs",
6
6
  "module": "dist/index.mjs",