@likecoin/epubcheck-ts 0.3.3 → 0.3.4

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/dist/index.d.cts CHANGED
@@ -81,6 +81,8 @@ interface LinkElement {
81
81
  properties?: string[];
82
82
  /** The id attribute, if any */
83
83
  id?: string;
84
+ /** Language tag for the linked resource */
85
+ hreflang?: string;
84
86
  }
85
87
  /**
86
88
  * Parsed OPF package document
@@ -112,6 +114,10 @@ interface PackageDocument {
112
114
  guide: GuideReference[];
113
115
  /** Collections (EPUB 3) */
114
116
  collections: Collection[];
117
+ /** Whether the bindings element is present (deprecated in EPUB 3.3) */
118
+ hasBindings?: boolean;
119
+ /** xml:lang attribute on elements (for validation) */
120
+ xmlLangs?: string[];
115
121
  }
116
122
  /**
117
123
  * Represents a collection in the OPF (EPUB 3)
@@ -286,7 +292,7 @@ declare class EpubCheck {
286
292
  */
287
293
  get version(): EPUBVersion;
288
294
  /**
289
- * Validate NCX navigation document (EPUB 2.0)
295
+ * Validate NCX navigation document (EPUB 2 always, EPUB 3 when NCX present)
290
296
  */
291
297
  private validateNCX;
292
298
  /**
package/dist/index.d.ts CHANGED
@@ -81,6 +81,8 @@ interface LinkElement {
81
81
  properties?: string[];
82
82
  /** The id attribute, if any */
83
83
  id?: string;
84
+ /** Language tag for the linked resource */
85
+ hreflang?: string;
84
86
  }
85
87
  /**
86
88
  * Parsed OPF package document
@@ -112,6 +114,10 @@ interface PackageDocument {
112
114
  guide: GuideReference[];
113
115
  /** Collections (EPUB 3) */
114
116
  collections: Collection[];
117
+ /** Whether the bindings element is present (deprecated in EPUB 3.3) */
118
+ hasBindings?: boolean;
119
+ /** xml:lang attribute on elements (for validation) */
120
+ xmlLangs?: string[];
115
121
  }
116
122
  /**
117
123
  * Represents a collection in the OPF (EPUB 3)
@@ -286,7 +292,7 @@ declare class EpubCheck {
286
292
  */
287
293
  get version(): EPUBVersion;
288
294
  /**
289
- * Validate NCX navigation document (EPUB 2.0)
295
+ * Validate NCX navigation document (EPUB 2 always, EPUB 3 when NCX present)
290
296
  */
291
297
  private validateNCX;
292
298
  /**