@scayle/storefront-core 8.62.1 → 8.62.2
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,9 @@
|
|
|
1
1
|
# @scayle/storefront-core
|
|
2
2
|
|
|
3
|
+
## 8.62.2
|
|
4
|
+
|
|
5
|
+
No changes in this release.
|
|
6
|
+
|
|
3
7
|
## 8.62.1
|
|
4
8
|
|
|
5
9
|
No changes in this release.
|
|
@@ -1570,11 +1574,7 @@ See [Overriding core RPC Methods](https://scayle.dev/en/core-documentation/store
|
|
|
1570
1574
|
} as const
|
|
1571
1575
|
|
|
1572
1576
|
type BadgeLabelParamsKeys =
|
|
1573
|
-
| '
|
|
1574
|
-
| 'isSoldOut'
|
|
1575
|
-
| 'isOnlineOnly'
|
|
1576
|
-
| 'isSustainable'
|
|
1577
|
-
| 'isPremium'
|
|
1577
|
+
'isNew' | 'isSoldOut' | 'isOnlineOnly' | 'isSustainable' | 'isPremium'
|
|
1578
1578
|
type BadgeLabelParams = Partial<Record<BadgeLabelParamsKeys, boolean>>
|
|
1579
1579
|
|
|
1580
1580
|
const getBadgeLabel = (params: BadgeLabelParams = {}): string => {
|
|
@@ -41,7 +41,7 @@ export const getCheckoutToken = defineRpcHandler(
|
|
|
41
41
|
...customData,
|
|
42
42
|
...orderCustomData
|
|
43
43
|
}
|
|
44
|
-
}).setIssuedAt(now).setNotBefore(now).setExpirationTime("1h").setIssuer(`${"@scayle/storefront-core"}@${"8.62.
|
|
44
|
+
}).setIssuedAt(now).setNotBefore(now).setExpirationTime("1h").setIssuer(`${"@scayle/storefront-core"}@${"8.62.2"}`).setProtectedHeader({ alg: "HS256", typ: "JWT" }).sign(secret);
|
|
45
45
|
return {
|
|
46
46
|
accessToken: refreshedAccessToken,
|
|
47
47
|
checkoutJwt
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scayle/storefront-core",
|
|
3
|
-
"version": "8.62.
|
|
3
|
+
"version": "8.62.2",
|
|
4
4
|
"description": "Collection of essential utilities to work with the Storefront API",
|
|
5
5
|
"author": "SCAYLE Commerce Engine",
|
|
6
6
|
"license": "MIT",
|
|
@@ -57,14 +57,14 @@
|
|
|
57
57
|
"@types/node": "24.12.2",
|
|
58
58
|
"@types/webpack-env": "1.18.8",
|
|
59
59
|
"@vitest/coverage-v8": "4.1.9",
|
|
60
|
-
"eslint-formatter-gitlab": "7.
|
|
61
|
-
"eslint": "10.
|
|
60
|
+
"eslint-formatter-gitlab": "7.2.0",
|
|
61
|
+
"eslint": "10.7.0",
|
|
62
62
|
"fishery": "2.4.0",
|
|
63
63
|
"publint": "0.3.21",
|
|
64
64
|
"typescript": "6.0.3",
|
|
65
65
|
"unbuild": "3.6.1",
|
|
66
66
|
"unstorage": "1.17.5",
|
|
67
|
-
"vitest": "4.1.
|
|
67
|
+
"vitest": "4.1.10",
|
|
68
68
|
"@scayle/vitest-config-storefront": "1.0.0"
|
|
69
69
|
},
|
|
70
70
|
"scripts": {
|