@ai-matrx/meet 0.7.15 → 0.7.17

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
@@ -3381,7 +3381,7 @@ function createCallInviteHandler(options) {
3381
3381
  choices: (payload) => {
3382
3382
  if (Date.parse(payload.expires_at) < now()) return [];
3383
3383
  return [
3384
- { id: "join", label: payload.mode === "video" ? "Join video" : "Join call", tone: "primary" },
3384
+ { id: "join", label: payload.mode === "video" ? "Join video" : "Join call", icon: payload.mode === "video" ? "video" : "phone", tone: "primary" },
3385
3385
  { id: "decline", label: "Decline", tone: "neutral" }
3386
3386
  ];
3387
3387
  },
@@ -4518,12 +4518,7 @@ function recordingOffsetMs(at, recording) {
4518
4518
  return moment - start;
4519
4519
  }
4520
4520
  function clockPosition(offsetMs) {
4521
- const total = Math.max(0, Math.floor(offsetMs / 1e3));
4522
- const h = Math.floor(total / 3600);
4523
- const m = Math.floor(total % 3600 / 60);
4524
- const s = total % 60;
4525
- const ss = String(s).padStart(2, "0");
4526
- return h > 0 ? `${h}:${String(m).padStart(2, "0")}:${ss}` : `${m}:${ss}`;
4521
+ return formatDurationMs(Math.max(0, offsetMs), { style: "clock" });
4527
4522
  }
4528
4523
  function searchTranscript(segments, query, names = {}) {
4529
4524
  const needle = fold(query.trim());