@quillmark/wasm 0.24.1 → 0.24.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.
package/bundler/wasm.d.ts CHANGED
@@ -10,18 +10,31 @@ export interface Artifact {
10
10
  mimeType: string;
11
11
  }
12
12
 
13
- export interface Location {
14
- file: string;
15
- line: number;
16
- column: number;
17
- }
18
-
19
13
  export interface ParsedDocument {
20
14
  fields: Record<string, any>;
21
15
  quillTag: string;
22
16
  }
23
17
 
24
- export type OutputFormat = "pdf" | "svg" | "txt";
18
+ export interface RenderOptions {
19
+ format?: OutputFormat;
20
+ assets?: Record<string, Uint8Array | number[]>;
21
+ quillName?: string;
22
+ }
23
+
24
+ export interface RenderResult {
25
+ artifacts: Artifact[];
26
+ warnings: Diagnostic[];
27
+ outputFormat: OutputFormat;
28
+ renderTimeMs: number;
29
+ }
30
+
31
+ export type Severity = "error" | "warning" | "note";
32
+
33
+ export interface Location {
34
+ file: string;
35
+ line: number;
36
+ column: number;
37
+ }
25
38
 
26
39
  export interface Diagnostic {
27
40
  severity: Severity;
@@ -32,7 +45,7 @@ export interface Diagnostic {
32
45
  sourceChain: string[];
33
46
  }
34
47
 
35
- export type Severity = "error" | "warning" | "note";
48
+ export type OutputFormat = "pdf" | "svg" | "txt";
36
49
 
37
50
  export interface QuillInfo {
38
51
  name: string;
@@ -45,19 +58,6 @@ export interface QuillInfo {
45
58
  supportedFormats: OutputFormat[];
46
59
  }
47
60
 
48
- export interface RenderOptions {
49
- format?: OutputFormat;
50
- assets?: Record<string, Uint8Array | number[]>;
51
- quillName?: string;
52
- }
53
-
54
- export interface RenderResult {
55
- artifacts: Artifact[];
56
- warnings: Diagnostic[];
57
- outputFormat: OutputFormat;
58
- renderTimeMs: number;
59
- }
60
-
61
61
  /**
62
62
  * Quillmark WASM Engine
63
63
  *
Binary file
@@ -10,18 +10,31 @@ export interface Artifact {
10
10
  mimeType: string;
11
11
  }
12
12
 
13
- export interface Location {
14
- file: string;
15
- line: number;
16
- column: number;
17
- }
18
-
19
13
  export interface ParsedDocument {
20
14
  fields: Record<string, any>;
21
15
  quillTag: string;
22
16
  }
23
17
 
24
- export type OutputFormat = "pdf" | "svg" | "txt";
18
+ export interface RenderOptions {
19
+ format?: OutputFormat;
20
+ assets?: Record<string, Uint8Array | number[]>;
21
+ quillName?: string;
22
+ }
23
+
24
+ export interface RenderResult {
25
+ artifacts: Artifact[];
26
+ warnings: Diagnostic[];
27
+ outputFormat: OutputFormat;
28
+ renderTimeMs: number;
29
+ }
30
+
31
+ export type Severity = "error" | "warning" | "note";
32
+
33
+ export interface Location {
34
+ file: string;
35
+ line: number;
36
+ column: number;
37
+ }
25
38
 
26
39
  export interface Diagnostic {
27
40
  severity: Severity;
@@ -32,7 +45,7 @@ export interface Diagnostic {
32
45
  sourceChain: string[];
33
46
  }
34
47
 
35
- export type Severity = "error" | "warning" | "note";
48
+ export type OutputFormat = "pdf" | "svg" | "txt";
36
49
 
37
50
  export interface QuillInfo {
38
51
  name: string;
@@ -45,19 +58,6 @@ export interface QuillInfo {
45
58
  supportedFormats: OutputFormat[];
46
59
  }
47
60
 
48
- export interface RenderOptions {
49
- format?: OutputFormat;
50
- assets?: Record<string, Uint8Array | number[]>;
51
- quillName?: string;
52
- }
53
-
54
- export interface RenderResult {
55
- artifacts: Artifact[];
56
- warnings: Diagnostic[];
57
- outputFormat: OutputFormat;
58
- renderTimeMs: 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.3",
4
4
  "description": "WebAssembly bindings for quillmark",
5
5
  "type": "module",
6
6
  "license": "MIT OR Apache-2.0",