geo-polygonize 0.56.0 → 0.57.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.
@@ -8,6 +8,7 @@ export class PolygonizerWasmError {
8
8
  constructor(name: string, message: string);
9
9
  readonly message: string;
10
10
  readonly name: string;
11
+ readonly normalized: any;
11
12
  }
12
13
 
13
14
  export class WasmPolygonResult {
@@ -87,6 +88,7 @@ export interface InitOutput {
87
88
  readonly polygonizerwasmerror_message: (a: number) => [number, number];
88
89
  readonly polygonizerwasmerror_name: (a: number) => [number, number];
89
90
  readonly polygonizerwasmerror_new: (a: number, b: number, c: number, d: number) => number;
91
+ readonly polygonizerwasmerror_normalized: (a: number) => any;
90
92
  readonly wasmpolygonresult_coords_len: (a: number) => number;
91
93
  readonly wasmpolygonresult_coords_ptr: (a: number) => number;
92
94
  readonly wasmpolygonresult_cut_edges: (a: number) => any;
@@ -14,6 +14,7 @@ export const polygonize_geoarrow: (a: number, b: number, c: number, d: number, e
14
14
  export const polygonizerwasmerror_message: (a: number) => [number, number];
15
15
  export const polygonizerwasmerror_name: (a: number) => [number, number];
16
16
  export const polygonizerwasmerror_new: (a: number, b: number, c: number, d: number) => number;
17
+ export const polygonizerwasmerror_normalized: (a: number) => any;
17
18
  export const wasmpolygonresult_coords_len: (a: number) => number;
18
19
  export const wasmpolygonresult_coords_ptr: (a: number) => number;
19
20
  export const wasmpolygonresult_cut_edges: (a: number) => any;
@@ -161,6 +161,13 @@ class PolygonizerWasmError {
161
161
  PolygonizerWasmErrorFinalization.register(this, this.__wbg_ptr, this);
162
162
  return this;
163
163
  }
164
+ /**
165
+ * @returns {any}
166
+ */
167
+ get normalized() {
168
+ const ret = wasm.polygonizerwasmerror_normalized(this.__wbg_ptr);
169
+ return ret;
170
+ }
164
171
  }
165
172
  if (Symbol.dispose) PolygonizerWasmError.prototype[Symbol.dispose] = PolygonizerWasmError.prototype.free;
166
173
 
@@ -8,6 +8,7 @@ export class PolygonizerWasmError {
8
8
  constructor(name: string, message: string);
9
9
  readonly message: string;
10
10
  readonly name: string;
11
+ readonly normalized: any;
11
12
  }
12
13
 
13
14
  export class WasmPolygonResult {
@@ -99,6 +100,7 @@ export interface InitOutput {
99
100
  readonly polygonizerwasmerror_message: (a: number) => [number, number];
100
101
  readonly polygonizerwasmerror_name: (a: number) => [number, number];
101
102
  readonly polygonizerwasmerror_new: (a: number, b: number, c: number, d: number) => number;
103
+ readonly polygonizerwasmerror_normalized: (a: number) => any;
102
104
  readonly wasmpolygonresult_coords_len: (a: number) => number;
103
105
  readonly wasmpolygonresult_coords_ptr: (a: number) => number;
104
106
  readonly wasmpolygonresult_cut_edges: (a: number) => any;
@@ -13,6 +13,7 @@ export const polygonize_geoarrow: (a: number, b: number, c: number, d: number, e
13
13
  export const polygonizerwasmerror_message: (a: number) => [number, number];
14
14
  export const polygonizerwasmerror_name: (a: number) => [number, number];
15
15
  export const polygonizerwasmerror_new: (a: number, b: number, c: number, d: number) => number;
16
+ export const polygonizerwasmerror_normalized: (a: number) => any;
16
17
  export const wasmpolygonresult_coords_len: (a: number) => number;
17
18
  export const wasmpolygonresult_coords_ptr: (a: number) => number;
18
19
  export const wasmpolygonresult_cut_edges: (a: number) => any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "geo-polygonize",
3
- "version": "0.56.0",
3
+ "version": "0.57.0",
4
4
  "description": "A native Rust port of the JTS/GEOS polygonization algorithm (Wasm)",
5
5
  "type": "module",
6
6
  "scripts": {