@scayle/storefront-core 8.12.2 → 8.12.3
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
|
@@ -33,7 +33,7 @@ export declare const getUniqueItemsFromOrder: (order: Order) => {
|
|
|
33
33
|
price: {
|
|
34
34
|
appliedReductions?: {
|
|
35
35
|
amount: {
|
|
36
|
-
|
|
36
|
+
absoluteWithTax: import("@scayle/storefront-api/dist/shared/storefront-api.CrBb99Bp").C;
|
|
37
37
|
relative: number;
|
|
38
38
|
};
|
|
39
39
|
category: "sale" | "campaign" | "voucher";
|
|
@@ -36,7 +36,7 @@ export const getCheckoutToken = async function getCheckoutToken2(jwtPayload = {}
|
|
|
36
36
|
carrier,
|
|
37
37
|
basketId: context.basketKey,
|
|
38
38
|
campaignKey
|
|
39
|
-
}).setIssuedAt(now).setNotBefore(now).setExpirationTime("1h").setIssuer(`${"@scayle/storefront-core"}@${"8.12.
|
|
39
|
+
}).setIssuedAt(now).setNotBefore(now).setExpirationTime("1h").setIssuer(`${"@scayle/storefront-core"}@${"8.12.3"}`).setProtectedHeader({ alg: "HS256", typ: "JWT" }).sign(secret);
|
|
40
40
|
return {
|
|
41
41
|
accessToken: refreshedAccessToken,
|
|
42
42
|
checkoutJwt
|
|
@@ -149,7 +149,7 @@ export interface Order {
|
|
|
149
149
|
*/
|
|
150
150
|
appliedReductions?: {
|
|
151
151
|
amount: {
|
|
152
|
-
|
|
152
|
+
absoluteWithTax: CentAmount;
|
|
153
153
|
/**
|
|
154
154
|
* The `rate` is calculated on the basis of the reduction in relation to the `preDiscountPrice` price.
|
|
155
155
|
*/
|
|
@@ -326,7 +326,7 @@ export interface Order {
|
|
|
326
326
|
*/
|
|
327
327
|
appliedReductions?: {
|
|
328
328
|
amount: {
|
|
329
|
-
|
|
329
|
+
absoluteWithTax: CentAmount;
|
|
330
330
|
/**
|
|
331
331
|
* The `rate` is calculated on the basis of the reduction in relation to the `preDiscountPrice` price.
|
|
332
332
|
*/
|