@json-eval-rs/bundler 0.0.71 → 0.0.72

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.71",
3
+ "version": "0.0.72",
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,9 +1,5 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- /**
4
- * Get library version (alias)
5
- */
6
- export function version(): string;
7
3
  /**
8
4
  * Get the library version
9
5
  */
@@ -12,6 +8,10 @@ export function getVersion(): string;
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
  */
@@ -153,10 +153,10 @@ function passArrayJsValueToWasm0(array, malloc) {
153
153
  return ptr;
154
154
  }
155
155
  /**
156
- * Get library version (alias)
156
+ * Get the library version
157
157
  * @returns {string}
158
158
  */
159
- export function version() {
159
+ export function getVersion() {
160
160
  let deferred1_0;
161
161
  let deferred1_1;
162
162
  try {
@@ -174,10 +174,17 @@ export function version() {
174
174
  }
175
175
 
176
176
  /**
177
- * Get the library version
177
+ * Initialize the library (sets up panic hook)
178
+ */
179
+ export function init() {
180
+ wasm.init();
181
+ }
182
+
183
+ /**
184
+ * Get library version (alias)
178
185
  * @returns {string}
179
186
  */
180
- export function getVersion() {
187
+ export function version() {
181
188
  let deferred1_0;
182
189
  let deferred1_1;
183
190
  try {
@@ -194,13 +201,6 @@ export function getVersion() {
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);
@@ -2236,7 +2236,7 @@ export function __wbg_getTime_6bb3f64e0f18f817(arg0) {
2236
2236
  return ret;
2237
2237
  };
2238
2238
 
2239
- export function __wbg_log_2b562790053c5ff7(arg0, arg1) {
2239
+ export function __wbg_log_e4e5c76e87a2771f(arg0, arg1) {
2240
2240
  console.log(getStringFromWasm0(arg0, arg1));
2241
2241
  };
2242
2242
 
Binary file