@quillmark/wasm 0.44.0 → 0.45.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
@@ -6,8 +6,10 @@
6
6
  export function init(): void;
7
7
  export type OutputFormat = "pdf" | "svg" | "txt" | "png";
8
8
 
9
- export interface CompileOptions {
10
- quillRef?: string;
9
+ export interface Artifact {
10
+ format: OutputFormat;
11
+ bytes: Uint8Array;
12
+ mimeType: string;
11
13
  }
12
14
 
13
15
  export interface QuillInfo {
@@ -21,23 +23,30 @@ export interface QuillInfo {
21
23
  supportedFormats: OutputFormat[];
22
24
  }
23
25
 
24
- export type Severity = "error" | "warning" | "note";
25
-
26
26
  export interface Location {
27
27
  file: string;
28
28
  line: number;
29
29
  column: number;
30
30
  }
31
31
 
32
- export interface Artifact {
33
- format: OutputFormat;
34
- bytes: Uint8Array;
35
- mimeType: string;
32
+ export interface Diagnostic {
33
+ severity: Severity;
34
+ code?: string;
35
+ message: string;
36
+ location?: Location;
37
+ hint?: string;
38
+ sourceChain: string[];
36
39
  }
37
40
 
38
- export interface ParsedDocument {
39
- fields: Record<string, any>;
40
- quillRef: string;
41
+ export type Severity = "error" | "warning" | "note";
42
+
43
+ export interface CompileOptions {
44
+ quillRef?: string;
45
+ }
46
+
47
+ export interface RenderPagesOptions {
48
+ format: OutputFormat;
49
+ ppi?: number;
41
50
  }
42
51
 
43
52
  export interface RenderResult {
@@ -47,6 +56,11 @@ export interface RenderResult {
47
56
  renderTimeMs: number;
48
57
  }
49
58
 
59
+ export interface ParsedDocument {
60
+ fields: Record<string, any>;
61
+ quillRef: string;
62
+ }
63
+
50
64
  export interface RenderOptions {
51
65
  format?: OutputFormat;
52
66
  assets?: Record<string, Uint8Array | number[]>;
@@ -54,20 +68,6 @@ export interface RenderOptions {
54
68
  ppi?: number;
55
69
  }
56
70
 
57
- export interface RenderPagesOptions {
58
- format: OutputFormat;
59
- ppi?: number;
60
- }
61
-
62
- export interface Diagnostic {
63
- severity: Severity;
64
- code?: string;
65
- message: string;
66
- location?: Location;
67
- hint?: string;
68
- sourceChain: string[];
69
- }
70
-
71
71
  export class CompiledDocument {
72
72
  private constructor();
73
73
  free(): void;
Binary file
@@ -6,8 +6,10 @@
6
6
  export function init(): void;
7
7
  export type OutputFormat = "pdf" | "svg" | "txt" | "png";
8
8
 
9
- export interface CompileOptions {
10
- quillRef?: string;
9
+ export interface Artifact {
10
+ format: OutputFormat;
11
+ bytes: Uint8Array;
12
+ mimeType: string;
11
13
  }
12
14
 
13
15
  export interface QuillInfo {
@@ -21,23 +23,30 @@ export interface QuillInfo {
21
23
  supportedFormats: OutputFormat[];
22
24
  }
23
25
 
24
- export type Severity = "error" | "warning" | "note";
25
-
26
26
  export interface Location {
27
27
  file: string;
28
28
  line: number;
29
29
  column: number;
30
30
  }
31
31
 
32
- export interface Artifact {
33
- format: OutputFormat;
34
- bytes: Uint8Array;
35
- mimeType: string;
32
+ export interface Diagnostic {
33
+ severity: Severity;
34
+ code?: string;
35
+ message: string;
36
+ location?: Location;
37
+ hint?: string;
38
+ sourceChain: string[];
36
39
  }
37
40
 
38
- export interface ParsedDocument {
39
- fields: Record<string, any>;
40
- quillRef: string;
41
+ export type Severity = "error" | "warning" | "note";
42
+
43
+ export interface CompileOptions {
44
+ quillRef?: string;
45
+ }
46
+
47
+ export interface RenderPagesOptions {
48
+ format: OutputFormat;
49
+ ppi?: number;
41
50
  }
42
51
 
43
52
  export interface RenderResult {
@@ -47,6 +56,11 @@ export interface RenderResult {
47
56
  renderTimeMs: number;
48
57
  }
49
58
 
59
+ export interface ParsedDocument {
60
+ fields: Record<string, any>;
61
+ quillRef: string;
62
+ }
63
+
50
64
  export interface RenderOptions {
51
65
  format?: OutputFormat;
52
66
  assets?: Record<string, Uint8Array | number[]>;
@@ -54,20 +68,6 @@ export interface RenderOptions {
54
68
  ppi?: number;
55
69
  }
56
70
 
57
- export interface RenderPagesOptions {
58
- format: OutputFormat;
59
- ppi?: number;
60
- }
61
-
62
- export interface Diagnostic {
63
- severity: Severity;
64
- code?: string;
65
- message: string;
66
- location?: Location;
67
- hint?: string;
68
- sourceChain: string[];
69
- }
70
-
71
71
  export class CompiledDocument {
72
72
  private constructor();
73
73
  free(): void;
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quillmark/wasm",
3
- "version": "0.44.0",
3
+ "version": "0.45.0",
4
4
  "description": "WebAssembly bindings for quillmark",
5
5
  "type": "module",
6
6
  "license": "MIT OR Apache-2.0",