Skip to content

Commit

Permalink
fix api initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
aferditamuriqi committed Feb 11, 2023
1 parent 2461c78 commit 6ebfd91
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@d-i-t-a/reader",
"version": "2.2.0-beta.5",
"version": "2.2.0-beta.6",
"description": "A viewer application for EPUB files.",
"repository": "https://github.com/d-i-t-a/R2D2BC",
"license": "Apache-2.0",
Expand Down
1 change: 1 addition & 0 deletions src/reader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ export default class D2Reader {
mainElement: mainElement,
publication: publication,
settings: settings,
api: initialConfig.api,
});
return new D2Reader(settings, navigator);
} else {
Expand Down

0 comments on commit 6ebfd91

Please sign in to comment.