@zksecurity/zkao-sdk 0.18.0-next.13 → 0.19.0

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 -3
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -235,7 +235,7 @@ interface paths {
235
235
  put?: never;
236
236
  /**
237
237
  * Cancel a running or queued scan
238
- * @description Requires scope: `scans:launch`. Signals any in-flight jobs to stop, marks the scan CANCELLED, and releases its reserved credits (in-flight jobs settle their actual spend as they wind down). A scan that already reached COMPLETED or FAILED cannot be cancelled (`400`).
238
+ * @description Requires scope: `scans:launch`. Signals any in-flight jobs to stop, marks the scan CANCELLED, and releases its reserved credits (in-flight jobs settle their actual spend as they wind down). A scan that already reached COMPLETED or FAILED cannot be cancelled (`400`). Cancellation remains available when the organization has no available credits.
239
239
  */
240
240
  post: operations["cancelScan"];
241
241
  delete?: never;
@@ -543,7 +543,7 @@ interface paths {
543
543
  put?: never;
544
544
  /**
545
545
  * Publish a finding as a public artifact
546
- * @description Requires scope: `publish`. Pin a note as the published note via `noteId`.
546
+ * @description Requires scope: `publish`. Pin a note as the published note via `noteId`. An omitted body uses defaults. A nonempty body must be valid JSON or the request returns 400 without publishing.
547
547
  */
548
548
  post: operations["publishFinding"];
549
549
  delete?: never;
@@ -563,7 +563,7 @@ interface paths {
563
563
  put?: never;
564
564
  /**
565
565
  * Publish a scan as a public artifact
566
- * @description Requires scope: `publish`. The scan must be COMPLETED.
566
+ * @description Requires scope: `publish`. The scan must be COMPLETED. An omitted body uses defaults. A nonempty body must be valid JSON or the request returns 400 without publishing.
567
567
  */
568
568
  post: operations["publishScan"];
569
569
  delete?: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zksecurity/zkao-sdk",
3
- "version": "0.18.0-next.13",
3
+ "version": "0.19.0",
4
4
  "description": "TypeScript SDK for the zkao Project API",
5
5
  "license": "MIT",
6
6
  "author": "zkSecurity",