@hastehaul/common 3.7.0 → 3.8.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -97,9 +97,9 @@ function isPointInGeoJSON(latLng, fileName) {
97
97
  return { isInside: false, properties: null };
98
98
  // Load and parse GeoJSON data only if not already cached
99
99
  if (!cachedGeoJsonData) {
100
- const geoJsonData = yield loadAssetStream(fileName);
101
- console.log(geoJsonData);
102
- cachedGeoJsonData = JSON.parse(geoJsonData);
100
+ cachedGeoJsonData = yield loadAssetStream(fileName);
101
+ console.log(cachedGeoJsonData);
102
+ // cachedGeoJsonData = JSON.parse(geoJsonData!);
103
103
  }
104
104
  // !NB points take the form longitude, latitude
105
105
  const points = (0, helpers_1.point)([latLng[1], latLng[0]]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hastehaul/common",
3
- "version": "3.7.0",
3
+ "version": "3.8.0",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",