From 2e9beae1c86c3ec521a442246bffec1694189824 Mon Sep 17 00:00:00 2001 From: Caven Date: Wed, 12 Jun 2024 00:15:49 +0800 Subject: [PATCH] Add subscription `status` type `incomplete` (#86) * fix(#83): add subscription status type incomplete * docs: add changeset --------- Co-authored-by: Branko Conjic --- .changeset/sour-bears-kneel.md | 5 +++++ src/subscriptions/types.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/sour-bears-kneel.md diff --git a/.changeset/sour-bears-kneel.md b/.changeset/sour-bears-kneel.md new file mode 100644 index 0000000..88148a9 --- /dev/null +++ b/.changeset/sour-bears-kneel.md @@ -0,0 +1,5 @@ +--- +"@lemonsqueezy/lemonsqueezy.js": patch +--- + +Add subscription `status` type `incomplete` diff --git a/src/subscriptions/types.ts b/src/subscriptions/types.ts index 1b251be..eb09b12 100644 --- a/src/subscriptions/types.ts +++ b/src/subscriptions/types.ts @@ -15,7 +15,7 @@ type SubscriptionStatus = | "unpaid" | "cancelled" | "expired" - | "cancelled"; + | "incomplete"; type CardBrand = | "visa" | "mastercard"