@json-eval-rs/vanilla 0.0.57 → 0.0.58
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 +1 -1
- package/pkg/json_eval_rs.d.ts +4 -4
- package/pkg/json_eval_rs.js +8 -8
- package/pkg/json_eval_rs_bg.wasm +0 -0
package/package.json
CHANGED
package/pkg/json_eval_rs.d.ts
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Initialize the library (sets up panic hook)
|
|
5
|
-
*/
|
|
6
|
-
export function init(): void;
|
|
7
3
|
/**
|
|
8
4
|
* Get the library version
|
|
9
5
|
*/
|
|
@@ -12,6 +8,10 @@ export function getVersion(): string;
|
|
|
12
8
|
* Get library version (alias)
|
|
13
9
|
*/
|
|
14
10
|
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
|
*/
|
package/pkg/json_eval_rs.js
CHANGED
|
@@ -148,13 +148,6 @@ function passArrayJsValueToWasm0(array, malloc) {
|
|
|
148
148
|
WASM_VECTOR_LEN = array.length;
|
|
149
149
|
return ptr;
|
|
150
150
|
}
|
|
151
|
-
/**
|
|
152
|
-
* Initialize the library (sets up panic hook)
|
|
153
|
-
*/
|
|
154
|
-
export function init() {
|
|
155
|
-
wasm.init();
|
|
156
|
-
}
|
|
157
|
-
|
|
158
151
|
/**
|
|
159
152
|
* Get the library version
|
|
160
153
|
* @returns {string}
|
|
@@ -197,6 +190,13 @@ export function version() {
|
|
|
197
190
|
}
|
|
198
191
|
}
|
|
199
192
|
|
|
193
|
+
/**
|
|
194
|
+
* Initialize the library (sets up panic hook)
|
|
195
|
+
*/
|
|
196
|
+
export function init() {
|
|
197
|
+
wasm.init();
|
|
198
|
+
}
|
|
199
|
+
|
|
200
200
|
function passArray8ToWasm0(arg, malloc) {
|
|
201
201
|
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
202
202
|
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
@@ -2265,7 +2265,7 @@ function __wbg_get_imports() {
|
|
|
2265
2265
|
const ret = getObject(arg0).getTime();
|
|
2266
2266
|
return ret;
|
|
2267
2267
|
};
|
|
2268
|
-
imports.wbg.
|
|
2268
|
+
imports.wbg.__wbg_log_9d6c7c5fbb0600aa = function(arg0, arg1) {
|
|
2269
2269
|
console.log(getStringFromWasm0(arg0, arg1));
|
|
2270
2270
|
};
|
|
2271
2271
|
imports.wbg.__wbg_new0_b0a0a38c201e6df5 = function() {
|
package/pkg/json_eval_rs_bg.wasm
CHANGED
|
Binary file
|