@hunt-labs/bytekit-sdk 0.11.0 → 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 +19 -0
- package/dist/generated/api.d.ts +9 -7
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,25 @@ today, see [README.md](./README.md), which remains the authoritative usage guide
|
|
|
10
10
|
|
|
11
11
|
## [Unreleased]
|
|
12
12
|
|
|
13
|
+
## [0.11.2] - 2026-09-18
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
|
|
17
|
+
- Regenerated `src/generated/api.d.ts` (#4582): bulk item `billing` is `BillingNode | null`.
|
|
18
|
+
- Regenerated `src/generated/api.d.ts` (#4584): `POST /v1/schema` now rejects slow-path
|
|
19
|
+
rendering options (`wait_until=networkidle`, `delay_ms`, `wait_for_selector`, cookies, custom
|
|
20
|
+
headers) with error code `unsupported_option` instead of `unsupported_url`, still HTTP 400.
|
|
21
|
+
`unsupported_url` is removed from the API and has no other emitter; a client matching on it
|
|
22
|
+
must match `unsupported_option` for this case. Doc comments only; no SDK signature moves.
|
|
23
|
+
|
|
24
|
+
## [0.11.1] - 2026-09-17
|
|
25
|
+
|
|
26
|
+
### Changed
|
|
27
|
+
|
|
28
|
+
- Regenerated `src/generated/api.d.ts` (#4563): the internal `listBulk` operation's `status`
|
|
29
|
+
query parameter and list-item `status` now admit `cancelled`. Additive; no SDK method calls
|
|
30
|
+
`listBulk`, so no published signature moves.
|
|
31
|
+
|
|
13
32
|
## [0.11.0] - 2026-09-14
|
|
14
33
|
|
|
15
34
|
### Added
|
package/dist/generated/api.d.ts
CHANGED
|
@@ -637,7 +637,7 @@ export interface paths {
|
|
|
637
637
|
* @description Fetches `url` and extracts structured JSON conforming to the supplied
|
|
638
638
|
* JSON Schema (draft 2020-12) using an LLM. Fast-path only — slow-path
|
|
639
639
|
* rendering options (`wait_until=networkidle`, `delay_ms`,
|
|
640
|
-
* `wait_for_selector`) cause a `400
|
|
640
|
+
* `wait_for_selector`) cause a `400 unsupported_option`.
|
|
641
641
|
*
|
|
642
642
|
* Dual-axis billing: a fixed per-request credit charge **plus** the
|
|
643
643
|
* underlying page's bandwidth, billed exactly like `/v1/scrape`. The
|
|
@@ -4606,7 +4606,7 @@ export interface operations {
|
|
|
4606
4606
|
limit?: components["parameters"]["LimitParam"];
|
|
4607
4607
|
/** @description Pagination cursor from a previous response. */
|
|
4608
4608
|
cursor?: components["parameters"]["CursorParam"];
|
|
4609
|
-
status?: "processing" | "completed" | "failed";
|
|
4609
|
+
status?: "processing" | "completed" | "failed" | "cancelled";
|
|
4610
4610
|
};
|
|
4611
4611
|
header?: never;
|
|
4612
4612
|
path?: never;
|
|
@@ -4627,7 +4627,7 @@ export interface operations {
|
|
|
4627
4627
|
/** @example bulk_01j9abc123 */
|
|
4628
4628
|
id: string;
|
|
4629
4629
|
/** @enum {string} */
|
|
4630
|
-
status: "processing" | "completed" | "failed";
|
|
4630
|
+
status: "processing" | "completed" | "failed" | "cancelled";
|
|
4631
4631
|
total: number;
|
|
4632
4632
|
completed: number;
|
|
4633
4633
|
failed: number;
|
|
@@ -5078,10 +5078,12 @@ export interface operations {
|
|
|
5078
5078
|
credits_charged?: number | null;
|
|
5079
5079
|
/**
|
|
5080
5080
|
* @description Itemised account of this item's charge — the basis, the named factors
|
|
5081
|
-
* that composed the multiplier, and the resulting billed bytes.
|
|
5082
|
-
*
|
|
5081
|
+
* that composed the multiplier, and the resulting billed bytes. `null`
|
|
5082
|
+
* while `status` is not `completed` — the charge is not final yet, and
|
|
5083
|
+
* the key is present so an item keeps the same shape on every poll.
|
|
5084
|
+
* Omitted for rows that completed before the billing node was persisted.
|
|
5083
5085
|
*/
|
|
5084
|
-
billing?: components["schemas"]["BillingNode"];
|
|
5086
|
+
billing?: components["schemas"]["BillingNode"] | null;
|
|
5085
5087
|
error_code: string | null;
|
|
5086
5088
|
/** @description Bounded human-readable failure detail. */
|
|
5087
5089
|
error_message: string | null;
|
|
@@ -5781,7 +5783,7 @@ export interface operations {
|
|
|
5781
5783
|
};
|
|
5782
5784
|
};
|
|
5783
5785
|
};
|
|
5784
|
-
/** @description Invalid URL (`invalid_url`), unsupported model (`unsupported_model`), or slow-path
|
|
5786
|
+
/** @description Invalid URL (`invalid_url`), unsupported model (`unsupported_model`), or unsupported slow-path option (`unsupported_option`). */
|
|
5785
5787
|
400: {
|
|
5786
5788
|
headers: {
|
|
5787
5789
|
[name: string]: unknown;
|
package/dist/version.d.ts
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* outbound request carries — see the emit site in `client.ts`. The header name is spelled
|
|
6
6
|
* only there, so issue #2905's pre-merge gate 1 counts exactly one occurrence in `src/`.
|
|
7
7
|
*/
|
|
8
|
-
export declare const SDK_VERSION = "0.11.
|
|
8
|
+
export declare const SDK_VERSION = "0.11.2";
|
package/dist/version.js
CHANGED