@hyperframes/studio 0.6.102 → 0.6.103
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/{index-BZKngETE.js → index-CdjhNZK1.js} +1 -1
- package/dist/assets/{index-C0vMHtMH.js → index-nCLBVKzI.js} +1 -1
- package/dist/assets/{index-BzjItfjX.js → index-woy2HyV8.js} +60 -60
- package/dist/index.html +1 -1
- package/package.json +5 -5
- package/src/components/renders/useRenderQueue.ts +6 -0
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-woy2HyV8.js"></script>
|
|
9
9
|
<link rel="stylesheet" crossorigin href="/assets/index-BITwbxi-.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperframes/studio",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.103",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"@phosphor-icons/react": "^2.1.10",
|
|
34
34
|
"bpm-detective": "^2.0.5",
|
|
35
35
|
"mediabunny": "^1.45.3",
|
|
36
|
-
"@hyperframes/core": "0.6.
|
|
37
|
-
"@hyperframes/player": "0.6.
|
|
38
|
-
"@hyperframes/sdk": "0.6.
|
|
36
|
+
"@hyperframes/core": "0.6.103",
|
|
37
|
+
"@hyperframes/player": "0.6.103",
|
|
38
|
+
"@hyperframes/sdk": "0.6.103"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@types/react": "19",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"vite": "^6.4.2",
|
|
50
50
|
"vitest": "^3.2.4",
|
|
51
51
|
"zustand": "^5.0.0",
|
|
52
|
-
"@hyperframes/producer": "0.6.
|
|
52
|
+
"@hyperframes/producer": "0.6.103"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"react": "19",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { useState, useEffect, useCallback, useRef, useMemo } from "react";
|
|
2
2
|
import { trackStudioRenderStart } from "../../telemetry/events";
|
|
3
|
+
import { getAnonymousId } from "../../telemetry/config";
|
|
3
4
|
|
|
4
5
|
export interface RenderJob {
|
|
5
6
|
id: string;
|
|
@@ -109,10 +110,15 @@ export function useRenderQueue(projectId: string | null) {
|
|
|
109
110
|
format: string;
|
|
110
111
|
resolution?: string;
|
|
111
112
|
composition?: string;
|
|
113
|
+
telemetryDistinctId: string;
|
|
112
114
|
} = {
|
|
113
115
|
fps,
|
|
114
116
|
quality,
|
|
115
117
|
format,
|
|
118
|
+
// So the server-emitted render_complete/render_error is attributed to
|
|
119
|
+
// this browser user (same id studio_* events use), making the render
|
|
120
|
+
// funnel joinable. Matches studio_render_start fired just above.
|
|
121
|
+
telemetryDistinctId: getAnonymousId(),
|
|
116
122
|
};
|
|
117
123
|
if (resolution && resolution !== "auto") body.resolution = resolution;
|
|
118
124
|
if (composition) body.composition = composition;
|