@zksecurity/zkao-cli 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.
- package/dist/index.js +6 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -227,7 +227,12 @@ function removePendingLogins(deviceCodes) {
|
|
|
227
227
|
import { spawn } from "child_process";
|
|
228
228
|
import { hostname } from "os";
|
|
229
229
|
import { DEFAULT_BASE_URL } from "@zksecurity/zkao-sdk";
|
|
230
|
-
var DEFAULT_LOGIN_SCOPES = [
|
|
230
|
+
var DEFAULT_LOGIN_SCOPES = [
|
|
231
|
+
"read",
|
|
232
|
+
"scans:launch",
|
|
233
|
+
"findings:write",
|
|
234
|
+
"guidance:write"
|
|
235
|
+
];
|
|
231
236
|
function appOrigin(baseUrl) {
|
|
232
237
|
const url = new URL(baseUrl);
|
|
233
238
|
const prefix = url.pathname.replace(/\/+$/, "").replace(/\/api\/v\d+$/, "");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zksecurity/zkao-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"description": "Command-line interface for the zkao Project API",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "zkSecurity",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"prepublishOnly": "node -e \"if (!(process.env.npm_config_user_agent || '').includes('bun/')) { console.error('Publish with bun publish: npm ships the literal workspace:* dependency and breaks installs.'); process.exit(1); }\""
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@zksecurity/zkao-sdk": "0.
|
|
42
|
+
"@zksecurity/zkao-sdk": "0.19.0",
|
|
43
43
|
"commander": "^12.1.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|