@scayle/storefront-core 7.65.2 → 7.65.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @scayle/storefront-core
2
2
 
3
+ ## 7.65.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Fix the `getFilters` RPC method not considering `includeSellableForFree` when calculating the product count
8
+
3
9
  ## 7.65.2
4
10
 
5
11
  ### Patch Changes
package/README.md CHANGED
@@ -35,15 +35,16 @@ npm install @scayle/storefront-core
35
35
 
36
36
  ## Getting Started
37
37
 
38
- Visit the [Quickstart Guide](https://scayle.dev/en/dev/storefront-core/getting-started-sfb) to get started with Storefront Core.
38
+ Visit the [Quickstart Guide](https://scayle.dev/en/storefront-guide/developer-guide/getting-started/setup-your-storefront) to get started with Storefront Core.
39
39
 
40
40
  Visit the [Docs](https://scayle.dev) to learn more about our system requirements.
41
41
 
42
42
  ## What is SCAYLE?
43
43
 
44
- [SCAYLE](https://scayle.com) is a full-featured e-commerce software solution that comes with flexible APIs. Within SCAYLE, you can manage all aspects of your shop, such as products, stocks, customers, and transactions.
44
+ [SCAYLE](https://scayle.com) is a full-featured e-commerce software solution that comes with flexible APIs.
45
+ Within SCAYLE, you can manage all aspects of your shop, such as products, stocks, customers, and transactions.
45
46
 
46
- Learn more about [Scayle’s architecture](https://scayle.dev/en/dev/getting-started/introduction) and [commerce modules](https://scayle.dev/en/dev/getting-started/introduction) in the Docs.
47
+ Learn more about [SCAYLE’s architecture](https://scayle.dev/en/developer-guide) and commerce modules in the docs.
47
48
 
48
49
  ## Other channels
49
50
 
@@ -52,4 +53,4 @@ Learn more about [Scayle’s architecture](https://scayle.dev/en/dev/getting-sta
52
53
 
53
54
  ## License
54
55
 
55
- Licensed under the [MIT](https://opensource.org/license/mit/)
56
+ Licensed under the [MIT License](https://opensource.org/license/mit/)
@@ -37,7 +37,7 @@ const getCheckoutToken = exports.getCheckoutToken = async function getCheckoutTo
37
37
  carrier,
38
38
  basketId: context.basketKey,
39
39
  campaignKey: context.campaignKey
40
- }).setIssuedAt(now).setNotBefore(now).setExpirationTime("1h").setIssuer(`${"@scayle/storefront-core"}@${"7.65.2"}`).setProtectedHeader({
40
+ }).setIssuedAt(now).setNotBefore(now).setExpirationTime("1h").setIssuer(`${"@scayle/storefront-core"}@${"7.65.3"}`).setProtectedHeader({
41
41
  alg: "HS256",
42
42
  typ: "JWT"
43
43
  }).sign(secret);
@@ -35,7 +35,7 @@ export const getCheckoutToken = async function getCheckoutToken2(jwtPayload = {}
35
35
  carrier,
36
36
  basketId: context.basketKey,
37
37
  campaignKey: context.campaignKey
38
- }).setIssuedAt(now).setNotBefore(now).setExpirationTime("1h").setIssuer(`${"@scayle/storefront-core"}@${"7.65.2"}`).setProtectedHeader({ alg: "HS256", typ: "JWT" }).sign(secret);
38
+ }).setIssuedAt(now).setNotBefore(now).setExpirationTime("1h").setIssuer(`${"@scayle/storefront-core"}@${"7.65.3"}`).setProtectedHeader({ alg: "HS256", typ: "JWT" }).sign(secret);
39
39
  return {
40
40
  accessToken: refreshedAccessToken,
41
41
  checkoutJwt
@@ -209,6 +209,7 @@ const getFilters = exports.getFilters = async function getFilters2(params, conte
209
209
  attributes: [...sanitizedAttributes, ...(where?.whitelistAttributes || [])]
210
210
  },
211
211
  includeSoldOut,
212
+ includeSellableForFree,
212
213
  campaignKey,
213
214
  pagination: {
214
215
  perPage: 1
@@ -175,6 +175,7 @@ export const getFilters = async function getFilters2(params, context) {
175
175
  ]
176
176
  },
177
177
  includeSoldOut,
178
+ includeSellableForFree,
178
179
  campaignKey,
179
180
  pagination: {
180
181
  perPage: 1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scayle/storefront-core",
3
- "version": "7.65.2",
3
+ "version": "7.65.3",
4
4
  "description": "Collection of essential utilities to work with the Storefront API",
5
5
  "author": "SCAYLE Commerce Engine",
6
6
  "license": "MIT",
@@ -8,7 +8,7 @@
8
8
  "access": "public",
9
9
  "registry": "https://registry.npmjs.org/"
10
10
  },
11
- "website": "https://scayle.dev/en/dev/storefront-core/introduction",
11
+ "website": "https://scayle.dev/en/storefront-guide/developer-guide/getting-started/about-storefront",
12
12
  "sideEffects": false,
13
13
  "exports": {
14
14
  "./package.json": "./package.json",