@hunt-labs/bytekit-sdk 0.7.1 → 0.7.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
@@ -10,6 +10,19 @@ today, see [README.md](./README.md), which remains the authoritative usage guide
10
10
 
11
11
  ## [Unreleased]
12
12
 
13
+ ## [0.7.2] - 2026-08-17
14
+
15
+ ### Changed
16
+
17
+ - **`ScrapeResponses.202`'s headers no longer advertise `X-Raw-Bytes`, `X-Billable-Bytes`, or
18
+ `X-Billing-Multiplier`** (#3068). The gateway's async `/v1/scrape` path only ever emitted
19
+ `X-Scrape-ID` and `X-Scrape-Status: queued` on a 202 — a queued scrape has no finalized byte
20
+ charge yet — but `docs/api/openapi.yaml` documented the billing-transparency trio there too,
21
+ so `src/generated/api.d.ts` typed three response headers the runtime never sends. This corrects
22
+ the generated type to match the gateway's actual behavior; it does not change any runtime
23
+ behavior. The synchronous `200` response, and `/v1/screenshots`' `202` (which does finalize a
24
+ charge before responding), are unaffected.
25
+
13
26
  ## [0.7.1] - 2026-08-11
14
27
 
15
28
  ### Changed
@@ -508,6 +521,7 @@ against 0.1.0 — read each one before upgrading.
508
521
  `@rapidcrawl/sdk` name.
509
522
 
510
523
  [Unreleased]: https://github.com/Hunt-Labs-Inc/ByteKit/tree/main/packages/sdk-typescript
524
+ [0.7.2]: https://github.com/Hunt-Labs-Inc/ByteKit/tree/main/packages/sdk-typescript
511
525
  [0.7.1]: https://github.com/Hunt-Labs-Inc/ByteKit/tree/main/packages/sdk-typescript
512
526
  [0.7.0]: https://github.com/Hunt-Labs-Inc/ByteKit/tree/main/packages/sdk-typescript
513
527
  [0.6.2]: https://github.com/Hunt-Labs-Inc/ByteKit/tree/main/packages/sdk-typescript
@@ -3372,12 +3372,6 @@ export interface operations {
3372
3372
  "X-Scrape-ID"?: string;
3373
3373
  /** @description Always `queued` on a 202 response. */
3374
3374
  "X-Scrape-Status"?: "queued";
3375
- /** @description Upstream wire bytes (0 when not yet fetched on async paths). */
3376
- "X-Raw-Bytes"?: number;
3377
- /** @description Chargeable bytes after applying the billing multiplier. */
3378
- "X-Billable-Bytes"?: number;
3379
- /** @description Bandwidth cost multiplier applied to X-Raw-Bytes. A markdown fetch bills as fetch_md (miss 1.5, hit 0.75); a raw fetch bills 1.0 on a miss, 0.5 on a cache hit. */
3380
- "X-Billing-Multiplier"?: number;
3381
3375
  [name: string]: unknown;
3382
3376
  };
3383
3377
  content: {
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.7.1";
8
+ export declare const SDK_VERSION = "0.7.2";
package/dist/version.js CHANGED
@@ -9,4 +9,4 @@
9
9
  * outbound request carries — see the emit site in `client.ts`. The header name is spelled
10
10
  * only there, so issue #2905's pre-merge gate 1 counts exactly one occurrence in `src/`.
11
11
  */
12
- export const SDK_VERSION = '0.7.1';
12
+ export const SDK_VERSION = '0.7.2';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hunt-labs/bytekit-sdk",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "Official TypeScript SDK for the ByteKit API",
5
5
  "license": "MIT",
6
6
  "type": "module",