@eka-care/ekascribe-ts-sdk 3.0.24 → 3.0.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/README.md +7 -1
- package/dist/index.mjs +4324 -2929
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -879,6 +879,12 @@ await ekascribe.startForPatient({
|
|
|
879
879
|
|
|
880
880
|
That's it. The widget handles `startRecordingV2()`, `pauseRecording()`, `resumeRecording()`, `endRecording()`, and `getSessionStatus()` internally.
|
|
881
881
|
|
|
882
|
+
### Behavior
|
|
883
|
+
|
|
884
|
+
- **Draggable** — the widget can be repositioned anywhere on screen.
|
|
885
|
+
- **One recording at a time** — calling `startForPatient()` while a recording is active returns an error. If the widget is in DONE or ERROR state, it auto-resets and starts the new session.
|
|
886
|
+
- **Done state** — after processing, the widget expands to show transcript and rendered markdown notes. If both are available, they appear in separate tabs.
|
|
887
|
+
|
|
882
888
|
### Widget State Flow
|
|
883
889
|
|
|
884
890
|
```
|
|
@@ -1107,7 +1113,7 @@ const config: EkaScribeConfig = {
|
|
|
1107
1113
|
access_token: token,
|
|
1108
1114
|
env: 'PROD',
|
|
1109
1115
|
allianceConfig: {
|
|
1110
|
-
baseUrl: 'https://api.eka.care/voice/
|
|
1116
|
+
baseUrl: 'https://api.eka.care/voice/v1',
|
|
1111
1117
|
},
|
|
1112
1118
|
};
|
|
1113
1119
|
|