@json-eval-rs/node 0.0.41 → 0.0.44

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.41",
3
+ "version": "0.0.44",
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",
@@ -4,14 +4,14 @@
4
4
  * Get library version (alias)
5
5
  */
6
6
  export function version(): string;
7
- /**
8
- * Get the library version
9
- */
10
- export function getVersion(): string;
11
7
  /**
12
8
  * Initialize the library (sets up panic hook)
13
9
  */
14
10
  export function init(): void;
11
+ /**
12
+ * Get the library version
13
+ */
14
+ export function getVersion(): string;
15
15
  /**
16
16
  * WebAssembly wrapper for JSONEval
17
17
  */
@@ -228,6 +228,13 @@ exports.version = function() {
228
228
  }
229
229
  };
230
230
 
231
+ /**
232
+ * Initialize the library (sets up panic hook)
233
+ */
234
+ exports.init = function() {
235
+ wasm.init();
236
+ };
237
+
231
238
  /**
232
239
  * Get the library version
233
240
  * @returns {string}
@@ -249,13 +256,6 @@ exports.getVersion = 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);
@@ -2176,7 +2176,7 @@ exports.__wbg_getTime_6bb3f64e0f18f817 = function(arg0) {
2176
2176
  return ret;
2177
2177
  };
2178
2178
 
2179
- exports.__wbg_log_719b446733afdc93 = function(arg0, arg1) {
2179
+ exports.__wbg_log_2c698220b4282966 = function(arg0, arg1) {
2180
2180
  console.log(getStringFromWasm0(arg0, arg1));
2181
2181
  };
2182
2182
 
Binary file