@json-eval-rs/bundler 0.0.39 → 0.0.41
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_bg.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
|
+
* Get library version (alias)
|
|
5
5
|
*/
|
|
6
|
-
export function
|
|
6
|
+
export function version(): string;
|
|
7
7
|
/**
|
|
8
8
|
* Get the library version
|
|
9
9
|
*/
|
|
10
10
|
export function getVersion(): string;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Initialize the library (sets up panic hook)
|
|
13
13
|
*/
|
|
14
|
-
export function
|
|
14
|
+
export function init(): void;
|
|
15
15
|
/**
|
|
16
16
|
* WebAssembly wrapper for JSONEval
|
|
17
17
|
*/
|
package/pkg/json_eval_rs_bg.js
CHANGED
|
@@ -218,17 +218,10 @@ function passArrayJsValueToWasm0(array, malloc) {
|
|
|
218
218
|
return ptr;
|
|
219
219
|
}
|
|
220
220
|
/**
|
|
221
|
-
*
|
|
222
|
-
*/
|
|
223
|
-
export function init() {
|
|
224
|
-
wasm.init();
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
/**
|
|
228
|
-
* Get the library version
|
|
221
|
+
* Get library version (alias)
|
|
229
222
|
* @returns {string}
|
|
230
223
|
*/
|
|
231
|
-
export function
|
|
224
|
+
export function version() {
|
|
232
225
|
let deferred1_0;
|
|
233
226
|
let deferred1_1;
|
|
234
227
|
try {
|
|
@@ -246,10 +239,10 @@ export function getVersion() {
|
|
|
246
239
|
}
|
|
247
240
|
|
|
248
241
|
/**
|
|
249
|
-
* Get library version
|
|
242
|
+
* Get the library version
|
|
250
243
|
* @returns {string}
|
|
251
244
|
*/
|
|
252
|
-
export function
|
|
245
|
+
export function getVersion() {
|
|
253
246
|
let deferred1_0;
|
|
254
247
|
let deferred1_1;
|
|
255
248
|
try {
|
|
@@ -266,6 +259,13 @@ export function version() {
|
|
|
266
259
|
}
|
|
267
260
|
}
|
|
268
261
|
|
|
262
|
+
/**
|
|
263
|
+
* Initialize the library (sets up panic hook)
|
|
264
|
+
*/
|
|
265
|
+
export function init() {
|
|
266
|
+
wasm.init();
|
|
267
|
+
}
|
|
268
|
+
|
|
269
269
|
function passArray8ToWasm0(arg, malloc) {
|
|
270
270
|
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
271
271
|
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
@@ -2180,7 +2180,7 @@ export function __wbg_getTime_6bb3f64e0f18f817(arg0) {
|
|
|
2180
2180
|
return ret;
|
|
2181
2181
|
};
|
|
2182
2182
|
|
|
2183
|
-
export function
|
|
2183
|
+
export function __wbg_log_719b446733afdc93(arg0, arg1) {
|
|
2184
2184
|
console.log(getStringFromWasm0(arg0, arg1));
|
|
2185
2185
|
};
|
|
2186
2186
|
|
package/pkg/json_eval_rs_bg.wasm
CHANGED
|
Binary file
|