@hyperframes/producer 0.8.227 → 0.8.228

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.
@@ -0,0 +1,26 @@
1
+ import { applyAudioFxChain, encodeAac, renameWithRetry } from "@hyperframes/engine";
2
+ import { measureTruePeakDbfs } from "./audioTruePeak.js";
3
+ interface DeliveryLimitDeps {
4
+ measure: typeof measureTruePeakDbfs;
5
+ applyChain: typeof applyAudioFxChain;
6
+ encode: typeof encodeAac;
7
+ rename: typeof renameWithRetry;
8
+ sourceExists: (path: string) => boolean;
9
+ }
10
+ /** Holds a mix over the delivery ceiling to it peak by peak, so quiet passages keep their level. The whole-mix cut
11
+ * in `constrainAacTruePeak` stays behind this, for what still gets over or a mix this could not limit. */
12
+ export declare function limitDeliveryPeaks(input: {
13
+ audioPath: string;
14
+ sourcePath: string;
15
+ targetDurationSeconds: number;
16
+ signal?: AbortSignal;
17
+ timeoutMs: number;
18
+ warn?: (message: string, details: {
19
+ error: string;
20
+ }) => void;
21
+ }, deps?: DeliveryLimitDeps): Promise<{
22
+ success: boolean;
23
+ error?: string;
24
+ failureReason?: "external_interruption";
25
+ }>;
26
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperframes/producer",
3
- "version": "0.8.227",
3
+ "version": "0.8.228",
4
4
  "description": "HTML-to-video rendering engine using Chrome's BeginFrame API",
5
5
  "repository": {
6
6
  "type": "git",
@@ -35,11 +35,11 @@
35
35
  "postcss": "^8.4.0",
36
36
  "puppeteer": "~25.11.0",
37
37
  "puppeteer-core": "^25.11.0",
38
- "@hyperframes/core": "0.8.227",
39
- "@hyperframes/engine": "0.8.227",
40
- "@hyperframes/lint": "0.8.227",
41
- "@hyperframes/studio-server": "0.8.227",
42
- "@hyperframes/parsers": "0.8.227"
38
+ "@hyperframes/core": "0.8.228",
39
+ "@hyperframes/engine": "0.8.228",
40
+ "@hyperframes/lint": "0.8.228",
41
+ "@hyperframes/studio-server": "0.8.228",
42
+ "@hyperframes/parsers": "0.8.228"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@types/node": "^25.0.10",
@@ -48,7 +48,7 @@
48
48
  "tsx": "^4.21.0",
49
49
  "typescript": "^5.7.2",
50
50
  "vitest": "^4.1.11",
51
- "@hyperframes/aws-lambda": "0.8.227"
51
+ "@hyperframes/aws-lambda": "0.8.228"
52
52
  },
53
53
  "engines": {
54
54
  "node": ">=22"