@scayle/storefront-core 8.1.4 → 8.1.5

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,13 @@
1
1
  # @scayle/storefront-core
2
2
 
3
+ ## 8.1.5
4
+
5
+ ### Patch Changes
6
+
7
+ **Dependencies**
8
+
9
+ - Updated dependency to @scayle/storefront-api@17.15.0
10
+
3
11
  ## 8.1.4
4
12
 
5
13
  ### Patch Changes
@@ -37,7 +37,7 @@ const getCheckoutToken = exports.getCheckoutToken = async function getCheckoutTo
37
37
  carrier,
38
38
  basketId: context.basketKey,
39
39
  campaignKey: context.campaignKey
40
- }).setIssuedAt(now).setNotBefore(now).setExpirationTime("1h").setIssuer(`${"@scayle/storefront-core"}@${"8.1.4"}`).setProtectedHeader({
40
+ }).setIssuedAt(now).setNotBefore(now).setExpirationTime("1h").setIssuer(`${"@scayle/storefront-core"}@${"8.1.5"}`).setProtectedHeader({
41
41
  alg: "HS256",
42
42
  typ: "JWT"
43
43
  }).sign(secret);
@@ -35,7 +35,7 @@ export const getCheckoutToken = async function getCheckoutToken2(jwtPayload = {}
35
35
  carrier,
36
36
  basketId: context.basketKey,
37
37
  campaignKey: context.campaignKey
38
- }).setIssuedAt(now).setNotBefore(now).setExpirationTime("1h").setIssuer(`${"@scayle/storefront-core"}@${"8.1.4"}`).setProtectedHeader({ alg: "HS256", typ: "JWT" }).sign(secret);
38
+ }).setIssuedAt(now).setNotBefore(now).setExpirationTime("1h").setIssuer(`${"@scayle/storefront-core"}@${"8.1.5"}`).setProtectedHeader({ alg: "HS256", typ: "JWT" }).sign(secret);
39
39
  return {
40
40
  accessToken: refreshedAccessToken,
41
41
  checkoutJwt
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scayle/storefront-core",
3
- "version": "8.1.4",
3
+ "version": "8.1.5",
4
4
  "description": "Collection of essential utilities to work with the Storefront API",
5
5
  "author": "SCAYLE Commerce Engine",
6
6
  "license": "MIT",
@@ -68,10 +68,10 @@
68
68
  "package:lint": "publint",
69
69
  "test:watch": "vitest --passWithNoTests",
70
70
  "test": "vitest --run --passWithNoTests",
71
- "test:ci": "vitest --run --passWithNoTests --coverage --reporter=default --reporter=junit --outputFile=./junit.xml"
71
+ "test:ci": "vitest --run --passWithNoTests --coverage --reporter=default --reporter=junit --outputFile=./coverage/junit.xml"
72
72
  },
73
73
  "dependencies": {
74
- "@scayle/storefront-api": "17.14.1",
74
+ "@scayle/storefront-api": "17.15.0",
75
75
  "crypto-js": "^4.2.0",
76
76
  "hookable": "^5.5.3",
77
77
  "jose": "^5.6.3",
@@ -81,18 +81,18 @@
81
81
  "utility-types": "^3.11.0"
82
82
  },
83
83
  "devDependencies": {
84
- "@scayle/eslint-config-storefront": "4.4.0",
84
+ "@scayle/eslint-config-storefront": "4.4.1",
85
85
  "@types/crypto-js": "4.2.2",
86
- "@types/node": "22.10.5",
86
+ "@types/node": "22.10.7",
87
87
  "@types/webpack-env": "1.18.5",
88
88
  "@vitest/coverage-v8": "2.1.8",
89
89
  "dprint": "0.48.0",
90
- "eslint": "9.17.0",
90
+ "eslint": "9.18.0",
91
91
  "eslint-formatter-gitlab": "5.1.0",
92
92
  "publint": "0.2.12",
93
93
  "rimraf": "6.0.1",
94
94
  "typescript": "5.7.3",
95
- "unbuild": "3.2.0",
95
+ "unbuild": "3.3.1",
96
96
  "unstorage": "1.14.4",
97
97
  "vitest": "2.1.8"
98
98
  }