Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Fix create checkout logic #6

Merged
merged 8 commits into from
Mar 10, 2023
Merged

Fix create checkout logic #6

merged 8 commits into from
Mar 10, 2023

Conversation

NuroDev
Copy link
Owner

@NuroDev NuroDev commented Mar 9, 2023

What's been changed?

  • Updated LemonsqueezyOptions to take an optional generic to set the type of the data property
  • Fixed multiple checkout types to be optional rather than required
  • Added new LemonsqueezyCheckoutPreview type
  • Updated LemonsqueezyCheckout to add new preview property
    • Needs documentation comment adding
  • Updated CreateCheckoutOptions type to manually write out / type properties
  • Added new CreateCheckoutBody type to type the POST request body
  • Improved core error handling

What still needs to be done

  • Update checkout tests
    • Creating a checkout
    • Retrieve a checkout using the newly created one above

@NuroDev NuroDev added the bug fix label Mar 9, 2023
@NuroDev NuroDev self-assigned this Mar 9, 2023
@NuroDev NuroDev marked this pull request as ready for review March 10, 2023 00:46
@NuroDev NuroDev merged commit 937932e into main Mar 10, 2023
@NuroDev NuroDev deleted the fix/create-checkout branch March 10, 2023 01:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant