nucleation 0.1.85 → 0.1.89

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.
@@ -225,11 +225,6 @@ function getArrayJsValueFromWasm0(ptr, len) {
225
225
  wasm.__externref_drop_slice(ptr, len);
226
226
  return result;
227
227
  }
228
-
229
- export function start() {
230
- wasm.start();
231
- }
232
-
233
228
  /**
234
229
  * @param {SchematicWrapper} schematic
235
230
  * @returns {string}
@@ -266,6 +261,10 @@ export function debug_json_schematic(schematic) {
266
261
  }
267
262
  }
268
263
 
264
+ export function start() {
265
+ wasm.start();
266
+ }
267
+
269
268
  const BlockPositionFinalization = (typeof FinalizationRegistry === 'undefined')
270
269
  ? { register: () => {}, unregister: () => {} }
271
270
  : new FinalizationRegistry(ptr => wasm.__wbg_blockposition_free(ptr >>> 0, 1));
package/nucleation.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- export function start(): void;
4
3
  export function debug_schematic(schematic: SchematicWrapper): string;
5
4
  export function debug_json_schematic(schematic: SchematicWrapper): string;
5
+ export function start(): void;
6
6
  export class BlockPosition {
7
7
  free(): void;
8
8
  [Symbol.dispose](): void;
@@ -263,14 +263,6 @@ export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembl
263
263
 
264
264
  export interface InitOutput {
265
265
  readonly memory: WebAssembly.Memory;
266
- readonly __wbg_blockposition_free: (a: number, b: number) => void;
267
- readonly __wbg_get_blockposition_x: (a: number) => number;
268
- readonly __wbg_get_blockposition_y: (a: number) => number;
269
- readonly __wbg_get_blockposition_z: (a: number) => number;
270
- readonly __wbg_set_blockposition_x: (a: number, b: number) => void;
271
- readonly __wbg_set_blockposition_y: (a: number, b: number) => void;
272
- readonly __wbg_set_blockposition_z: (a: number, b: number) => void;
273
- readonly blockposition_new: (a: number, b: number, c: number) => number;
274
266
  readonly __wbg_blockstatewrapper_free: (a: number, b: number) => void;
275
267
  readonly __wbg_lazychunkiterator_free: (a: number, b: number) => void;
276
268
  readonly __wbg_mchprsworldwrapper_free: (a: number, b: number) => void;
@@ -365,6 +357,14 @@ export interface InitOutput {
365
357
  readonly schematicwrapper_create_simulation_world_with_options: (a: number, b: number) => [number, number, number];
366
358
  readonly schematicwrapper_create_simulation_world: (a: number) => [number, number, number];
367
359
  readonly start: () => void;
360
+ readonly __wbg_blockposition_free: (a: number, b: number) => void;
361
+ readonly __wbg_get_blockposition_x: (a: number) => number;
362
+ readonly __wbg_get_blockposition_y: (a: number) => number;
363
+ readonly __wbg_get_blockposition_z: (a: number) => number;
364
+ readonly __wbg_set_blockposition_x: (a: number, b: number) => void;
365
+ readonly __wbg_set_blockposition_y: (a: number, b: number) => void;
366
+ readonly __wbg_set_blockposition_z: (a: number, b: number) => void;
367
+ readonly blockposition_new: (a: number, b: number, c: number) => number;
368
368
  readonly __wbindgen_malloc: (a: number, b: number) => number;
369
369
  readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
370
370
  readonly __wbindgen_exn_store: (a: number) => void;
Binary file
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "Nano nano@schem.at"
6
6
  ],
7
7
  "description": "A high-performance Minecraft schematic parser and utility library",
8
- "version": "0.1.85",
8
+ "version": "0.1.89",
9
9
  "license": "AGPL-3.0-only",
10
10
  "repository": {
11
11
  "type": "git",