@hyperframes/studio-server 0.7.94 → 0.7.95

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.
@@ -178,17 +178,20 @@ interface StudioApiAdapter {
178
178
  device?: "auto" | "cpu" | "coreml" | "cuda";
179
179
  jobId: string;
180
180
  }) => MediaProcessingJobState;
181
- /** Optional: generate a JPEG thumbnail via Puppeteer or similar. */
181
+ /** Optional: generate a thumbnail at the route's explicit output dimensions. */
182
182
  generateThumbnail?: (opts: {
183
183
  project: ResolvedProject;
184
184
  compPath: string;
185
185
  seekTime: number;
186
186
  width: number;
187
187
  height: number;
188
+ outputWidth: number;
189
+ outputHeight: number;
188
190
  previewUrl: string;
189
191
  selector?: string;
190
192
  format?: "jpeg" | "png";
191
193
  selectorIndex?: number;
194
+ signal: AbortSignal;
192
195
  }) => Promise<Buffer | null>;
193
196
  /** Optional: resolve session ID to project (multi-project mode). */
194
197
  resolveSession?: (sessionId: string) => Promise<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperframes/studio-server",
3
- "version": "0.7.94",
3
+ "version": "0.7.95",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/heygen-com/hyperframes",
@@ -64,8 +64,8 @@
64
64
  "linkedom": "^0.18.12",
65
65
  "postcss": "^8.5.8",
66
66
  "postcss-selector-parser": "^7.1.2",
67
- "@hyperframes/parsers": "0.7.94",
68
- "@hyperframes/core": "0.7.94"
67
+ "@hyperframes/core": "0.7.95",
68
+ "@hyperframes/parsers": "0.7.95"
69
69
  },
70
70
  "devDependencies": {
71
71
  "@types/node": "^25.0.10",