@speechos/core 0.2.6 → 0.2.7
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.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/state.d.cts +2 -1
- package/dist/state.d.ts +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -316,14 +316,16 @@ var StateManager = class {
|
|
|
316
316
|
});
|
|
317
317
|
}
|
|
318
318
|
/**
|
|
319
|
-
* Complete the recording flow and return to idle
|
|
319
|
+
* Complete the recording flow and return to idle.
|
|
320
|
+
* Keeps widget visible but collapsed (just mic button, no action bubbles).
|
|
320
321
|
*/
|
|
321
322
|
completeRecording() {
|
|
322
323
|
this.setState({
|
|
323
324
|
recordingState: "idle",
|
|
324
325
|
activeAction: null,
|
|
325
326
|
isConnected: false,
|
|
326
|
-
isMicEnabled: false
|
|
327
|
+
isMicEnabled: false,
|
|
328
|
+
isExpanded: false
|
|
327
329
|
});
|
|
328
330
|
}
|
|
329
331
|
/**
|