@json-eval-rs/node 0.0.61 → 0.0.62
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,5 +1,9 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Initialize the library (sets up panic hook)
|
|
5
|
+
*/
|
|
6
|
+
export function init(): void;
|
|
3
7
|
/**
|
|
4
8
|
* Get library version (alias)
|
|
5
9
|
*/
|
|
@@ -8,10 +12,6 @@ export function version(): string;
|
|
|
8
12
|
* Get the library version
|
|
9
13
|
*/
|
|
10
14
|
export function getVersion(): 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
|
@@ -142,6 +142,13 @@ function passArrayJsValueToWasm0(array, malloc) {
|
|
|
142
142
|
WASM_VECTOR_LEN = array.length;
|
|
143
143
|
return ptr;
|
|
144
144
|
}
|
|
145
|
+
/**
|
|
146
|
+
* Initialize the library (sets up panic hook)
|
|
147
|
+
*/
|
|
148
|
+
exports.init = function() {
|
|
149
|
+
wasm.init();
|
|
150
|
+
};
|
|
151
|
+
|
|
145
152
|
/**
|
|
146
153
|
* Get library version (alias)
|
|
147
154
|
* @returns {string}
|
|
@@ -184,13 +191,6 @@ exports.getVersion = function() {
|
|
|
184
191
|
}
|
|
185
192
|
};
|
|
186
193
|
|
|
187
|
-
/**
|
|
188
|
-
* Initialize the library (sets up panic hook)
|
|
189
|
-
*/
|
|
190
|
-
exports.init = function() {
|
|
191
|
-
wasm.init();
|
|
192
|
-
};
|
|
193
|
-
|
|
194
194
|
function passArray8ToWasm0(arg, malloc) {
|
|
195
195
|
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
196
196
|
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
@@ -2232,7 +2232,7 @@ exports.__wbg_getTime_6bb3f64e0f18f817 = function(arg0) {
|
|
|
2232
2232
|
return ret;
|
|
2233
2233
|
};
|
|
2234
2234
|
|
|
2235
|
-
exports.
|
|
2235
|
+
exports.__wbg_log_03a8697fff35b771 = function(arg0, arg1) {
|
|
2236
2236
|
console.log(getStringFromWasm0(arg0, arg1));
|
|
2237
2237
|
};
|
|
2238
2238
|
|
package/pkg/json_eval_rs_bg.wasm
CHANGED
|
Binary file
|