cascrow-cli 1.2.1 → 1.2.2
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/README.md +1 -1
- package/index.js +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/index.js
CHANGED
|
@@ -60,7 +60,8 @@ async function uploadProof(milestoneId, filename, content, key = API_KEY) {
|
|
|
60
60
|
// Stream verify via SSE — used by the legacy two-step `submit` + `verify --proof <id>` flow
|
|
61
61
|
async function streamVerify(proofId, key = API_KEY) {
|
|
62
62
|
const controller = new AbortController();
|
|
63
|
-
|
|
63
|
+
// Below the 240s maxDuration of /api/verify — see src/lib/latency-budget.ts.
|
|
64
|
+
const timeout = setTimeout(() => controller.abort(), 200_000);
|
|
64
65
|
|
|
65
66
|
let res;
|
|
66
67
|
try {
|