Skip to content

v0.24.0

Choose a tag to compare

@cport1 cport1 released this 13 Nov 18:18
08261e7

Clearance fixes for multi-tab sessions and the API recovery helper.

  • Renewal is spread across tabs. Tabs share one clearance cookie and used to reach the same renewal instant, so each could mint. Each page now renews at a random point between 120 and 180 seconds before expiry (for a 30-minute token), so one tab's renewal usually covers the others.
  • createClearanceFetch reports recovery-succeeded when the retry passes the clearance gate, whatever the origin answers. The origin's status is still reported as the enforcement-outcome status. A retry that is challenged again is still recovery-failed.

See CHANGELOG.md.