@kite-sa/sdk 0.9.13 → 0.9.14

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/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  Formerly `@darak-app/sdk`, which is deprecated. Versions before 0.5.0 were published under that name.
4
4
 
5
+ ## 0.9.14
6
+
7
+ - Documentation only: regenerated from the API spec, in which Eastern Province's and Qassim's towns (Dammam, Khobar, Jubail, Buraidah, Unaizah…) are cities of their own from 2026-11-28. No type changed.
8
+ - Correction to 0.9.13: `city: "eastern_province"` and `city: "qassim"` (deprecated) read the whole administrative region, the same as `region`. For Eastern Province that includes Al Ahsa, Hafar Al Batin and Al Qaysumah, which they did not include before.
9
+
5
10
  ## 0.9.13
6
11
 
7
12
  - `region` on `listings.search`, `listings.count`, `analytics.advertisers` and the market statistics that read listings (`market.summary`, `market.priceDistribution`, `market.areaDistribution`, `market.supply`, `market.vacancy`, `market.neighborhoods`): one of the 13 administrative regions (`"eastern_province"`, `"riyadh_region"`…), in place of `city`. `city` is optional on those calls; pass one of the two. The market responses' `filters` carry `region`, and `filters.city` is `string | null` (null for a region).
package/dist/index.d.ts CHANGED
@@ -49,7 +49,7 @@ export interface KiteOptions {
49
49
  }
50
50
  type Query = Record<string, string | number | boolean | readonly (string | number)[] | undefined>;
51
51
  /** Kept in step with package.json by src/index.test.ts. */
52
- export declare const VERSION = "0.9.13";
52
+ export declare const VERSION = "0.9.14";
53
53
  /** Arrays go comma-separated, as the API expects; unset values are dropped. */
54
54
  export declare function toSearchParams(query?: Query): string;
55
55
  /**
package/dist/index.js CHANGED
@@ -24,7 +24,7 @@ export class KiteError extends Error {
24
24
  }
25
25
  }
26
26
  /** Kept in step with package.json by src/index.test.ts. */
27
- export const VERSION = "0.9.13";
27
+ export const VERSION = "0.9.14";
28
28
  const USER_AGENT = `kite-sa-js/${VERSION}`;
29
29
  /** Longest Retry-After worth waiting for; anything longer (a monthly quota) throws. */
30
30
  const MAX_RETRY_WAIT_S = 60;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kite-sa/sdk",
3
- "version": "0.9.13",
3
+ "version": "0.9.14",
4
4
  "description": "Official JavaScript/TypeScript client for the Kite API: Saudi real-estate listings and market data.",
5
5
  "license": "MIT",
6
6
  "type": "module",