NuroDev / lemonsqueezy.ts

🍋 JavaScript / TypeScript SDK for the Lemon Squeezy API
https://paka.dev/npm/lemonsqueezy.ts
MIT License
159 stars 16 forks source link

Improve types to reflect optional fields #21

Closed louisjrdev closed 1 year ago

louisjrdev commented 1 year ago

I was using this module and noticed that there are some required fields in the types that are actuall optional on the API for the checkout (most of the fields are optional)

So this is just an update to relect that.

Here is a quick link to the docs for the checkout if you want to confirm: https://docs.lemonsqueezy.com/api/checkouts#create-a-checkout

louisjrdev commented 1 year ago

Oh nevermind, its been sorted in an open PR #20