Refactored the billing-event-handler.service.ts by introducing new types `UpsertSubscriptionParams` and `UpsertOrderParams` to simplify method parameters. Fixed minor bugs including the correction of an error message in lemon-squeezy-webhook-handler.service.ts and adjusting the handling of attribute types. Also updated comment in billing-webhook-handler.service.ts for better clarity.
Billing - @kit/billing
This package is responsible for managing billing and subscription related operations.
Make sure the app installs the @kit/billing package before using it.
{
"name": "my-app",
"dependencies": {
"@kit/billing": "*"
}
}