nucleation 0.1.110 → 0.1.112
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 +11 -11
- package/nucleation.d.ts +1 -1
- package/nucleation_bg.wasm +0 -0
- package/package.json +1 -1
package/nucleation-original.js
CHANGED
|
@@ -229,12 +229,12 @@ function getArrayI32FromWasm0(ptr, len) {
|
|
|
229
229
|
* @param {SchematicWrapper} schematic
|
|
230
230
|
* @returns {string}
|
|
231
231
|
*/
|
|
232
|
-
export function
|
|
232
|
+
export function debug_schematic(schematic) {
|
|
233
233
|
let deferred1_0;
|
|
234
234
|
let deferred1_1;
|
|
235
235
|
try {
|
|
236
236
|
_assertClass(schematic, SchematicWrapper);
|
|
237
|
-
const ret = wasm.
|
|
237
|
+
const ret = wasm.debug_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,16 +243,23 @@ export function debug_json_schematic(schematic) {
|
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
245
|
|
|
246
|
+
/**
|
|
247
|
+
* Initialize WASM module with panic hook for better error messages
|
|
248
|
+
*/
|
|
249
|
+
export function start() {
|
|
250
|
+
wasm.start();
|
|
251
|
+
}
|
|
252
|
+
|
|
246
253
|
/**
|
|
247
254
|
* @param {SchematicWrapper} schematic
|
|
248
255
|
* @returns {string}
|
|
249
256
|
*/
|
|
250
|
-
export function
|
|
257
|
+
export function debug_json_schematic(schematic) {
|
|
251
258
|
let deferred1_0;
|
|
252
259
|
let deferred1_1;
|
|
253
260
|
try {
|
|
254
261
|
_assertClass(schematic, SchematicWrapper);
|
|
255
|
-
const ret = wasm.
|
|
262
|
+
const ret = wasm.debug_json_schematic(schematic.__wbg_ptr);
|
|
256
263
|
deferred1_0 = ret[0];
|
|
257
264
|
deferred1_1 = ret[1];
|
|
258
265
|
return getStringFromWasm0(ret[0], ret[1]);
|
|
@@ -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
3
|
export function debug_schematic(schematic: SchematicWrapper): string;
|
|
5
4
|
/**
|
|
6
5
|
* Initialize WASM module with panic hook for better error messages
|
|
7
6
|
*/
|
|
8
7
|
export function start(): void;
|
|
8
|
+
export function debug_json_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
|