@prose-reader/streamer 1.209.0 → 1.211.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/dist/generators/manifest/hooks/epub/epub.d.ts +2 -2
- package/dist/generators/manifest/hooks/epub/spineItems.d.ts +2 -2
- package/dist/index.js +216 -216
- package/dist/index.js.map +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/dist/parsers/nav.d.ts +2 -2
- package/package.json +6 -7
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { default as xmldoc } from 'xmldoc';
|
|
2
1
|
import { Manifest } from '@prose-reader/shared';
|
|
2
|
+
import { XmlDocument, XmlElement } from 'xmldoc';
|
|
3
3
|
import { Archive } from '../../../../archives/types';
|
|
4
|
-
export declare const getItemsFromDoc: (doc:
|
|
4
|
+
export declare const getItemsFromDoc: (doc: XmlDocument, archive: Archive, getBaseUrl?: (element: XmlElement) => string) => {
|
|
5
5
|
href: string;
|
|
6
6
|
id: string;
|
|
7
7
|
mediaType: string | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Manifest } from '@prose-reader/shared';
|
|
2
|
-
import {
|
|
2
|
+
import { XmlElement } from 'xmldoc';
|
|
3
3
|
export type SpineItemProperties = `rendition:layout-reflowable` | `rendition:layout-pre-paginated` | `page-spread-left` | `page-spread-right`;
|
|
4
|
-
export declare const getSpineItemInfo: (itemRefElement:
|
|
4
|
+
export declare const getSpineItemInfo: (itemRefElement: XmlElement) => Partial<Manifest["spineItems"][number]>;
|