@tileflow/capture 0.1.0-alpha.31 → 0.1.0-alpha.32

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -0
  2. package/package.json +7 -7
package/dist/index.js CHANGED
@@ -350,6 +350,7 @@ var tileflowBrowserModule = `${readFileSync2(
350
350
  globalThis.__tileflowRegisterContourProtocol = registerTileflowContourProtocol;
351
351
  globalThis.__tileflowRegisterPmtilesProtocol = registerTileflowPmtilesProtocol;
352
352
  globalThis.__tileflowAttachAtmosphere = attachTileflowAtmosphere;
353
+ globalThis.__tileflowAttachNotices = attachTileflowNotices;
353
354
  globalThis.__tileflowCreateThemeController = createTileflowThemeController;`;
354
355
  async function captureStandaloneTileflowScene(input) {
355
356
  if (input.scene.target.kind !== "map") {
@@ -1010,6 +1011,8 @@ window.__tileflowCaptureLoad = async function(input) {
1010
1011
  window.__tileflowMap = map;
1011
1012
  window.__tileflowCaptureStyle = input.style;
1012
1013
  window.__tileflowAttachAtmosphere(map);
1014
+ // Notices such as "Not for navigation" are part of the map, so captured images keep them.
1015
+ window.__tileflowAttachNotices(map);
1013
1016
  return await waitForMapEvent(map, "load", input.mapEventTimeoutMs);
1014
1017
  } catch (error) {
1015
1018
  return {status: "failed", reason: "error", message: String(error?.message || error || "")};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tileflow/capture",
3
- "version": "0.1.0-alpha.31",
3
+ "version": "0.1.0-alpha.32",
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.35 <0.1.0-beta.0",
52
- "@tileflow/dev": ">=0.1.0-alpha.32 <0.1.0-beta.0",
51
+ "@tileflow/core": ">=0.1.0-alpha.37 <0.1.0-beta.0",
52
+ "@tileflow/dev": ">=0.1.0-alpha.34 <0.1.0-beta.0",
53
53
  "maplibre-gl": "6.13.0",
54
54
  "pixelmatch": "7.2.0",
55
55
  "playwright": "1.62.1",
@@ -68,12 +68,12 @@
68
68
  "vite": "^8.0.16",
69
69
  "vue": "^3.5.43",
70
70
  "webpack": "5.108.3",
71
- "@tileflow/react": "0.1.0-alpha.30",
72
71
  "@tileflow/next": "0.1.0-alpha.25",
73
- "@tileflow/svelte": "0.1.0-alpha.29",
74
- "@tileflow/maps": "0.1.0-alpha.9",
75
- "@tileflow/vue": "0.1.0-alpha.29",
72
+ "@tileflow/maps": "0.1.0-alpha.11",
73
+ "@tileflow/react": "0.1.0-alpha.32",
74
+ "@tileflow/svelte": "0.1.0-alpha.30",
76
75
  "@tileflow/vite": "0.1.0-alpha.25",
76
+ "@tileflow/vue": "0.1.0-alpha.30",
77
77
  "@tileflow/webpack": "0.1.0-alpha.25"
78
78
  },
79
79
  "scripts": {