@tileflow/capture 0.1.0-alpha.26 → 0.1.0-alpha.27
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 +3 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -336,7 +336,8 @@ var tileflowBrowserModule = `${readFileSync2(
|
|
|
336
336
|
"utf8"
|
|
337
337
|
)}
|
|
338
338
|
globalThis.__tileflowRegisterContourProtocol = registerTileflowContourProtocol;
|
|
339
|
-
globalThis.__tileflowRegisterPmtilesProtocol = registerTileflowPmtilesProtocol
|
|
339
|
+
globalThis.__tileflowRegisterPmtilesProtocol = registerTileflowPmtilesProtocol;
|
|
340
|
+
globalThis.__tileflowAttachAtmosphere = attachTileflowAtmosphere;`;
|
|
340
341
|
async function captureStandaloneTileflowScene(input) {
|
|
341
342
|
if (input.scene.target.kind !== "map") {
|
|
342
343
|
throw new TileflowCaptureError(
|
|
@@ -917,6 +918,7 @@ window.__tileflowCaptureLoad = async function(input) {
|
|
|
917
918
|
style: input.style
|
|
918
919
|
});
|
|
919
920
|
window.__tileflowMap = map;
|
|
921
|
+
window.__tileflowAttachAtmosphere(map);
|
|
920
922
|
return await waitForMapEvent(map, "load", input.mapEventTimeoutMs);
|
|
921
923
|
} catch (error) {
|
|
922
924
|
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.
|
|
3
|
+
"version": "0.1.0-alpha.27",
|
|
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.
|
|
52
|
-
"@tileflow/dev": ">=0.1.0-alpha.
|
|
51
|
+
"@tileflow/core": ">=0.1.0-alpha.29 <0.1.0-beta.0",
|
|
52
|
+
"@tileflow/dev": ">=0.1.0-alpha.27 <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,12 +68,12 @@
|
|
|
68
68
|
"vite": "^8.0.16",
|
|
69
69
|
"vue": "^3.5.39",
|
|
70
70
|
"webpack": "5.108.3",
|
|
71
|
-
"@tileflow/maps": "0.1.0-alpha.
|
|
71
|
+
"@tileflow/maps": "0.1.0-alpha.6",
|
|
72
72
|
"@tileflow/next": "0.1.0-alpha.24",
|
|
73
|
-
"@tileflow/
|
|
74
|
-
"@tileflow/react": "0.1.0-alpha.26",
|
|
73
|
+
"@tileflow/react": "0.1.0-alpha.27",
|
|
75
74
|
"@tileflow/vite": "0.1.0-alpha.24",
|
|
76
|
-
"@tileflow/
|
|
75
|
+
"@tileflow/svelte": "0.1.0-alpha.26",
|
|
76
|
+
"@tileflow/vue": "0.1.0-alpha.26",
|
|
77
77
|
"@tileflow/webpack": "0.1.0-alpha.24"
|
|
78
78
|
},
|
|
79
79
|
"scripts": {
|