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