@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 +6 -0
- package/dist/index.d.mts +5 -1
- package/dist/index.d.ts +5 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
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;
|