@a2f0/skyline 0.2.46 → 0.2.48

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": "@a2f0/skyline",
3
- "version": "0.2.46",
3
+ "version": "0.2.48",
4
4
  "description": "Interactive Chicago skyline viewer and reusable Three.js building models",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
@@ -87,8 +87,13 @@
87
87
  "release:plan": "agent-tool release plan package.json --github-output",
88
88
  "timings": "bun scripts/testing/show-timings.ts"
89
89
  },
90
+ "overrides": {
91
+ "miniflare@5.20261019.1-beta": {
92
+ "undici": "7.30.1"
93
+ }
94
+ },
90
95
  "devDependencies": {
91
- "@a2f0/agent-tool": "0.1.19",
96
+ "@a2f0/agent-tool": "0.1.21",
92
97
  "@tsconfig/strictest": "^2.0.8",
93
98
  "@types/bun": "^1.4.3",
94
99
  "esbuild": "0.28.2",
@@ -48,11 +48,11 @@ export function mount(root, { assets, signal, controls, colour, theme, attributi
48
48
  viewer.append(stars, scene, drawing, originalReturn, embeddedOriginal, status);
49
49
  root.append(viewer);
50
50
  let mode = "3d";
51
- // Keep the drawing reachable until the first 3D frame succeeds, even if the scene's
52
- // markup or code never loads, and again if its graphics context is lost.
51
+ // Keep the drawing reachable if the scene's markup or code fails to load,
52
+ // or its graphics context is lost.
53
53
  let sceneUnavailable = true;
54
- // The toolbar's show original waits while the scene boots, until its first frame, a
55
- // failure to load, or a lost graphics context.
54
+ // Both show original buttons wait while the scene boots, until its first frame,
55
+ // a failure to load, or a lost graphics context.
56
56
  let booting = true;
57
57
  const frames = {};
58
58
  const toolbar = navigation ? createToolbar() : null;
@@ -67,7 +67,7 @@ export function mount(root, { assets, signal, controls, colour, theme, attributi
67
67
  for (const [name, frame] of Object.entries(frames))
68
68
  frame.hidden = name !== mode;
69
69
  originalReturn.hidden = mode !== "original";
70
- embeddedOriginal.hidden = navigation || mode !== "3d" || !sceneUnavailable;
70
+ embeddedOriginal.hidden = navigation || mode !== "3d" || booting || !sceneUnavailable;
71
71
  if (toolbar) {
72
72
  for (const [name, toggle] of Object.entries(toggles)) {
73
73
  const button = toolbar.querySelector(`#${toggle.id}`), showing = name === mode;