@likecoin/epub-ts 0.3.95 → 0.3.96
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/annotations.d.ts +1 -1
- package/dist/book.d.ts +12 -11
- package/dist/contents.d.ts +1 -1
- package/dist/epub.cjs +5 -5
- package/dist/epub.cjs.map +1 -1
- package/dist/epub.d.ts +3 -1
- package/dist/epub.js +700 -673
- package/dist/epub.js.map +1 -1
- package/dist/epub.umd.js +5 -5
- package/dist/epub.umd.js.map +1 -1
- package/dist/epubcfi.d.ts +5 -5
- package/dist/index.d.ts +13 -1
- package/dist/locations.d.ts +8 -2
- package/dist/managers/continuous/index.d.ts +2 -2
- package/dist/managers/default/index.d.ts +4 -4
- package/dist/mapping.d.ts +5 -3
- package/dist/rendition.d.ts +6 -5
- package/dist/section.d.ts +2 -2
- package/dist/spine.d.ts +1 -1
- package/dist/store.d.ts +3 -3
- package/dist/types.d.ts +3 -6
- package/package.json +1 -1
package/dist/epub.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { default as Book } from './book';
|
|
2
|
+
import { BookOptions } from './types';
|
|
1
3
|
/**
|
|
2
4
|
* Creates a new Book
|
|
3
5
|
* @param {string|ArrayBuffer} url URL, Path or ArrayBuffer
|
|
@@ -5,7 +7,7 @@
|
|
|
5
7
|
* @returns {Book} a new Book object
|
|
6
8
|
* @example ePub("/path/to/book.epub", {})
|
|
7
9
|
*/
|
|
8
|
-
declare function ePub(url?:
|
|
10
|
+
declare function ePub(url?: string | ArrayBuffer | Blob | BookOptions, options?: BookOptions): Book;
|
|
9
11
|
declare namespace ePub {
|
|
10
12
|
var VERSION: string;
|
|
11
13
|
var Book: typeof import("./book").default;
|