nucleation 0.1.98 → 0.1.100

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.
@@ -229,12 +229,12 @@ function getArrayJsValueFromWasm0(ptr, len) {
229
229
  * @param {SchematicWrapper} schematic
230
230
  * @returns {string}
231
231
  */
232
- export function debug_schematic(schematic) {
232
+ export function debug_json_schematic(schematic) {
233
233
  let deferred1_0;
234
234
  let deferred1_1;
235
235
  try {
236
236
  _assertClass(schematic, SchematicWrapper);
237
- const ret = wasm.debug_schematic(schematic.__wbg_ptr);
237
+ const ret = wasm.debug_json_schematic(schematic.__wbg_ptr);
238
238
  deferred1_0 = ret[0];
239
239
  deferred1_1 = ret[1];
240
240
  return getStringFromWasm0(ret[0], ret[1]);
@@ -243,20 +243,16 @@ export function debug_schematic(schematic) {
243
243
  }
244
244
  }
245
245
 
246
- export function start() {
247
- wasm.start();
248
- }
249
-
250
246
  /**
251
247
  * @param {SchematicWrapper} schematic
252
248
  * @returns {string}
253
249
  */
254
- export function debug_json_schematic(schematic) {
250
+ export function debug_schematic(schematic) {
255
251
  let deferred1_0;
256
252
  let deferred1_1;
257
253
  try {
258
254
  _assertClass(schematic, SchematicWrapper);
259
- const ret = wasm.debug_json_schematic(schematic.__wbg_ptr);
255
+ const ret = wasm.debug_schematic(schematic.__wbg_ptr);
260
256
  deferred1_0 = ret[0];
261
257
  deferred1_1 = ret[1];
262
258
  return getStringFromWasm0(ret[0], ret[1]);
@@ -265,6 +261,10 @@ export function debug_json_schematic(schematic) {
265
261
  }
266
262
  }
267
263
 
264
+ export function start() {
265
+ wasm.start();
266
+ }
267
+
268
268
  const BlockPositionFinalization = (typeof FinalizationRegistry === 'undefined')
269
269
  ? { register: () => {}, unregister: () => {} }
270
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 debug_json_schematic(schematic: SchematicWrapper): string;
3
4
  export function debug_schematic(schematic: SchematicWrapper): string;
4
5
  export function start(): void;
5
- export function debug_json_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.98",
8
+ "version": "0.1.100",
9
9
  "license": "AGPL-3.0-only",
10
10
  "repository": {
11
11
  "type": "git",