@olares/lares-mobile 0.15.23 → 0.15.24
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/package.json +2 -2
- package/src/App.vue +5 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@olares/lares-mobile",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.24",
|
|
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.
|
|
31
|
+
"@olares/lares-core": "0.15.24",
|
|
32
32
|
"markdown-it": "^14.3.0"
|
|
33
33
|
}
|
|
34
34
|
}
|
package/src/App.vue
CHANGED
|
@@ -1533,8 +1533,12 @@ export default {
|
|
|
1533
1533
|
const text = this.draft.trim();
|
|
1534
1534
|
if (!this.canSend) return;
|
|
1535
1535
|
this.player?.unlock();
|
|
1536
|
+
const continuous = this.voicePanelState?.mode === "continuous";
|
|
1537
|
+
if (this.voiceSpeak && continuous) {
|
|
1538
|
+
try { await this.voicePanel.openReadout(); }
|
|
1539
|
+
catch (error) { this.voiceError = error?.code || error?.message || "voice_failed"; }
|
|
1540
|
+
} else if (this.voiceCall?.connection === "open") await this.voicePanel.pause();
|
|
1536
1541
|
this.reader.stop();
|
|
1537
|
-
if (this.voiceCall?.connection === "open") await this.voicePanel.pause();
|
|
1538
1542
|
const sessionId = this.sessionId;
|
|
1539
1543
|
const images = this.draftImages.filter((row) => draftImageStatus(row) === "ready");
|
|
1540
1544
|
const wasRunning = this.running;
|