@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
@@ -1,5 +1,11 @@
1
1
  # @scayle/storefront-core
2
2
 
3
+ ## 8.12.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Fix typo introduced in 8.12.2.
8
+
3
9
  ## 8.12.2
4
10
 
5
11
  ### Patch Changes
@@ -33,7 +33,7 @@ export declare const getUniqueItemsFromOrder: (order: Order) => {
33
33
  price: {
34
34
  appliedReductions?: {
35
35
  amount: {
36
- absolutewithTax: import("@scayle/storefront-api/dist/shared/storefront-api.CrBb99Bp").C;
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.2"}`).setProtectedHeader({ alg: "HS256", typ: "JWT" }).sign(secret);
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
- absolutewithTax: CentAmount;
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
- absolutewithTax: CentAmount;
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
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scayle/storefront-core",
3
- "version": "8.12.2",
3
+ "version": "8.12.3",
4
4
  "description": "Collection of essential utilities to work with the Storefront API",
5
5
  "author": "SCAYLE Commerce Engine",
6
6
  "license": "MIT",