@scayle/storefront-nuxt 8.50.0 → 8.52.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,34 @@
|
|
|
1
1
|
# @scayle/storefront-nuxt
|
|
2
2
|
|
|
3
|
+
## 8.52.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
**Dependencies**
|
|
8
|
+
|
|
9
|
+
- Updated dependency to @scayle/unstorage-compression-driver@1.2.3
|
|
10
|
+
|
|
11
|
+
**@scayle/storefront-core v8.52.0**
|
|
12
|
+
|
|
13
|
+
- Minor
|
|
14
|
+
- Extended the `OrderItem` type to support `'promotion'` as a valid category in `appliedReductions`, enabling proper type checking for promotion-based discounts in order items.
|
|
15
|
+
|
|
16
|
+
## 8.51.0
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
**Dependencies**
|
|
21
|
+
|
|
22
|
+
**@scayle/storefront-core v8.51.0**
|
|
23
|
+
|
|
24
|
+
- Minor
|
|
25
|
+
|
|
26
|
+
- Added an email hash (`emailHash`) property to the user object returned by the `fetchUser` RPC method.
|
|
27
|
+
|
|
28
|
+
The `emailHash` property is automatically included in all user objects returned by the RPCs.
|
|
29
|
+
The email hash is calculated server-side using SHA256 and is automatically included when a user has an email address.
|
|
30
|
+
This can be used e.g., for compliant user tracking and analytics without exposing sensitive email information.
|
|
31
|
+
|
|
3
32
|
## 8.50.0
|
|
4
33
|
|
|
5
34
|
### Minor Changes
|
package/dist/module.json
CHANGED
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.
|
|
57
|
+
const PACKAGE_VERSION = "8.52.0";
|
|
58
58
|
const logger = createConsola({
|
|
59
59
|
fancy: true,
|
|
60
60
|
formatOptions: {
|
|
@@ -225,7 +225,7 @@ Missing RPC Method Overrides: ${Array.from(overriddenRPCMethodNames).map((name)
|
|
|
225
225
|
`);
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
|
-
const module = defineNuxtModule({
|
|
228
|
+
const module$1 = defineNuxtModule({
|
|
229
229
|
meta: {
|
|
230
230
|
name: PACKAGE_NAME,
|
|
231
231
|
version: PACKAGE_VERSION,
|
|
@@ -463,4 +463,4 @@ const module = defineNuxtModule({
|
|
|
463
463
|
}
|
|
464
464
|
});
|
|
465
465
|
|
|
466
|
-
export { module as default };
|
|
466
|
+
export { module$1 as default };
|
|
@@ -42,7 +42,7 @@ export default defineNitroPlugin(async () => {
|
|
|
42
42
|
}
|
|
43
43
|
} catch (error) {
|
|
44
44
|
log.error(
|
|
45
|
-
`Unable to create required storage mount '${mount}'.`,
|
|
45
|
+
`[storefront-nuxt] nitroStorageConfig: Unable to create required storage mount '${mount}'.`,
|
|
46
46
|
error
|
|
47
47
|
);
|
|
48
48
|
}
|
|
@@ -8,11 +8,16 @@ export default defineNitroPlugin(() => {
|
|
|
8
8
|
const i18nConfig = runtimeConfig.public.i18n;
|
|
9
9
|
const errors = validateDomainConfig(shops, i18nConfig);
|
|
10
10
|
if (errors.length > 0) {
|
|
11
|
-
consola.error(
|
|
11
|
+
consola.error(
|
|
12
|
+
"[storefront-nuxt] domainConfigValidation: Domain config is invalid",
|
|
13
|
+
errors
|
|
14
|
+
);
|
|
12
15
|
throw new Error("Domain config is invalid", {
|
|
13
16
|
cause: errors
|
|
14
17
|
});
|
|
15
18
|
} else {
|
|
16
|
-
consola.success(
|
|
19
|
+
consola.success(
|
|
20
|
+
"[storefront-nuxt] domainConfigValidation: Domain config is valid"
|
|
21
|
+
);
|
|
17
22
|
}
|
|
18
23
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scayle/storefront-nuxt",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "8.
|
|
4
|
+
"version": "8.52.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,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/
|
|
94
|
-
"@scayle/
|
|
93
|
+
"@scayle/storefront-core": "8.52.0",
|
|
94
|
+
"@scayle/unstorage-compression-driver": "1.2.3"
|
|
95
95
|
},
|
|
96
96
|
"devDependencies": {
|
|
97
97
|
"@arethetypeswrong/cli": "0.18.2",
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
"vitest": "3.2.4",
|
|
120
120
|
"vue-tsc": "3.1.3",
|
|
121
121
|
"happy-dom": "20.0.10",
|
|
122
|
-
"@scayle/eslint-config-storefront": "4.7.
|
|
122
|
+
"@scayle/eslint-config-storefront": "4.7.13",
|
|
123
123
|
"@scayle/eslint-plugin-vue-composable": "0.2.2",
|
|
124
124
|
"@scayle/vitest-config-storefront": "1.0.0",
|
|
125
125
|
"@scayle/unstorage-scayle-kv-driver": "2.0.8"
|