@quillmark/wasm 0.41.0 → 0.41.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,13 @@
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 QuillInfo {
10
- name: string;
11
- backend: string;
12
- metadata: Record<string, any>;
13
- example?: string;
14
- schema: Record<string, any>;
15
- defaults: Record<string, any>;
16
- examples: Record<string, any[]>;
17
- supportedFormats: OutputFormat[];
7
+ export interface Diagnostic {
8
+ severity: Severity;
9
+ code?: string;
10
+ message: string;
11
+ location?: Location;
12
+ hint?: string;
13
+ sourceChain: string[];
18
14
  }
19
15
 
20
16
  export interface Location {
@@ -23,13 +19,18 @@ export interface Location {
23
19
  column: number;
24
20
  }
25
21
 
26
- export interface Diagnostic {
27
- severity: Severity;
28
- code?: string;
29
- message: string;
30
- location?: Location;
31
- hint?: string;
32
- sourceChain: string[];
22
+ export type Severity = "error" | "warning" | "note";
23
+
24
+ export interface ParsedDocument {
25
+ fields: Record<string, any>;
26
+ quillRef: string;
27
+ }
28
+
29
+ export interface RenderResult {
30
+ artifacts: Artifact[];
31
+ warnings: Diagnostic[];
32
+ outputFormat: OutputFormat;
33
+ renderTimeMs: number;
33
34
  }
34
35
 
35
36
  export type OutputFormat = "pdf" | "svg" | "txt";
@@ -46,16 +47,15 @@ export interface Artifact {
46
47
  mimeType: string;
47
48
  }
48
49
 
49
- export interface RenderResult {
50
- artifacts: Artifact[];
51
- warnings: Diagnostic[];
52
- outputFormat: OutputFormat;
53
- renderTimeMs: number;
54
- }
55
-
56
- export interface ParsedDocument {
57
- fields: Record<string, any>;
58
- quillRef: string;
50
+ export interface QuillInfo {
51
+ name: string;
52
+ backend: string;
53
+ metadata: Record<string, any>;
54
+ example?: string;
55
+ schema: Record<string, any>;
56
+ defaults: Record<string, any>;
57
+ examples: Record<string, any[]>;
58
+ supportedFormats: OutputFormat[];
59
59
  }
60
60
 
61
61
  /**
Binary file
@@ -4,17 +4,13 @@
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 QuillInfo {
10
- name: string;
11
- backend: string;
12
- metadata: Record<string, any>;
13
- example?: string;
14
- schema: Record<string, any>;
15
- defaults: Record<string, any>;
16
- examples: Record<string, any[]>;
17
- supportedFormats: OutputFormat[];
7
+ export interface Diagnostic {
8
+ severity: Severity;
9
+ code?: string;
10
+ message: string;
11
+ location?: Location;
12
+ hint?: string;
13
+ sourceChain: string[];
18
14
  }
19
15
 
20
16
  export interface Location {
@@ -23,13 +19,18 @@ export interface Location {
23
19
  column: number;
24
20
  }
25
21
 
26
- export interface Diagnostic {
27
- severity: Severity;
28
- code?: string;
29
- message: string;
30
- location?: Location;
31
- hint?: string;
32
- sourceChain: string[];
22
+ export type Severity = "error" | "warning" | "note";
23
+
24
+ export interface ParsedDocument {
25
+ fields: Record<string, any>;
26
+ quillRef: string;
27
+ }
28
+
29
+ export interface RenderResult {
30
+ artifacts: Artifact[];
31
+ warnings: Diagnostic[];
32
+ outputFormat: OutputFormat;
33
+ renderTimeMs: number;
33
34
  }
34
35
 
35
36
  export type OutputFormat = "pdf" | "svg" | "txt";
@@ -46,16 +47,15 @@ export interface Artifact {
46
47
  mimeType: string;
47
48
  }
48
49
 
49
- export interface RenderResult {
50
- artifacts: Artifact[];
51
- warnings: Diagnostic[];
52
- outputFormat: OutputFormat;
53
- renderTimeMs: number;
54
- }
55
-
56
- export interface ParsedDocument {
57
- fields: Record<string, any>;
58
- quillRef: string;
50
+ export interface QuillInfo {
51
+ name: string;
52
+ backend: string;
53
+ metadata: Record<string, any>;
54
+ example?: string;
55
+ schema: Record<string, any>;
56
+ defaults: Record<string, any>;
57
+ examples: Record<string, any[]>;
58
+ supportedFormats: OutputFormat[];
59
59
  }
60
60
 
61
61
  /**
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quillmark/wasm",
3
- "version": "0.41.0",
3
+ "version": "0.41.2",
4
4
  "description": "WebAssembly bindings for quillmark",
5
5
  "type": "module",
6
6
  "license": "MIT OR Apache-2.0",