@scayle/storefront-nuxt 8.48.0 → 8.48.1

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,35 @@
1
1
  # @scayle/storefront-nuxt
2
2
 
3
+ ## 8.48.1
4
+
5
+ ### Patch Changes
6
+
7
+ **Dependencies**
8
+
9
+ - Updated dependency to @scayle/unstorage-compression-driver@1.2.2
10
+
11
+ **@scayle/storefront-core v8.48.1**
12
+
13
+ - Patch
14
+
15
+ - Export `SmartSortingKey` constant containing all predefined smart sorting keys for intelligent product sorting. Smart sorting keys provide advanced sorting algorithms that consider multiple factors like discounts, inventory levels, sales performance, and recency to optimize product listings.
16
+
17
+ Available keys:
18
+
19
+ - `SmartSortingKey.SALES_PUSH` - Promotes items with highest discounts and oldest inventory
20
+ - `SmartSortingKey.NEW_ARRIVALS` - Prioritizes recently added products with good availability
21
+ - `SmartSortingKey.BALANCED_OFFERINGS` - Balances recency, availability, discounts, and sales data
22
+ - `SmartSortingKey.INVENTORY_OPTIMIZATION` - Optimizes inventory turnover for high stock products
23
+ - `SmartSortingKey.LUXURY_PROMOTION` - Highlights high-value luxury items with discounts
24
+ - `SmartSortingKey.STOCK_COVERAGE` - Ensures broad variant availability across products
25
+ - `SmartSortingKey.TOPSELLER` - Prioritizes products with strong sales performance
26
+ - `SmartSortingKey.REVENUE_MAX` - Maximizes revenue by prioritizing high revenue products
27
+ - `SmartSortingKey.RECENTLY_POPULAR` - Favors products with high recent sales performance
28
+
29
+ These keys can be used with the `sortingKey` parameter in product queries and are intended to be used with descending sort order to return most relevant results first.
30
+
31
+ For further information on smart product sorting and how to use smart sorting keys, visit: https://scayle.dev/en/core-documentation/the-basics/products/product-sorting
32
+
3
33
  ## 8.48.0
4
34
 
5
35
  ### Minor Changes
package/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scayle/storefront-nuxt",
3
- "version": "8.48.0",
3
+ "version": "8.48.1",
4
4
  "configKey": "storefront",
5
5
  "compatibility": {
6
6
  "nuxt": "^3.9.0"
package/dist/module.mjs CHANGED
@@ -54,7 +54,7 @@ export default {
54
54
  }`;
55
55
  }
56
56
  const PACKAGE_NAME = "@scayle/storefront-nuxt";
57
- const PACKAGE_VERSION = "8.48.0";
57
+ const PACKAGE_VERSION = "8.48.1";
58
58
  const logger = createConsola({
59
59
  fancy: true,
60
60
  formatOptions: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@scayle/storefront-nuxt",
3
3
  "type": "module",
4
- "version": "8.48.0",
4
+ "version": "8.48.1",
5
5
  "description": "Nuxt integration for the SCAYLE Commerce Engine and Storefront API",
6
6
  "author": "SCAYLE Commerce Engine",
7
7
  "license": "MIT",
@@ -90,7 +90,7 @@
90
90
  "utility-types": "^3.11.0",
91
91
  "vue-router": "^4.4.0",
92
92
  "zod": "^4.0.0",
93
- "@scayle/storefront-core": "8.48.0",
93
+ "@scayle/storefront-core": "8.48.1",
94
94
  "@scayle/unstorage-compression-driver": "1.2.2"
95
95
  },
96
96
  "devDependencies": {
@@ -109,7 +109,7 @@
109
109
  "eslint": "9.38.0",
110
110
  "fishery": "2.3.1",
111
111
  "h3": "1.15.4",
112
- "nitro-test-utils": "0.9.4",
112
+ "nitro-test-utils": "0.10.1",
113
113
  "nitropack": "2.12.8",
114
114
  "node-mocks-http": "1.17.2",
115
115
  "nuxt": "3.20.0",
@@ -117,7 +117,7 @@
117
117
  "typescript": "5.9.3",
118
118
  "unbuild": "3.6.1",
119
119
  "vitest": "3.2.4",
120
- "vue-tsc": "3.1.2",
120
+ "vue-tsc": "3.1.3",
121
121
  "happy-dom": "20.0.10",
122
122
  "@scayle/eslint-config-storefront": "4.7.11",
123
123
  "@scayle/eslint-plugin-vue-composable": "0.2.2",