hyperframes 0.6.35 → 0.6.36

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.
Files changed (2) hide show
  1. package/dist/cli.js +10 -2
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -54,7 +54,7 @@ var VERSION;
54
54
  var init_version = __esm({
55
55
  "src/version.ts"() {
56
56
  "use strict";
57
- VERSION = true ? "0.6.35" : "0.0.0-dev";
57
+ VERSION = true ? "0.6.36" : "0.0.0-dev";
58
58
  }
59
59
  });
60
60
 
@@ -2792,6 +2792,12 @@ var init_banner = __esm({
2792
2792
  });
2793
2793
 
2794
2794
  // ../core/src/core.types.ts
2795
+ function toFps(input) {
2796
+ if (typeof input === "number") {
2797
+ return { num: input, den: 1 };
2798
+ }
2799
+ return input;
2800
+ }
2795
2801
  function fpsToNumber(fps) {
2796
2802
  return fps.num / fps.den;
2797
2803
  }
@@ -10985,6 +10991,7 @@ __export(src_exports, {
10985
10991
  rewriteCssAssetUrls: () => rewriteCssAssetUrls,
10986
10992
  serializeGsapAnimations: () => serializeGsapAnimations,
10987
10993
  shouldClampMediaDuration: () => shouldClampMediaDuration,
10994
+ toFps: () => toFps,
10988
10995
  updateAnimationInScript: () => updateAnimationInScript,
10989
10996
  updateElementInHtml: () => updateElementInHtml,
10990
10997
  validateCompositionGsap: () => validateCompositionGsap,
@@ -42354,7 +42361,7 @@ async function compositeHdrFrame(ctx, canvas, time, fullStacking, elementFilter,
42354
42361
  function createRenderJob(config) {
42355
42362
  return {
42356
42363
  id: randomUUID2(),
42357
- config,
42364
+ config: { ...config, fps: toFps(config.fps) },
42358
42365
  status: "queued",
42359
42366
  progress: 0,
42360
42367
  currentStage: "Queued",
@@ -42929,6 +42936,7 @@ var init_renderOrchestrator = __esm({
42929
42936
  "../producer/src/services/renderOrchestrator.ts"() {
42930
42937
  "use strict";
42931
42938
  init_esm10();
42939
+ init_src();
42932
42940
  init_src2();
42933
42941
  init_fileServer2();
42934
42942
  init_logger();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hyperframes",
3
- "version": "0.6.35",
3
+ "version": "0.6.36",
4
4
  "description": "HyperFrames CLI — create, preview, and render HTML video compositions",
5
5
  "repository": {
6
6
  "type": "git",