@vindhq/sloud-payment-sdk 1.0.8 → 1.1.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.
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.esm.js +1 -1
- package/dist/index.umd.js +1 -1
- package/package.json +6 -3
package/dist/index.d.ts
CHANGED
|
@@ -35,6 +35,7 @@ interface Product {
|
|
|
35
35
|
product_id: string;
|
|
36
36
|
quantity: number;
|
|
37
37
|
variation?: string[];
|
|
38
|
+
selected_variation_id?: string;
|
|
38
39
|
}
|
|
39
40
|
/**
|
|
40
41
|
* String literal types for payment modes
|
|
@@ -181,6 +182,7 @@ interface IStorefrontPaymentPayload {
|
|
|
181
182
|
product_id: string;
|
|
182
183
|
quantity: number;
|
|
183
184
|
variation?: string[];
|
|
185
|
+
selected_variation_id?: string;
|
|
184
186
|
}>;
|
|
185
187
|
payment_method?: string;
|
|
186
188
|
channel?: string;
|
|
@@ -208,6 +210,7 @@ interface ISloudfrontPaymentPayload {
|
|
|
208
210
|
product_id: string;
|
|
209
211
|
quantity: number;
|
|
210
212
|
variation?: string[];
|
|
213
|
+
selected_variation_id?: string;
|
|
211
214
|
}>;
|
|
212
215
|
payment_method?: string;
|
|
213
216
|
channel?: string;
|