@eka-care/ekascribe-ts-sdk 2.1.38 → 2.1.39

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
@@ -438,8 +438,10 @@ declare type TGetStatusApiResponse = {
438
438
  };
439
439
  error?: {
440
440
  code: string;
441
- msg: string;
441
+ message: string;
442
+ display_message: string;
442
443
  };
444
+ status: string;
443
445
  };
444
446
 
445
447
  export declare type TGetStatusResponse = {
package/dist/index.mjs CHANGED
@@ -30856,7 +30856,7 @@ const decodeApiResponse = (s) => {
30856
30856
  poll_status: "in-progress"
30857
30857
  }), b >= 400) {
30858
30858
  if (a++, a >= 3) {
30859
- const S = g?.error?.msg || "We encountered a backend error while fetching results. Please try again.";
30859
+ const S = g?.error?.message || "We encountered a backend error while fetching results. Please try again.";
30860
30860
  return d(b, null, S, "failed");
30861
30861
  }
30862
30862
  } else
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eka-care/ekascribe-ts-sdk",
3
- "version": "2.1.38",
3
+ "version": "2.1.39",
4
4
  "description": "EkaScribe TypeScript SDK - Modern ES2020 build",
5
5
  "main": "dist/index.mjs",
6
6
  "module": "dist/index.mjs",