@scayle/storefront-nuxt 8.52.0 → 8.53.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,22 @@
1
1
  # @scayle/storefront-nuxt
2
2
 
3
+ ## 8.53.0
4
+
5
+ ### Patch Changes
6
+
7
+ **Dependencies**
8
+
9
+ **@scayle/storefront-core v8.53.0**
10
+
11
+ - Minor
12
+
13
+ - Added support for promotions on order items by introducing the `OrderItemPromotion` interface and extending the `OrderItem` type with an optional `promotions` field.
14
+
15
+ This enables developers to access promotion information (`id`, `name`, and `version`) directly from order items, improving visibility into which promotions were applied to each item in an order.
16
+ Additionally, the `appliedReductions` array within the order item price now includes an optional `id` field, allowing for better tracking and identification of specific discount reductions.
17
+
18
+ For further details, see the [Order API](https://scayle.dev/en/api-guides/storefront-api/resources/orders).
19
+
3
20
  ## 8.52.0
4
21
 
5
22
  ### Patch Changes
package/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scayle/storefront-nuxt",
3
- "version": "8.52.0",
3
+ "version": "8.53.0",
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.52.0";
57
+ const PACKAGE_VERSION = "8.53.0";
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.52.0",
4
+ "version": "8.53.0",
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.52.0",
93
+ "@scayle/storefront-core": "8.53.0",
94
94
  "@scayle/unstorage-compression-driver": "1.2.3"
95
95
  },
96
96
  "devDependencies": {
@@ -102,8 +102,8 @@
102
102
  "@nuxt/module-builder": "1.0.2",
103
103
  "@nuxt/schema": "3.20.0",
104
104
  "@nuxt/test-utils": "3.20.1",
105
- "@types/node": "22.19.0",
106
- "@vitest/coverage-v8": "3.2.4",
105
+ "@types/node": "22.19.1",
106
+ "@vitest/coverage-v8": "4.0.10",
107
107
  "dprint": "0.50.2",
108
108
  "eslint-formatter-gitlab": "6.0.1",
109
109
  "eslint": "9.39.1",
@@ -116,11 +116,11 @@
116
116
  "publint": "0.3.15",
117
117
  "typescript": "5.9.3",
118
118
  "unbuild": "3.6.1",
119
- "vitest": "3.2.4",
120
- "vue-tsc": "3.1.3",
119
+ "vitest": "4.0.10",
120
+ "vue-tsc": "3.1.4",
121
121
  "happy-dom": "20.0.10",
122
- "@scayle/eslint-config-storefront": "4.7.13",
123
122
  "@scayle/eslint-plugin-vue-composable": "0.2.2",
123
+ "@scayle/eslint-config-storefront": "4.7.13",
124
124
  "@scayle/vitest-config-storefront": "1.0.0",
125
125
  "@scayle/unstorage-scayle-kv-driver": "2.0.8"
126
126
  },