@scayle/storefront-core 8.25.1 → 8.25.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 +18 -0
- package/dist/rpc/methods/checkout/checkout.mjs +1 -1
- package/dist/types/user.d.ts +1 -1
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @scayle/storefront-core
|
|
2
2
|
|
|
3
|
+
## 8.25.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Expose `MemberRole`, `FilterValuesEndpointParameters` and `GetRedirectsEndpointParameters` type
|
|
8
|
+
|
|
9
|
+
**Dependencies**
|
|
10
|
+
|
|
11
|
+
- Updated dependency to @scayle/storefront-api@18.3.1
|
|
12
|
+
|
|
13
|
+
## 8.25.2
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
**Dependencies**
|
|
18
|
+
|
|
19
|
+
- Updated dependency to @scayle/unstorage-scayle-kv-driver@0.1.2
|
|
20
|
+
|
|
3
21
|
## 8.25.1
|
|
4
22
|
|
|
5
23
|
No changes in this release.
|
|
@@ -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.25.
|
|
39
|
+
}).setIssuedAt(now).setNotBefore(now).setExpirationTime("1h").setIssuer(`${"@scayle/storefront-core"}@${"8.25.3"}`).setProtectedHeader({ alg: "HS256", typ: "JWT" }).sign(secret);
|
|
40
40
|
return {
|
|
41
41
|
accessToken: refreshedAccessToken,
|
|
42
42
|
checkoutJwt
|
package/dist/types/user.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ export interface UseUserParams {
|
|
|
26
26
|
/**
|
|
27
27
|
* Represents a member's role and associated privileges.
|
|
28
28
|
*/
|
|
29
|
-
interface MemberRole {
|
|
29
|
+
export interface MemberRole {
|
|
30
30
|
/** The discount visibility setting for the role. */
|
|
31
31
|
discountVisibility: string;
|
|
32
32
|
/** The member's priority level. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scayle/storefront-core",
|
|
3
|
-
"version": "8.25.
|
|
3
|
+
"version": "8.25.3",
|
|
4
4
|
"description": "Collection of essential utilities to work with the Storefront API",
|
|
5
5
|
"author": "SCAYLE Commerce Engine",
|
|
6
6
|
"license": "MIT",
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
"fishery": "^2.2.3"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@scayle/storefront-api": "18.3.
|
|
68
|
-
"@scayle/unstorage-scayle-kv-driver": "0.1.
|
|
67
|
+
"@scayle/storefront-api": "18.3.1",
|
|
68
|
+
"@scayle/unstorage-scayle-kv-driver": "0.1.2",
|
|
69
69
|
"crypto-js": "^4.2.0",
|
|
70
70
|
"hookable": "^5.5.3",
|
|
71
71
|
"jose": "^6.0.8",
|
|
@@ -75,21 +75,21 @@
|
|
|
75
75
|
"utility-types": "^3.11.0"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
|
-
"@scayle/eslint-config-storefront": "4.5.
|
|
78
|
+
"@scayle/eslint-config-storefront": "4.5.1",
|
|
79
79
|
"@types/crypto-js": "4.2.2",
|
|
80
|
-
"@types/node": "22.15.
|
|
80
|
+
"@types/node": "22.15.12",
|
|
81
81
|
"@types/webpack-env": "1.18.8",
|
|
82
|
-
"@vitest/coverage-v8": "3.1.
|
|
82
|
+
"@vitest/coverage-v8": "3.1.3",
|
|
83
83
|
"dprint": "0.49.1",
|
|
84
|
-
"eslint": "9.
|
|
84
|
+
"eslint": "9.26.0",
|
|
85
85
|
"eslint-formatter-gitlab": "6.0.0",
|
|
86
|
-
"fishery": "2.
|
|
86
|
+
"fishery": "2.3.1",
|
|
87
87
|
"publint": "0.2.12",
|
|
88
88
|
"rimraf": "6.0.1",
|
|
89
89
|
"typescript": "5.8.3",
|
|
90
90
|
"unbuild": "3.5.0",
|
|
91
|
-
"unstorage": "1.
|
|
92
|
-
"vitest": "3.1.
|
|
91
|
+
"unstorage": "1.16.0",
|
|
92
|
+
"vitest": "3.1.3"
|
|
93
93
|
},
|
|
94
94
|
"volta": {
|
|
95
95
|
"node": "22.15.0"
|