@internetarchive/ia-book-actions 1.1.0-alpha4 → 1.1.0-alpha6
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/demo/index.html +1 -1
- package/package.json +1 -1
- package/src/ia-book-actions.js +2 -2
package/demo/index.html
CHANGED
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
iaBookActions.returnUrl = '';
|
|
132
132
|
iaBookActions.localCache = localCache;
|
|
133
133
|
|
|
134
|
-
let loanTotalTime2Min = { loanTotalTime:
|
|
134
|
+
let loanTotalTime2Min = { loanTotalTime: 80, loanRenewAtLast: 55, pageChangedInLast: 15 };
|
|
135
135
|
let loanTotalTime5Min = { loanTotalTime: 300, loanRenewAtLast: 180, pageChangedInLast: 15 };
|
|
136
136
|
let loanTotalTime1Hour = { loanTotalTime: 3600, loanRenewAtLast: 660, pageChangedInLast: 900 };
|
|
137
137
|
|
package/package.json
CHANGED
package/src/ia-book-actions.js
CHANGED
|
@@ -90,7 +90,7 @@ export default class IABookActions extends LitElement {
|
|
|
90
90
|
this.lendingOptions = {};
|
|
91
91
|
this.borrowType = null; // 'browsed'|'borrowed'
|
|
92
92
|
this.browseTimer = undefined; // timeout
|
|
93
|
-
this.timerExecutionSeconds =
|
|
93
|
+
this.timerExecutionSeconds = 30;
|
|
94
94
|
|
|
95
95
|
/** @deprecated */
|
|
96
96
|
this.toast = undefined;
|
|
@@ -315,7 +315,7 @@ export default class IABookActions extends LitElement {
|
|
|
315
315
|
}
|
|
316
316
|
|
|
317
317
|
/**
|
|
318
|
-
* Show the
|
|
318
|
+
* Show the warning modal to ask user if they are still reading
|
|
319
319
|
*/
|
|
320
320
|
async showWarningModal() {
|
|
321
321
|
log('****** showWarningModal ******');
|