@betterstore/sdk 0.3.68 → 0.3.69

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.69
4
+
5
+ ### Patch Changes
6
+
7
+ - bug fixes
8
+
3
9
  ## 0.3.68
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -138,7 +138,11 @@ interface LineItem {
138
138
  productData: ProductData;
139
139
  metadata?: string;
140
140
  }
141
- interface LineItemCreate extends Omit<LineItem, "productData" | "product" | "metadata"> {
141
+ interface LineItemCreate extends Omit<LineItem, "productData" | "product" | "metadata" | "variantOptions"> {
142
+ variantOptions?: {
143
+ name: string;
144
+ value: string;
145
+ }[];
142
146
  productId: string;
143
147
  product?: Pick<Product, "title" | "priceInCents" | "images">;
144
148
  metadata?: RecursiveRecord;
package/dist/index.d.ts CHANGED
@@ -138,7 +138,11 @@ interface LineItem {
138
138
  productData: ProductData;
139
139
  metadata?: string;
140
140
  }
141
- interface LineItemCreate extends Omit<LineItem, "productData" | "product" | "metadata"> {
141
+ interface LineItemCreate extends Omit<LineItem, "productData" | "product" | "metadata" | "variantOptions"> {
142
+ variantOptions?: {
143
+ name: string;
144
+ value: string;
145
+ }[];
142
146
  productId: string;
143
147
  product?: Pick<Product, "title" | "priceInCents" | "images">;
144
148
  metadata?: RecursiveRecord;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@betterstore/sdk",
3
- "version": "0.3.68",
3
+ "version": "0.3.69",
4
4
  "description": "E-commerce for Developers",
5
5
  "private": false,
6
6
  "publishConfig": {