@quillmark/wasm 0.19.0 → 0.20.0

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/bundler/wasm.d.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Initialize the WASM module with panic hooks for better error messages
5
5
  */
6
6
  export function init(): void;
7
- export type Severity = "error" | "warning" | "note";
7
+ export type OutputFormat = "pdf" | "svg" | "txt";
8
8
 
9
9
  export interface RenderOptions {
10
10
  format?: OutputFormat;
@@ -12,8 +12,6 @@ export interface RenderOptions {
12
12
  quillName?: string;
13
13
  }
14
14
 
15
- export type OutputFormat = "pdf" | "svg" | "txt";
16
-
17
15
  export interface QuillInfo {
18
16
  name: string;
19
17
  backend: string;
@@ -31,20 +29,7 @@ export interface Location {
31
29
  column: number;
32
30
  }
33
31
 
34
- export interface Artifact {
35
- format: OutputFormat;
36
- bytes: Uint8Array;
37
- mimeType: string;
38
- }
39
-
40
- export interface Diagnostic {
41
- severity: Severity;
42
- code?: string;
43
- message: string;
44
- location?: Location;
45
- hint?: string;
46
- sourceChain: string[];
47
- }
32
+ export type Severity = "error" | "warning" | "note";
48
33
 
49
34
  export interface ParsedDocument {
50
35
  fields: Record<string, any>;
@@ -58,6 +43,21 @@ export interface RenderResult {
58
43
  renderTimeMs: number;
59
44
  }
60
45
 
46
+ export interface Diagnostic {
47
+ severity: Severity;
48
+ code?: string;
49
+ message: string;
50
+ location?: Location;
51
+ hint?: string;
52
+ sourceChain: string[];
53
+ }
54
+
55
+ export interface Artifact {
56
+ format: OutputFormat;
57
+ bytes: Uint8Array;
58
+ mimeType: string;
59
+ }
60
+
61
61
  /**
62
62
  * Quillmark WASM Engine
63
63
  *
Binary file
@@ -4,7 +4,7 @@
4
4
  * Initialize the WASM module with panic hooks for better error messages
5
5
  */
6
6
  export function init(): void;
7
- export type Severity = "error" | "warning" | "note";
7
+ export type OutputFormat = "pdf" | "svg" | "txt";
8
8
 
9
9
  export interface RenderOptions {
10
10
  format?: OutputFormat;
@@ -12,8 +12,6 @@ export interface RenderOptions {
12
12
  quillName?: string;
13
13
  }
14
14
 
15
- export type OutputFormat = "pdf" | "svg" | "txt";
16
-
17
15
  export interface QuillInfo {
18
16
  name: string;
19
17
  backend: string;
@@ -31,20 +29,7 @@ export interface Location {
31
29
  column: number;
32
30
  }
33
31
 
34
- export interface Artifact {
35
- format: OutputFormat;
36
- bytes: Uint8Array;
37
- mimeType: string;
38
- }
39
-
40
- export interface Diagnostic {
41
- severity: Severity;
42
- code?: string;
43
- message: string;
44
- location?: Location;
45
- hint?: string;
46
- sourceChain: string[];
47
- }
32
+ export type Severity = "error" | "warning" | "note";
48
33
 
49
34
  export interface ParsedDocument {
50
35
  fields: Record<string, any>;
@@ -58,6 +43,21 @@ export interface RenderResult {
58
43
  renderTimeMs: number;
59
44
  }
60
45
 
46
+ export interface Diagnostic {
47
+ severity: Severity;
48
+ code?: string;
49
+ message: string;
50
+ location?: Location;
51
+ hint?: string;
52
+ sourceChain: string[];
53
+ }
54
+
55
+ export interface Artifact {
56
+ format: OutputFormat;
57
+ bytes: Uint8Array;
58
+ mimeType: string;
59
+ }
60
+
61
61
  /**
62
62
  * Quillmark WASM Engine
63
63
  *
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quillmark/wasm",
3
- "version": "0.19.0",
3
+ "version": "0.20.0",
4
4
  "description": "WebAssembly bindings for quillmark",
5
5
  "type": "module",
6
6
  "license": "MIT OR Apache-2.0",