@json-eval-rs/node 0.0.30 → 0.0.32

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@json-eval-rs/node",
3
- "version": "0.0.30",
3
+ "version": "0.0.32",
4
4
  "description": "JSON Eval RS for Node.js and Server-Side Rendering with ergonomic API",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -1,5 +1,9 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
+ /**
4
+ * Initialize the library (sets up panic hook)
5
+ */
6
+ export function init(): void;
3
7
  /**
4
8
  * Get the library version
5
9
  */
@@ -8,10 +12,6 @@ export function getVersion(): string;
8
12
  * Get library version (alias)
9
13
  */
10
14
  export function version(): string;
11
- /**
12
- * Initialize the library (sets up panic hook)
13
- */
14
- export function init(): void;
15
15
  /**
16
16
  * WebAssembly wrapper for JSONEval
17
17
  */
@@ -207,6 +207,13 @@ function passArrayJsValueToWasm0(array, malloc) {
207
207
  WASM_VECTOR_LEN = array.length;
208
208
  return ptr;
209
209
  }
210
+ /**
211
+ * Initialize the library (sets up panic hook)
212
+ */
213
+ exports.init = function() {
214
+ wasm.init();
215
+ };
216
+
210
217
  /**
211
218
  * Get the library version
212
219
  * @returns {string}
@@ -249,13 +256,6 @@ exports.version = function() {
249
256
  }
250
257
  };
251
258
 
252
- /**
253
- * Initialize the library (sets up panic hook)
254
- */
255
- exports.init = function() {
256
- wasm.init();
257
- };
258
-
259
259
  function passArray8ToWasm0(arg, malloc) {
260
260
  const ptr = malloc(arg.length * 1, 1) >>> 0;
261
261
  getUint8ArrayMemory0().set(arg, ptr / 1);
@@ -2156,7 +2156,7 @@ exports.__wbg_getTime_6bb3f64e0f18f817 = function(arg0) {
2156
2156
  return ret;
2157
2157
  };
2158
2158
 
2159
- exports.__wbg_log_fc4aafc35f549773 = function(arg0, arg1) {
2159
+ exports.__wbg_log_ec39d4fa397181b8 = function(arg0, arg1) {
2160
2160
  console.log(getStringFromWasm0(arg0, arg1));
2161
2161
  };
2162
2162
 
Binary file