@quillmark/wasm 0.24.1 → 0.24.2

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