@json-eval-rs/node 0.0.71 → 0.0.72

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.71",
3
+ "version": "0.0.72",
4
4
  "description": "JSON Eval RS for Node.js and Server-Side Rendering with ergonomic API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,9 +1,5 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- /**
4
- * Get library version (alias)
5
- */
6
- export function version(): string;
7
3
  /**
8
4
  * Get the library version
9
5
  */
@@ -12,6 +8,10 @@ export function getVersion(): string;
12
8
  * Initialize the library (sets up panic hook)
13
9
  */
14
10
  export function init(): void;
11
+ /**
12
+ * Get library version (alias)
13
+ */
14
+ export function version(): string;
15
15
  /**
16
16
  * WebAssembly wrapper for JSONEval
17
17
  */
@@ -143,10 +143,10 @@ function passArrayJsValueToWasm0(array, malloc) {
143
143
  return ptr;
144
144
  }
145
145
  /**
146
- * Get library version (alias)
146
+ * Get the library version
147
147
  * @returns {string}
148
148
  */
149
- exports.version = function() {
149
+ exports.getVersion = function() {
150
150
  let deferred1_0;
151
151
  let deferred1_1;
152
152
  try {
@@ -164,10 +164,17 @@ exports.version = function() {
164
164
  };
165
165
 
166
166
  /**
167
- * Get the library version
167
+ * Initialize the library (sets up panic hook)
168
+ */
169
+ exports.init = function() {
170
+ wasm.init();
171
+ };
172
+
173
+ /**
174
+ * Get library version (alias)
168
175
  * @returns {string}
169
176
  */
170
- exports.getVersion = function() {
177
+ exports.version = function() {
171
178
  let deferred1_0;
172
179
  let deferred1_1;
173
180
  try {
@@ -184,13 +191,6 @@ exports.getVersion = function() {
184
191
  }
185
192
  };
186
193
 
187
- /**
188
- * Initialize the library (sets up panic hook)
189
- */
190
- exports.init = function() {
191
- wasm.init();
192
- };
193
-
194
194
  function passArray8ToWasm0(arg, malloc) {
195
195
  const ptr = malloc(arg.length * 1, 1) >>> 0;
196
196
  getUint8ArrayMemory0().set(arg, ptr / 1);
@@ -2232,7 +2232,7 @@ exports.__wbg_getTime_6bb3f64e0f18f817 = function(arg0) {
2232
2232
  return ret;
2233
2233
  };
2234
2234
 
2235
- exports.__wbg_log_2b562790053c5ff7 = function(arg0, arg1) {
2235
+ exports.__wbg_log_e4e5c76e87a2771f = function(arg0, arg1) {
2236
2236
  console.log(getStringFromWasm0(arg0, arg1));
2237
2237
  };
2238
2238
 
Binary file