scrapebadger 0.48.0 → 0.50.0

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
@@ -334,6 +334,15 @@ interface VintedItemSummary {
334
334
  * or null. Populated only when the `seller_country` search filter is used.
335
335
  */
336
336
  seller_country_code: string | null;
337
+ /**
338
+ * Visual similarity to the query image, on Vinted's own unbounded scale --
339
+ * it read 0-1 in Sep 2026 and ~36-44 since, and can change again without
340
+ * notice. ORDINAL ONLY: rank against the other items in the same response,
341
+ * never against a fixed threshold and never across responses. Populated
342
+ * only by `searchByImage`, and only on the calls where Vinted returns a
343
+ * ranking; null otherwise. A null says nothing about the item.
344
+ */
345
+ similarity_score: number | null;
337
346
  }
338
347
  /**
339
348
  * Full item detail with all metadata.
@@ -353,9 +362,18 @@ interface VintedItemDetail extends VintedItemSummary {
353
362
  category: string[];
354
363
  /**
355
364
  * Vinted's relative "listed" label, localized (e.g. "Il y a une semaine").
356
- * Not an ISO timestamp.
365
+ * Not an ISO timestamp — some markets render it without a number at all
366
+ * ("godziny"), so it cannot be parsed into a date. Use `uploaded_at`.
357
367
  */
358
368
  upload_date: string;
369
+ /**
370
+ * Approximate absolute upload time, ISO 8601 UTC (e.g.
371
+ * "2026-09-23T11:28:44Z"), derived from the earliest photo Vinted
372
+ * timestamps. A lower bound on age: replacing a photo after listing moves
373
+ * it forward. Null when Vinted stamps no photo. Item detail only — search
374
+ * and image search responses carry no photo timestamps.
375
+ */
376
+ uploaded_at: string | null;
359
377
  /** Whether the item can be purchased */
360
378
  can_buy: boolean;
361
379
  /** Whether instant buy is enabled */
package/dist/index.d.ts CHANGED
@@ -334,6 +334,15 @@ interface VintedItemSummary {
334
334
  * or null. Populated only when the `seller_country` search filter is used.
335
335
  */
336
336
  seller_country_code: string | null;
337
+ /**
338
+ * Visual similarity to the query image, on Vinted's own unbounded scale --
339
+ * it read 0-1 in Sep 2026 and ~36-44 since, and can change again without
340
+ * notice. ORDINAL ONLY: rank against the other items in the same response,
341
+ * never against a fixed threshold and never across responses. Populated
342
+ * only by `searchByImage`, and only on the calls where Vinted returns a
343
+ * ranking; null otherwise. A null says nothing about the item.
344
+ */
345
+ similarity_score: number | null;
337
346
  }
338
347
  /**
339
348
  * Full item detail with all metadata.
@@ -353,9 +362,18 @@ interface VintedItemDetail extends VintedItemSummary {
353
362
  category: string[];
354
363
  /**
355
364
  * Vinted's relative "listed" label, localized (e.g. "Il y a une semaine").
356
- * Not an ISO timestamp.
365
+ * Not an ISO timestamp — some markets render it without a number at all
366
+ * ("godziny"), so it cannot be parsed into a date. Use `uploaded_at`.
357
367
  */
358
368
  upload_date: string;
369
+ /**
370
+ * Approximate absolute upload time, ISO 8601 UTC (e.g.
371
+ * "2026-09-23T11:28:44Z"), derived from the earliest photo Vinted
372
+ * timestamps. A lower bound on age: replacing a photo after listing moves
373
+ * it forward. Null when Vinted stamps no photo. Item detail only — search
374
+ * and image search responses carry no photo timestamps.
375
+ */
376
+ uploaded_at: string | null;
359
377
  /** Whether the item can be purchased */
360
378
  can_buy: boolean;
361
379
  /** Whether instant buy is enabled */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scrapebadger",
3
- "version": "0.48.0",
3
+ "version": "0.50.0",
4
4
  "description": "Official Node.js SDK for ScrapeBadger - Async web scraping APIs for Twitter, Google, Vinted, Reddit, and more",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",