geo-polygonize 0.56.0 → 0.58.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.
- package/dist/geo_polygonize.wasm +0 -0
- package/dist/geo_polygonize_simd.wasm +0 -0
- package/dist/slim/cjs/index_slim.js +11 -8
- package/dist/slim/es/index_slim.js +11 -8
- package/dist/slim/pkg-scalar/geo_polygonize.d.ts +2 -0
- package/dist/slim/pkg-scalar/geo_polygonize_bg.wasm.d.ts +1 -0
- package/dist/standard/cjs/index.js +13 -10
- package/dist/standard/es/index.js +13 -10
- package/dist/standard/pkg-scalar/geo_polygonize.d.ts +2 -0
- package/dist/standard/pkg-scalar/geo_polygonize_bg.wasm.d.ts +1 -0
- package/dist/threads/es/index.js +11 -8
- package/dist/threads/pkg-threads/geo_polygonize.d.ts +2 -0
- package/dist/threads/pkg-threads/geo_polygonize_bg.wasm.d.ts +1 -0
- package/package.json +1 -1
package/dist/geo_polygonize.wasm
CHANGED
|
Binary file
|
|
Binary file
|
|
@@ -65,6 +65,13 @@ class PolygonizerWasmError {
|
|
|
65
65
|
PolygonizerWasmErrorFinalization.register(this, this.__wbg_ptr, this);
|
|
66
66
|
return this;
|
|
67
67
|
}
|
|
68
|
+
/**
|
|
69
|
+
* @returns {any}
|
|
70
|
+
*/
|
|
71
|
+
get normalized() {
|
|
72
|
+
const ret = wasm.polygonizerwasmerror_normalized(this.__wbg_ptr);
|
|
73
|
+
return ret;
|
|
74
|
+
}
|
|
68
75
|
}
|
|
69
76
|
if (Symbol.dispose) PolygonizerWasmError.prototype[Symbol.dispose] = PolygonizerWasmError.prototype.free;
|
|
70
77
|
|
|
@@ -572,10 +579,6 @@ function __wbg_get_imports() {
|
|
|
572
579
|
const ret = new Error();
|
|
573
580
|
return ret;
|
|
574
581
|
},
|
|
575
|
-
__wbg_new_49d5571bd3f0c4d4: function() {
|
|
576
|
-
const ret = new Map();
|
|
577
|
-
return ret;
|
|
578
|
-
},
|
|
579
582
|
__wbg_new_5f486cdf45a04d78: function(arg0) {
|
|
580
583
|
const ret = new Uint8Array(arg0);
|
|
581
584
|
return ret;
|
|
@@ -604,6 +607,10 @@ function __wbg_get_imports() {
|
|
|
604
607
|
const ret = arg0.now();
|
|
605
608
|
return ret;
|
|
606
609
|
},
|
|
610
|
+
__wbg_parse_e9eddd2a82c706eb: function() { return handleError(function (arg0, arg1) {
|
|
611
|
+
const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
|
|
612
|
+
return ret;
|
|
613
|
+
}, arguments); },
|
|
607
614
|
__wbg_performance_3fcf6e32a7e1ed0a: function(arg0) {
|
|
608
615
|
const ret = arg0.performance;
|
|
609
616
|
return ret;
|
|
@@ -621,10 +628,6 @@ function __wbg_get_imports() {
|
|
|
621
628
|
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
622
629
|
arg0[arg1] = arg2;
|
|
623
630
|
},
|
|
624
|
-
__wbg_set_bf7251625df30a02: function(arg0, arg1, arg2) {
|
|
625
|
-
const ret = arg0.set(arg1, arg2);
|
|
626
|
-
return ret;
|
|
627
|
-
},
|
|
628
631
|
__wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
|
|
629
632
|
const ret = arg1.stack;
|
|
630
633
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -62,6 +62,13 @@ class PolygonizerWasmError {
|
|
|
62
62
|
PolygonizerWasmErrorFinalization.register(this, this.__wbg_ptr, this);
|
|
63
63
|
return this;
|
|
64
64
|
}
|
|
65
|
+
/**
|
|
66
|
+
* @returns {any}
|
|
67
|
+
*/
|
|
68
|
+
get normalized() {
|
|
69
|
+
const ret = wasm.polygonizerwasmerror_normalized(this.__wbg_ptr);
|
|
70
|
+
return ret;
|
|
71
|
+
}
|
|
65
72
|
}
|
|
66
73
|
if (Symbol.dispose) PolygonizerWasmError.prototype[Symbol.dispose] = PolygonizerWasmError.prototype.free;
|
|
67
74
|
|
|
@@ -569,10 +576,6 @@ function __wbg_get_imports() {
|
|
|
569
576
|
const ret = new Error();
|
|
570
577
|
return ret;
|
|
571
578
|
},
|
|
572
|
-
__wbg_new_49d5571bd3f0c4d4: function() {
|
|
573
|
-
const ret = new Map();
|
|
574
|
-
return ret;
|
|
575
|
-
},
|
|
576
579
|
__wbg_new_5f486cdf45a04d78: function(arg0) {
|
|
577
580
|
const ret = new Uint8Array(arg0);
|
|
578
581
|
return ret;
|
|
@@ -601,6 +604,10 @@ function __wbg_get_imports() {
|
|
|
601
604
|
const ret = arg0.now();
|
|
602
605
|
return ret;
|
|
603
606
|
},
|
|
607
|
+
__wbg_parse_e9eddd2a82c706eb: function() { return handleError(function (arg0, arg1) {
|
|
608
|
+
const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
|
|
609
|
+
return ret;
|
|
610
|
+
}, arguments); },
|
|
604
611
|
__wbg_performance_3fcf6e32a7e1ed0a: function(arg0) {
|
|
605
612
|
const ret = arg0.performance;
|
|
606
613
|
return ret;
|
|
@@ -618,10 +625,6 @@ function __wbg_get_imports() {
|
|
|
618
625
|
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
619
626
|
arg0[arg1] = arg2;
|
|
620
627
|
},
|
|
621
|
-
__wbg_set_bf7251625df30a02: function(arg0, arg1, arg2) {
|
|
622
|
-
const ret = arg0.set(arg1, arg2);
|
|
623
|
-
return ret;
|
|
624
|
-
},
|
|
625
628
|
__wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
|
|
626
629
|
const ret = arg1.stack;
|
|
627
630
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -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;
|