@veripublica/epubveri-wasm 0.13.7 → 0.14.1

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 CHANGED
@@ -63,13 +63,19 @@ export interface Item {
63
63
 
64
64
  /**
65
65
  * Small aggregate counts, mirroring the envelope\'s per-input `summary`
66
- * exactly — same singular key names, and `fatal`/`info`/`usage` omitted when
67
- * zero, as the CLI envelope emits them.
66
+ * exactly — same singular key names, and **every counter present, including
67
+ * zero**.
68
68
  *
69
69
  * **These counts are never filtered**, unlike the CLI\'s, where `-u` decides
70
70
  * what the output contains and the counts describe the output. This binding
71
71
  * has no such flag: it is a machine interface and always returns everything,
72
72
  * so its counts always describe the whole report.
73
+ *
74
+ * That is also why there is **no `suppressed` member** here, and why its
75
+ * absence is the correct statement rather than a gap: under FORMATS §1.4 an
76
+ * absent marker means *no format-level filter was in effect*, which is
77
+ * permanently true of this binding. If a filter is ever added here, the marker
78
+ * comes with it.
73
79
  */
74
80
  export interface Summary {
75
81
  fatal: number;
package/epubveri_bg.js CHANGED
@@ -60,7 +60,7 @@ export function version() {
60
60
  wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
61
61
  }
62
62
  }
63
- export function __wbg_Error_92b29b0548f8b746(arg0, arg1) {
63
+ export function __wbg_Error_67e7344beaa85059(arg0, arg1) {
64
64
  const ret = Error(getStringFromWasm0(arg0, arg1));
65
65
  return ret;
66
66
  }
@@ -71,46 +71,46 @@ export function __wbg_String_8564e559799eccda(arg0, arg1) {
71
71
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
72
72
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
73
73
  }
74
- export function __wbg___wbindgen_is_string_ea5e6cc2e4141dfe(arg0) {
74
+ export function __wbg___wbindgen_is_string_c4f7cb494a2a21f1(arg0) {
75
75
  const ret = typeof(arg0) === 'string';
76
76
  return ret;
77
77
  }
78
- export function __wbg___wbindgen_throw_344f42d3211c4765(arg0, arg1) {
78
+ export function __wbg___wbindgen_throw_5d9e815e6fdf150f(arg0, arg1) {
79
79
  throw new Error(getStringFromWasm0(arg0, arg1));
80
80
  }
81
- export function __wbg_new_32b398fb48b6d94a() {
82
- const ret = new Array();
83
- return ret;
84
- }
85
- export function __wbg_new_7796ffc7ed656783() {
81
+ export function __wbg_new_8d36e20aa758e411() {
86
82
  const ret = new Map();
87
83
  return ret;
88
84
  }
89
- export function __wbg_new_da52cf8fe3429cb2() {
85
+ export function __wbg_new_bebc3f4757acf305() {
90
86
  const ret = new Object();
91
87
  return ret;
92
88
  }
93
- export function __wbg_set_575dd786d51585f8(arg0, arg1, arg2) {
94
- const ret = arg0.set(arg1, arg2);
89
+ export function __wbg_new_ffa92086ea89f79c() {
90
+ const ret = new Array();
95
91
  return ret;
96
92
  }
93
+ export function __wbg_set_13d25b81ab403f5e(arg0, arg1, arg2) {
94
+ arg0[arg1 >>> 0] = arg2;
95
+ }
97
96
  export function __wbg_set_6be42768c690e380(arg0, arg1, arg2) {
98
97
  arg0[arg1] = arg2;
99
98
  }
100
- export function __wbg_set_8a16b38e4805b298(arg0, arg1, arg2) {
101
- arg0[arg1 >>> 0] = arg2;
99
+ export function __wbg_set_bf6dde4923b9b059(arg0, arg1, arg2) {
100
+ const ret = arg0.set(arg1, arg2);
101
+ return ret;
102
102
  }
103
- export function __wbindgen_cast_0000000000000001(arg0) {
103
+ export function __wbindgen_generic_0000000000000001(arg0) {
104
104
  // Cast intrinsic for `F64 -> Externref`.
105
105
  const ret = arg0;
106
106
  return ret;
107
107
  }
108
- export function __wbindgen_cast_0000000000000002(arg0, arg1) {
108
+ export function __wbindgen_generic_0000000000000002(arg0, arg1) {
109
109
  // Cast intrinsic for `Ref(String) -> Externref`.
110
110
  const ret = getStringFromWasm0(arg0, arg1);
111
111
  return ret;
112
112
  }
113
- export function __wbindgen_cast_0000000000000003(arg0) {
113
+ export function __wbindgen_generic_0000000000000003(arg0) {
114
114
  // Cast intrinsic for `U64 -> Externref`.
115
115
  const ret = BigInt.asUintN(64, arg0);
116
116
  return ret;
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.13.7",
5
+ "version": "0.14.1",
6
6
  "license": "AGPL-3.0-only OR LicenseRef-veripublica-Commercial",
7
7
  "repository": {
8
8
  "type": "git",