recappi 0.1.44 → 0.1.45

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.
package/dist/index.js CHANGED
@@ -456,6 +456,11 @@ function sidecarToLiveCaptionEvent(event) {
456
456
  }
457
457
  return { kind: "partial", text: event.text };
458
458
  }
459
+ case "live_caption.status":
460
+ if (event.status === "error") {
461
+ return { kind: "error", message: event.message ?? "Live captions error" };
462
+ }
463
+ return { kind: "status", status: event.status };
459
464
  case "error":
460
465
  return event.code.startsWith("live_caption.") ? { kind: "error", message: event.message } : null;
461
466
  case "audio.level":