@rapidaai/react 1.1.53 → 1.1.54

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.
@@ -30169,6 +30169,9 @@ class AudioConcatProcessor extends AudioWorkletProcessor {
30169
30169
  case "interrupt":
30170
30170
  this.wasInterrupted = true;
30171
30171
  break;
30172
+ case "resetInterrupt":
30173
+ this.wasInterrupted = false;
30174
+ break;
30172
30175
  case "clearInterrupted":
30173
30176
  if (this.wasInterrupted) {
30174
30177
  this.wasInterrupted = false;
@@ -30471,6 +30474,7 @@ var VoiceAgent = class extends Agent {
30471
30474
  */
30472
30475
  fadeOutAudio = (duration = 2) => {
30473
30476
  if (!this.output) return;
30477
+ this.output.worklet.port.postMessage({ type: "resetInterrupt" });
30474
30478
  const currentTime = this.output.context.currentTime;
30475
30479
  this.output.gain.gain.exponentialRampToValueAtTime(
30476
30480
  1e-4,
@@ -31181,4 +31185,4 @@ export {
31181
31185
  useSelectInputDeviceAgent,
31182
31186
  DeviceSelectorComponent
31183
31187
  };
31184
- //# sourceMappingURL=chunk-4RUIGDSN.mjs.map
31188
+ //# sourceMappingURL=chunk-U2JQCXY3.mjs.map