@d-i-t-a/reader 2.0.0-beta.2 → 2.0.0-beta.3

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.
@@ -27,6 +27,7 @@ export interface NavigatorAPI {
27
27
  resourceAtEnd: any;
28
28
  resourceFitsScreen: any;
29
29
  updateCurrentLocation: any;
30
+ onError?: (e: Error) => void;
30
31
  }
31
32
  export interface UpLinkConfig {
32
33
  url?: URL;
@@ -214,6 +215,9 @@ export default class IFrameNavigator implements Navigator {
214
215
  private loadManifest;
215
216
  private handleIFrameLoad;
216
217
  private injectInjectablesIntoIframeHead;
218
+ /**
219
+ * Displays standard error UI.
220
+ */
217
221
  private abortOnError;
218
222
  private tryAgain;
219
223
  private precessContentForIframe;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d-i-t-a/reader",
3
- "version": "2.0.0-beta.2",
3
+ "version": "2.0.0-beta.3",
4
4
  "description": "A viewer application for EPUB files.",
5
5
  "repository": "https://github.com/d-i-t-a/R2D2BC",
6
6
  "license": "Apache-2.0",