@internetarchive/bookreader 5.0.0-48-alpha1 → 5.0.0-48-alpha2

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@internetarchive/bookreader",
3
- "version": "5.0.0-48-alpha1",
3
+ "version": "5.0.0-48-alpha2",
4
4
  "description": "The Internet Archive BookReader.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -11,7 +11,7 @@ export default class DownloadsProvider {
11
11
  this.downloads = [];
12
12
  this.id = 'downloads';
13
13
  this.component = '';
14
- this.isBookProtected = bookreader?.options?.isProtected || false;
14
+ this.isBookProtected = bookreader?.options?.protected ?? false;
15
15
  }
16
16
 
17
17
  update(downloadTypes) {