@hyperframes/studio 0.7.85 → 0.7.86
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/assets/{hyperframes-player-CXVkvR6C.js → hyperframes-player-BL3qfGEQ.js} +1 -1
- package/dist/assets/{index-CVcz5MoC.js → index-B5QGai9B.js} +1 -1
- package/dist/assets/{index-BZFIup06.js → index-C0Vr8jjc.js} +1 -1
- package/dist/assets/{index-DloBOPGY.js → index-CISVI7UC.js} +3 -3
- package/dist/index.html +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
- package/src/player/components/useTimelinePerformanceTelemetry.test.ts +68 -2
- package/src/player/components/useTimelinePerformanceTelemetry.ts +1 -1
package/dist/index.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
|
|
6
6
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
7
7
|
<title>HyperFrames Studio</title>
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-CISVI7UC.js"></script>
|
|
9
9
|
<link rel="stylesheet" crossorigin href="/assets/index-D379YOKT.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
package/dist/index.js
CHANGED
|
@@ -15247,7 +15247,7 @@ function useTimelinePerformanceTelemetry(context) {
|
|
|
15247
15247
|
state.pendingScrollStartedAt = now2;
|
|
15248
15248
|
state.frameRequest = requestAnimationFrame((frameAt) => {
|
|
15249
15249
|
state.frameRequest = 0;
|
|
15250
|
-
state.frameLatencies.push(
|
|
15250
|
+
state.frameLatencies.push(performance.now() - state.pendingScrollStartedAt);
|
|
15251
15251
|
if (state.previousFrameAt !== null) {
|
|
15252
15252
|
state.frameIntervals.push(frameAt - state.previousFrameAt);
|
|
15253
15253
|
}
|