nucleation 0.1.110 → 0.1.111
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,6 +225,13 @@ 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
|
+
|
|
228
235
|
/**
|
|
229
236
|
* @param {SchematicWrapper} schematic
|
|
230
237
|
* @returns {string}
|
|
@@ -261,13 +268,6 @@ export function debug_schematic(schematic) {
|
|
|
261
268
|
}
|
|
262
269
|
}
|
|
263
270
|
|
|
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;
|
|
5
3
|
/**
|
|
6
4
|
* Initialize WASM module with panic hook for better error messages
|
|
7
5
|
*/
|
|
8
6
|
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
|