@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 CHANGED
@@ -131,7 +131,7 @@
131
131
  iaBookActions.returnUrl = '';
132
132
  iaBookActions.localCache = localCache;
133
133
 
134
- let loanTotalTime2Min = { loanTotalTime: 65, loanRenewAtLast: 60, pageChangedInLast: 15 };
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@internetarchive/ia-book-actions",
3
- "version": "1.1.0-alpha4",
3
+ "version": "1.1.0-alpha6",
4
4
  "description": "Bookreader actions for borrowable book",
5
5
  "author": "Internet Archive",
6
6
  "license": "AGPL-3.0-only",
@@ -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 = 10;
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 waring modal to ask user if they are still reading
318
+ * Show the warning modal to ask user if they are still reading
319
319
  */
320
320
  async showWarningModal() {
321
321
  log('****** showWarningModal ******');