File tree Expand file tree Collapse file tree 3 files changed +6
-9
lines changed
Expand file tree Collapse file tree 3 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @clerk/clerk-js ' : patch
3+ ' @clerk/types ' : patch
4+ ---
5+
6+ Remove unused properties from proration response in checkout
Original file line number Diff line number Diff line change @@ -33,12 +33,6 @@ export const commerceTotalsFromJSON = <
3333 if ( 'proration' in data ) {
3434 // @ts -ignore
3535 totals [ 'proration' ] = {
36- // @ts -ignore
37- days : data . proration . days ,
38- // @ts -ignore
39- ratePerDay : commerceMoneyFromJSON ( data . proration . rate_per_day ) ,
40- // @ts -ignore
41- totalProration : commerceMoneyFromJSON ( data . proration . total_proration ) ,
4236 // @ts -ignore
4337 credit : commerceMoneyFromJSON ( data . proration . credit ) ,
4438 } ;
Original file line number Diff line number Diff line change @@ -148,9 +148,6 @@ export interface __experimental_CommerceCheckoutTotals {
148148 taxTotal : __experimental_CommerceMoney ;
149149 totalDueNow : __experimental_CommerceMoney ;
150150 proration ?: {
151- days : number ;
152- ratePerDay : __experimental_CommerceMoney ;
153- totalProration : __experimental_CommerceMoney ;
154151 credit : __experimental_CommerceMoney ;
155152 } ;
156153}
You can’t perform that action at this time.
0 commit comments