@internetarchive/ia-book-actions 0.1.11-b52 → 0.1.11-b53

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.1.11-b52",
3
+ "version": "0.1.11-b53",
4
4
  "description": "Bookreader actions for borrowable book",
5
5
  "author": "Internet Archive",
6
6
  "license": "AGPL-3.0-only",
@@ -527,6 +527,7 @@ export default class IABookActions extends LitElement {
527
527
  * Execute when loan is expired
528
528
  */
529
529
  async browseHasExpired() {
530
+ log('BrowseHasExpired ---');
530
531
  window?.IALendingIntervals?.clearAll();
531
532
 
532
533
  const currStatus = {
@@ -548,16 +549,6 @@ export default class IABookActions extends LitElement {
548
549
  await this.showExpiredModal();
549
550
 
550
551
  window?.Sentry?.captureMessage(sentryLogs.browseHasExpired);
551
-
552
- /** Global event - always fire */
553
- this.dispatchEvent(
554
- new Event(events.browseExpired, {
555
- bubbles: true,
556
- cancelable: false,
557
- composed: true,
558
- })
559
- );
560
- log('BrowseHasExpired --- event fired');
561
552
  }
562
553
 
563
554
  async startBrowseTimer() {