@json-eval-rs/vanilla 0.0.67 → 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.67",
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",
@@ -1,5 +1,9 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
+ /**
4
+ * Get the library version
5
+ */
6
+ export function getVersion(): string;
3
7
  /**
4
8
  * Initialize the library (sets up panic hook)
5
9
  */
@@ -8,10 +12,6 @@ export function init(): void;
8
12
  * Get library version (alias)
9
13
  */
10
14
  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
  */
@@ -149,17 +149,10 @@ function passArrayJsValueToWasm0(array, malloc) {
149
149
  return ptr;
150
150
  }
151
151
  /**
152
- * Initialize the library (sets up panic hook)
153
- */
154
- export function init() {
155
- wasm.init();
156
- }
157
-
158
- /**
159
- * Get library version (alias)
152
+ * Get the library version
160
153
  * @returns {string}
161
154
  */
162
- export function version() {
155
+ export function getVersion() {
163
156
  let deferred1_0;
164
157
  let deferred1_1;
165
158
  try {
@@ -177,10 +170,17 @@ export function version() {
177
170
  }
178
171
 
179
172
  /**
180
- * Get the library version
173
+ * Initialize the library (sets up panic hook)
174
+ */
175
+ export function init() {
176
+ wasm.init();
177
+ }
178
+
179
+ /**
180
+ * Get library version (alias)
181
181
  * @returns {string}
182
182
  */
183
- export function getVersion() {
183
+ export function version() {
184
184
  let deferred1_0;
185
185
  let deferred1_1;
186
186
  try {
@@ -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_d1f198278b9004fc = 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