@json-eval-rs/bundler 0.0.52 → 0.0.53

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.52",
3
+ "version": "0.0.53",
4
4
  "description": "JSON Eval RS for bundlers (Webpack, Vite, Next.js, etc.) with ergonomic API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/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
  */
@@ -152,6 +152,13 @@ function passArrayJsValueToWasm0(array, malloc) {
152
152
  WASM_VECTOR_LEN = array.length;
153
153
  return ptr;
154
154
  }
155
+ /**
156
+ * Initialize the library (sets up panic hook)
157
+ */
158
+ export function init() {
159
+ wasm.init();
160
+ }
161
+
155
162
  /**
156
163
  * Get the library version
157
164
  * @returns {string}
@@ -194,13 +201,6 @@ export function version() {
194
201
  }
195
202
  }
196
203
 
197
- /**
198
- * Initialize the library (sets up panic hook)
199
- */
200
- export function init() {
201
- wasm.init();
202
- }
203
-
204
204
  function passArray8ToWasm0(arg, malloc) {
205
205
  const ptr = malloc(arg.length * 1, 1) >>> 0;
206
206
  getUint8ArrayMemory0().set(arg, ptr / 1);
@@ -2115,7 +2115,7 @@ export function __wbg_getTime_6bb3f64e0f18f817(arg0) {
2115
2115
  return ret;
2116
2116
  };
2117
2117
 
2118
- export function __wbg_log_338601ce204f7ead(arg0, arg1) {
2118
+ export function __wbg_log_a25927b9b22a6f57(arg0, arg1) {
2119
2119
  console.log(getStringFromWasm0(arg0, arg1));
2120
2120
  };
2121
2121
 
Binary file