nucleation 0.1.122 → 0.1.123
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 +2 -2
- package/nucleation_bg.wasm +0 -0
- package/package.json +1 -1
package/nucleation-original.js
CHANGED
|
@@ -225,23 +225,16 @@ function passArray8ToWasm0(arg, malloc) {
|
|
|
225
225
|
WASM_VECTOR_LEN = arg.length;
|
|
226
226
|
return ptr;
|
|
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}
|
|
238
231
|
*/
|
|
239
|
-
export function
|
|
232
|
+
export function debug_json_schematic(schematic) {
|
|
240
233
|
let deferred1_0;
|
|
241
234
|
let deferred1_1;
|
|
242
235
|
try {
|
|
243
236
|
_assertClass(schematic, SchematicWrapper);
|
|
244
|
-
const ret = wasm.
|
|
237
|
+
const ret = wasm.debug_json_schematic(schematic.__wbg_ptr);
|
|
245
238
|
deferred1_0 = ret[0];
|
|
246
239
|
deferred1_1 = ret[1];
|
|
247
240
|
return getStringFromWasm0(ret[0], ret[1]);
|
|
@@ -254,12 +247,12 @@ export function debug_schematic(schematic) {
|
|
|
254
247
|
* @param {SchematicWrapper} schematic
|
|
255
248
|
* @returns {string}
|
|
256
249
|
*/
|
|
257
|
-
export function
|
|
250
|
+
export function debug_schematic(schematic) {
|
|
258
251
|
let deferred1_0;
|
|
259
252
|
let deferred1_1;
|
|
260
253
|
try {
|
|
261
254
|
_assertClass(schematic, SchematicWrapper);
|
|
262
|
-
const ret = wasm.
|
|
255
|
+
const ret = wasm.debug_schematic(schematic.__wbg_ptr);
|
|
263
256
|
deferred1_0 = ret[0];
|
|
264
257
|
deferred1_1 = ret[1];
|
|
265
258
|
return getStringFromWasm0(ret[0], ret[1]);
|
|
@@ -268,6 +261,13 @@ export function debug_json_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_schematic(schematic: SchematicWrapper): string;
|
|
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
|