@betterstore/sdk 0.3.54 → 0.3.56
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 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -205,6 +205,7 @@ interface CheckoutSession {
|
|
|
205
205
|
discountAmount: number | null;
|
|
206
206
|
appliedDiscounts: {
|
|
207
207
|
amount: number;
|
|
208
|
+
allowedProductIDs: string[];
|
|
208
209
|
discount: Discount;
|
|
209
210
|
}[];
|
|
210
211
|
currency: string;
|
|
@@ -249,6 +250,7 @@ declare class Checkout {
|
|
|
249
250
|
generatePaymentSecret(checkoutId: string): Promise<{
|
|
250
251
|
paymentSecret: string;
|
|
251
252
|
publicKey: string;
|
|
253
|
+
checkoutSession: CheckoutSession;
|
|
252
254
|
}>;
|
|
253
255
|
}
|
|
254
256
|
|
package/dist/index.d.ts
CHANGED
|
@@ -205,6 +205,7 @@ interface CheckoutSession {
|
|
|
205
205
|
discountAmount: number | null;
|
|
206
206
|
appliedDiscounts: {
|
|
207
207
|
amount: number;
|
|
208
|
+
allowedProductIDs: string[];
|
|
208
209
|
discount: Discount;
|
|
209
210
|
}[];
|
|
210
211
|
currency: string;
|
|
@@ -249,6 +250,7 @@ declare class Checkout {
|
|
|
249
250
|
generatePaymentSecret(checkoutId: string): Promise<{
|
|
250
251
|
paymentSecret: string;
|
|
251
252
|
publicKey: string;
|
|
253
|
+
checkoutSession: CheckoutSession;
|
|
252
254
|
}>;
|
|
253
255
|
}
|
|
254
256
|
|
package/dist/index.js
CHANGED
package/dist/index.mjs
CHANGED