nucleation 0.1.78 → 0.1.79

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,16 +225,21 @@ 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
+
228
233
  /**
229
234
  * @param {SchematicWrapper} schematic
230
235
  * @returns {string}
231
236
  */
232
- export function debug_schematic(schematic) {
237
+ export function debug_json_schematic(schematic) {
233
238
  let deferred1_0;
234
239
  let deferred1_1;
235
240
  try {
236
241
  _assertClass(schematic, SchematicWrapper);
237
- const ret = wasm.debug_schematic(schematic.__wbg_ptr);
242
+ const ret = wasm.debug_json_schematic(schematic.__wbg_ptr);
238
243
  deferred1_0 = ret[0];
239
244
  deferred1_1 = ret[1];
240
245
  return getStringFromWasm0(ret[0], ret[1]);
@@ -243,20 +248,16 @@ export function debug_schematic(schematic) {
243
248
  }
244
249
  }
245
250
 
246
- export function start() {
247
- wasm.start();
248
- }
249
-
250
251
  /**
251
252
  * @param {SchematicWrapper} schematic
252
253
  * @returns {string}
253
254
  */
254
- export function debug_json_schematic(schematic) {
255
+ export function debug_schematic(schematic) {
255
256
  let deferred1_0;
256
257
  let deferred1_1;
257
258
  try {
258
259
  _assertClass(schematic, SchematicWrapper);
259
- const ret = wasm.debug_json_schematic(schematic.__wbg_ptr);
260
+ const ret = wasm.debug_schematic(schematic.__wbg_ptr);
260
261
  deferred1_0 = ret[0];
261
262
  deferred1_1 = ret[1];
262
263
  return getStringFromWasm0(ret[0], ret[1]);
package/nucleation.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- export function debug_schematic(schematic: SchematicWrapper): string;
4
3
  export function start(): void;
5
4
  export function debug_json_schematic(schematic: SchematicWrapper): string;
5
+ export function debug_schematic(schematic: SchematicWrapper): string;
6
6
  export class BlockPosition {
7
7
  free(): void;
8
8
  [Symbol.dispose](): 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.78",
8
+ "version": "0.1.79",
9
9
  "license": "AGPL-3.0-only",
10
10
  "repository": {
11
11
  "type": "git",