@json-eval-rs/node 0.0.37 → 0.0.39
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 +12 -12
- package/pkg/json_eval_rs_bg.wasm +0 -0
package/package.json
CHANGED
package/pkg/json_eval_rs.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Initialize the library (sets up panic hook)
|
|
5
5
|
*/
|
|
6
|
-
export function
|
|
6
|
+
export function init(): void;
|
|
7
7
|
/**
|
|
8
8
|
* Get the library version
|
|
9
9
|
*/
|
|
10
10
|
export function getVersion(): string;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Get library version (alias)
|
|
13
13
|
*/
|
|
14
|
-
export function
|
|
14
|
+
export function version(): string;
|
|
15
15
|
/**
|
|
16
16
|
* WebAssembly wrapper for JSONEval
|
|
17
17
|
*/
|
package/pkg/json_eval_rs.js
CHANGED
|
@@ -208,10 +208,17 @@ function passArrayJsValueToWasm0(array, malloc) {
|
|
|
208
208
|
return ptr;
|
|
209
209
|
}
|
|
210
210
|
/**
|
|
211
|
-
*
|
|
211
|
+
* Initialize the library (sets up panic hook)
|
|
212
|
+
*/
|
|
213
|
+
exports.init = function() {
|
|
214
|
+
wasm.init();
|
|
215
|
+
};
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* Get the library version
|
|
212
219
|
* @returns {string}
|
|
213
220
|
*/
|
|
214
|
-
exports.
|
|
221
|
+
exports.getVersion = function() {
|
|
215
222
|
let deferred1_0;
|
|
216
223
|
let deferred1_1;
|
|
217
224
|
try {
|
|
@@ -229,10 +236,10 @@ exports.version = function() {
|
|
|
229
236
|
};
|
|
230
237
|
|
|
231
238
|
/**
|
|
232
|
-
* Get
|
|
239
|
+
* Get library version (alias)
|
|
233
240
|
* @returns {string}
|
|
234
241
|
*/
|
|
235
|
-
exports.
|
|
242
|
+
exports.version = function() {
|
|
236
243
|
let deferred1_0;
|
|
237
244
|
let deferred1_1;
|
|
238
245
|
try {
|
|
@@ -249,13 +256,6 @@ exports.getVersion = function() {
|
|
|
249
256
|
}
|
|
250
257
|
};
|
|
251
258
|
|
|
252
|
-
/**
|
|
253
|
-
* Initialize the library (sets up panic hook)
|
|
254
|
-
*/
|
|
255
|
-
exports.init = function() {
|
|
256
|
-
wasm.init();
|
|
257
|
-
};
|
|
258
|
-
|
|
259
259
|
function passArray8ToWasm0(arg, malloc) {
|
|
260
260
|
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
261
261
|
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
@@ -2176,7 +2176,7 @@ exports.__wbg_getTime_6bb3f64e0f18f817 = function(arg0) {
|
|
|
2176
2176
|
return ret;
|
|
2177
2177
|
};
|
|
2178
2178
|
|
|
2179
|
-
exports.
|
|
2179
|
+
exports.__wbg_log_4ac5f43df80ec30a = function(arg0, arg1) {
|
|
2180
2180
|
console.log(getStringFromWasm0(arg0, arg1));
|
|
2181
2181
|
};
|
|
2182
2182
|
|
package/pkg/json_eval_rs_bg.wasm
CHANGED
|
Binary file
|