@json-eval-rs/node 0.0.68 → 0.0.69

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.68",
3
+ "version": "0.0.69",
4
4
  "description": "JSON Eval RS for Node.js and Server-Side Rendering with ergonomic API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -4,14 +4,14 @@
4
4
  * Get the library version
5
5
  */
6
6
  export function getVersion(): string;
7
- /**
8
- * Get library version (alias)
9
- */
10
- export function version(): string;
11
7
  /**
12
8
  * Initialize the library (sets up panic hook)
13
9
  */
14
10
  export function init(): void;
11
+ /**
12
+ * Get library version (alias)
13
+ */
14
+ export function version(): string;
15
15
  /**
16
16
  * WebAssembly wrapper for JSONEval
17
17
  */
@@ -163,6 +163,13 @@ exports.getVersion = function() {
163
163
  }
164
164
  };
165
165
 
166
+ /**
167
+ * Initialize the library (sets up panic hook)
168
+ */
169
+ exports.init = function() {
170
+ wasm.init();
171
+ };
172
+
166
173
  /**
167
174
  * Get library version (alias)
168
175
  * @returns {string}
@@ -184,13 +191,6 @@ exports.version = function() {
184
191
  }
185
192
  };
186
193
 
187
- /**
188
- * Initialize the library (sets up panic hook)
189
- */
190
- exports.init = function() {
191
- wasm.init();
192
- };
193
-
194
194
  function passArray8ToWasm0(arg, malloc) {
195
195
  const ptr = malloc(arg.length * 1, 1) >>> 0;
196
196
  getUint8ArrayMemory0().set(arg, ptr / 1);
@@ -2232,7 +2232,7 @@ exports.__wbg_getTime_6bb3f64e0f18f817 = function(arg0) {
2232
2232
  return ret;
2233
2233
  };
2234
2234
 
2235
- exports.__wbg_log_169af8438f961689 = function(arg0, arg1) {
2235
+ exports.__wbg_log_aa26c2b8fafd22f1 = function(arg0, arg1) {
2236
2236
  console.log(getStringFromWasm0(arg0, arg1));
2237
2237
  };
2238
2238
 
Binary file