@internetarchive/ia-book-actions 0.0.13-1 → 0.0.13-2

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.13-1",
3
+ "version": "0.0.13-2",
4
4
  "description": "Bookreader actions for borrowable book",
5
5
  "author": "Internet Archive",
6
6
  "license": "AGPL-3.0-only",
@@ -40,7 +40,6 @@ export class LoanTokenPoller {
40
40
  }
41
41
 
42
42
  // Do an initial token, then set an interval
43
- console.log('enableBookAccess => handleLoanTokenPoller');
44
43
  this.handleLoanTokenPoller(true);
45
44
 
46
45
  this.loanTokenInterval = setInterval(() => {
@@ -71,7 +70,6 @@ export class LoanTokenPoller {
71
70
  }
72
71
 
73
72
  async handleLoanTokenPoller(isInitial = false) {
74
- console.log('handleLoanTokenPoller', {isInitial})
75
73
  const action = 'create_token';
76
74
  ActionsHandlerService({
77
75
  identifier: this.identifier,
@@ -160,7 +160,6 @@ export default class IABookActions extends LitElement {
160
160
  const hasExpired =
161
161
  'browsingExpired' in this.lendingStatus &&
162
162
  this.lendingStatus?.browsingExpired;
163
- console.log('***hasExpired', hasExpired);
164
163
  if (hasExpired) {
165
164
  this.tokenPoller?.disconnectedInterval();
166
165
  return;