@kite-sa/sdk 0.9.11 → 0.9.12
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 +4 -0
- package/dist/generated.d.ts +1 -3
- package/dist/generated.js +1 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
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.12
|
|
6
|
+
|
|
7
|
+
- Documentation only: regenerated from the API spec, in which GET /market/property-index (`official.marketIndex`) serves the `land_registered` and `home_registered` series again from 2026-11-28, now that REGA has approved reuse of its Real Estate Indicators. No type changed.
|
|
8
|
+
|
|
5
9
|
## 0.9.11
|
|
6
10
|
|
|
7
11
|
- Webhook project events: `project.created`, `project.licence_issued`, `project.status_changed`, `project.price_changed`, `project.sold_out` and `project.handover_changed`, typed and accepted by `parseWebhookEvent`. Webhook filters take `developer`, `project_ids` and `town` for project events.
|
package/dist/generated.d.ts
CHANGED
|
@@ -1026,9 +1026,7 @@ export declare function createEndpoints(request: Request): {
|
|
|
1026
1026
|
/**
|
|
1027
1027
|
* Kite Property Index. **Free on every plan (0 units).** Series built on Saudi
|
|
1028
1028
|
* open data are served under the Saudi Open Data License v2.0 with attribution:
|
|
1029
|
-
* show `attribution.notice` wherever you display or pass on those figures.
|
|
1030
|
-
* Kite Property Index, as published: the series of a **published monthly
|
|
1031
|
-
* release**, frozen when it was released.
|
|
1029
|
+
* show `attribution.notice` wherever you display or pass on those figures.
|
|
1032
1030
|
*/
|
|
1033
1031
|
readonly marketIndex: (params?: QueryOf<"official.market_index">) => Promise<{
|
|
1034
1032
|
data: {
|
package/dist/generated.js
CHANGED
|
@@ -218,9 +218,7 @@ export function createEndpoints(request) {
|
|
|
218
218
|
/**
|
|
219
219
|
* Kite Property Index. **Free on every plan (0 units).** Series built on Saudi
|
|
220
220
|
* open data are served under the Saudi Open Data License v2.0 with attribution:
|
|
221
|
-
* show `attribution.notice` wherever you display or pass on those figures.
|
|
222
|
-
* Kite Property Index, as published: the series of a **published monthly
|
|
223
|
-
* release**, frozen when it was released.
|
|
221
|
+
* show `attribution.notice` wherever you display or pass on those figures.
|
|
224
222
|
*/
|
|
225
223
|
marketIndex: (params) => request("GET", "/market/property-index", {
|
|
226
224
|
query: (params ?? {}),
|
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.
|
|
52
|
+
export declare const VERSION = "0.9.12";
|
|
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.
|
|
27
|
+
export const VERSION = "0.9.12";
|
|
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;
|