@opengeni/react 7.1.2-canary.36079201993001 → 7.1.2
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/{browser-viewer-K2H3SLIW.js → browser-viewer-TZ6T76E3.js} +2 -2
- package/dist/{chunk-6N3AZUOV.js → chunk-4ACTWOOW.js} +14 -31
- package/dist/chunk-4ACTWOOW.js.map +1 -0
- package/dist/{chunk-ETA37UZ7.js → chunk-CP6IFD2Z.js} +7 -4
- package/dist/chunk-CP6IFD2Z.js.map +1 -0
- package/dist/{chunk-AWIX4UAC.js → chunk-VHEY4CB3.js} +3 -5
- package/dist/{chunk-AWIX4UAC.js.map → chunk-VHEY4CB3.js.map} +1 -1
- package/dist/{chunk-SJ5HE4ZA.js → chunk-VI7HELBI.js} +2 -21
- package/dist/chunk-VI7HELBI.js.map +1 -0
- package/dist/composer.js +1 -1
- package/dist/index.js +4 -4
- package/dist/interaction.js +1 -1
- package/dist/session-ui.js +3 -3
- package/dist/session.js +1 -1
- package/dist/timeline/types.d.ts +0 -2
- package/package.json +3 -3
- package/src/components/browser-viewer.tsx +5 -1
- package/src/components/composer-transcription-control.tsx +2 -4
- package/src/components/composer.tsx +9 -20
- package/src/hooks/use-browser-frame-stream.ts +1 -3
- package/src/hooks/use-voice-input.ts +1 -12
- package/src/timeline/compaction-copy.ts +0 -2
- package/src/timeline/projection.ts +5 -31
- package/src/timeline/types.ts +0 -2
- package/dist/chunk-6N3AZUOV.js.map +0 -1
- package/dist/chunk-ETA37UZ7.js.map +0 -1
- package/dist/chunk-SJ5HE4ZA.js.map +0 -1
- /package/dist/{browser-viewer-K2H3SLIW.js.map → browser-viewer-TZ6T76E3.js.map} +0 -0
|
@@ -74,8 +74,7 @@ var RELAY_TAG_CLOSE = 4;
|
|
|
74
74
|
var MAX_AUTOMATIC_RECONNECTS_WITHOUT_A_FRAME = 2;
|
|
75
75
|
function useBrowserFrameStream(options) {
|
|
76
76
|
const { client, workspaceId } = useEmbeddedBrowserInteraction(options);
|
|
77
|
-
const
|
|
78
|
-
const enabled = (options.enabled ?? true) && pageLive;
|
|
77
|
+
const enabled = options.enabled ?? true;
|
|
79
78
|
const [nonce, setNonce] = useState(0);
|
|
80
79
|
const [result, setResult] = useState({
|
|
81
80
|
state: "idle",
|
|
@@ -1891,8 +1890,12 @@ function BrowserViewer({
|
|
|
1891
1890
|
setResumeAttempt(
|
|
1892
1891
|
(visible) => visible?.sessionId === selectedRegistrySession.id ? null : visible
|
|
1893
1892
|
);
|
|
1893
|
+
return;
|
|
1894
|
+
}
|
|
1895
|
+
if (selectedRegistrySession.lifecycle === "suspended") {
|
|
1896
|
+
void wakeBrowser(selectedRegistrySession);
|
|
1894
1897
|
}
|
|
1895
|
-
}, [selectedRegistrySession]);
|
|
1898
|
+
}, [selectedRegistrySession, wakeBrowser]);
|
|
1896
1899
|
const browser = useBrowserSession({
|
|
1897
1900
|
...override,
|
|
1898
1901
|
browserSessionId: selection?.sessionId ?? null,
|
|
@@ -3975,4 +3978,4 @@ export {
|
|
|
3975
3978
|
useBrowserFrameStream,
|
|
3976
3979
|
BrowserViewer
|
|
3977
3980
|
};
|
|
3978
|
-
//# sourceMappingURL=chunk-
|
|
3981
|
+
//# sourceMappingURL=chunk-CP6IFD2Z.js.map
|