@eka-care/ekascribe-ts-sdk 1.5.4 → 1.5.6

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.
@@ -344,7 +344,7 @@ class VadWebClient {
344
344
  */
345
345
  resetVadWebInstance() {
346
346
  // First, stop any ongoing operations
347
- if (this.micVad) {
347
+ if (this.micVad && typeof this.micVad.pause === 'function') {
348
348
  this.micVad.pause(); // Stop recording first
349
349
  }
350
350
  // Properly destroy MicVAD instance
package/dist/index.js CHANGED
@@ -123,6 +123,7 @@ class EkaScribe {
123
123
  }
124
124
  async patchSessionStatus({ sessionId, processing_status, processing_error, }) {
125
125
  try {
126
+ this.vadInstance.pauseVad();
126
127
  const patchTransactionResponse = await patchTransactionStatus({
127
128
  sessionId,
128
129
  processing_status,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eka-care/ekascribe-ts-sdk",
3
- "version": "1.5.4",
3
+ "version": "1.5.6",
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>",