rumdl-wasm 0.0.218 → 0.0.220

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
@@ -5,7 +5,7 @@
5
5
  "Ruben J. Jongejan <ruben.jongejan@gmail.com>"
6
6
  ],
7
7
  "description": "Fast markdown linter with 60+ rules - WebAssembly build",
8
- "version": "0.0.218",
8
+ "version": "0.0.220",
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",
package/rumdl_lib.d.ts CHANGED
@@ -1,9 +1,5 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- /**
4
- * Initialize the WASM module with better panic messages
5
- */
6
- export function init(): void;
7
3
  /**
8
4
  * Get list of available rules as JSON
9
5
  *
@@ -12,6 +8,10 @@ export function init(): void;
12
8
  * - `description`: Rule description
13
9
  */
14
10
  export function get_available_rules(): string;
11
+ /**
12
+ * Initialize the WASM module with better panic messages
13
+ */
14
+ export function init(): void;
15
15
  /**
16
16
  * Get the rumdl version
17
17
  */
package/rumdl_lib.js CHANGED
@@ -203,13 +203,6 @@ function takeObject(idx) {
203
203
  dropObject(idx);
204
204
  return ret;
205
205
  }
206
- /**
207
- * Initialize the WASM module with better panic messages
208
- */
209
- export function init() {
210
- wasm.init();
211
- }
212
-
213
206
  /**
214
207
  * Get list of available rules as JSON
215
208
  *
@@ -235,6 +228,13 @@ export function get_available_rules() {
235
228
  }
236
229
  }
237
230
 
231
+ /**
232
+ * Initialize the WASM module with better panic messages
233
+ */
234
+ export function init() {
235
+ wasm.init();
236
+ }
237
+
238
238
  /**
239
239
  * Get the rumdl version
240
240
  * @returns {string}
package/rumdl_lib_bg.wasm CHANGED
Binary file