@hyperframes/engine 0.6.64 → 0.6.65

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperframes/engine",
3
- "version": "0.6.64",
3
+ "version": "0.6.65",
4
4
  "description": "Seekable web page to video rendering engine (Puppeteer + FFmpeg)",
5
5
  "repository": {
6
6
  "type": "git",
@@ -21,7 +21,7 @@
21
21
  "linkedom": "^0.18.12",
22
22
  "puppeteer": "^24.0.0",
23
23
  "puppeteer-core": "^24.39.1",
24
- "@hyperframes/core": "^0.6.64"
24
+ "@hyperframes/core": "^0.6.65"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/node": "^25.0.10",
@@ -116,7 +116,10 @@ describe("processCompositionAudio", () => {
116
116
  );
117
117
 
118
118
  expect(result.success).toBe(true);
119
- const mixArgs = runFfmpegMock.mock.calls[1]?.[0];
119
+ // 3 prepare calls (one per track via Promise.all) precede the mix call,
120
+ // so the mix is at index 3, not index 1.
121
+ expect(runFfmpegMock).toHaveBeenCalledTimes(4);
122
+ const mixArgs = runFfmpegMock.mock.calls[3]?.[0];
120
123
  const filter = mixArgs[mixArgs.indexOf("-filter_complex") + 1];
121
124
 
122
125
  expect(filter).toContain("amix=inputs=3");