scrapebadger 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
@@ -1688,8 +1688,10 @@ declare class JobsClient {
1688
1688
  * Client for Google Lens visual search by image URL.
1689
1689
  *
1690
1690
  * Response carries `lens_results` (Scrapingdog-parity alias) with
1691
- * `title`, `source`, `source_favicon`, `thumbnail`, optional `tag`
1692
- * price chip and `in_stock`, plus `related_searches` chips. Legacy
1691
+ * `title`, `source`, `source_favicon`, `thumbnail`, `rating`,
1692
+ * `reviews` and `in_stock`. Shoppable matches also carry `price`
1693
+ * (`{value, currency, extracted}`) plus the raw `tag` chip it is
1694
+ * parsed from. `related_searches` chips come alongside. Legacy
1693
1695
  * `results` alias retained for backwards compat.
1694
1696
  *
1695
1697
  * @example
@@ -1699,7 +1701,7 @@ declare class JobsClient {
1699
1701
  * product: true, // bias towards shoppable matches
1700
1702
  * });
1701
1703
  * for (const match of out.lens_results) {
1702
- * console.log(match.title, match.tag);
1704
+ * console.log(match.title, match.price?.value, match.price?.currency);
1703
1705
  * }
1704
1706
  * ```
1705
1707
  */
package/dist/index.d.ts CHANGED
@@ -1688,8 +1688,10 @@ declare class JobsClient {
1688
1688
  * Client for Google Lens visual search by image URL.
1689
1689
  *
1690
1690
  * Response carries `lens_results` (Scrapingdog-parity alias) with
1691
- * `title`, `source`, `source_favicon`, `thumbnail`, optional `tag`
1692
- * price chip and `in_stock`, plus `related_searches` chips. Legacy
1691
+ * `title`, `source`, `source_favicon`, `thumbnail`, `rating`,
1692
+ * `reviews` and `in_stock`. Shoppable matches also carry `price`
1693
+ * (`{value, currency, extracted}`) plus the raw `tag` chip it is
1694
+ * parsed from. `related_searches` chips come alongside. Legacy
1693
1695
  * `results` alias retained for backwards compat.
1694
1696
  *
1695
1697
  * @example
@@ -1699,7 +1701,7 @@ declare class JobsClient {
1699
1701
  * product: true, // bias towards shoppable matches
1700
1702
  * });
1701
1703
  * for (const match of out.lens_results) {
1702
- * console.log(match.title, match.tag);
1704
+ * console.log(match.title, match.price?.value, match.price?.currency);
1703
1705
  * }
1704
1706
  * ```
1705
1707
  */
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
9
9
  var WebSocket__default = /*#__PURE__*/_interopDefault(WebSocket);
10
10
 
11
11
  // src/internal/version.ts
12
- var SDK_VERSION = "0.24.0";
12
+ var SDK_VERSION = "0.24.1";
13
13
 
14
14
  // src/internal/exceptions.ts
15
15
  var ScrapeBadgerError = class _ScrapeBadgerError extends Error {