@json-eval-rs/vanilla 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.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.js
CHANGED
|
@@ -149,10 +149,17 @@ function passArrayJsValueToWasm0(array, malloc) {
|
|
|
149
149
|
return ptr;
|
|
150
150
|
}
|
|
151
151
|
/**
|
|
152
|
-
*
|
|
152
|
+
* Initialize the library (sets up panic hook)
|
|
153
|
+
*/
|
|
154
|
+
export function init() {
|
|
155
|
+
wasm.init();
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Get library version (alias)
|
|
153
160
|
* @returns {string}
|
|
154
161
|
*/
|
|
155
|
-
export function
|
|
162
|
+
export function version() {
|
|
156
163
|
let deferred1_0;
|
|
157
164
|
let deferred1_1;
|
|
158
165
|
try {
|
|
@@ -170,10 +177,10 @@ export function getVersion() {
|
|
|
170
177
|
}
|
|
171
178
|
|
|
172
179
|
/**
|
|
173
|
-
* Get library version
|
|
180
|
+
* Get the library version
|
|
174
181
|
* @returns {string}
|
|
175
182
|
*/
|
|
176
|
-
export function
|
|
183
|
+
export function getVersion() {
|
|
177
184
|
let deferred1_0;
|
|
178
185
|
let deferred1_1;
|
|
179
186
|
try {
|
|
@@ -190,13 +197,6 @@ export function version() {
|
|
|
190
197
|
}
|
|
191
198
|
}
|
|
192
199
|
|
|
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);
|
|
@@ -2144,7 +2144,7 @@ function __wbg_get_imports() {
|
|
|
2144
2144
|
const ret = getObject(arg0).getTime();
|
|
2145
2145
|
return ret;
|
|
2146
2146
|
};
|
|
2147
|
-
imports.wbg.
|
|
2147
|
+
imports.wbg.__wbg_log_666b2da75615e164 = function(arg0, arg1) {
|
|
2148
2148
|
console.log(getStringFromWasm0(arg0, arg1));
|
|
2149
2149
|
};
|
|
2150
2150
|
imports.wbg.__wbg_new0_b0a0a38c201e6df5 = function() {
|
package/pkg/json_eval_rs_bg.wasm
CHANGED
|
Binary file
|