@scayle/storefront-core 8.59.6 → 8.60.0
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 +19 -0
- package/dist/rpc/methods/checkout/checkout.mjs +1 -1
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @scayle/storefront-core
|
|
2
2
|
|
|
3
|
+
## 8.60.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 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.
|
|
8
|
+
|
|
9
|
+
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.
|
|
10
|
+
|
|
11
|
+
## 8.59.7
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependency `slugify@^1.6.6` to `slugify@^1.6.8`
|
|
16
|
+
|
|
17
|
+
**Dependencies**
|
|
18
|
+
|
|
19
|
+
- Updated dependency to @scayle/unstorage-scayle-kv-driver@2.0.11
|
|
20
|
+
- Updated dependency to @scayle/storefront-api@18.22.0
|
|
21
|
+
|
|
3
22
|
## 8.59.6
|
|
4
23
|
|
|
5
24
|
### 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.
|
|
43
|
+
}).setIssuedAt(now).setNotBefore(now).setExpirationTime("1h").setIssuer(`${"@scayle/storefront-core"}@${"8.60.0"}`).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.
|
|
3
|
+
"version": "8.60.0",
|
|
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": ">=
|
|
38
|
+
"node": ">= 22.0.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"fishery": "^2.2.3"
|
|
@@ -44,30 +44,30 @@
|
|
|
44
44
|
"crypto-js": "^4.2.0",
|
|
45
45
|
"hookable": "^5.5.3",
|
|
46
46
|
"jose": "^6.0.8",
|
|
47
|
-
"slugify": "^1.6.
|
|
47
|
+
"slugify": "^1.6.8",
|
|
48
48
|
"ufo": "^1.5.4",
|
|
49
49
|
"uncrypto": "^0.1.3",
|
|
50
50
|
"utility-types": "^3.11.0",
|
|
51
|
-
"@scayle/storefront-api": "
|
|
52
|
-
"@scayle/unstorage-scayle-kv-driver": "2.0
|
|
51
|
+
"@scayle/storefront-api": "19.0.0",
|
|
52
|
+
"@scayle/unstorage-scayle-kv-driver": "2.1.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@types/crypto-js": "4.2.2",
|
|
56
|
-
"@types/node": "22.19.
|
|
56
|
+
"@types/node": "22.19.17",
|
|
57
57
|
"@types/webpack-env": "1.18.8",
|
|
58
|
-
"@vitest/coverage-v8": "4.
|
|
59
|
-
"dprint": "0.
|
|
58
|
+
"@vitest/coverage-v8": "4.1.2",
|
|
59
|
+
"dprint": "0.53.2",
|
|
60
60
|
"eslint-formatter-gitlab": "7.0.1",
|
|
61
|
-
"eslint": "10.0
|
|
61
|
+
"eslint": "10.2.0",
|
|
62
62
|
"fishery": "2.4.0",
|
|
63
|
-
"publint": "0.3.
|
|
63
|
+
"publint": "0.3.18",
|
|
64
64
|
"rimraf": "6.1.3",
|
|
65
65
|
"typescript": "5.9.3",
|
|
66
66
|
"unbuild": "3.6.1",
|
|
67
|
-
"unstorage": "1.17.
|
|
68
|
-
"vitest": "4.
|
|
69
|
-
"@scayle/
|
|
70
|
-
"@scayle/
|
|
67
|
+
"unstorage": "1.17.5",
|
|
68
|
+
"vitest": "4.1.2",
|
|
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",
|