Better auth polar#295
Merged
Merged
Conversation
- Refactor subscription access logic to provide detailed status and reasons for access. - Implement usage sync scheduler to periodically sync usage events with Polar. - Update Polar webhook handlers to manage subscription events more effectively. - Introduce advisory locking for usage sync to prevent concurrent executions. - Add tests for subscription access status and webhook handling. - Update environment variables for usage sync configuration. - Improve error handling and logging throughout the subscription and usage sync processes.
- Add PATCH endpoint for billing settings with validation for spending limits. - Update SpendingLimits component to handle limit input validation. - Enhance billing settings service to manage notifications for spending thresholds. - Introduce new resource type "ai" in billing schema and related services. - Implement webhook handlers for subscription lifecycle events, including past due status. - Update tests to cover new functionality and ensure proper behavior of billing settings and notifications.
- Introduced "blocked" status in job and test status handling. - Enhanced event mapping to include blocked status. - Updated API responses to return detailed billing block messages. - Implemented billing block checks in job triggering and execution flows. - Added utility functions for billing error formatting and response building. - Updated UI components to display blocked status and messages appropriately. - Modified tests to cover new blocked status scenarios.
- bump nodemailer from 8.0.4 to 8.0.11 - bump tar from 7.5.11 to 7.5.16 - add @babel/core override to ^7.29.7 - add form-data override to >=4.0.6 - bump esbuild from >=0.25.0 to ^0.28.1
|
📚 Docs Preview: https://c43a2d66.supercheck.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.