alpathfinder 0.3.0 → 0.3.1

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.
@@ -217,6 +217,14 @@ export function getPath(map_from_name, x_from, y_from, map_to_name, x_to, y_to,
217
217
  return ret;
218
218
  }
219
219
 
220
+ /**
221
+ * @param {any} g_js
222
+ * @param {any | null} [exclude_maps]
223
+ */
224
+ export function prepare(g_js, exclude_maps) {
225
+ wasm.prepare(g_js, isLikeNone(exclude_maps) ? 0 : addToExternrefTable0(exclude_maps));
226
+ }
227
+
220
228
  /**
221
229
  * @param {string} map_name
222
230
  * @param {number} x1
@@ -232,14 +240,6 @@ export function canWalkPath(map_name, x1, y1, x2, y2) {
232
240
  return ret !== 0;
233
241
  }
234
242
 
235
- /**
236
- * @param {any} g_js
237
- * @param {any | null} [exclude_maps]
238
- */
239
- export function prepare(g_js, exclude_maps) {
240
- wasm.prepare(g_js, isLikeNone(exclude_maps) ? 0 : addToExternrefTable0(exclude_maps));
241
- }
242
-
243
243
  export function __wbg_Error_e83987f665cf5504(arg0, arg1) {
244
244
  const ret = Error(getStringFromWasm0(arg0, arg1));
245
245
  return ret;
Binary file
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "collaborators": [
5
5
  "Kent Rasmussen <hyprkookeez@gmail.com>"
6
6
  ],
7
- "version": "0.3.0",
7
+ "version": "0.3.1",
8
8
  "files": [
9
9
  "alpathfinder_bg.wasm",
10
10
  "alpathfinder.js",