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

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-alpha0",
3
+ "version": "5.0.0-48-alpha1",
4
4
  "description": "The Internet Archive BookReader.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -33,7 +33,7 @@ export default class DownloadsProvider {
33
33
  const [ type = '', link = '' ] = incoming;
34
34
  if (!type) return found;
35
35
  let formattedType = type.toLowerCase();
36
- if ((formattedType === 'pdf' || formattedType === 'epub') && this.isbookProtected) {
36
+ if ((formattedType === 'pdf' || formattedType === 'epub') && this.isBookProtected) {
37
37
  formattedType = `adobe${formattedType}`;
38
38
  }
39
39
  found[formattedType] = link;