geo-polygonize 0.58.1 → 0.60.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.
@@ -105,6 +105,8 @@ export interface InitOutput {
105
105
  readonly wasmpolygonresult_stride: (a: number) => number;
106
106
  readonly wasmpolygonresult_topology_fingerprint: (a: number) => any;
107
107
  readonly polygonize_ffi: (a: number, b: number, c: number, d: number, e: number) => number;
108
+ readonly polygonize_ffi_abi_version: () => number;
109
+ readonly polygonize_ffi_last_error: () => number;
108
110
  readonly polygonize_with_options_ffi: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
109
111
  readonly polygonize_result_free: () => void;
110
112
  readonly __wbindgen_malloc: (a: number, b: number) => number;
@@ -31,6 +31,8 @@ export const wasmpolygonresult_ring_offsets_ptr: (a: number) => number;
31
31
  export const wasmpolygonresult_stride: (a: number) => number;
32
32
  export const wasmpolygonresult_topology_fingerprint: (a: number) => any;
33
33
  export const polygonize_ffi: (a: number, b: number, c: number, d: number, e: number) => number;
34
+ export const polygonize_ffi_abi_version: () => number;
35
+ export const polygonize_ffi_last_error: () => number;
34
36
  export const polygonize_with_options_ffi: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
35
37
  export const polygonize_result_free: () => void;
36
38
  export const __wbindgen_malloc: (a: number, b: number) => number;
@@ -2,5 +2,5 @@ export type OutputFilterOptions = {
2
2
  /**
3
3
  * Keep faces whose area is greater than or equal to this value.
4
4
  */
5
- minimum_face_area?: number;
5
+ minimum_face_area?: number | null;
6
6
  };
@@ -2,5 +2,5 @@ export type OutputFilterOptions = {
2
2
  /**
3
3
  * Keep faces whose area is greater than or equal to this value.
4
4
  */
5
- minimum_face_area?: number;
5
+ minimum_face_area?: number | null;
6
6
  };
@@ -1246,7 +1246,7 @@ const cfbRobustOptions = {
1246
1246
  conflict_tolerance: 0,
1247
1247
  },
1248
1248
  output_filter: {
1249
- minimum_face_area: undefined,
1249
+ minimum_face_area: null,
1250
1250
  },
1251
1251
  input_profile_id: "cfb_robust_v1",
1252
1252
  };
@@ -117,6 +117,8 @@ export interface InitOutput {
117
117
  readonly wasmpolygonresult_stride: (a: number) => number;
118
118
  readonly wasmpolygonresult_topology_fingerprint: (a: number) => any;
119
119
  readonly polygonize_ffi: (a: number, b: number, c: number, d: number, e: number) => number;
120
+ readonly polygonize_ffi_abi_version: () => number;
121
+ readonly polygonize_ffi_last_error: () => number;
120
122
  readonly polygonize_with_options_ffi: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
121
123
  readonly __wbg_wbg_rayon_poolbuilder_free: (a: number, b: number) => void;
122
124
  readonly initThreadPool: (a: number) => any;
@@ -30,6 +30,8 @@ export const wasmpolygonresult_ring_offsets_ptr: (a: number) => number;
30
30
  export const wasmpolygonresult_stride: (a: number) => number;
31
31
  export const wasmpolygonresult_topology_fingerprint: (a: number) => any;
32
32
  export const polygonize_ffi: (a: number, b: number, c: number, d: number, e: number) => number;
33
+ export const polygonize_ffi_abi_version: () => number;
34
+ export const polygonize_ffi_last_error: () => number;
33
35
  export const polygonize_with_options_ffi: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
34
36
  export const __wbg_wbg_rayon_poolbuilder_free: (a: number, b: number) => void;
35
37
  export const initThreadPool: (a: number) => any;
@@ -2,5 +2,5 @@ export type OutputFilterOptions = {
2
2
  /**
3
3
  * Keep faces whose area is greater than or equal to this value.
4
4
  */
5
- minimum_face_area?: number;
5
+ minimum_face_area?: number | null;
6
6
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geo-polygonize",
3
- "version": "0.58.1",
3
+ "version": "0.60.0",
4
4
  "description": "A native Rust port of the JTS/GEOS polygonization algorithm (Wasm)",
5
5
  "type": "module",
6
6
  "scripts": {