@abi-software/flatmap-viewer 3.0.0 → 3.0.1

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/README.rst CHANGED
@@ -38,7 +38,7 @@ The map server endpoint is specified as ``MAP_ENDPOINT`` in ``src/main.js``. It
38
38
  Package Installation
39
39
  ====================
40
40
 
41
- * ``npm install @abi-software/flatmap-viewer@3.0.0``
41
+ * ``npm install @abi-software/flatmap-viewer@3.0.1``
42
42
 
43
43
  Documentation
44
44
  -------------
package/dist/index.js CHANGED
@@ -87868,11 +87868,14 @@ class Pht {
87868
87868
  "missing-nodes",
87869
87869
  "alert",
87870
87870
  "biological-sex"
87871
+ ], n = [
87872
+ "dataset-ids",
87873
+ "hyperlinks"
87871
87874
  ];
87872
- for (const n of i)
87873
- if (n in t) {
87874
- const a = t[n];
87875
- a !== void 0 && (Array.isArray(a) && a.length || a.constructor === Object && Object.keys(a).length ? r[n] = a : n === "featureId" ? r[n] = +a : n === "dataset-ids" ? r[n] = JSON.parse(a) : r[n] = a);
87875
+ for (const a of i)
87876
+ if (a in t) {
87877
+ const o = t[a];
87878
+ o !== void 0 && (Array.isArray(o) && o.length || o.constructor === Object && Object.keys(o).length ? r[a] = o : a === "featureId" ? r[a] = +o : n.includes(a) ? r[a] = JSON.parse(o) : r[a] = o);
87876
87879
  }
87877
87880
  return Object.keys(r).length > 0 && (r.type = "feature"), r;
87878
87881
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abi-software/flatmap-viewer",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "Flatmap viewer using Maplibre GL",
5
5
  "repository": {
6
6
  "type": "git",