@json-eval-rs/bundler 0.0.36 → 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.36",
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,9 +1,5 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- /**
4
- * Get the library version
5
- */
6
- export function getVersion(): string;
7
3
  /**
8
4
  * Initialize the library (sets up panic hook)
9
5
  */
@@ -12,6 +8,10 @@ export function init(): void;
12
8
  * Get library version (alias)
13
9
  */
14
10
  export function version(): string;
11
+ /**
12
+ * Get the library version
13
+ */
14
+ export function getVersion(): string;
15
15
  /**
16
16
  * WebAssembly wrapper for JSONEval
17
17
  */
@@ -218,10 +218,17 @@ function passArrayJsValueToWasm0(array, malloc) {
218
218
  return ptr;
219
219
  }
220
220
  /**
221
- * Get the library version
221
+ * Initialize the library (sets up panic hook)
222
+ */
223
+ export function init() {
224
+ wasm.init();
225
+ }
226
+
227
+ /**
228
+ * Get library version (alias)
222
229
  * @returns {string}
223
230
  */
224
- export function getVersion() {
231
+ export function version() {
225
232
  let deferred1_0;
226
233
  let deferred1_1;
227
234
  try {
@@ -239,17 +246,10 @@ export function getVersion() {
239
246
  }
240
247
 
241
248
  /**
242
- * Initialize the library (sets up panic hook)
243
- */
244
- export function init() {
245
- wasm.init();
246
- }
247
-
248
- /**
249
- * Get library version (alias)
249
+ * Get the library version
250
250
  * @returns {string}
251
251
  */
252
- export function version() {
252
+ export function getVersion() {
253
253
  let deferred1_0;
254
254
  let deferred1_1;
255
255
  try {
@@ -2180,7 +2180,7 @@ export function __wbg_getTime_6bb3f64e0f18f817(arg0) {
2180
2180
  return ret;
2181
2181
  };
2182
2182
 
2183
- export function __wbg_log_f3218651d7c30598(arg0, arg1) {
2183
+ export function __wbg_log_796ccd14a9e76512(arg0, arg1) {
2184
2184
  console.log(getStringFromWasm0(arg0, arg1));
2185
2185
  };
2186
2186
 
Binary file