@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.
@@ -2022,6 +2022,7 @@ var Semaphore = class {
2022
2022
  constructor(maxConcurrent) {
2023
2023
  this.maxConcurrent = maxConcurrent;
2024
2024
  }
2025
+ maxConcurrent;
2025
2026
  queue = [];
2026
2027
  active = 0;
2027
2028
  async acquire() {
@@ -4765,6 +4766,10 @@ var VideoExtractionStageError = class extends Error {
4765
4766
  this.name = "VideoExtractionStageError";
4766
4767
  this.publicMetadata = { extractionFailure };
4767
4768
  }
4769
+ code;
4770
+ retryable;
4771
+ failures;
4772
+ extractionFailure;
4768
4773
  /**
4769
4774
  * Producer servers may expose this explicitly public, JSON-compatible data
4770
4775
  * without knowing its schema. Boundary adapters remain responsible for
@@ -6434,6 +6439,7 @@ var RenderQualityError = class extends Error {
6434
6439
  this.warnings = warnings;
6435
6440
  this.name = "RenderQualityError";
6436
6441
  }
6442
+ warnings;
6437
6443
  };
6438
6444
  function applyRenderWarningPolicy(job, captureWarnings, log = defaultLogger) {
6439
6445
  job.warnings ??= [];
@@ -6903,6 +6909,10 @@ function readVideoMetadata(value, field) {
6903
6909
  hasAudio: readBoolean(record.hasAudio, `${field}.hasAudio`),
6904
6910
  isVFR: readBoolean(record.isVFR, `${field}.isVFR`),
6905
6911
  hasAlpha: readBoolean(record.hasAlpha, `${field}.hasAlpha`),
6912
+ // Optional: plans from producers without the decode probe keep today's png for vp8/vp9.
6913
+ ...record.alphaPlaneDecoded === void 0 ? {} : {
6914
+ alphaPlaneDecoded: readBoolean(record.alphaPlaneDecoded, `${field}.alphaPlaneDecoded`)
6915
+ },
6906
6916
  colorSpace
6907
6917
  };
6908
6918
  }
@@ -10527,6 +10537,7 @@ var MixedCaptureModesError = class extends Error {
10527
10537
  this.modes = modes;
10528
10538
  this.name = "MixedCaptureModesError";
10529
10539
  }
10540
+ modes;
10530
10541
  };
10531
10542
  function observedChunkCaptureMode(perfs) {
10532
10543
  const modes = [...new Set(perfs.map((perf) => perf.captureMode))];
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": "0.1.0",
3
3
  "buildId": "dev",
4
- "sha256": "5325b9ad7580263b1e0a9ad0873c5a768b80a8807731148ebfe84ef585184902",
4
+ "sha256": "1010f54ffc72ff6dd0d697239903eaac0494d831922023edbfbbf234f86d0a1f",
5
5
  "artifacts": {
6
6
  "iife": "hyperframe.runtime.iife.js",
7
7
  "esm": "hyperframe.runtime.mjs"