Skip to content

0.1.22

Choose a tag to compare

@github-actions github-actions released this 15 Mar 05:23
· 37 commits to master since this release
Add auth.getToken() for proactive token refresh before API calls

The auth store now exposes getToken() which checks the JWT expiry and
proactively refreshes if the token is within 30 seconds of expiring.
This eliminates the wasted 401 round trip when joining voice channels
with a stale token. Also deduplicates concurrent refresh calls.