@hyperbrowser/sdk 0.49.0 → 0.49.1
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/dist/services/crawl.js
CHANGED
|
@@ -123,6 +123,9 @@ class CrawlService extends base_1.BaseService {
|
|
|
123
123
|
if (tmpJobResponse.data) {
|
|
124
124
|
jobResponse.data?.push(...tmpJobResponse.data);
|
|
125
125
|
}
|
|
126
|
+
if (tmpJobResponse.error) {
|
|
127
|
+
jobResponse.error = tmpJobResponse.error;
|
|
128
|
+
}
|
|
126
129
|
jobResponse.currentPageBatch = tmpJobResponse.currentPageBatch;
|
|
127
130
|
jobResponse.totalCrawledPages = tmpJobResponse.totalCrawledPages;
|
|
128
131
|
jobResponse.totalPageBatches = tmpJobResponse.totalPageBatches;
|
package/dist/services/scrape.js
CHANGED
|
@@ -123,6 +123,9 @@ class BatchScrapeService extends base_1.BaseService {
|
|
|
123
123
|
if (tmpJobResponse.data) {
|
|
124
124
|
jobResponse.data?.push(...tmpJobResponse.data);
|
|
125
125
|
}
|
|
126
|
+
if (tmpJobResponse.error) {
|
|
127
|
+
jobResponse.error = tmpJobResponse.error;
|
|
128
|
+
}
|
|
126
129
|
jobResponse.currentPageBatch = tmpJobResponse.currentPageBatch;
|
|
127
130
|
jobResponse.totalScrapedPages = tmpJobResponse.totalScrapedPages;
|
|
128
131
|
jobResponse.totalPageBatches = tmpJobResponse.totalPageBatches;
|