mons-rust 0.1.3 → 0.1.4

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/mons_rust.d.ts CHANGED
@@ -1,11 +1,6 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * @param {string} name
5
- * @returns {string}
6
- */
7
- export function greet(name: string): string;
8
- /**
9
4
  * @param {string} fen1
10
5
  * @param {string} fen2
11
6
  * @param {string} flatMovesString1
package/mons_rust.js CHANGED
@@ -84,29 +84,6 @@ function getStringFromWasm0(ptr, len) {
84
84
  ptr = ptr >>> 0;
85
85
  return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
86
86
  }
87
- /**
88
- * @param {string} name
89
- * @returns {string}
90
- */
91
- module.exports.greet = function(name) {
92
- let deferred2_0;
93
- let deferred2_1;
94
- try {
95
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
96
- const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
97
- const len0 = WASM_VECTOR_LEN;
98
- wasm.greet(retptr, ptr0, len0);
99
- var r0 = getInt32Memory0()[retptr / 4 + 0];
100
- var r1 = getInt32Memory0()[retptr / 4 + 1];
101
- deferred2_0 = r0;
102
- deferred2_1 = r1;
103
- return getStringFromWasm0(r0, r1);
104
- } finally {
105
- wasm.__wbindgen_add_to_stack_pointer(16);
106
- wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
107
- }
108
- };
109
-
110
87
  /**
111
88
  * @param {string} fen1
112
89
  * @param {string} fen2
package/mons_rust_bg.wasm CHANGED
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mons-rust",
3
3
  "description": "super metal mons",
4
- "version": "0.1.3",
4
+ "version": "0.1.4",
5
5
  "license": "CC0-1.0",
6
6
  "files": [
7
7
  "mons_rust_bg.wasm",