File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
packages/backend/src/api/resources Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @clerk/backend ' : minor
3+ ---
4+
5+ [ Billing Beta] Use correct casing for past due events types.
6+
7+ - ` 'subscription.past_due' ` -> ` 'subscription.pastDue' `
8+ - ` 'subscriptionItem.past_due' ` -> ` 'subscriptionItem.pastDue' `
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ export type CommercePaymentAttemptWebhookEvent = Webhook<
7171> ;
7272
7373export type CommerceSubscriptionWebhookEvent = Webhook <
74- 'subscription.created' | 'subscription.updated' | 'subscription.active' | 'subscription.past_due ' ,
74+ 'subscription.created' | 'subscription.updated' | 'subscription.active' | 'subscription.pastDue ' ,
7575 CommerceSubscriptionWebhookEventJSON
7676> ;
7777
@@ -84,7 +84,7 @@ export type CommerceSubscriptionItemWebhookEvent = Webhook<
8484 | 'subscriptionItem.ended'
8585 | 'subscriptionItem.abandoned'
8686 | 'subscriptionItem.incomplete'
87- | 'subscriptionItem.past_due '
87+ | 'subscriptionItem.pastDue '
8888 | 'subscriptionItem.freeTrialEnding' ,
8989 CommerceSubscriptionItemWebhookEventJSON
9090> ;
You can’t perform that action at this time.
0 commit comments