@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.
@@ -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;
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperbrowser/sdk",
3
- "version": "0.49.0",
3
+ "version": "0.49.1",
4
4
  "description": "Node SDK for Hyperbrowser API",
5
5
  "author": "",
6
6
  "main": "dist/index.js",