@opengeni/react 0.33.1 → 0.34.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/{chunk-ZNNE2VES.js → chunk-L7R5RK6A.js} +2 -1
- package/dist/{chunk-ZNNE2VES.js.map → chunk-L7R5RK6A.js.map} +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/session-ui.js +1 -1
- package/package.json +2 -2
- package/src/hooks/use-workspace-capture.ts +6 -0
- package/src/timeline/turn-summary.tsx +1 -0
package/dist/index.js
CHANGED
|
@@ -111,7 +111,7 @@ import {
|
|
|
111
111
|
usePortalTokenStyle,
|
|
112
112
|
useThemeType,
|
|
113
113
|
v4aToGitFileDiff
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-L7R5RK6A.js";
|
|
115
115
|
import {
|
|
116
116
|
buildTimeline,
|
|
117
117
|
creditExhaustedFromEvents,
|
|
@@ -2999,6 +2999,7 @@ function useWorkspaceCapture(sessionId, options = {}) {
|
|
|
2999
2999
|
if (!enabled) return;
|
|
3000
3000
|
if (visibleAnnouncedRevision === null) return;
|
|
3001
3001
|
if (loadedRevision !== null && visibleAnnouncedRevision <= loadedRevision) return;
|
|
3002
|
+
if (requestAbortRef.current) return;
|
|
3002
3003
|
void refresh();
|
|
3003
3004
|
}, [enabled, visibleAnnouncedRevision, loadedRevision, refresh]);
|
|
3004
3005
|
const isStale = loadedRevision !== null && visibleAnnouncedRevision !== null && visibleAnnouncedRevision > loadedRevision;
|