@json-eval-rs/vanilla 0.0.45 → 0.0.46

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.45",
3
+ "version": "0.0.46",
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,17 +1,17 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Get library version (alias)
4
+ * Get the library version
5
5
  */
6
- export function version(): string;
6
+ export function getVersion(): string;
7
7
  /**
8
8
  * Initialize the library (sets up panic hook)
9
9
  */
10
10
  export function init(): void;
11
11
  /**
12
- * Get the library version
12
+ * Get library version (alias)
13
13
  */
14
- export function getVersion(): string;
14
+ export function version(): string;
15
15
  /**
16
16
  * WebAssembly wrapper for JSONEval
17
17
  */
@@ -214,10 +214,10 @@ function passArrayJsValueToWasm0(array, malloc) {
214
214
  return ptr;
215
215
  }
216
216
  /**
217
- * Get library version (alias)
217
+ * Get the library version
218
218
  * @returns {string}
219
219
  */
220
- export function version() {
220
+ export function getVersion() {
221
221
  let deferred1_0;
222
222
  let deferred1_1;
223
223
  try {
@@ -242,10 +242,10 @@ export function init() {
242
242
  }
243
243
 
244
244
  /**
245
- * Get the library version
245
+ * Get library version (alias)
246
246
  * @returns {string}
247
247
  */
248
- export function getVersion() {
248
+ export function version() {
249
249
  let deferred1_0;
250
250
  let deferred1_1;
251
251
  try {
@@ -2209,7 +2209,7 @@ function __wbg_get_imports() {
2209
2209
  const ret = getObject(arg0).getTime();
2210
2210
  return ret;
2211
2211
  };
2212
- imports.wbg.__wbg_log_e4f27879ca4994b8 = function(arg0, arg1) {
2212
+ imports.wbg.__wbg_log_416dbeafc33eeb04 = function(arg0, arg1) {
2213
2213
  console.log(getStringFromWasm0(arg0, arg1));
2214
2214
  };
2215
2215
  imports.wbg.__wbg_new0_b0a0a38c201e6df5 = function() {
Binary file