geolibre-wasm 0.7.1 → 0.8.0

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/geolibre-cli.wasm CHANGED
Binary file
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "geolibre-wasm",
3
3
  "type": "module",
4
- "version": "0.7.1",
4
+ "version": "0.8.0",
5
5
  "description": "Pure-Rust geospatial toolkit (whitebox_next_gen) compiled to WebAssembly (WASI) for GeoLibre's in-browser tool execution",
6
6
  "license": "MIT",
7
7
  "repository": {
package/tools.mjs CHANGED
@@ -211,6 +211,12 @@ export async function listManifests() {
211
211
  pmtiles.params.push({ ...extra });
212
212
  }
213
213
  }
214
+ // The native tool requires a local `input`, but through this JS path a
215
+ // remote `url` is an equal alternative, so `input` is optional here (the
216
+ // handler enforces exactly-one-source). Matches extract_cog_subset's
217
+ // optional `input`; without this a host UI blocks a url-only run.
218
+ const input = pmtiles.params.find((p) => p.name === "input");
219
+ if (input) input.required = false;
214
220
  }
215
221
  return manifests;
216
222
  }