nucleation 0.1.111 → 0.1.113
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/nucleation-original.js +7 -7
- package/nucleation.d.ts +2 -2
- package/nucleation_bg.wasm +0 -0
- package/package.json +1 -1
package/nucleation-original.js
CHANGED
|
@@ -225,13 +225,6 @@ function getArrayI32FromWasm0(ptr, len) {
|
|
|
225
225
|
ptr = ptr >>> 0;
|
|
226
226
|
return getInt32ArrayMemory0().subarray(ptr / 4, ptr / 4 + len);
|
|
227
227
|
}
|
|
228
|
-
/**
|
|
229
|
-
* Initialize WASM module with panic hook for better error messages
|
|
230
|
-
*/
|
|
231
|
-
export function start() {
|
|
232
|
-
wasm.start();
|
|
233
|
-
}
|
|
234
|
-
|
|
235
228
|
/**
|
|
236
229
|
* @param {SchematicWrapper} schematic
|
|
237
230
|
* @returns {string}
|
|
@@ -268,6 +261,13 @@ export function debug_schematic(schematic) {
|
|
|
268
261
|
}
|
|
269
262
|
}
|
|
270
263
|
|
|
264
|
+
/**
|
|
265
|
+
* Initialize WASM module with panic hook for better error messages
|
|
266
|
+
*/
|
|
267
|
+
export function start() {
|
|
268
|
+
wasm.start();
|
|
269
|
+
}
|
|
270
|
+
|
|
271
271
|
let cachedUint32ArrayMemory0 = null;
|
|
272
272
|
|
|
273
273
|
function getUint32ArrayMemory0() {
|
package/nucleation.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
export function debug_json_schematic(schematic: SchematicWrapper): string;
|
|
4
|
+
export function debug_schematic(schematic: SchematicWrapper): string;
|
|
3
5
|
/**
|
|
4
6
|
* Initialize WASM module with panic hook for better error messages
|
|
5
7
|
*/
|
|
6
8
|
export function start(): void;
|
|
7
|
-
export function debug_json_schematic(schematic: SchematicWrapper): string;
|
|
8
|
-
export function debug_schematic(schematic: SchematicWrapper): string;
|
|
9
9
|
export class BlockPosition {
|
|
10
10
|
free(): void;
|
|
11
11
|
[Symbol.dispose](): void;
|
package/nucleation_bg.wasm
CHANGED
|
Binary file
|