@tokenoftrust/storefront-runner 3.6.1 → 3.6.2

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": "@tokenoftrust/storefront-runner",
3
- "version": "3.6.1",
3
+ "version": "3.6.2",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "description": "World-shareable storefront runner: multi-tenant renderer on Astro/Cloudflare. No control plane.",
6
6
  "packageManager": "pnpm@11.9.0",
@@ -59,6 +59,8 @@ export interface ReleaseImageFacts {
59
59
  heldPoolBytes(entry: string): Uint8Array | null;
60
60
  /** True when the release records `entry` as a sealed capture (`capturedOriginals`). */
61
61
  captured(entry: string): boolean;
62
+ /** True when the release declares `entry` a rendition its build left in the pool, proven by recorded evidence. */
63
+ pooledRendition?(entry: string): boolean;
62
64
  /**
63
65
  * A bundle path (decoded, no leading slash): absent from the release, present but not pinned, or
64
66
  * pinned to the pool entry its bytes hash to.
@@ -181,7 +183,7 @@ export function judgeReleaseImages(input: {
181
183
  const pool = POOL_REF.exec(ref);
182
184
  if (!pool) continue;
183
185
  const entry = `${pool[1]}${pool[2] ?? ""}`;
184
- if (!input.facts.heldPoolBytes(entry) && !input.facts.captured(entry)) add("unregistered", ref);
186
+ if (!input.facts.heldPoolBytes(entry) && !input.facts.captured(entry) && !input.facts.pooledRendition?.(entry)) add("unregistered", ref);
185
187
  else if (!supportedPoolEntry(entry, input.facts, input.formats)) add("unsupported-format", ref);
186
188
  else poolEntries.add(entry);
187
189
  } else if (dependency.disposition === "tenant-hosted") {