html-to-markdown-wasm 2.6.2 → 2.6.3

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.
@@ -1,9 +1,5 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- /**
4
- * Initialize panic hook for better error messages in the browser
5
- */
6
- export function init(): void;
7
3
  /**
8
4
  * Convert HTML to Markdown while collecting inline images
9
5
  *
@@ -28,6 +24,10 @@ export function init(): void;
28
24
  * ```
29
25
  */
30
26
  export function convertWithInlineImages(html: string, options: any, image_config?: WasmInlineImageConfig | null): WasmHtmlExtraction;
27
+ /**
28
+ * Initialize panic hook for better error messages in the browser
29
+ */
30
+ export function init(): void;
31
31
  /**
32
32
  * Convert HTML to Markdown
33
33
  *
@@ -231,12 +231,6 @@ function getArrayJsValueFromWasm0(ptr, len) {
231
231
  }
232
232
  return result;
233
233
  }
234
- /**
235
- * Initialize panic hook for better error messages in the browser
236
- */
237
- export function init() {
238
- wasm.init();
239
- }
240
234
 
241
235
  function _assertClass(instance, klass) {
242
236
  if (!(instance instanceof klass)) {
@@ -293,6 +287,13 @@ export function convertWithInlineImages(html, options, image_config) {
293
287
  }
294
288
  }
295
289
 
290
+ /**
291
+ * Initialize panic hook for better error messages in the browser
292
+ */
293
+ export function init() {
294
+ wasm.init();
295
+ }
296
+
296
297
  /**
297
298
  * Convert HTML to Markdown
298
299
  *
Binary file
package/dist/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "collaborators": [
5
5
  "Na'aman Hirschfeld <nhirschfeld@gmail.com>"
6
6
  ],
7
- "version": "2.6.2",
7
+ "version": "2.6.3",
8
8
  "license": "MIT",
9
9
  "repository": {
10
10
  "type": "git",
@@ -1,9 +1,5 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- /**
4
- * Initialize panic hook for better error messages in the browser
5
- */
6
- export function init(): void;
7
3
  /**
8
4
  * Convert HTML to Markdown while collecting inline images
9
5
  *
@@ -28,6 +24,10 @@ export function init(): void;
28
24
  * ```
29
25
  */
30
26
  export function convertWithInlineImages(html: string, options: any, image_config?: WasmInlineImageConfig | null): WasmHtmlExtraction;
27
+ /**
28
+ * Initialize panic hook for better error messages in the browser
29
+ */
30
+ export function init(): void;
31
31
  /**
32
32
  * Convert HTML to Markdown
33
33
  *
@@ -221,12 +221,6 @@ function getArrayJsValueFromWasm0(ptr, len) {
221
221
  }
222
222
  return result;
223
223
  }
224
- /**
225
- * Initialize panic hook for better error messages in the browser
226
- */
227
- exports.init = function() {
228
- wasm.init();
229
- };
230
224
 
231
225
  function _assertClass(instance, klass) {
232
226
  if (!(instance instanceof klass)) {
@@ -283,6 +277,13 @@ exports.convertWithInlineImages = function(html, options, image_config) {
283
277
  }
284
278
  };
285
279
 
280
+ /**
281
+ * Initialize panic hook for better error messages in the browser
282
+ */
283
+ exports.init = function() {
284
+ wasm.init();
285
+ };
286
+
286
287
  /**
287
288
  * Convert HTML to Markdown
288
289
  *
@@ -3,7 +3,7 @@
3
3
  "collaborators": [
4
4
  "Na'aman Hirschfeld <nhirschfeld@gmail.com>"
5
5
  ],
6
- "version": "2.6.2",
6
+ "version": "2.6.3",
7
7
  "license": "MIT",
8
8
  "repository": {
9
9
  "type": "git",
@@ -1,9 +1,5 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- /**
4
- * Initialize panic hook for better error messages in the browser
5
- */
6
- export function init(): void;
7
3
  /**
8
4
  * Convert HTML to Markdown while collecting inline images
9
5
  *
@@ -28,6 +24,10 @@ export function init(): void;
28
24
  * ```
29
25
  */
30
26
  export function convertWithInlineImages(html: string, options: any, image_config?: WasmInlineImageConfig | null): WasmHtmlExtraction;
27
+ /**
28
+ * Initialize panic hook for better error messages in the browser
29
+ */
30
+ export function init(): void;
31
31
  /**
32
32
  * Convert HTML to Markdown
33
33
  *
@@ -227,12 +227,6 @@ function getArrayJsValueFromWasm0(ptr, len) {
227
227
  }
228
228
  return result;
229
229
  }
230
- /**
231
- * Initialize panic hook for better error messages in the browser
232
- */
233
- export function init() {
234
- wasm.init();
235
- }
236
230
 
237
231
  function _assertClass(instance, klass) {
238
232
  if (!(instance instanceof klass)) {
@@ -289,6 +283,13 @@ export function convertWithInlineImages(html, options, image_config) {
289
283
  }
290
284
  }
291
285
 
286
+ /**
287
+ * Initialize panic hook for better error messages in the browser
288
+ */
289
+ export function init() {
290
+ wasm.init();
291
+ }
292
+
292
293
  /**
293
294
  * Convert HTML to Markdown
294
295
  *
@@ -4,7 +4,7 @@
4
4
  "collaborators": [
5
5
  "Na'aman Hirschfeld <nhirschfeld@gmail.com>"
6
6
  ],
7
- "version": "2.6.2",
7
+ "version": "2.6.3",
8
8
  "license": "MIT",
9
9
  "repository": {
10
10
  "type": "git",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "html-to-markdown-wasm",
3
- "version": "2.6.2",
3
+ "version": "2.6.3",
4
4
  "description": "High-performance HTML to Markdown converter - WebAssembly bindings",
5
5
  "main": "dist/html_to_markdown_wasm.js",
6
6
  "types": "dist/html_to_markdown_wasm.d.ts",