@hyperframes/engine 0.9.28-alpha.0 → 0.9.28-alpha.1

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.
@@ -856,7 +856,10 @@ export async function completeDeferredDrawElementInit(session) {
856
856
  if (!session.deInitDeferred || !session.onBeforeCapture)
857
857
  return;
858
858
  const page = session.page;
859
- const logInitPhase = (phase) => console.error(`[initSession:${session.captureMode}] ${phase} (deferred drawElement init)`);
859
+ const logInitPhase = (phase) => {
860
+ if (process.env.HF_DEBUG_RENDER === "1")
861
+ console.error(`[initSession:${session.captureMode}] ${phase} (deferred drawElement init)`);
862
+ };
860
863
  await finalizeDrawElementInit(session, page, logInitPhase, {
861
864
  transparent: capturesAlpha(session.options),
862
865
  forceDE: process.env.HF_FORCE_DRAWELEMENT === "1",
@@ -2233,7 +2236,8 @@ export async function initializeSession(session) {
2233
2236
  const pageNavigationTimeout = session.config?.pageNavigationTimeout ?? DEFAULT_CONFIG.pageNavigationTimeout;
2234
2237
  const initStart = Date.now();
2235
2238
  const logInitPhase = (phase) => {
2236
- console.error(`[initSession:${session.captureMode}] ${phase} (${Date.now() - initStart}ms)`);
2239
+ if (process.env.HF_DEBUG_RENDER === "1")
2240
+ console.error(`[initSession:${session.captureMode}] ${phase} (${Date.now() - initStart}ms)`);
2237
2241
  };
2238
2242
  const gotoEntryPage = async () => {
2239
2243
  appendBrowserDiagnostic(session, formatNavigationStartDiagnostic({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperframes/engine",
3
- "version": "0.9.28-alpha.0",
3
+ "version": "0.9.28-alpha.1",
4
4
  "description": "Seekable web page to video rendering engine (Puppeteer + FFmpeg)",
5
5
  "repository": {
6
6
  "type": "git",
@@ -61,8 +61,8 @@
61
61
  "puppeteer": "~25.11.0",
62
62
  "puppeteer-core": "^25.11.0",
63
63
  "undici": "7.25.0",
64
- "@hyperframes/parsers": "^0.9.28-alpha.0",
65
- "@hyperframes/core": "^0.9.28-alpha.0"
64
+ "@hyperframes/core": "^0.9.28-alpha.1",
65
+ "@hyperframes/parsers": "^0.9.28-alpha.1"
66
66
  },
67
67
  "devDependencies": {
68
68
  "@types/node": "^25.0.10",