@dra2020/baseclient 1.0.33 → 1.0.34

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.
@@ -349,7 +349,7 @@ export function featurePack(f: any, prepack?: PolyPack): any
349
349
  }
350
350
  return f.geometry.packed;
351
351
  }
352
- else if (f.type && f.type === 'FeatureCollection' && f.features)
352
+ else if (f && f.type === 'FeatureCollection' && f.features)
353
353
  {
354
354
  // Allocate one large buffer
355
355
  let nFloats: number = 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dra2020/baseclient",
3
- "version": "1.0.33",
3
+ "version": "1.0.34",
4
4
  "description": "Utility functions for Javascript projects.",
5
5
  "main": "dist/baseclient.js",
6
6
  "types": "./dist/all/all.d.ts",