@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.
- package/dist/index.d.ts +3 -4
- 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
|
|
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" | "
|
|
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
|
|
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;
|