@betterstore/sdk 0.3.14 → 0.3.15

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @betterstore/sdk
2
2
 
3
+ ## 0.3.15
4
+
5
+ ### Patch Changes
6
+
7
+ - optional product added to line item
8
+
3
9
  ## 0.3.14
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -88,6 +88,7 @@ interface LineItem {
88
88
  value: string;
89
89
  }[];
90
90
  discountId?: string;
91
+ product?: Pick<Product, "title" | "priceInCents" | "images">;
91
92
  metadata?: string;
92
93
  }
93
94
  interface CheckoutCreateParams {
package/dist/index.d.ts CHANGED
@@ -88,6 +88,7 @@ interface LineItem {
88
88
  value: string;
89
89
  }[];
90
90
  discountId?: string;
91
+ product?: Pick<Product, "title" | "priceInCents" | "images">;
91
92
  metadata?: string;
92
93
  }
93
94
  interface CheckoutCreateParams {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@betterstore/sdk",
3
- "version": "0.3.14",
3
+ "version": "0.3.15",
4
4
  "description": "E-commerce for Developers",
5
5
  "private": false,
6
6
  "publishConfig": {