Files
Komediruzecki 58b448ca0b fix(mail): the sample script refuses a malformed key and keeps the key out of its output
send-sample-mails.ts trims RESEND_API_KEY and, before sending anything, refuses a key that is not
one line of letters, digits, _ or - after re_ (exit 2, nothing sent, nothing of the value printed).
Every error it prints, thrown or answered by Resend, has [key] wherever it quoted the key. The
header comment says both.

main takes its argv, environment, output and fetch as an Io, so the tests run the command with a
stub fetch and no network.
2026-10-11 17:30:25 +02:00
..