commerce-kit 0.50.0 → 0.51.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.
@@ -3010,6 +3010,11 @@ type APIProductGetByIdResult = {
3010
3010
  productName: string;
3011
3011
  productSlug: string;
3012
3012
  productImages: string[];
3013
+ options: {
3014
+ type: string;
3015
+ value: string;
3016
+ colorValue: string | null;
3017
+ }[];
3013
3018
  };
3014
3019
  }[];
3015
3020
  }[];
@@ -4792,7 +4797,7 @@ type APIOrdersBrowseResult = {
4792
4797
  };
4793
4798
  externalShipmentId: string | null;
4794
4799
  source: string | null;
4795
- stripeDeduplicationId: string | null;
4800
+ paymentDeduplicationId: string | null;
4796
4801
  ticketCode: string | null;
4797
4802
  activeSubscriptionId: string | null;
4798
4803
  packedAt: string | null;
@@ -5707,7 +5712,7 @@ type APIOrderGetByIdResult = {
5707
5712
  };
5708
5713
  externalShipmentId: string | null;
5709
5714
  source: string | null;
5710
- stripeDeduplicationId: string | null;
5715
+ paymentDeduplicationId: string | null;
5711
5716
  ticketCode: string | null;
5712
5717
  activeSubscriptionId: string | null;
5713
5718
  packedAt: string | null;
@@ -5727,7 +5732,6 @@ type APIOrderGetByIdResult = {
5727
5732
  productId: string;
5728
5733
  productVariantId: string;
5729
5734
  cadence: "month" | "week";
5730
- stripeDeduplicationId: string | null;
5731
5735
  cancelAtPeriodEnd: boolean | null;
5732
5736
  originalOrderId: string;
5733
5737
  canceledAt: Date | null;
@@ -5745,6 +5749,7 @@ type APIOrderGetByIdResult = {
5745
5749
  skippedUntil: Date | null;
5746
5750
  skipCount: number;
5747
5751
  nextBillingDate: Date | null;
5752
+ stripeDeduplicationId: string | null;
5748
5753
  } | null;
5749
5754
  } & {
5750
5755
  orderData: {
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.50.0",
4
+ "version": "0.51.0",
5
5
  "type": "module",
6
6
  "license": "AGPL-3.0-only",
7
7
  "keywords": [
@@ -55,11 +55,11 @@
55
55
  "prepublishOnly": "bun run build"
56
56
  },
57
57
  "devDependencies": {
58
- "@biomejs/biome": "2.5.0",
59
- "@types/node": "^26.0.0",
58
+ "@biomejs/biome": "2.5.2",
59
+ "@types/node": "^26.1.0",
60
60
  "@types/react": "^19.2.17",
61
61
  "@types/react-dom": "^19.0.0",
62
- "@typescript/native-preview": "7.0.0-dev.20260622.1",
62
+ "@typescript/native-preview": "7.0.0-dev.20260701.1",
63
63
  "husky": "9.1.7",
64
64
  "lint-staged": "17.0.8",
65
65
  "react": "^19.2.7",
@@ -71,11 +71,11 @@
71
71
  "zod": "^4.4.3"
72
72
  },
73
73
  "peerDependencies": {
74
- "@types/node": "^26.0.0",
74
+ "@types/node": "^26.1.0",
75
75
  "react": "^19",
76
76
  "react-dom": "^19",
77
- "typescript": "5.9.3",
78
- "@typescript/native-preview": "7.0.0-dev.20251022.1",
77
+ "typescript": "^6.0.3",
78
+ "@typescript/native-preview": "^7.0.0-dev.20260701.1",
79
79
  "zod": "^4.4.3"
80
80
  },
81
81
  "peerDependenciesMeta": {