nucleation 0.1.78 → 0.1.79
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 +9 -8
- package/nucleation.d.ts +1 -1
- package/nucleation_bg.wasm +0 -0
- package/package.json +1 -1
package/nucleation-original.js
CHANGED
|
@@ -225,16 +225,21 @@ function getArrayJsValueFromWasm0(ptr, len) {
|
|
|
225
225
|
wasm.__externref_drop_slice(ptr, len);
|
|
226
226
|
return result;
|
|
227
227
|
}
|
|
228
|
+
|
|
229
|
+
export function start() {
|
|
230
|
+
wasm.start();
|
|
231
|
+
}
|
|
232
|
+
|
|
228
233
|
/**
|
|
229
234
|
* @param {SchematicWrapper} schematic
|
|
230
235
|
* @returns {string}
|
|
231
236
|
*/
|
|
232
|
-
export function
|
|
237
|
+
export function debug_json_schematic(schematic) {
|
|
233
238
|
let deferred1_0;
|
|
234
239
|
let deferred1_1;
|
|
235
240
|
try {
|
|
236
241
|
_assertClass(schematic, SchematicWrapper);
|
|
237
|
-
const ret = wasm.
|
|
242
|
+
const ret = wasm.debug_json_schematic(schematic.__wbg_ptr);
|
|
238
243
|
deferred1_0 = ret[0];
|
|
239
244
|
deferred1_1 = ret[1];
|
|
240
245
|
return getStringFromWasm0(ret[0], ret[1]);
|
|
@@ -243,20 +248,16 @@ export function debug_schematic(schematic) {
|
|
|
243
248
|
}
|
|
244
249
|
}
|
|
245
250
|
|
|
246
|
-
export function start() {
|
|
247
|
-
wasm.start();
|
|
248
|
-
}
|
|
249
|
-
|
|
250
251
|
/**
|
|
251
252
|
* @param {SchematicWrapper} schematic
|
|
252
253
|
* @returns {string}
|
|
253
254
|
*/
|
|
254
|
-
export function
|
|
255
|
+
export function debug_schematic(schematic) {
|
|
255
256
|
let deferred1_0;
|
|
256
257
|
let deferred1_1;
|
|
257
258
|
try {
|
|
258
259
|
_assertClass(schematic, SchematicWrapper);
|
|
259
|
-
const ret = wasm.
|
|
260
|
+
const ret = wasm.debug_schematic(schematic.__wbg_ptr);
|
|
260
261
|
deferred1_0 = ret[0];
|
|
261
262
|
deferred1_1 = ret[1];
|
|
262
263
|
return getStringFromWasm0(ret[0], ret[1]);
|
package/nucleation.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
export function debug_schematic(schematic: SchematicWrapper): string;
|
|
4
3
|
export function start(): void;
|
|
5
4
|
export function debug_json_schematic(schematic: SchematicWrapper): string;
|
|
5
|
+
export function debug_schematic(schematic: SchematicWrapper): string;
|
|
6
6
|
export class BlockPosition {
|
|
7
7
|
free(): void;
|
|
8
8
|
[Symbol.dispose](): void;
|
package/nucleation_bg.wasm
CHANGED
|
Binary file
|