@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 +1 -1
- package/src/ia-book-actions.js +1 -10
package/package.json
CHANGED
package/src/ia-book-actions.js
CHANGED
|
@@ -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() {
|