@eka-care/ekascribe-ts-sdk 1.5.32 → 1.5.34

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.
@@ -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 = 'doc-web';
18
+ let client_id = '';
19
19
  let auth;
20
20
  const setEnv = ({ env, clientId, auth_token, }) => {
21
21
  if (env) {
@@ -24,7 +24,9 @@ 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');
27
28
  if (!response.ok) {
29
+ console.log(response, '!response.ok in fetch wrapper');
28
30
  if (onEventCallback) {
29
31
  onEventCallback({
30
32
  callback_type: CALLBACK_TYPE.AUTHENTICATION_STATUS,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eka-care/ekascribe-ts-sdk",
3
- "version": "1.5.32",
3
+ "version": "1.5.34",
4
4
  "main": "dist/index.js",
5
5
  "repository": "git@github.com:eka-care/eka-js-sdk.git",
6
6
  "author": "Sanikagoyal28 <sanikagoyal9@gmail.com>",