scrapebadger 0.23.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 +54 -11
- package/dist/index.d.ts +54 -11
- package/dist/index.js +11 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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.
|
|
6
|
+
var SDK_VERSION = "0.24.1";
|
|
7
7
|
|
|
8
8
|
// src/internal/exceptions.ts
|
|
9
9
|
var ScrapeBadgerError = class _ScrapeBadgerError extends Error {
|
|
@@ -2528,8 +2528,16 @@ var SearchClient = class {
|
|
|
2528
2528
|
*
|
|
2529
2529
|
* @example
|
|
2530
2530
|
* ```typescript
|
|
2531
|
+
* // Restrict to a Vinted category (women's T-shirts on vinted.fr).
|
|
2532
|
+
* const tshirts = await client.vinted.search.search({
|
|
2533
|
+
* query: "nike",
|
|
2534
|
+
* catalog_ids: "221",
|
|
2535
|
+
* });
|
|
2536
|
+
* ```
|
|
2537
|
+
*
|
|
2538
|
+
* @example
|
|
2539
|
+
* ```typescript
|
|
2531
2540
|
* // Filter results to sellers physically located in France or Belgium.
|
|
2532
|
-
* // Billing: 1 base credit + 1 credit per uncached seller looked up.
|
|
2533
2541
|
* const local = await client.vinted.search.search({
|
|
2534
2542
|
* query: "vintage jacket",
|
|
2535
2543
|
* seller_country: "fr,be",
|
|
@@ -2549,6 +2557,7 @@ var SearchClient = class {
|
|
|
2549
2557
|
price_from: params.price_from,
|
|
2550
2558
|
price_to: params.price_to,
|
|
2551
2559
|
brand_ids: params.brand_ids,
|
|
2560
|
+
catalog_ids: params.catalog_ids,
|
|
2552
2561
|
color_ids: params.color_ids,
|
|
2553
2562
|
status_ids: params.status_ids,
|
|
2554
2563
|
order: params.order,
|