@prose-reader/core 1.326.0 → 1.328.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/reader.d.ts CHANGED
@@ -18,6 +18,7 @@ import { PaginationInfo } from './pagination';
18
18
  export type CreateReaderOptions = Partial<CoreInputSettings> & {
19
19
  manifest: Manifest;
20
20
  cfi?: string;
21
+ ownerDocument?: Document;
21
22
  };
22
23
  export type CreateReaderParameters = CreateReaderOptions;
23
24
  export type ContextSettings = Partial<CoreInputSettings>;
@@ -25,7 +26,7 @@ export type ReaderInternal = ReturnType<typeof createReader>;
25
26
  type ReaderLayoutOptions = {
26
27
  immediate?: boolean;
27
28
  };
28
- export declare const createReader: ({ manifest, cfi: _cfi, ...inputSettings }: CreateReaderOptions) => {
29
+ export declare const createReader: ({ manifest, cfi: _cfi, ownerDocument, ...inputSettings }: CreateReaderOptions) => {
29
30
  id: `${string}-${string}-${string}-${string}-${string}`;
30
31
  context: Context;
31
32
  spine: Spine;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prose-reader/core",
3
- "version": "1.326.0",
3
+ "version": "1.328.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
@@ -23,8 +23,8 @@
23
23
  "tsc": "tsc"
24
24
  },
25
25
  "dependencies": {
26
- "@prose-reader/cfi": "^1.326.0",
27
- "@prose-reader/shared": "^1.326.0"
26
+ "@prose-reader/cfi": "^1.328.0",
27
+ "@prose-reader/shared": "^1.328.0"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "rxjs": "*"
@@ -40,5 +40,5 @@
40
40
  }
41
41
  }
42
42
  },
43
- "gitHead": "abf0d33ae33aa1e008536f5c674e57a7e7ab84da"
43
+ "gitHead": "f7f261ef98d62a548d9c4d36bf33af5b3120a8dc"
44
44
  }