zyntry-verdict 0.1.2 → 0.1.3
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/bin/zv.mjs +2 -1
- package/package.json +2 -1
package/bin/zv.mjs
CHANGED
|
@@ -368,10 +368,11 @@ function renderStream() {
|
|
|
368
368
|
// --- commands -----------------------------------------------------------------
|
|
369
369
|
|
|
370
370
|
async function cmdSignup(flags) {
|
|
371
|
+
const email = typeof flags.email === "string" ? flags.email.trim() : "";
|
|
371
372
|
const res = await fetch(`${gatewayUrl(flags)}/v1/keys`, {
|
|
372
373
|
method: "POST",
|
|
373
374
|
headers: { "Content-Type": "application/json" },
|
|
374
|
-
body: JSON.stringify({ label: "cli" }),
|
|
375
|
+
body: JSON.stringify({ label: "cli", ...(email ? { email } : {}) }),
|
|
375
376
|
});
|
|
376
377
|
const body = await res.json();
|
|
377
378
|
if (!res.ok) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zyntry-verdict",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Thin client for the Zyntry Verdict hosted AI courtroom — submit code, watch the adversarial courtroom stream live, get a verdict that can withstand scrutiny.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -31,3 +31,4 @@
|
|
|
31
31
|
"node": ">=18"
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
+
|