commerce-kit 0.43.0 → 0.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3465,6 +3465,7 @@ type APICartAddResult = unknown;
3465
3465
  type APICartCreateBody = {
3466
3466
  variantId: string;
3467
3467
  quantity: number;
3468
+ mode?: "set" | "add" | undefined;
3468
3469
  cartId?: string | undefined;
3469
3470
  subscriptionPlanId?: string | null | undefined;
3470
3471
  currency?: string | undefined;
@@ -4305,6 +4306,7 @@ type APIOrdersBrowseResult = {
4305
4306
  customerId: string | null;
4306
4307
  lookup: number;
4307
4308
  cartId: string | null;
4309
+ externalId: string | null;
4308
4310
  orderData: {
4309
4311
  id: string;
4310
4312
  storeId: string;
@@ -4730,6 +4732,7 @@ type APIOrdersBrowseResult = {
4730
4732
  }[] | null;
4731
4733
  };
4732
4734
  externalShipmentId: string | null;
4735
+ source: string | null;
4733
4736
  stripeDeduplicationId: string | null;
4734
4737
  activeSubscriptionId: string | null;
4735
4738
  } & {
@@ -5176,6 +5179,7 @@ type APIOrderGetByIdResult = {
5176
5179
  customerId: string | null;
5177
5180
  lookup: number;
5178
5181
  cartId: string | null;
5182
+ externalId: string | null;
5179
5183
  orderData: {
5180
5184
  id: string;
5181
5185
  storeId: string;
@@ -5601,6 +5605,7 @@ type APIOrderGetByIdResult = {
5601
5605
  }[] | null;
5602
5606
  };
5603
5607
  externalShipmentId: string | null;
5608
+ source: string | null;
5604
5609
  stripeDeduplicationId: string | null;
5605
5610
  activeSubscriptionId: string | null;
5606
5611
  activeSubscription: {
@@ -5608,7 +5613,7 @@ type APIOrderGetByIdResult = {
5608
5613
  createdAt: string;
5609
5614
  updatedAt: string;
5610
5615
  interval: number;
5611
- status: "active" | "incomplete" | "canceled" | "past_due" | "unpaid" | "paused" | "incomplete_expired" | "trialing";
5616
+ status: "active" | "incomplete" | "canceled" | "trialing" | "past_due" | "paused" | "unpaid" | "incomplete_expired";
5612
5617
  stripeCustomerId: string | null;
5613
5618
  environment: "live" | "test";
5614
5619
  stripeSubscriptionId: string;
@@ -5618,10 +5623,10 @@ type APIOrderGetByIdResult = {
5618
5623
  productVariantId: string;
5619
5624
  cadence: "month" | "week";
5620
5625
  stripeDeduplicationId: string | null;
5626
+ cancelAtPeriodEnd: boolean | null;
5621
5627
  originalOrderId: string;
5622
5628
  canceledAt: Date | null;
5623
5629
  cancelAt: Date | null;
5624
- cancelAtPeriodEnd: boolean | null;
5625
5630
  cancellationDetails: {
5626
5631
  comment?: string | null;
5627
5632
  feedback?: string | null;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package",
3
3
  "name": "commerce-kit",
4
- "version": "0.43.0",
4
+ "version": "0.44.0",
5
5
  "type": "module",
6
6
  "license": "AGPL-3.0-only",
7
7
  "keywords": [