javascript
javascript copied to clipboard
feat(backend, clerk-js): Support origin outage mode
Description
Checklist
- [x]
pnpm testruns as expected. - [x]
pnpm buildruns as expected. - [ ] (If applicable) JSDoc comments have been added or updated for any package exports
- [ ] (If applicable) Documentation has been updated
Type of change
- [ ] 🐛 Bug fix
- [ ] 🌟 New feature
- [ ] 🔨 Breaking change
- [ ] 📖 Refactoring / dependency upgrade / documentation
- [ ] other:
Summary by CodeRabbit
-
New Features
- Added origin outage mode support for improved reliability during token expiration scenarios, enabling automatic retry with last active token when applicable.
-
Tests
- Added comprehensive test coverage for origin outage fallback behavior and token retry logic.
✏️ Tip: You can customize this high-level summary in your review settings.