scrapebadger 0.75.0 → 0.76.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
@@ -1180,6 +1180,12 @@ declare class VintedClient {
1180
1180
  */
1181
1181
  type GoogleResponse = Record<string, unknown>;
1182
1182
  interface GoogleSearchParams {
1183
+ /** Original query sent to Google. Defaults to q; an empty string omits it. */
1184
+ oq?: string;
1185
+ /** Google source identifier. Defaults to chrome; an empty string omits it. */
1186
+ sourceid?: string;
1187
+ /** Google input encoding hint. Defaults to UTF-8; an empty string omits it. */
1188
+ ie?: string;
1183
1189
  /** Alias for domain; Google requests use google.com with country targeting. */
1184
1190
  google_domain?: string;
1185
1191
  /** Latitude; supply together with lon instead of location or uule. */
@@ -9464,7 +9470,9 @@ declare class FacebookClient {
9464
9470
  listLocations(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
9465
9471
  /** Resolve a town/postcode to a Marketplace location. Generated from the OpenAPI spec; returns the raw response object. */
9466
9472
  resolveATownPostcodeToAMarketplaceLocation(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
9467
- /** Search Marketplace. Generated from the OpenAPI spec; returns the raw response object. */
9473
+ /** Search public Marketplace. Use strict_filters: true to enforce radius (km) and age,
9474
+ * include_details: true for descriptions/photos. Continuations cover price ranges;
9475
+ * search_info reports partial coverage. Sort all collected pages for newest first. */
9468
9476
  searchMarketplace(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
9469
9477
  /** Get page detail. Generated from the OpenAPI spec; returns the raw response object. */
9470
9478
  getPageDetail(identifier: string, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
package/dist/index.d.ts CHANGED
@@ -1180,6 +1180,12 @@ declare class VintedClient {
1180
1180
  */
1181
1181
  type GoogleResponse = Record<string, unknown>;
1182
1182
  interface GoogleSearchParams {
1183
+ /** Original query sent to Google. Defaults to q; an empty string omits it. */
1184
+ oq?: string;
1185
+ /** Google source identifier. Defaults to chrome; an empty string omits it. */
1186
+ sourceid?: string;
1187
+ /** Google input encoding hint. Defaults to UTF-8; an empty string omits it. */
1188
+ ie?: string;
1183
1189
  /** Alias for domain; Google requests use google.com with country targeting. */
1184
1190
  google_domain?: string;
1185
1191
  /** Latitude; supply together with lon instead of location or uule. */
@@ -9464,7 +9470,9 @@ declare class FacebookClient {
9464
9470
  listLocations(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
9465
9471
  /** Resolve a town/postcode to a Marketplace location. Generated from the OpenAPI spec; returns the raw response object. */
9466
9472
  resolveATownPostcodeToAMarketplaceLocation(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
9467
- /** Search Marketplace. Generated from the OpenAPI spec; returns the raw response object. */
9473
+ /** Search public Marketplace. Use strict_filters: true to enforce radius (km) and age,
9474
+ * include_details: true for descriptions/photos. Continuations cover price ranges;
9475
+ * search_info reports partial coverage. Sort all collected pages for newest first. */
9468
9476
  searchMarketplace(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
9469
9477
  /** Get page detail. Generated from the OpenAPI spec; returns the raw response object. */
9470
9478
  getPageDetail(identifier: string, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
package/dist/index.mjs CHANGED
@@ -3,7 +3,7 @@ import { EventEmitter } from 'events';
3
3
  import WebSocket from 'ws';
4
4
 
5
5
  // src/internal/version.ts
6
- var SDK_VERSION = "0.75.0";
6
+ var SDK_VERSION = "0.76.1";
7
7
 
8
8
  // src/internal/exceptions.ts
9
9
  var ScrapeBadgerError = class _ScrapeBadgerError extends Error {
@@ -6573,7 +6573,9 @@ var FacebookClient = class {
6573
6573
  async resolveATownPostcodeToAMarketplaceLocation(params = {}) {
6574
6574
  return this.client.request("/v1/facebook/marketplace/locations/resolve", { params });
6575
6575
  }
6576
- /** Search Marketplace. Generated from the OpenAPI spec; returns the raw response object. */
6576
+ /** Search public Marketplace. Use strict_filters: true to enforce radius (km) and age,
6577
+ * include_details: true for descriptions/photos. Continuations cover price ranges;
6578
+ * search_info reports partial coverage. Sort all collected pages for newest first. */
6577
6579
  async searchMarketplace(params = {}) {
6578
6580
  return this.client.request("/v1/facebook/marketplace/search", { params });
6579
6581
  }