@json-eval-rs/bundler 0.0.50 → 0.0.51
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
|
+
* Initialize the library (sets up panic hook)
|
|
5
5
|
*/
|
|
6
|
-
export function
|
|
6
|
+
export function init(): void;
|
|
7
7
|
/**
|
|
8
8
|
* Get library version (alias)
|
|
9
9
|
*/
|
|
10
10
|
export function version(): string;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Get the library version
|
|
13
13
|
*/
|
|
14
|
-
export function
|
|
14
|
+
export function getVersion(): string;
|
|
15
15
|
/**
|
|
16
16
|
* WebAssembly wrapper for JSONEval
|
|
17
17
|
*/
|
package/pkg/json_eval_rs_bg.js
CHANGED
|
@@ -153,10 +153,17 @@ function passArrayJsValueToWasm0(array, malloc) {
|
|
|
153
153
|
return ptr;
|
|
154
154
|
}
|
|
155
155
|
/**
|
|
156
|
-
*
|
|
156
|
+
* Initialize the library (sets up panic hook)
|
|
157
|
+
*/
|
|
158
|
+
export function init() {
|
|
159
|
+
wasm.init();
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Get library version (alias)
|
|
157
164
|
* @returns {string}
|
|
158
165
|
*/
|
|
159
|
-
export function
|
|
166
|
+
export function version() {
|
|
160
167
|
let deferred1_0;
|
|
161
168
|
let deferred1_1;
|
|
162
169
|
try {
|
|
@@ -174,10 +181,10 @@ export function getVersion() {
|
|
|
174
181
|
}
|
|
175
182
|
|
|
176
183
|
/**
|
|
177
|
-
* Get library version
|
|
184
|
+
* Get the library version
|
|
178
185
|
* @returns {string}
|
|
179
186
|
*/
|
|
180
|
-
export function
|
|
187
|
+
export function getVersion() {
|
|
181
188
|
let deferred1_0;
|
|
182
189
|
let deferred1_1;
|
|
183
190
|
try {
|
|
@@ -194,13 +201,6 @@ export function version() {
|
|
|
194
201
|
}
|
|
195
202
|
}
|
|
196
203
|
|
|
197
|
-
/**
|
|
198
|
-
* Initialize the library (sets up panic hook)
|
|
199
|
-
*/
|
|
200
|
-
export function init() {
|
|
201
|
-
wasm.init();
|
|
202
|
-
}
|
|
203
|
-
|
|
204
204
|
function passArray8ToWasm0(arg, malloc) {
|
|
205
205
|
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
206
206
|
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
@@ -2115,7 +2115,7 @@ export function __wbg_getTime_6bb3f64e0f18f817(arg0) {
|
|
|
2115
2115
|
return ret;
|
|
2116
2116
|
};
|
|
2117
2117
|
|
|
2118
|
-
export function
|
|
2118
|
+
export function __wbg_log_666b2da75615e164(arg0, arg1) {
|
|
2119
2119
|
console.log(getStringFromWasm0(arg0, arg1));
|
|
2120
2120
|
};
|
|
2121
2121
|
|
package/pkg/json_eval_rs_bg.wasm
CHANGED
|
Binary file
|