@tileflow/capture 0.1.0-alpha.23 → 0.1.0-alpha.25

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.d.ts CHANGED
@@ -2,7 +2,7 @@ import { Browser } from 'playwright';
2
2
  import { T as TileflowCaptureRendererIdentity, a as TileflowCaptureReceiptV4, b as TileflowCaptureDataInput, c as TileflowCaptureWorldIdentityV3, d as TileflowCaptureReceipt } from './receipt-Q7wQ68tG.js';
3
3
  export { C as CreateTileflowCaptureReceiptInput, e as TileflowCaptureDataBindingsV2, f as TileflowCaptureDataCapabilitiesV2, g as TileflowCaptureDataIdentityV2, h as TileflowCaptureDataIdentityV3, i as TileflowCaptureDataSemanticsV2, j as TileflowCaptureDataSourceV2, k as TileflowCaptureReceiptV2, l as TileflowCaptureReceiptV3, m as TileflowCaptureVectorIdentityV3, n as TileflowCaptureVerificationV2, o as createTileflowCaptureReceipt, p as createTileflowCaptureRendererIdentity, q as parseTileflowCaptureReceipt, s as serializeTileflowCaptureReceipt, t as tileflowCaptureReceiptLimits, r as tileflowCaptureReceiptSchemaVersion, u as tileflowCaptureRuntime, v as validateTileflowCaptureReceipt } from './receipt-Q7wQ68tG.js';
4
4
  import { TileflowCaptureScene, MapLibreStyle, NormalizedTileflowCaptureScene } from '@tileflow/core';
5
- import { TileflowBuildArtifacts } from '@tileflow/dev/artifacts';
5
+ import { TileflowIconResolutionOptions, TileflowBuildArtifacts } from '@tileflow/dev/artifacts';
6
6
 
7
7
  type TileflowBrowserInstallProgress = 'installing' | 'installed';
8
8
  type TileflowBrowserLaunchOptions = {
@@ -31,6 +31,13 @@ type TileflowCaptureOptions = {
31
31
  appUrl?: string;
32
32
  config?: string;
33
33
  cwd?: string;
34
+ /**
35
+ * Explicit shared Icon Set resolution settings.
36
+ *
37
+ * These choose the verified cache root, offline behavior, trusted delivery origins and the
38
+ * transport used to hydrate exact locked pins. No build resolves a catalog head.
39
+ */
40
+ icons?: TileflowIconResolutionOptions;
34
41
  onBrowserInstallProgress?: (progress: TileflowBrowserInstallProgress) => void;
35
42
  frame?: 'map' | 'viewport';
36
43
  scenes: string[];
package/dist/index.js CHANGED
@@ -1299,6 +1299,7 @@ async function captureApplicationTileflowScene(input) {
1299
1299
  if (termination === "aborted") {
1300
1300
  throw new TileflowCaptureError("ABORTED", "Tileflow capture was aborted.", { cause: error });
1301
1301
  }
1302
+ if (error instanceof TileflowCaptureError && error.code === "APPLICATION_ERROR") throw error;
1302
1303
  if (termination === "timeout") {
1303
1304
  throw new TileflowCaptureError(
1304
1305
  "CAPTURE_TIMEOUT",
@@ -1900,7 +1901,8 @@ var TileflowCaptureSessionImpl = class {
1900
1901
  const artifacts = await createTileflowBuildArtifacts({
1901
1902
  assetBaseUrl: tileflowSyntheticAssetOrigin,
1902
1903
  config: this.#options.config ?? defaultTileflowConfigPath,
1903
- cwd
1904
+ cwd,
1905
+ ...this.#options.icons ? { icons: this.#options.icons } : {}
1904
1906
  });
1905
1907
  return artifacts;
1906
1908
  } catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tileflow/capture",
3
- "version": "0.1.0-alpha.23",
3
+ "version": "0.1.0-alpha.25",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Deterministic local visual capture and comparison for Tileflow maps.",
6
6
  "engines": {
@@ -48,8 +48,8 @@
48
48
  "access": "public"
49
49
  },
50
50
  "dependencies": {
51
- "@tileflow/core": ">=0.1.0-alpha.25 <0.1.0-beta.0",
52
- "@tileflow/dev": ">=0.1.0-alpha.24 <0.1.0-beta.0",
51
+ "@tileflow/core": ">=0.1.0-alpha.27 <0.1.0-beta.0",
52
+ "@tileflow/dev": ">=0.1.0-alpha.26 <0.1.0-beta.0",
53
53
  "maplibre-gl": "6.9.0",
54
54
  "pixelmatch": "7.2.0",
55
55
  "playwright": "1.62.1",
@@ -68,13 +68,13 @@
68
68
  "vite": "^8.0.16",
69
69
  "vue": "^3.5.39",
70
70
  "webpack": "5.108.3",
71
- "@tileflow/next": "0.1.0-alpha.22",
72
- "@tileflow/react": "0.1.0-alpha.25",
73
- "@tileflow/svelte": "0.1.0-alpha.24",
74
- "@tileflow/vite": "0.1.0-alpha.22",
75
- "@tileflow/maps": "0.1.0-alpha.4",
76
- "@tileflow/vue": "0.1.0-alpha.24",
77
- "@tileflow/webpack": "0.1.0-alpha.22"
71
+ "@tileflow/next": "0.1.0-alpha.24",
72
+ "@tileflow/react": "0.1.0-alpha.26",
73
+ "@tileflow/svelte": "0.1.0-alpha.25",
74
+ "@tileflow/maps": "0.1.0-alpha.5",
75
+ "@tileflow/vite": "0.1.0-alpha.24",
76
+ "@tileflow/vue": "0.1.0-alpha.25",
77
+ "@tileflow/webpack": "0.1.0-alpha.24"
78
78
  },
79
79
  "scripts": {
80
80
  "build": "tsup src/index.ts src/receipt.ts --format esm --dts --clean --platform node",