@scayle/storefront-core 8.59.7 → 8.60.1

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,21 @@
1
1
  # @scayle/storefront-core
2
2
 
3
+ ## 8.60.1
4
+
5
+ ### Patch Changes
6
+
7
+ **Dependencies**
8
+
9
+ - Updated dependency to @scayle/unstorage-scayle-kv-driver@2.1.1
10
+
11
+ ## 8.60.0
12
+
13
+ ### Minor Changes
14
+
15
+ - All packages now require Node.js 22 or later, in line with the current Node.js LTS release schedule. See the [Node.js release schedule](https://nodejs.org/en/about/previous-releases#release-schedule) for details.
16
+
17
+ If your project is still running an older Node.js version, now is a good time to upgrade to Node.js 22 at minimum, or ideally Node.js 24, for the latest security patches and stability improvements.
18
+
3
19
  ## 8.59.7
4
20
 
5
21
  ### Patch Changes
@@ -40,7 +40,7 @@ export const getCheckoutToken = defineRpcHandler(async (jwtPayload = {}, context
40
40
  ...customData,
41
41
  ...orderCustomData
42
42
  }
43
- }).setIssuedAt(now).setNotBefore(now).setExpirationTime("1h").setIssuer(`${"@scayle/storefront-core"}@${"8.59.7"}`).setProtectedHeader({ alg: "HS256", typ: "JWT" }).sign(secret);
43
+ }).setIssuedAt(now).setNotBefore(now).setExpirationTime("1h").setIssuer(`${"@scayle/storefront-core"}@${"8.60.1"}`).setProtectedHeader({ alg: "HS256", typ: "JWT" }).sign(secret);
44
44
  return {
45
45
  accessToken: refreshedAccessToken,
46
46
  checkoutJwt
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scayle/storefront-core",
3
- "version": "8.59.7",
3
+ "version": "8.60.1",
4
4
  "description": "Collection of essential utilities to work with the Storefront API",
5
5
  "author": "SCAYLE Commerce Engine",
6
6
  "license": "MIT",
@@ -35,7 +35,7 @@
35
35
  ],
36
36
  "type": "module",
37
37
  "engines": {
38
- "node": ">= 18.15.0"
38
+ "node": ">= 22.0.0"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "fishery": "^2.2.3"
@@ -48,8 +48,8 @@
48
48
  "ufo": "^1.5.4",
49
49
  "uncrypto": "^0.1.3",
50
50
  "utility-types": "^3.11.0",
51
- "@scayle/unstorage-scayle-kv-driver": "2.0.11",
52
- "@scayle/storefront-api": "18.22.0"
51
+ "@scayle/storefront-api": "19.0.0",
52
+ "@scayle/unstorage-scayle-kv-driver": "2.1.1"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/crypto-js": "4.2.2",
@@ -66,8 +66,8 @@
66
66
  "unbuild": "3.6.1",
67
67
  "unstorage": "1.17.5",
68
68
  "vitest": "4.1.2",
69
- "@scayle/vitest-config-storefront": "1.0.0",
70
- "@scayle/eslint-config-storefront": "4.7.25"
69
+ "@scayle/eslint-config-storefront": "4.8.0",
70
+ "@scayle/vitest-config-storefront": "1.0.0"
71
71
  },
72
72
  "scripts": {
73
73
  "clean": "rimraf ./dist",