@betterstore/sdk 0.3.51 → 0.3.53
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 +12 -0
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -127,7 +127,7 @@ interface LineItem {
|
|
|
127
127
|
value: string;
|
|
128
128
|
}[];
|
|
129
129
|
discountId?: string;
|
|
130
|
-
|
|
130
|
+
productData: ProductData;
|
|
131
131
|
metadata?: string;
|
|
132
132
|
}
|
|
133
133
|
interface LineItemCreate extends Omit<LineItem, "product" | "metadata"> {
|
|
@@ -204,6 +204,7 @@ interface CheckoutSession {
|
|
|
204
204
|
shipping: number | null;
|
|
205
205
|
discountAmount: number | null;
|
|
206
206
|
appliedDiscounts: {
|
|
207
|
+
amount: number;
|
|
207
208
|
discount: Discount;
|
|
208
209
|
}[];
|
|
209
210
|
currency: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -127,7 +127,7 @@ interface LineItem {
|
|
|
127
127
|
value: string;
|
|
128
128
|
}[];
|
|
129
129
|
discountId?: string;
|
|
130
|
-
|
|
130
|
+
productData: ProductData;
|
|
131
131
|
metadata?: string;
|
|
132
132
|
}
|
|
133
133
|
interface LineItemCreate extends Omit<LineItem, "product" | "metadata"> {
|
|
@@ -204,6 +204,7 @@ interface CheckoutSession {
|
|
|
204
204
|
shipping: number | null;
|
|
205
205
|
discountAmount: number | null;
|
|
206
206
|
appliedDiscounts: {
|
|
207
|
+
amount: number;
|
|
207
208
|
discount: Discount;
|
|
208
209
|
}[];
|
|
209
210
|
currency: string;
|