@internetarchive/bookreader 5.0.0-88-alpha.9 → 5.0.0-88-alpha.11

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.
@@ -26,7 +26,8 @@ import 'jquery-ui/ui/widget.js';
26
26
  import 'jquery-ui/ui/widgets/mouse.js';
27
27
  import 'jquery-ui-touch-punch';
28
28
  import jQuery from 'jquery';
29
- import PACKAGE_JSON from '../package.json';
29
+
30
+ // import PACKAGE_JSON from '../package.json';
30
31
  import * as utils from './BookReader/utils.js';
31
32
  import { exposeOverrideable } from './BookReader/utils/classes.js';
32
33
  import { Navbar } from './BookReader/Navbar/Navbar.js';
@@ -55,7 +56,7 @@ export default function BookReader() {
55
56
  var options = jQuery.extend(true, {}, BookReader.defaultOptions, overrides, BookReader.optionOverrides);
56
57
  this.setup(options);
57
58
  }
58
- BookReader.version = PACKAGE_JSON.version;
59
+ BookReader.version = '123';
59
60
 
60
61
  // Mode constants
61
62
  /** 1 page view */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@internetarchive/bookreader",
3
- "version": "5.0.0-88-alpha.9",
3
+ "version": "5.0.0-88-alpha.11",
4
4
  "description": "The Internet Archive BookReader.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -10,12 +10,6 @@
10
10
  "access": "public"
11
11
  },
12
12
  "module": "dist/esm/ia-bookreader/ia-bookreader.js",
13
- "exports": {
14
- ".": {
15
- "script": "./BookReader/ia-bookreader.js",
16
- "import": "./dist/esm/ia-bookreader/ia-bookreader.js"
17
- }
18
- },
19
13
  "keywords": [
20
14
  "online",
21
15
  "bookreader",
package/src/BookReader.js CHANGED
@@ -25,7 +25,7 @@ import 'jquery-ui/ui/widgets/mouse.js';
25
25
  import 'jquery-ui-touch-punch';
26
26
  import jQuery from 'jquery';
27
27
 
28
- import PACKAGE_JSON from '../package.json';
28
+ // import PACKAGE_JSON from '../package.json';
29
29
  import * as utils from './BookReader/utils.js';
30
30
  import { exposeOverrideable } from './BookReader/utils/classes.js';
31
31
  import { Navbar } from './BookReader/Navbar/Navbar.js';
@@ -54,7 +54,7 @@ export default function BookReader(overrides = {}) {
54
54
  this.setup(options);
55
55
  }
56
56
 
57
- BookReader.version = PACKAGE_JSON.version;
57
+ BookReader.version = '123';
58
58
 
59
59
  // Mode constants
60
60
  /** 1 page view */