scrapebadger 0.47.1 → 0.49.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.mjs CHANGED
@@ -2870,8 +2870,9 @@ var ReferenceClient = class {
2870
2870
  /**
2871
2871
  * Search for brands by keyword.
2872
2872
  *
2873
- * @param options - Optional parameters.
2874
- * @param options.keyword - Brand name to search for.
2873
+ * @param options - Search parameters.
2874
+ * @param options.keyword - Brand name to search for. Required — the API
2875
+ * answers 422 without it, so this was never optional.
2875
2876
  * @param options.market - Market code (default: "fr").
2876
2877
  * @param options.per_page - Number of results per page.
2877
2878
  * @returns Brands matching the keyword.
@@ -2888,7 +2889,7 @@ var ReferenceClient = class {
2888
2889
  * }
2889
2890
  * ```
2890
2891
  */
2891
- async brands(options = {}) {
2892
+ async brands(options) {
2892
2893
  return this.client.request("/v1/vinted/brands", {
2893
2894
  params: {
2894
2895
  keyword: options.keyword,