@eka-care/ekascribe-ts-sdk 2.0.14 → 2.0.15
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/README.md +4 -3
- package/package.json +2 -3
package/README.md
CHANGED
|
@@ -302,7 +302,8 @@ const response = await ekascribe.endRecording();
|
|
|
302
302
|
|
|
303
303
|
**Error handling:**
|
|
304
304
|
|
|
305
|
-
|
|
305
|
+
Possible Error Codes in `error_code`:
|
|
306
|
+
|
|
306
307
|
- `txn_stop_failed`: Call `endRecording` again.
|
|
307
308
|
- `audio_upload_failed`: Use `retryUploadRecording` (step 9).
|
|
308
309
|
- `txn_commit_failed`: Call `commitTransactionCall` (step 11).
|
|
@@ -347,10 +348,10 @@ const res = await ekascribe.pollSessionOutput({
|
|
|
347
348
|
|
|
348
349
|
Status codes to handle:
|
|
349
350
|
|
|
351
|
+
- `200`: Success; all templates processed.
|
|
350
352
|
- `202`: Templates are still processing; poll again (or let `pollSessionOutput` continue).
|
|
351
|
-
- `500`: All template processing failed, or internal server error; stop and surface error.
|
|
352
353
|
- `206`: Partial success; some templates not processed fully.
|
|
353
|
-
- `
|
|
354
|
+
- `500`: All template processing failed, or internal server error; stop and surface error.
|
|
354
355
|
|
|
355
356
|
- #### Response type:
|
|
356
357
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eka-care/ekascribe-ts-sdk",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.15",
|
|
4
4
|
"description": "EkaScribe TypeScript SDK - Modern ES2020 build",
|
|
5
5
|
"main": "dist/index.mjs",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -33,7 +33,6 @@
|
|
|
33
33
|
},
|
|
34
34
|
"files": [
|
|
35
35
|
"dist",
|
|
36
|
-
"README.md"
|
|
37
|
-
"LICENSE"
|
|
36
|
+
"README.md"
|
|
38
37
|
]
|
|
39
38
|
}
|