scavio 0.24.0 → 0.24.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/index.d.cts CHANGED
@@ -1,7 +1,6 @@
1
1
  /**
2
- * Amazon moved to a new upstream in 2026-07 and the API now returns a
3
- * normalized shape instead of the old raw provider payload. Nine options went
4
- * with the old provider: language, currency, device, sort_by, pages,
2
+ * The Amazon API changed in 2026-07 and now returns a normalized shape
3
+ * instead of the old raw payload. Nine options were removed: language, currency, device, sort_by, pages,
5
4
  * category_id, merchant_id, zip_code and autoselect_variant. They are removed
6
5
  * rather than kept as no-ops - notably `sort_by`, which the marketplace was
7
6
  * verified to ignore entirely (every sort value returned the same unordered
@@ -57,9 +56,9 @@ declare class AmazonNamespace {
57
56
  }
58
57
 
59
58
  /**
60
- * Google endpoints (scrape.do engine, /api/v2/google). A faithful passthrough
61
- * that returns Google's full response. Every endpoint costs 1 credit. Any
62
- * additional scrape.do parameter can be added to the options object.
59
+ * Google endpoints (/api/v2/google). A faithful passthrough that returns
60
+ * Google's full response. Every endpoint costs 1 credit. Any additional
61
+ * API parameter can be added to the options object.
63
62
  * See https://scavio.dev/docs/search-api.
64
63
  */
65
64
  interface GoogleSearchOptions {
@@ -1727,18 +1726,18 @@ interface LinkedInPostCommentsOptions extends LinkedInPostOptions {
1727
1726
  /** 1-based page number. Page size varies, so page until a page comes back empty. */
1728
1727
  page?: number;
1729
1728
  }
1730
- /** @deprecated Retired upstream; always returns HTTP 410. */
1729
+ /** @deprecated Retired; always returns HTTP 410. */
1731
1730
  interface LinkedInPersonContactOptions {
1732
1731
  username?: string;
1733
1732
  [key: string]: unknown;
1734
1733
  }
1735
- /** @deprecated Retired upstream; always returns HTTP 410. */
1734
+ /** @deprecated Retired; always returns HTTP 410. */
1736
1735
  interface LinkedInCompanyRefOptions {
1737
1736
  company_id?: string;
1738
1737
  company?: string;
1739
1738
  [key: string]: unknown;
1740
1739
  }
1741
- /** @deprecated Retired upstream; always returns HTTP 410. */
1740
+ /** @deprecated Retired; always returns HTTP 410. */
1742
1741
  interface LinkedInSearchPeopleOptions {
1743
1742
  search?: string;
1744
1743
  title?: string;
@@ -1747,7 +1746,7 @@ interface LinkedInSearchPeopleOptions {
1747
1746
  location?: string;
1748
1747
  [key: string]: unknown;
1749
1748
  }
1750
- /** @deprecated Retired upstream; always returns HTTP 410. */
1749
+ /** @deprecated Retired; always returns HTTP 410. */
1751
1750
  interface LinkedInSearchPostsOptions {
1752
1751
  search?: string;
1753
1752
  [key: string]: unknown;
@@ -1780,28 +1779,28 @@ declare class LinkedInNamespace {
1780
1779
  /** Comments with their replies. Page size varies - keep paging until empty. */
1781
1780
  postComments(options: LinkedInPostCommentsOptions): Promise<Record<string, unknown>>;
1782
1781
  /**
1783
- * @deprecated Retired by the upstream provider. Always returns HTTP 410 and is
1782
+ * @deprecated Retired. Always returns HTTP 410 and is
1784
1783
  * never billed.
1785
1784
  */
1786
1785
  personContact(options: LinkedInPersonContactOptions): Promise<Record<string, unknown>>;
1787
1786
  /**
1788
- * @deprecated Retired by the upstream provider. Always returns HTTP 410 and is
1787
+ * @deprecated Retired. Always returns HTTP 410 and is
1789
1788
  * never billed. `company()` returns `featured_employees`, a small sample of
1790
1789
  * staff profiles.
1791
1790
  */
1792
1791
  companyPeople(options: LinkedInCompanyRefOptions): Promise<Record<string, unknown>>;
1793
1792
  /**
1794
- * @deprecated Retired by the upstream provider. Always returns HTTP 410 and is
1793
+ * @deprecated Retired. Always returns HTTP 410 and is
1795
1794
  * never billed. Use `searchJobs()` with the company name as the search term.
1796
1795
  */
1797
1796
  companyJobs(options: LinkedInCompanyRefOptions): Promise<Record<string, unknown>>;
1798
1797
  /**
1799
- * @deprecated Retired by the upstream provider. Always returns HTTP 410 and is
1798
+ * @deprecated Retired. Always returns HTTP 410 and is
1800
1799
  * never billed.
1801
1800
  */
1802
1801
  searchPeople(options: LinkedInSearchPeopleOptions): Promise<Record<string, unknown>>;
1803
1802
  /**
1804
- * @deprecated Retired by the upstream provider. Always returns HTTP 410 and is
1803
+ * @deprecated Retired. Always returns HTTP 410 and is
1805
1804
  * never billed.
1806
1805
  */
1807
1806
  searchPosts(options: LinkedInSearchPostsOptions): Promise<Record<string, unknown>>;
@@ -1815,7 +1814,7 @@ interface ThreadsProfileOptions {
1815
1814
  user_id?: string;
1816
1815
  /**
1817
1816
  * Handle without the leading @ (1-60 characters). Costs 2 extra credits
1818
- * because the id has to be resolved upstream first - prefer `user_id`.
1817
+ * because the id has to be resolved first - prefer `user_id`.
1819
1818
  */
1820
1819
  username?: string;
1821
1820
  [key: string]: unknown;
@@ -2246,7 +2245,7 @@ declare class TargetNamespace {
2246
2245
  * Paged with `page` + `count` (1-28, default 24). `seller_id` and
2247
2246
  * `seller_name` are null on first-party rows, which means "sold by Target".
2248
2247
  *
2249
- * Costs 1 credit. Typically ~9s - it runs through a headless browser.
2248
+ * Costs 1 credit. Typically ~9s.
2250
2249
  */
2251
2250
  search(options: TargetSearchOptions): Promise<Record<string, unknown>>;
2252
2251
  /**
@@ -2621,9 +2620,8 @@ declare class RedfinNamespace {
2621
2620
  * houses, schools, climate risk, walkability and location scores, sun
2622
2621
  * exposure, monthly weather, permits, zoning, comparable sales and photos.
2623
2622
  *
2624
- * Reads the property PAGE, whose inlined request cache replaces the ~40
2625
- * upstream calls that page made - which is why it is the same price as
2626
- * search().
2623
+ * Returns the whole property page in one call, which is why it is the same
2624
+ * price as search().
2627
2625
  *
2628
2626
  * Costs 1 credit. Single response, no pagination.
2629
2627
  */
@@ -2700,7 +2698,7 @@ interface BookingSearchOptions {
2700
2698
  rooms?: number;
2701
2699
  /**
2702
2700
  * ISO 4217 currency, 3 letters (default "USD"). Leave it set - without a
2703
- * currency Booking prices off the proxy exit.
2701
+ * currency Booking picks a currency itself.
2704
2702
  */
2705
2703
  currency?: string;
2706
2704
  [key: string]: unknown;
@@ -2859,7 +2857,7 @@ interface AirbnbSearchOptions {
2859
2857
  amenities?: string;
2860
2858
  /**
2861
2859
  * ISO 4217 currency (default "USD"). Leave it set - without a currency
2862
- * Airbnb prices off the proxy exit.
2860
+ * Airbnb picks a currency itself.
2863
2861
  */
2864
2862
  currency?: string;
2865
2863
  /**
@@ -3115,8 +3113,7 @@ interface YelpSearchOptions {
3115
3113
  term?: string;
3116
3114
  /**
3117
3115
  * Where to search (1-200 characters), e.g. "Austin, TX". Effectively
3118
- * REQUIRED - without it Yelp geolocates off the proxy exit and the same
3119
- * request answers about a different metro run to run.
3116
+ * REQUIRED - without it Yelp picks a location itself and the same request can answer about a different metro run to run.
3120
3117
  */
3121
3118
  location?: string;
3122
3119
  /** Result page, 1-indexed. Yelp fixes the page size at 10. */
@@ -3188,7 +3185,7 @@ declare class YelpNamespace {
3188
3185
  * count.
3189
3186
  *
3190
3187
  * `term` + `location` or `url` is required, and `location` is effectively
3191
- * mandatory - Yelp geolocates a location-less search off the proxy exit.
3188
+ * mandatory - without it Yelp picks a location itself.
3192
3189
  * Paged with `page`; the page size is fixed at 10.
3193
3190
  *
3194
3191
  * Costs 2 credits.
@@ -3308,8 +3305,7 @@ declare class IndeedNamespace {
3308
3305
  * employment types, benefits, geocoded address, employer rating, applicant
3309
3306
  * count and the original ATS link.
3310
3307
  *
3311
- * Single response, no pagination. An unknown job key is a real 404 that
3312
- * scrape.do BILLS - take `job_id` from a search row.
3308
+ * Single response, no pagination. An unknown job key is a real 404 and IS BILLED - take `job_id` from a search row.
3313
3309
  *
3314
3310
  * Costs 2 credits.
3315
3311
  */
@@ -3319,8 +3315,7 @@ declare class IndeedNamespace {
3319
3315
  * approval, overall and per-category ratings, reported salaries, open roles
3320
3316
  * and locations.
3321
3317
  *
3322
- * Single response, no pagination. An unknown company slug is a real 404
3323
- * that scrape.do BILLS.
3318
+ * Single response, no pagination. An unknown company slug is a real 404 and IS BILLED.
3324
3319
  *
3325
3320
  * Costs 2 credits.
3326
3321
  */
@@ -3365,7 +3360,7 @@ interface GlassdoorCompanyOptions {
3365
3360
  interface GlassdoorReviewsOptions {
3366
3361
  /**
3367
3362
  * Glassdoor employer id as a STRING (1699, E1699 or IE1699). Either this or
3368
- * `url` is required. Addressing by employer_id costs two upstream fetches -
3363
+ * `url` is required. Addressing by employer_id costs two lookups -
3369
3364
  * pass reviews_url from company() as `url` instead.
3370
3365
  */
3371
3366
  employer_id?: string;
@@ -3392,7 +3387,7 @@ interface GlassdoorReviewsOptions {
3392
3387
  interface GlassdoorSalariesOptions {
3393
3388
  /**
3394
3389
  * Glassdoor employer id as a STRING (1699, E1699 or IE1699). Either this or
3395
- * `url` is required. Addressing by employer_id costs two upstream fetches -
3390
+ * `url` is required. Addressing by employer_id costs two lookups -
3396
3391
  * pass salaries_url from company() as `url` instead.
3397
3392
  */
3398
3393
  employer_id?: string;
@@ -3432,7 +3427,7 @@ declare class GlassdoorNamespace {
3432
3427
  * server-rendered reviews, AND reviews_url / salaries_url.
3433
3428
  *
3434
3429
  * THE CHAINING ENDPOINT: pass reviews_url / salaries_url back as `url` on
3435
- * reviews() and salaries() to halve the upstream fetches. `employer_id` or
3430
+ * reviews() and salaries() to halve the lookups. `employer_id` or
3436
3431
  * `url` is required - `company` is cosmetic and does not satisfy it.
3437
3432
  *
3438
3433
  * Costs 1 credit. Single response, no pagination. Typically ~3-47s.
@@ -4093,7 +4088,7 @@ declare class SECNamespace {
4093
4088
  * filer had more.
4094
4089
  *
4095
4090
  * Costs 1 credit - including with `include_history`, which is the one call
4096
- * that can buy more than one upstream fetch.
4091
+ * that can buy more than one lookup.
4097
4092
  */
4098
4093
  filings(options: SECFilingsOptions): Promise<Record<string, unknown>>;
4099
4094
  /**
@@ -5721,7 +5716,7 @@ interface ExtractOptions {
5721
5716
  *
5722
5717
  * - "normal": the standard fetch - 1 credit.
5723
5718
  * - "advanced": renders JavaScript, for JS-built pages - 1 credit.
5724
- * - "ultra": the hardest pages and bot walls - 2 credits.
5719
+ * - "ultra": the hardest pages - 2 credits.
5725
5720
  */
5726
5721
  mode?: "normal" | "advanced" | "ultra";
5727
5722
  [key: string]: unknown;
package/dist/index.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  /**
2
- * Amazon moved to a new upstream in 2026-07 and the API now returns a
3
- * normalized shape instead of the old raw provider payload. Nine options went
4
- * with the old provider: language, currency, device, sort_by, pages,
2
+ * The Amazon API changed in 2026-07 and now returns a normalized shape
3
+ * instead of the old raw payload. Nine options were removed: language, currency, device, sort_by, pages,
5
4
  * category_id, merchant_id, zip_code and autoselect_variant. They are removed
6
5
  * rather than kept as no-ops - notably `sort_by`, which the marketplace was
7
6
  * verified to ignore entirely (every sort value returned the same unordered
@@ -57,9 +56,9 @@ declare class AmazonNamespace {
57
56
  }
58
57
 
59
58
  /**
60
- * Google endpoints (scrape.do engine, /api/v2/google). A faithful passthrough
61
- * that returns Google's full response. Every endpoint costs 1 credit. Any
62
- * additional scrape.do parameter can be added to the options object.
59
+ * Google endpoints (/api/v2/google). A faithful passthrough that returns
60
+ * Google's full response. Every endpoint costs 1 credit. Any additional
61
+ * API parameter can be added to the options object.
63
62
  * See https://scavio.dev/docs/search-api.
64
63
  */
65
64
  interface GoogleSearchOptions {
@@ -1727,18 +1726,18 @@ interface LinkedInPostCommentsOptions extends LinkedInPostOptions {
1727
1726
  /** 1-based page number. Page size varies, so page until a page comes back empty. */
1728
1727
  page?: number;
1729
1728
  }
1730
- /** @deprecated Retired upstream; always returns HTTP 410. */
1729
+ /** @deprecated Retired; always returns HTTP 410. */
1731
1730
  interface LinkedInPersonContactOptions {
1732
1731
  username?: string;
1733
1732
  [key: string]: unknown;
1734
1733
  }
1735
- /** @deprecated Retired upstream; always returns HTTP 410. */
1734
+ /** @deprecated Retired; always returns HTTP 410. */
1736
1735
  interface LinkedInCompanyRefOptions {
1737
1736
  company_id?: string;
1738
1737
  company?: string;
1739
1738
  [key: string]: unknown;
1740
1739
  }
1741
- /** @deprecated Retired upstream; always returns HTTP 410. */
1740
+ /** @deprecated Retired; always returns HTTP 410. */
1742
1741
  interface LinkedInSearchPeopleOptions {
1743
1742
  search?: string;
1744
1743
  title?: string;
@@ -1747,7 +1746,7 @@ interface LinkedInSearchPeopleOptions {
1747
1746
  location?: string;
1748
1747
  [key: string]: unknown;
1749
1748
  }
1750
- /** @deprecated Retired upstream; always returns HTTP 410. */
1749
+ /** @deprecated Retired; always returns HTTP 410. */
1751
1750
  interface LinkedInSearchPostsOptions {
1752
1751
  search?: string;
1753
1752
  [key: string]: unknown;
@@ -1780,28 +1779,28 @@ declare class LinkedInNamespace {
1780
1779
  /** Comments with their replies. Page size varies - keep paging until empty. */
1781
1780
  postComments(options: LinkedInPostCommentsOptions): Promise<Record<string, unknown>>;
1782
1781
  /**
1783
- * @deprecated Retired by the upstream provider. Always returns HTTP 410 and is
1782
+ * @deprecated Retired. Always returns HTTP 410 and is
1784
1783
  * never billed.
1785
1784
  */
1786
1785
  personContact(options: LinkedInPersonContactOptions): Promise<Record<string, unknown>>;
1787
1786
  /**
1788
- * @deprecated Retired by the upstream provider. Always returns HTTP 410 and is
1787
+ * @deprecated Retired. Always returns HTTP 410 and is
1789
1788
  * never billed. `company()` returns `featured_employees`, a small sample of
1790
1789
  * staff profiles.
1791
1790
  */
1792
1791
  companyPeople(options: LinkedInCompanyRefOptions): Promise<Record<string, unknown>>;
1793
1792
  /**
1794
- * @deprecated Retired by the upstream provider. Always returns HTTP 410 and is
1793
+ * @deprecated Retired. Always returns HTTP 410 and is
1795
1794
  * never billed. Use `searchJobs()` with the company name as the search term.
1796
1795
  */
1797
1796
  companyJobs(options: LinkedInCompanyRefOptions): Promise<Record<string, unknown>>;
1798
1797
  /**
1799
- * @deprecated Retired by the upstream provider. Always returns HTTP 410 and is
1798
+ * @deprecated Retired. Always returns HTTP 410 and is
1800
1799
  * never billed.
1801
1800
  */
1802
1801
  searchPeople(options: LinkedInSearchPeopleOptions): Promise<Record<string, unknown>>;
1803
1802
  /**
1804
- * @deprecated Retired by the upstream provider. Always returns HTTP 410 and is
1803
+ * @deprecated Retired. Always returns HTTP 410 and is
1805
1804
  * never billed.
1806
1805
  */
1807
1806
  searchPosts(options: LinkedInSearchPostsOptions): Promise<Record<string, unknown>>;
@@ -1815,7 +1814,7 @@ interface ThreadsProfileOptions {
1815
1814
  user_id?: string;
1816
1815
  /**
1817
1816
  * Handle without the leading @ (1-60 characters). Costs 2 extra credits
1818
- * because the id has to be resolved upstream first - prefer `user_id`.
1817
+ * because the id has to be resolved first - prefer `user_id`.
1819
1818
  */
1820
1819
  username?: string;
1821
1820
  [key: string]: unknown;
@@ -2246,7 +2245,7 @@ declare class TargetNamespace {
2246
2245
  * Paged with `page` + `count` (1-28, default 24). `seller_id` and
2247
2246
  * `seller_name` are null on first-party rows, which means "sold by Target".
2248
2247
  *
2249
- * Costs 1 credit. Typically ~9s - it runs through a headless browser.
2248
+ * Costs 1 credit. Typically ~9s.
2250
2249
  */
2251
2250
  search(options: TargetSearchOptions): Promise<Record<string, unknown>>;
2252
2251
  /**
@@ -2621,9 +2620,8 @@ declare class RedfinNamespace {
2621
2620
  * houses, schools, climate risk, walkability and location scores, sun
2622
2621
  * exposure, monthly weather, permits, zoning, comparable sales and photos.
2623
2622
  *
2624
- * Reads the property PAGE, whose inlined request cache replaces the ~40
2625
- * upstream calls that page made - which is why it is the same price as
2626
- * search().
2623
+ * Returns the whole property page in one call, which is why it is the same
2624
+ * price as search().
2627
2625
  *
2628
2626
  * Costs 1 credit. Single response, no pagination.
2629
2627
  */
@@ -2700,7 +2698,7 @@ interface BookingSearchOptions {
2700
2698
  rooms?: number;
2701
2699
  /**
2702
2700
  * ISO 4217 currency, 3 letters (default "USD"). Leave it set - without a
2703
- * currency Booking prices off the proxy exit.
2701
+ * currency Booking picks a currency itself.
2704
2702
  */
2705
2703
  currency?: string;
2706
2704
  [key: string]: unknown;
@@ -2859,7 +2857,7 @@ interface AirbnbSearchOptions {
2859
2857
  amenities?: string;
2860
2858
  /**
2861
2859
  * ISO 4217 currency (default "USD"). Leave it set - without a currency
2862
- * Airbnb prices off the proxy exit.
2860
+ * Airbnb picks a currency itself.
2863
2861
  */
2864
2862
  currency?: string;
2865
2863
  /**
@@ -3115,8 +3113,7 @@ interface YelpSearchOptions {
3115
3113
  term?: string;
3116
3114
  /**
3117
3115
  * Where to search (1-200 characters), e.g. "Austin, TX". Effectively
3118
- * REQUIRED - without it Yelp geolocates off the proxy exit and the same
3119
- * request answers about a different metro run to run.
3116
+ * REQUIRED - without it Yelp picks a location itself and the same request can answer about a different metro run to run.
3120
3117
  */
3121
3118
  location?: string;
3122
3119
  /** Result page, 1-indexed. Yelp fixes the page size at 10. */
@@ -3188,7 +3185,7 @@ declare class YelpNamespace {
3188
3185
  * count.
3189
3186
  *
3190
3187
  * `term` + `location` or `url` is required, and `location` is effectively
3191
- * mandatory - Yelp geolocates a location-less search off the proxy exit.
3188
+ * mandatory - without it Yelp picks a location itself.
3192
3189
  * Paged with `page`; the page size is fixed at 10.
3193
3190
  *
3194
3191
  * Costs 2 credits.
@@ -3308,8 +3305,7 @@ declare class IndeedNamespace {
3308
3305
  * employment types, benefits, geocoded address, employer rating, applicant
3309
3306
  * count and the original ATS link.
3310
3307
  *
3311
- * Single response, no pagination. An unknown job key is a real 404 that
3312
- * scrape.do BILLS - take `job_id` from a search row.
3308
+ * Single response, no pagination. An unknown job key is a real 404 and IS BILLED - take `job_id` from a search row.
3313
3309
  *
3314
3310
  * Costs 2 credits.
3315
3311
  */
@@ -3319,8 +3315,7 @@ declare class IndeedNamespace {
3319
3315
  * approval, overall and per-category ratings, reported salaries, open roles
3320
3316
  * and locations.
3321
3317
  *
3322
- * Single response, no pagination. An unknown company slug is a real 404
3323
- * that scrape.do BILLS.
3318
+ * Single response, no pagination. An unknown company slug is a real 404 and IS BILLED.
3324
3319
  *
3325
3320
  * Costs 2 credits.
3326
3321
  */
@@ -3365,7 +3360,7 @@ interface GlassdoorCompanyOptions {
3365
3360
  interface GlassdoorReviewsOptions {
3366
3361
  /**
3367
3362
  * Glassdoor employer id as a STRING (1699, E1699 or IE1699). Either this or
3368
- * `url` is required. Addressing by employer_id costs two upstream fetches -
3363
+ * `url` is required. Addressing by employer_id costs two lookups -
3369
3364
  * pass reviews_url from company() as `url` instead.
3370
3365
  */
3371
3366
  employer_id?: string;
@@ -3392,7 +3387,7 @@ interface GlassdoorReviewsOptions {
3392
3387
  interface GlassdoorSalariesOptions {
3393
3388
  /**
3394
3389
  * Glassdoor employer id as a STRING (1699, E1699 or IE1699). Either this or
3395
- * `url` is required. Addressing by employer_id costs two upstream fetches -
3390
+ * `url` is required. Addressing by employer_id costs two lookups -
3396
3391
  * pass salaries_url from company() as `url` instead.
3397
3392
  */
3398
3393
  employer_id?: string;
@@ -3432,7 +3427,7 @@ declare class GlassdoorNamespace {
3432
3427
  * server-rendered reviews, AND reviews_url / salaries_url.
3433
3428
  *
3434
3429
  * THE CHAINING ENDPOINT: pass reviews_url / salaries_url back as `url` on
3435
- * reviews() and salaries() to halve the upstream fetches. `employer_id` or
3430
+ * reviews() and salaries() to halve the lookups. `employer_id` or
3436
3431
  * `url` is required - `company` is cosmetic and does not satisfy it.
3437
3432
  *
3438
3433
  * Costs 1 credit. Single response, no pagination. Typically ~3-47s.
@@ -4093,7 +4088,7 @@ declare class SECNamespace {
4093
4088
  * filer had more.
4094
4089
  *
4095
4090
  * Costs 1 credit - including with `include_history`, which is the one call
4096
- * that can buy more than one upstream fetch.
4091
+ * that can buy more than one lookup.
4097
4092
  */
4098
4093
  filings(options: SECFilingsOptions): Promise<Record<string, unknown>>;
4099
4094
  /**
@@ -5721,7 +5716,7 @@ interface ExtractOptions {
5721
5716
  *
5722
5717
  * - "normal": the standard fetch - 1 credit.
5723
5718
  * - "advanced": renders JavaScript, for JS-built pages - 1 credit.
5724
- * - "ultra": the hardest pages and bot walls - 2 credits.
5719
+ * - "ultra": the hardest pages - 2 credits.
5725
5720
  */
5726
5721
  mode?: "normal" | "advanced" | "ultra";
5727
5722
  [key: string]: unknown;
package/dist/index.js CHANGED
@@ -145,7 +145,7 @@ function parseRetryAfter(header) {
145
145
  var BASE_URL = "https://api.scavio.dev";
146
146
  var DEFAULT_TIMEOUT = 3e4;
147
147
  var DEFAULT_MAX_RETRIES = 2;
148
- var SDK_VERSION = true ? "0.24.0" : "0.0.0";
148
+ var SDK_VERSION = true ? "0.24.1" : "0.0.0";
149
149
  var USER_AGENT = `scavio-js/${SDK_VERSION}`;
150
150
  function isServerRuntime() {
151
151
  const g = globalThis;
@@ -1105,14 +1105,14 @@ var LinkedInNamespace = class {
1105
1105
  return this.client._post("/api/v1/linkedin/post/comments", options);
1106
1106
  }
1107
1107
  /**
1108
- * @deprecated Retired by the upstream provider. Always returns HTTP 410 and is
1108
+ * @deprecated Retired. Always returns HTTP 410 and is
1109
1109
  * never billed.
1110
1110
  */
1111
1111
  async personContact(options) {
1112
1112
  return this.client._post("/api/v1/linkedin/person/contact", options);
1113
1113
  }
1114
1114
  /**
1115
- * @deprecated Retired by the upstream provider. Always returns HTTP 410 and is
1115
+ * @deprecated Retired. Always returns HTTP 410 and is
1116
1116
  * never billed. `company()` returns `featured_employees`, a small sample of
1117
1117
  * staff profiles.
1118
1118
  */
@@ -1120,21 +1120,21 @@ var LinkedInNamespace = class {
1120
1120
  return this.client._post("/api/v1/linkedin/company/people", options);
1121
1121
  }
1122
1122
  /**
1123
- * @deprecated Retired by the upstream provider. Always returns HTTP 410 and is
1123
+ * @deprecated Retired. Always returns HTTP 410 and is
1124
1124
  * never billed. Use `searchJobs()` with the company name as the search term.
1125
1125
  */
1126
1126
  async companyJobs(options) {
1127
1127
  return this.client._post("/api/v1/linkedin/company/jobs", options);
1128
1128
  }
1129
1129
  /**
1130
- * @deprecated Retired by the upstream provider. Always returns HTTP 410 and is
1130
+ * @deprecated Retired. Always returns HTTP 410 and is
1131
1131
  * never billed.
1132
1132
  */
1133
1133
  async searchPeople(options) {
1134
1134
  return this.client._post("/api/v1/linkedin/search/people", options);
1135
1135
  }
1136
1136
  /**
1137
- * @deprecated Retired by the upstream provider. Always returns HTTP 410 and is
1137
+ * @deprecated Retired. Always returns HTTP 410 and is
1138
1138
  * never billed.
1139
1139
  */
1140
1140
  async searchPosts(options) {
@@ -1394,7 +1394,7 @@ var TargetNamespace = class {
1394
1394
  * Paged with `page` + `count` (1-28, default 24). `seller_id` and
1395
1395
  * `seller_name` are null on first-party rows, which means "sold by Target".
1396
1396
  *
1397
- * Costs 1 credit. Typically ~9s - it runs through a headless browser.
1397
+ * Costs 1 credit. Typically ~9s.
1398
1398
  */
1399
1399
  async search(options) {
1400
1400
  return this.client._post("/api/v1/target/search", options);
@@ -1560,9 +1560,8 @@ var RedfinNamespace = class {
1560
1560
  * houses, schools, climate risk, walkability and location scores, sun
1561
1561
  * exposure, monthly weather, permits, zoning, comparable sales and photos.
1562
1562
  *
1563
- * Reads the property PAGE, whose inlined request cache replaces the ~40
1564
- * upstream calls that page made - which is why it is the same price as
1565
- * search().
1563
+ * Returns the whole property page in one call, which is why it is the same
1564
+ * price as search().
1566
1565
  *
1567
1566
  * Costs 1 credit. Single response, no pagination.
1568
1567
  */
@@ -1792,7 +1791,7 @@ var YelpNamespace = class {
1792
1791
  * count.
1793
1792
  *
1794
1793
  * `term` + `location` or `url` is required, and `location` is effectively
1795
- * mandatory - Yelp geolocates a location-less search off the proxy exit.
1794
+ * mandatory - without it Yelp picks a location itself.
1796
1795
  * Paged with `page`; the page size is fixed at 10.
1797
1796
  *
1798
1797
  * Costs 2 credits.
@@ -1864,8 +1863,7 @@ var IndeedNamespace = class {
1864
1863
  * employment types, benefits, geocoded address, employer rating, applicant
1865
1864
  * count and the original ATS link.
1866
1865
  *
1867
- * Single response, no pagination. An unknown job key is a real 404 that
1868
- * scrape.do BILLS - take `job_id` from a search row.
1866
+ * Single response, no pagination. An unknown job key is a real 404 and IS BILLED - take `job_id` from a search row.
1869
1867
  *
1870
1868
  * Costs 2 credits.
1871
1869
  */
@@ -1877,8 +1875,7 @@ var IndeedNamespace = class {
1877
1875
  * approval, overall and per-category ratings, reported salaries, open roles
1878
1876
  * and locations.
1879
1877
  *
1880
- * Single response, no pagination. An unknown company slug is a real 404
1881
- * that scrape.do BILLS.
1878
+ * Single response, no pagination. An unknown company slug is a real 404 and IS BILLED.
1882
1879
  *
1883
1880
  * Costs 2 credits.
1884
1881
  */
@@ -1926,7 +1923,7 @@ var GlassdoorNamespace = class {
1926
1923
  * server-rendered reviews, AND reviews_url / salaries_url.
1927
1924
  *
1928
1925
  * THE CHAINING ENDPOINT: pass reviews_url / salaries_url back as `url` on
1929
- * reviews() and salaries() to halve the upstream fetches. `employer_id` or
1926
+ * reviews() and salaries() to halve the lookups. `employer_id` or
1930
1927
  * `url` is required - `company` is cosmetic and does not satisfy it.
1931
1928
  *
1932
1929
  * Costs 1 credit. Single response, no pagination. Typically ~3-47s.
@@ -2250,7 +2247,7 @@ var SECNamespace = class {
2250
2247
  * filer had more.
2251
2248
  *
2252
2249
  * Costs 1 credit - including with `include_history`, which is the one call
2253
- * that can buy more than one upstream fetch.
2250
+ * that can buy more than one lookup.
2254
2251
  */
2255
2252
  async filings(options) {
2256
2253
  return this.client._post("/api/v1/sec/filings", options);