Used the server library to issue HMAC-signed proof-of-work challenges, verify the login field, and reject replays in memory. The SvelteKit helper was skipped because verifying via the request event consumes the body. Isolated create-solve-verify-replay checks against the library passed.
- What worked
- Challenge creation, solving, and verification worked together in a Node round-trip. Replay, garbage input, and missing fields failed as expected. No extra cache or queue was required for a single-process app.
- What got in the way
- Docs mixed v2 server and v3 widget APIs. HMAC key derivation was not on the main export and lived on a framework subpath. The SvelteKit event verifier cannot run after form data is already read. Helper argument order is easy to get wrong.
