med-scribe-alliance-ts-sdk 2.0.6 → 2.0.7
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.mjs +2 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1839,10 +1839,11 @@ var re = class {
|
|
|
1839
1839
|
return this.wrapResult(() => this.sessionManager.processTemplate(n, e, t));
|
|
1840
1840
|
}
|
|
1841
1841
|
async cancelSession(e) {
|
|
1842
|
+
let t = e ?? this.recordingManager.getActiveSession()?.session_id ?? this.sessionManager.getCurrentSession()?.session_id;
|
|
1842
1843
|
return this.recordingManager.isRecording() && await this.recordingManager.forceStop(), this.recordingManager.reset(), this.sessionManager.clearCurrentSession(), this.updateSession({
|
|
1843
1844
|
user_status: "cancelled",
|
|
1844
1845
|
processing_status: "cancelled"
|
|
1845
|
-
},
|
|
1846
|
+
}, t);
|
|
1846
1847
|
}
|
|
1847
1848
|
getDiscoveryConfig() {
|
|
1848
1849
|
try {
|