scavio 0.26.2 → 0.26.3

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/README.md CHANGED
@@ -534,7 +534,9 @@ await client.mercadolibre.bestSellers({ country: "mx", category_id: "MLM1055" })
534
534
  A query reaches about 2,000 results (42 pages of 48), so slice by price range,
535
535
  condition or seller to go further. Units sold are lower bounds
536
536
  (`sold_quantity_min`, e.g. "+1000 vendidos"), not exact counts, and sort is
537
- relevance or price only. Mercado Libre may narrow a query to a category, brand
537
+ relevance or price only. Search rows carry `brand`, `rating` and `review_count`
538
+ for organic listings; most sponsored rows return `review_count: null`.
539
+ Mercado Libre may narrow a query to a category, brand
538
540
  or line on its own, and Brazil and Argentina may auto-apply a "new" condition;
539
541
  `auto_applied_filters` lists what it applied. `product` returns only the
540
542
  buy-box seller. Reviews translated into the site's language keep
package/dist/index.cjs CHANGED
@@ -235,7 +235,7 @@ function parseRetryAfter(header) {
235
235
  var BASE_URL = "https://api.scavio.dev";
236
236
  var DEFAULT_TIMEOUT = 3e4;
237
237
  var DEFAULT_MAX_RETRIES = 2;
238
- var SDK_VERSION = true ? "0.26.2" : "0.0.0";
238
+ var SDK_VERSION = true ? "0.26.3" : "0.0.0";
239
239
  var USER_AGENT = `scavio-js/${SDK_VERSION}`;
240
240
  function isServerRuntime() {
241
241
  const g = globalThis;
@@ -2623,7 +2623,7 @@ var CostcoNamespace = class {
2623
2623
  * `warehouse_id` to add that warehouse's in-store price and stock to every
2624
2624
  * result.
2625
2625
  *
2626
- * Costs 1 credit.
2626
+ * Costs 2 credits for the US, 1 elsewhere.
2627
2627
  */
2628
2628
  async search(options) {
2629
2629
  return this.client._post("/api/v1/costco/search", options);
@@ -2632,7 +2632,7 @@ var CostcoNamespace = class {
2632
2632
  * Products in a Costco category, with the same sort, filters and
2633
2633
  * per-warehouse pricing as search().
2634
2634
  *
2635
- * Costs 1 credit.
2635
+ * Costs 2 credits for the US, 1 for Canada.
2636
2636
  */
2637
2637
  async category(options) {
2638
2638
  return this.client._post("/api/v1/costco/category", options);
@@ -2719,7 +2719,7 @@ var CostcoNamespace = class {
2719
2719
  * favorites, online-only and everything on sale, with the same filters and
2720
2720
  * optional per-warehouse pricing as search().
2721
2721
  *
2722
- * Costs 1 credit.
2722
+ * Costs 2 credits for the US, 1 for Canada.
2723
2723
  */
2724
2724
  async deals(options) {
2725
2725
  return this.client._post("/api/v1/costco/deals", options);
@@ -2731,7 +2731,7 @@ var CostcoNamespace = class {
2731
2731
  * buys on request. The codes are the member-community decode; Costco does
2732
2732
  * not publish them. Only items Costco lists online are covered.
2733
2733
  *
2734
- * Costs 1 credit.
2734
+ * Costs 2 credits for the US (any `pages` value), 1 for Canada.
2735
2735
  */
2736
2736
  async clearance(options) {
2737
2737
  return this.client._post("/api/v1/costco/clearance", options);