@internetarchive/ia-book-actions 0.0.29-alpha24 → 0.0.29-alpha25

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@internetarchive/ia-book-actions",
3
- "version": "0.0.29-alpha24",
3
+ "version": "0.0.29-alpha25",
4
4
  "description": "Bookreader actions for borrowable book",
5
5
  "author": "Internet Archive",
6
6
  "license": "AGPL-3.0-only",
@@ -236,6 +236,7 @@ export default class IABookActions extends LitElement {
236
236
  bindLoanRenewEvents() {
237
237
  // dispatched this event from bookreader page changed
238
238
  window.addEventListener('BookReader:pageChanged', event => {
239
+ console.log(event);
239
240
  if (this.borrowType === 'browsed' && event.detail.hasPageChanged) {
240
241
  console.log('actual page changed executed!')
241
242
  this.autoLoanRenewChecker(true);