scrapebadger 0.49.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
@@ -335,10 +335,12 @@ interface VintedItemSummary {
335
335
  */
336
336
  seller_country_code: string | null;
337
337
  /**
338
- * Visual similarity to the query image, 0-1, where the query image's own
339
- * listing scores 1.0. Populated only by `searchByImage`, and only on the
340
- * calls where Vinted returns a ranking; null otherwise. A null says nothing
341
- * about the item.
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.
342
344
  */
343
345
  similarity_score: number | null;
344
346
  }
@@ -360,9 +362,18 @@ interface VintedItemDetail extends VintedItemSummary {
360
362
  category: string[];
361
363
  /**
362
364
  * Vinted's relative "listed" label, localized (e.g. "Il y a une semaine").
363
- * 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`.
364
367
  */
365
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;
366
377
  /** Whether the item can be purchased */
367
378
  can_buy: boolean;
368
379
  /** Whether instant buy is enabled */
package/dist/index.d.ts CHANGED
@@ -335,10 +335,12 @@ interface VintedItemSummary {
335
335
  */
336
336
  seller_country_code: string | null;
337
337
  /**
338
- * Visual similarity to the query image, 0-1, where the query image's own
339
- * listing scores 1.0. Populated only by `searchByImage`, and only on the
340
- * calls where Vinted returns a ranking; null otherwise. A null says nothing
341
- * about the item.
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.
342
344
  */
343
345
  similarity_score: number | null;
344
346
  }
@@ -360,9 +362,18 @@ interface VintedItemDetail extends VintedItemSummary {
360
362
  category: string[];
361
363
  /**
362
364
  * Vinted's relative "listed" label, localized (e.g. "Il y a une semaine").
363
- * 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`.
364
367
  */
365
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;
366
377
  /** Whether the item can be purchased */
367
378
  can_buy: boolean;
368
379
  /** Whether instant buy is enabled */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scrapebadger",
3
- "version": "0.49.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",