diff --git a/src/manifest/manifest.js b/src/manifest/manifest.js index 6100228..5f303dd 100644 --- a/src/manifest/manifest.js +++ b/src/manifest/manifest.js @@ -40,6 +40,8 @@ class Manifest extends Publication { case "locations": this.locations = value; break; + case "cover": + this.coverUrl = value; default: this.setMetadata(key, value); break; diff --git a/src/publication/publication.js b/src/publication/publication.js index 3cf9b85..a0cd687 100644 --- a/src/publication/publication.js +++ b/src/publication/publication.js @@ -552,7 +552,7 @@ class Publication { } /** - * Generates the Publication Key using the identifer in the data or other string provided + * Generates the Publication Key using the identifier in the data or other string provided * @param {string} [identifier] to use instead of metadata identifier * @return {string} key */