@zksecurity/zkao-sdk 0.11.0-next.3 → 0.11.1-next.4

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +3 -4
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -167,8 +167,7 @@ interface paths {
167
167
  * scanned commit, and requires `baseCommit`. Every other preset refuses
168
168
  * it. A malformed, unknown, or misplaced base is a `400` with code
169
169
  * `diff_base_required`, `diff_base_not_allowed`, or `diff_base_invalid`.
170
- * A diff scan also needs an earlier full scan of the branch, and a
171
- * change to audit (otherwise `422`).
170
+ * A diff scan also needs a change to audit (otherwise `422`).
172
171
  */
173
172
  post: operations["launchScan"];
174
173
  delete?: never;
@@ -529,7 +528,7 @@ interface components {
529
528
  Error: {
530
529
  error: {
531
530
  /** @enum {string} */
532
- code: "unauthorized" | "forbidden" | "not_found" | "bad_request" | "conflict" | "insufficient_credits" | "repository_initializing" | "diff_base_required" | "diff_base_not_allowed" | "diff_base_invalid" | "diff_empty" | "diff_overview_missing" | "rate_limited" | "internal";
531
+ code: "unauthorized" | "forbidden" | "not_found" | "bad_request" | "conflict" | "insufficient_credits" | "repository_initializing" | "diff_base_required" | "diff_base_not_allowed" | "diff_base_invalid" | "diff_empty" | "rate_limited" | "internal";
533
532
  message: string;
534
533
  };
535
534
  };
@@ -838,7 +837,7 @@ interface components {
838
837
  "application/json": components["schemas"]["Error"];
839
838
  };
840
839
  };
841
- /** @description The diff scan cannot run on this repository yet. Code `diff_empty`: the base and the scanned commit have no change between them. Code `diff_overview_missing`: no earlier full scan of the branch (or the default branch) exists to compare against. Run a full scan first. */
840
+ /** @description The diff scan has nothing to audit. Code `diff_empty`: the base and the scanned commit have no change between them. */
842
841
  DiffUnavailable: {
843
842
  headers: {
844
843
  [name: string]: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zksecurity/zkao-sdk",
3
- "version": "0.11.0-next.3",
3
+ "version": "0.11.1-next.4",
4
4
  "description": "TypeScript SDK for the zkao Project API",
5
5
  "license": "MIT",
6
6
  "author": "zkSecurity",