@internetarchive/ia-book-actions 0.0.17-2 → 0.0.17-3

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.17-2",
3
+ "version": "0.0.17-3",
4
4
  "description": "Bookreader actions for borrowable book",
5
5
  "author": "Internet Archive",
6
6
  "license": "AGPL-3.0-only",
@@ -13,12 +13,12 @@ import * as Cookies from '../doc-cookies.js';
13
13
  */
14
14
 
15
15
  export default class ActionsHandler extends LitElement {
16
- // static properties() {
17
- // return {
18
- // identifier: { type: String },
19
- // returnUrl: { type: String },
20
- // };
21
- // }
16
+ static properties() {
17
+ return {
18
+ identifier: { type: String },
19
+ returnUrl: { type: String },
20
+ };
21
+ }
22
22
 
23
23
  constructor() {
24
24
  super();
@@ -328,6 +328,10 @@ export default class IABookActions extends LitElement {
328
328
  this.modal.id = 'action-bar-modal';
329
329
  await document.body.appendChild(this.modal);
330
330
 
331
+ console.log('*****************');
332
+ console.log('Lending error: errorMsg', errorMsg);
333
+ console.log('*****************');
334
+
331
335
  const modalConfig = new ModalConfig({
332
336
  title: 'Lending error',
333
337
  message: errorMsg,