@olares/lares-mobile 0.15.37 → 0.15.38

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/App.vue +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@olares/lares-mobile",
3
- "version": "0.15.37",
3
+ "version": "0.15.38",
4
4
  "description": "Lares chat component for LarePass",
5
5
  "type": "module",
6
6
  "repository": {
@@ -28,7 +28,7 @@
28
28
  "vue": "^3.2.0"
29
29
  },
30
30
  "dependencies": {
31
- "@olares/lares-core": "0.15.37",
31
+ "@olares/lares-core": "0.15.38",
32
32
  "markdown-it": "^14.3.0"
33
33
  }
34
34
  }
package/src/App.vue CHANGED
@@ -135,6 +135,7 @@ import { playAudioStream, createStreamingCapture } from "@olares/lares-core/voic
135
135
  import { voiceHeaders, wavBlob } from "@olares/lares-core/voice/client";
136
136
  import { browserPlays } from "@olares/lares-core/voice/playback";
137
137
  import { speakProblemText, speakToggleNotice } from "@olares/lares-core/voice/problem";
138
+ import { voiceVisibleError } from "@olares/lares-core/voice/presentation";
138
139
  import { appendDraftMentions } from "@olares/lares-core/files/mention";
139
140
  import { FileIntake, partitionDocumentsBySize, splitComposerFiles } from "@olares/lares-core/files/intake";
140
141
  import {
@@ -597,7 +598,7 @@ export default {
597
598
  this.voicePanelUnsub = this.voicePanel.subscribe(() => {
598
599
  const view = this.voicePanel.getSnapshot(); this.voicePanelState = view;
599
600
  this.voiceCall = view.snapshot?.connection === "closed" ? null : view.snapshot;
600
- this.voicePhase = view.snapshot?.capture || "idle"; this.voiceError = view.error || view.snapshot?.error || "";
601
+ this.voicePhase = view.snapshot?.capture || "idle"; this.voiceError = voiceVisibleError(view) || "";
601
602
  // The call no longer owns the answer: a cancelled take gives it back.
602
603
  if (this.voiceSuspended && view.snapshot?.connection !== "open") this.resumeSuspendedReadout();
603
604
  });