@internetarchive/search-service
Advanced tools
Comparing version 1.3.3-alpha5 to 1.3.3-alpha6
@@ -79,2 +79,3 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ | ||
const pageElements = (_a = this.pageElements) === null || _a === void 0 ? void 0 : _a.lending; | ||
console.log('pageElements', pageElements); | ||
const hits = (_b = pageElements.loans) !== null && _b !== void 0 ? _b : []; | ||
@@ -81,0 +82,0 @@ this.totalResults = hits.length; |
{ | ||
"name": "@internetarchive/search-service", | ||
"version": "1.3.3-alpha5", | ||
"version": "1.3.3-alpha6", | ||
"description": "A search service for the Internet Archive", | ||
@@ -5,0 +5,0 @@ "license": "AGPL-3.0-only", |
@@ -223,2 +223,3 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ | ||
const pageElements = this.pageElements?.lending as LendingPageElement; | ||
console.log('pageElements', pageElements); | ||
const hits = pageElements.loans ?? []; | ||
@@ -225,0 +226,0 @@ this.totalResults = hits.length; |
Sorry, the diff of this file is not supported yet
940667
13663