@json-eval-rs/vanilla 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/vanilla",
3
- "version": "0.0.68",
3
+ "version": "0.0.69",
4
4
  "description": "JSON Eval RS for direct browser usage (vanilla JS) or manual WASM loading (Next.js Turbopack compat)",
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
  */
@@ -169,6 +169,13 @@ export function getVersion() {
169
169
  }
170
170
  }
171
171
 
172
+ /**
173
+ * Initialize the library (sets up panic hook)
174
+ */
175
+ export function init() {
176
+ wasm.init();
177
+ }
178
+
172
179
  /**
173
180
  * Get library version (alias)
174
181
  * @returns {string}
@@ -190,13 +197,6 @@ export function version() {
190
197
  }
191
198
  }
192
199
 
193
- /**
194
- * Initialize the library (sets up panic hook)
195
- */
196
- export function init() {
197
- wasm.init();
198
- }
199
-
200
200
  function passArray8ToWasm0(arg, malloc) {
201
201
  const ptr = malloc(arg.length * 1, 1) >>> 0;
202
202
  getUint8ArrayMemory0().set(arg, ptr / 1);
@@ -2265,7 +2265,7 @@ function __wbg_get_imports() {
2265
2265
  const ret = getObject(arg0).getTime();
2266
2266
  return ret;
2267
2267
  };
2268
- imports.wbg.__wbg_log_169af8438f961689 = function(arg0, arg1) {
2268
+ imports.wbg.__wbg_log_aa26c2b8fafd22f1 = function(arg0, arg1) {
2269
2269
  console.log(getStringFromWasm0(arg0, arg1));
2270
2270
  };
2271
2271
  imports.wbg.__wbg_new0_b0a0a38c201e6df5 = function() {
Binary file