interview-widget 3.2.5 → 3.2.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.
@@ -41,6 +41,7 @@ declare class STTService {
41
41
  private recordingStream;
42
42
  private autoStopTimeoutId;
43
43
  private disposed;
44
+ private pendingStopPromise;
44
45
  constructor(config?: STTConfig);
45
46
  /**
46
47
  * Update STT configuration
@@ -62,10 +63,6 @@ declare class STTService {
62
63
  startRecording(maxDuration?: number, events?: RecordingEvents): Promise<void>;
63
64
  /**
64
65
  * Stop recording and return the audio blob.
65
- *
66
- * NOTE: This method does NOT fire onStop — that is handled exclusively
67
- * by the MediaRecorder's "stop" event listener set in startRecording().
68
- * This prevents the double-fire issue.
69
66
  */
70
67
  stopRecording(): Promise<Blob>;
71
68
  /**