aboutsummaryrefslogtreecommitdiffstats
path: root/dev.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-01 22:42:15 -0700
committerAdam Soltys <[email protected]>2026-08-01 22:42:15 -0700
commit94f8f449bdce9ee66424a282ced51e2cfaddca93 (patch)
treee722906c5850560d261e7559476ed1c75b879b6d /dev.js
parent39067a27e0ce24386aa6f08c78e9a916e1c8a202 (diff)
downloadcoinosv3-94f8f449bdce9ee66424a282ced51e2cfaddca93.tar.gz
coinosv3-94f8f449bdce9ee66424a282ced51e2cfaddca93.zip
The real cause: the CORS preflight rejected our own auth header
NIP-98 puts the claim under an Authorization header, but the registrar only allowed content-type in access-control-allow-headers, so browsers blocked every claim before sending it. The failure arrived as a generic network error, which the retry logic treated as transient — hence the endless 'setting up your payment address' spinner. Bun tests never saw it because they don't preflight. Registrar now allows the header. Client-side, nothing may hang: signing, the registrar call and the ark lookup all have timeouts, retries are capped, and a one-minute watchdog always resolves the spinner into either an address or the manual form. Co-Authored-By: Claude Fable 5 <[email protected]>
Diffstat (limited to 'dev.js')
0 files changed, 0 insertions, 0 deletions