@scayle/storefront-nuxt 8.42.2 → 8.43.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,41 @@
1
1
  # @scayle/storefront-nuxt
2
2
 
3
+ ## 8.43.1
4
+
5
+ ### Patch Changes
6
+
7
+ **Dependencies**
8
+
9
+ **@scayle/storefront-core v8.43.1**
10
+
11
+ - No changes in this release.
12
+
13
+ ## 8.43.0
14
+
15
+ ### Patch Changes
16
+
17
+ **Dependencies**
18
+
19
+ - Updated dependency to @scayle/unstorage-compression-driver@1.2.0
20
+
21
+ **@scayle/storefront-core v8.43.0**
22
+
23
+ - Minor
24
+
25
+ - Added an export of the new promotion type `ComboDealEffect`
26
+
27
+ This type is also included in the `PromotionEffectType` type and can be used to check if the promotion is of type `ComboDealEffect`.
28
+
29
+ Example:
30
+
31
+ ```ts
32
+ const isComboDealType = (
33
+ promotion?: Promotion | null,
34
+ ): promotion is Promotion<ComboDealEffect> => {
35
+ return promotion?.effect?.type === PromotionEffectType.COMBO_DEAL
36
+ }
37
+ ```
38
+
3
39
  ## 8.42.2
4
40
 
5
41
  ### Patch Changes
package/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scayle/storefront-nuxt",
3
- "version": "8.42.2",
3
+ "version": "8.43.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.42.2";
57
+ const PACKAGE_VERSION = "8.43.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.42.2",
4
+ "version": "8.43.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,8 +90,8 @@
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.42.2",
94
- "@scayle/unstorage-compression-driver": "1.1.0"
93
+ "@scayle/storefront-core": "8.43.1",
94
+ "@scayle/unstorage-compression-driver": "1.2.0"
95
95
  },
96
96
  "devDependencies": {
97
97
  "@arethetypeswrong/cli": "0.18.2",
@@ -121,7 +121,7 @@
121
121
  "@scayle/eslint-config-storefront": "4.7.6",
122
122
  "@scayle/eslint-plugin-vue-composable": "0.2.1",
123
123
  "@scayle/vitest-config-storefront": "1.0.0",
124
- "@scayle/unstorage-scayle-kv-driver": "2.0.0"
124
+ "@scayle/unstorage-scayle-kv-driver": "2.0.1"
125
125
  },
126
126
  "volta": {
127
127
  "node": "22.18.0"