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

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.
@@ -343,6 +343,10 @@ class VadWebClient {
343
343
  * reset vadWeb instance
344
344
  */
345
345
  resetVadWebInstance() {
346
+ // First, stop any ongoing operations
347
+ if (this.micVad) {
348
+ this.micVad.pause(); // Stop recording first
349
+ }
346
350
  // Properly destroy MicVAD instance
347
351
  if (this.micVad && typeof this.micVad.destroy === 'function') {
348
352
  this.micVad.destroy();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eka-care/ekascribe-ts-sdk",
3
- "version": "1.5.3",
3
+ "version": "1.5.4",
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>",