@scayle/storefront-core 8.20.1 → 8.21.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
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @scayle/storefront-core
|
|
2
2
|
|
|
3
|
+
## 8.21.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Expose the following filter types from `storefront-api`:
|
|
8
|
+
|
|
9
|
+
- `FilterItemWithValues`
|
|
10
|
+
- `BooleanFilterItemWithValues`
|
|
11
|
+
- `RangeFilterItemWithValues`
|
|
12
|
+
- `IdenfitierFilterItemWithValues`
|
|
13
|
+
- `AttributesFilterValue`
|
|
14
|
+
|
|
3
15
|
## 8.20.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -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.
|
|
39
|
+
}).setIssuedAt(now).setNotBefore(now).setExpirationTime("1h").setIssuer(`${"@scayle/storefront-core"}@${"8.21.0"}`).setProtectedHeader({ alg: "HS256", typ: "JWT" }).sign(secret);
|
|
40
40
|
return {
|
|
41
41
|
accessToken: refreshedAccessToken,
|
|
42
42
|
checkoutJwt
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { AttributeWithBooleanValueFilter, AttributeWithValuesFilter, FiltersEndpointResponseData, ProductSearchQuery, ProductSortConfig, ProductsSearchEndpointParameters } from '@scayle/storefront-api';
|
|
2
2
|
import type { Query } from './router';
|
|
3
|
-
export type { AttributesFilterItemWithValues } from '@scayle/storefront-api';
|
|
4
|
-
export type { AttributeWithBooleanValueFilter, AttributeWithValuesFilter, AttributeKey, } from '@scayle/storefront-api';
|
|
3
|
+
export type { FilterItemWithValues, BooleanFilterItemWithValues, AttributesFilterItemWithValues, RangeFilterItemWithValues, IdenfitierFilterItemWithValues, AttributesFilterValue, AttributeWithBooleanValueFilter, AttributeWithValuesFilter, AttributeKey, } from '@scayle/storefront-api';
|
|
5
4
|
/**
|
|
6
5
|
* Parameters for filtering products.
|
|
7
6
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scayle/storefront-core",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.21.0",
|
|
4
4
|
"description": "Collection of essential utilities to work with the Storefront API",
|
|
5
5
|
"author": "SCAYLE Commerce Engine",
|
|
6
6
|
"license": "MIT",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"devDependencies": {
|
|
78
78
|
"@scayle/eslint-config-storefront": "4.5.0",
|
|
79
79
|
"@types/crypto-js": "4.2.2",
|
|
80
|
-
"@types/node": "22.14.
|
|
80
|
+
"@types/node": "22.14.1",
|
|
81
81
|
"@types/webpack-env": "1.18.8",
|
|
82
82
|
"@vitest/coverage-v8": "2.1.9",
|
|
83
83
|
"dprint": "0.49.1",
|