@json-eval-rs/node 0.0.36 → 0.0.38

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@json-eval-rs/node",
3
- "version": "0.0.36",
3
+ "version": "0.0.38",
4
4
  "description": "JSON Eval RS for Node.js and Server-Side Rendering with ergonomic API",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -1,9 +1,5 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- /**
4
- * Get the library version
5
- */
6
- export function getVersion(): string;
7
3
  /**
8
4
  * Initialize the library (sets up panic hook)
9
5
  */
@@ -12,6 +8,10 @@ export function init(): void;
12
8
  * Get library version (alias)
13
9
  */
14
10
  export function version(): string;
11
+ /**
12
+ * Get the library version
13
+ */
14
+ export function getVersion(): string;
15
15
  /**
16
16
  * WebAssembly wrapper for JSONEval
17
17
  */
@@ -208,10 +208,17 @@ function passArrayJsValueToWasm0(array, malloc) {
208
208
  return ptr;
209
209
  }
210
210
  /**
211
- * Get the library version
211
+ * Initialize the library (sets up panic hook)
212
+ */
213
+ exports.init = function() {
214
+ wasm.init();
215
+ };
216
+
217
+ /**
218
+ * Get library version (alias)
212
219
  * @returns {string}
213
220
  */
214
- exports.getVersion = function() {
221
+ exports.version = function() {
215
222
  let deferred1_0;
216
223
  let deferred1_1;
217
224
  try {
@@ -229,17 +236,10 @@ exports.getVersion = function() {
229
236
  };
230
237
 
231
238
  /**
232
- * Initialize the library (sets up panic hook)
233
- */
234
- exports.init = function() {
235
- wasm.init();
236
- };
237
-
238
- /**
239
- * Get library version (alias)
239
+ * Get the library version
240
240
  * @returns {string}
241
241
  */
242
- exports.version = function() {
242
+ exports.getVersion = function() {
243
243
  let deferred1_0;
244
244
  let deferred1_1;
245
245
  try {
@@ -2176,7 +2176,7 @@ exports.__wbg_getTime_6bb3f64e0f18f817 = function(arg0) {
2176
2176
  return ret;
2177
2177
  };
2178
2178
 
2179
- exports.__wbg_log_f3218651d7c30598 = function(arg0, arg1) {
2179
+ exports.__wbg_log_796ccd14a9e76512 = function(arg0, arg1) {
2180
2180
  console.log(getStringFromWasm0(arg0, arg1));
2181
2181
  };
2182
2182
 
Binary file