scrapebadger 0.76.3 → 0.77.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.cjs CHANGED
@@ -9,7 +9,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
9
9
  var WebSocket__default = /*#__PURE__*/_interopDefault(WebSocket);
10
10
 
11
11
  // src/internal/version.ts
12
- var SDK_VERSION = "0.76.3";
12
+ var SDK_VERSION = "0.77.0";
13
13
 
14
14
  // src/internal/exceptions.ts
15
15
  var ScrapeBadgerError = class _ScrapeBadgerError extends Error {
@@ -3263,6 +3263,22 @@ var AiModeClient = class {
3263
3263
  * comparison `table` blocks and lists), a flat `references` list, a
3264
3264
  * compact `markdown` rendering and — unless `include_html: false` —
3265
3265
  * the raw `answer_html` body.
3266
+ *
3267
+ * Pass one of `location`, `uule` or `lat` + `lon` to answer "near me"
3268
+ * and local questions as if the user were in that place (city or
3269
+ * district), wherever the request exits from. With `location` and no
3270
+ * `gl`, `gl` becomes the location's country. Located answers carry a
3271
+ * `location` echo.
3272
+ *
3273
+ * @example
3274
+ * ```typescript
3275
+ * const answer = await client.google.aiMode.search({
3276
+ * q: "best coffee near me",
3277
+ * location: "Wonju-si,Gangwon-do,South Korea",
3278
+ * hl: "ko",
3279
+ * });
3280
+ * console.log(answer.location?.resolved, answer.country); // ..., "kr"
3281
+ * ```
3266
3282
  */
3267
3283
  async search(params) {
3268
3284
  return this.client.request("/v1/google/ai-mode/search", {
@@ -3855,7 +3871,11 @@ var IdealistaClient = class {
3855
3871
  async getPropertyDetail(propertyCode, params = {}) {
3856
3872
  return this.client.request(`/v1/idealista/properties/${propertyCode}`, { params });
3857
3873
  }
3858
- /** Get listing engagement stats. Generated from the OpenAPI spec; returns the raw response object. */
3874
+ /**
3875
+ * Get listing engagement stats.
3876
+ * @deprecated Idealista withdrew public per-ad stats on 2026-11-10; the operation is marked deprecated in the OpenAPI spec, answers an error, and will be removed in a future release.
3877
+ * Generated from the OpenAPI spec; returns the raw response object.
3878
+ */
3859
3879
  async getListingEngagementStats(propertyCode, params = {}) {
3860
3880
  return this.client.request(`/v1/idealista/properties/${propertyCode}/stats`, { params });
3861
3881
  }