@eka-care/ekascribe-ts-sdk 1.5.6 → 1.5.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.
@@ -344,9 +344,9 @@ class VadWebClient {
344
344
  */
345
345
  resetVadWebInstance() {
346
346
  // First, stop any ongoing operations
347
- if (this.micVad && typeof this.micVad.pause === 'function') {
348
- this.micVad.pause(); // Stop recording first
349
- }
347
+ // if (this.micVad && typeof this.micVad.pause === 'function') {
348
+ // this.micVad.pause(); // Stop recording first
349
+ // }
350
350
  // Properly destroy MicVAD instance
351
351
  if (this.micVad && typeof this.micVad.destroy === 'function') {
352
352
  this.micVad.destroy();
package/dist/index.d.ts CHANGED
@@ -21,6 +21,7 @@ declare class EkaScribe {
21
21
  startRecording(): Promise<import("./constants/types").TStartRecordingResponse>;
22
22
  reinitializeVad(): void;
23
23
  destroyVad(): void;
24
+ pauseVad(): void;
24
25
  pauseRecording(): import("./constants/types").TPauseRecordingResponse;
25
26
  resumeRecording(): import("./constants/types").TPauseRecordingResponse;
26
27
  endRecording(): Promise<TEndRecordingResponse>;
package/dist/index.js CHANGED
@@ -101,6 +101,9 @@ class EkaScribe {
101
101
  destroyVad() {
102
102
  this.vadInstance.destroyVad();
103
103
  }
104
+ pauseVad() {
105
+ this.vadInstance.pauseVad();
106
+ }
104
107
  pauseRecording() {
105
108
  const pauseRecordingResponse = pauseVoiceRecording();
106
109
  console.log('%c Line:117 🍌 pauseRecordingResponse', 'color:#6ec1c2', pauseRecordingResponse);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eka-care/ekascribe-ts-sdk",
3
- "version": "1.5.6",
3
+ "version": "1.5.7",
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>",