@veripublica/epubveri-wasm 0.2.0 → 0.3.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/epubveri.d.ts +12 -0
- package/epubveri_bg.wasm +0 -0
- package/package.json +1 -1
package/epubveri.d.ts
CHANGED
|
@@ -33,6 +33,18 @@ export interface Message {
|
|
|
33
33
|
* Optional exact source position, when the check provides one.
|
|
34
34
|
*/
|
|
35
35
|
position: Position | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* epubveri\'s own stable, semantic sub-code distinguishing sub-cases
|
|
38
|
+
* of a shared `id` (e.g. `\"opf.spine.duplicate_itemref\"`), when the
|
|
39
|
+
* check has been retrofitted for it (incremental rollout, see
|
|
40
|
+
* epubveri issue #2). `None` otherwise.
|
|
41
|
+
*/
|
|
42
|
+
rule: string | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* The positional values interpolated into `text`, when `rule` is
|
|
45
|
+
* present. Empty otherwise.
|
|
46
|
+
*/
|
|
47
|
+
params: string[];
|
|
36
48
|
}
|
|
37
49
|
|
|
38
50
|
/**
|
package/epubveri_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@veripublica/epubveri-wasm",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"description": "WebAssembly bindings for epubveri — a pure-Rust, JVM-free EPUB validator that runs in the browser.",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.3.0",
|
|
6
6
|
"license": "AGPL-3.0-only OR LicenseRef-veripublica-Commercial",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|