@json-eval-rs/bundler 0.0.37 → 0.0.38

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/bundler",
3
- "version": "0.0.37",
3
+ "version": "0.0.38",
4
4
  "description": "JSON Eval RS for bundlers (Webpack, Vite, Next.js, etc.) 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 library version (alias)
5
9
  */
@@ -8,10 +12,6 @@ export function version(): string;
8
12
  * Get the library version
9
13
  */
10
14
  export function getVersion(): 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
  */
@@ -217,6 +217,13 @@ function passArrayJsValueToWasm0(array, malloc) {
217
217
  WASM_VECTOR_LEN = array.length;
218
218
  return ptr;
219
219
  }
220
+ /**
221
+ * Initialize the library (sets up panic hook)
222
+ */
223
+ export function init() {
224
+ wasm.init();
225
+ }
226
+
220
227
  /**
221
228
  * Get library version (alias)
222
229
  * @returns {string}
@@ -259,13 +266,6 @@ export function getVersion() {
259
266
  }
260
267
  }
261
268
 
262
- /**
263
- * Initialize the library (sets up panic hook)
264
- */
265
- export function init() {
266
- wasm.init();
267
- }
268
-
269
269
  function passArray8ToWasm0(arg, malloc) {
270
270
  const ptr = malloc(arg.length * 1, 1) >>> 0;
271
271
  getUint8ArrayMemory0().set(arg, ptr / 1);
@@ -2180,7 +2180,7 @@ export function __wbg_getTime_6bb3f64e0f18f817(arg0) {
2180
2180
  return ret;
2181
2181
  };
2182
2182
 
2183
- export function __wbg_log_88d3bc4f6a207769(arg0, arg1) {
2183
+ export function __wbg_log_796ccd14a9e76512(arg0, arg1) {
2184
2184
  console.log(getStringFromWasm0(arg0, arg1));
2185
2185
  };
2186
2186
 
Binary file