@kite-sa/sdk 0.11.1 → 0.11.2

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
@@ -4,6 +4,10 @@ Formerly `@darak-app/sdk`, which is deprecated. Versions before 0.5.0 were publi
4
4
 
5
5
  Releases after 0.9.15 are written as change notes and added to this file when the package is published; in the source repository they can still be notes under `changes/`.
6
6
 
7
+ ## 0.11.2
8
+
9
+ - Docs: the `max_age` filter on the listing, listing-count and advertiser calls is checked against building permits in every city, not only Riyadh; an age of 11 means more than 10 years.
10
+
7
11
  ## 0.11.1
8
12
 
9
13
  - `projects.search` takes `parent_project_id` (only the phases of that project) and returns `phase` (`parent_project_id` and `key`, the phase letter) on each project; `projects.get` returns `phase` and `phases` (a parent's phases, `project_id` and `key`, by letter).
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.11.1";
52
+ export declare const VERSION = "0.11.2";
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.11.1";
27
+ export const VERSION = "0.11.2";
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.11.1",
3
+ "version": "0.11.2",
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",