@hyperframes/producer 0.8.195 → 0.8.197

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/dist/index.js CHANGED
@@ -1248,6 +1248,8 @@ var OrderedRenderEventPublisher = class {
1248
1248
  this.sink = sink;
1249
1249
  this.log = log;
1250
1250
  }
1251
+ sink;
1252
+ log;
1251
1253
  tail = Promise.resolve();
1252
1254
  publish(job, message) {
1253
1255
  if (!this.sink) return;
@@ -1598,6 +1600,9 @@ var ArtifactTransaction = class {
1598
1600
  this.backupPath = join5(this.transactionDirectory, TRANSACTION_BACKUP);
1599
1601
  this.durationProbe = durationProbe;
1600
1602
  }
1603
+ kind;
1604
+ fileSystem;
1605
+ logger;
1601
1606
  destinationPath;
1602
1607
  stagingPath;
1603
1608
  transactionDirectory;
@@ -4987,6 +4992,7 @@ var RenderObservabilityRecorder = class {
4987
4992
  constructor(input) {
4988
4993
  this.input = input;
4989
4994
  }
4995
+ input;
4990
4996
  events = [];
4991
4997
  eventCount = 0;
4992
4998
  failedPhase;
@@ -5799,6 +5805,7 @@ var Semaphore = class {
5799
5805
  constructor(maxConcurrent) {
5800
5806
  this.maxConcurrent = maxConcurrent;
5801
5807
  }
5808
+ maxConcurrent;
5802
5809
  queue = [];
5803
5810
  active = 0;
5804
5811
  async acquire() {
@@ -8542,6 +8549,10 @@ var VideoExtractionStageError = class extends Error {
8542
8549
  this.name = "VideoExtractionStageError";
8543
8550
  this.publicMetadata = { extractionFailure };
8544
8551
  }
8552
+ code;
8553
+ retryable;
8554
+ failures;
8555
+ extractionFailure;
8545
8556
  /**
8546
8557
  * Producer servers may expose this explicitly public, JSON-compatible data
8547
8558
  * without knowing its schema. Boundary adapters remain responsible for
@@ -11318,6 +11329,7 @@ var RenderQualityError = class extends Error {
11318
11329
  this.warnings = warnings;
11319
11330
  this.name = "RenderQualityError";
11320
11331
  }
11332
+ warnings;
11321
11333
  };
11322
11334
  function applyRenderWarningPolicy(job, captureWarnings, log = defaultLogger) {
11323
11335
  job.warnings ??= [];
@@ -14159,6 +14171,10 @@ function readVideoMetadata(value, field) {
14159
14171
  hasAudio: readBoolean(record.hasAudio, `${field}.hasAudio`),
14160
14172
  isVFR: readBoolean(record.isVFR, `${field}.isVFR`),
14161
14173
  hasAlpha: readBoolean(record.hasAlpha, `${field}.hasAlpha`),
14174
+ // Optional: plans from producers without the decode probe keep today's png for vp8/vp9.
14175
+ ...record.alphaPlaneDecoded === void 0 ? {} : {
14176
+ alphaPlaneDecoded: readBoolean(record.alphaPlaneDecoded, `${field}.alphaPlaneDecoded`)
14177
+ },
14162
14178
  colorSpace
14163
14179
  };
14164
14180
  }
@@ -19150,6 +19166,7 @@ var MixedCaptureModesError = class extends Error {
19150
19166
  this.modes = modes;
19151
19167
  this.name = "MixedCaptureModesError";
19152
19168
  }
19169
+ modes;
19153
19170
  };
19154
19171
  function observedChunkCaptureMode(perfs) {
19155
19172
  const modes = [...new Set(perfs.map((perf) => perf.captureMode))];
@@ -1268,6 +1268,8 @@ var OrderedRenderEventPublisher = class {
1268
1268
  this.sink = sink;
1269
1269
  this.log = log;
1270
1270
  }
1271
+ sink;
1272
+ log;
1271
1273
  tail = Promise.resolve();
1272
1274
  publish(job, message) {
1273
1275
  if (!this.sink) return;
@@ -1617,6 +1619,9 @@ var ArtifactTransaction = class {
1617
1619
  this.backupPath = join5(this.transactionDirectory, TRANSACTION_BACKUP);
1618
1620
  this.durationProbe = durationProbe;
1619
1621
  }
1622
+ kind;
1623
+ fileSystem;
1624
+ logger;
1620
1625
  destinationPath;
1621
1626
  stagingPath;
1622
1627
  transactionDirectory;
@@ -5006,6 +5011,7 @@ var RenderObservabilityRecorder = class {
5006
5011
  constructor(input) {
5007
5012
  this.input = input;
5008
5013
  }
5014
+ input;
5009
5015
  events = [];
5010
5016
  eventCount = 0;
5011
5017
  failedPhase;
@@ -5818,6 +5824,7 @@ var Semaphore = class {
5818
5824
  constructor(maxConcurrent) {
5819
5825
  this.maxConcurrent = maxConcurrent;
5820
5826
  }
5827
+ maxConcurrent;
5821
5828
  queue = [];
5822
5829
  active = 0;
5823
5830
  async acquire() {
@@ -8530,6 +8537,10 @@ var VideoExtractionStageError = class extends Error {
8530
8537
  this.name = "VideoExtractionStageError";
8531
8538
  this.publicMetadata = { extractionFailure };
8532
8539
  }
8540
+ code;
8541
+ retryable;
8542
+ failures;
8543
+ extractionFailure;
8533
8544
  /**
8534
8545
  * Producer servers may expose this explicitly public, JSON-compatible data
8535
8546
  * without knowing its schema. Boundary adapters remain responsible for
@@ -11301,6 +11312,7 @@ var RenderQualityError = class extends Error {
11301
11312
  this.warnings = warnings;
11302
11313
  this.name = "RenderQualityError";
11303
11314
  }
11315
+ warnings;
11304
11316
  };
11305
11317
  function applyRenderWarningPolicy(job, captureWarnings, log = defaultLogger) {
11306
11318
  job.warnings ??= [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperframes/producer",
3
- "version": "0.8.195",
3
+ "version": "0.8.197",
4
4
  "description": "HTML-to-video rendering engine using Chrome's BeginFrame API",
5
5
  "repository": {
6
6
  "type": "git",
@@ -35,20 +35,20 @@
35
35
  "postcss": "^8.4.0",
36
36
  "puppeteer": "^25.2.1",
37
37
  "puppeteer-core": "^25.2.1",
38
- "@hyperframes/core": "0.8.195",
39
- "@hyperframes/lint": "0.8.195",
40
- "@hyperframes/studio-server": "0.8.195",
41
- "@hyperframes/parsers": "0.8.195",
42
- "@hyperframes/engine": "0.8.195"
38
+ "@hyperframes/engine": "0.8.197",
39
+ "@hyperframes/lint": "0.8.197",
40
+ "@hyperframes/core": "0.8.197",
41
+ "@hyperframes/parsers": "0.8.197",
42
+ "@hyperframes/studio-server": "0.8.197"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@types/node": "^25.0.10",
46
46
  "@webgpu/types": "^0.1.69",
47
- "esbuild": "^0.25.12",
47
+ "esbuild": "^0.28.2",
48
48
  "tsx": "^4.21.0",
49
49
  "typescript": "^5.7.2",
50
50
  "vitest": "^4.1.11",
51
- "@hyperframes/aws-lambda": "0.8.195"
51
+ "@hyperframes/aws-lambda": "0.8.197"
52
52
  },
53
53
  "engines": {
54
54
  "node": ">=22"