@scayle/storefront-nuxt 7.55.3 → 7.57.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 +22 -0
- package/dist/module.json +1 -1
- package/dist/runtime/api/rpcHandler.mjs +3 -1
- package/package.json +16 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @scayle/storefront-nuxt
|
|
2
2
|
|
|
3
|
+
## 7.57.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Strip sensitive data from log messages
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
- @scayle/storefront-core@7.41.0
|
|
13
|
+
|
|
14
|
+
## 7.56.0
|
|
15
|
+
|
|
16
|
+
### Minor Changes
|
|
17
|
+
|
|
18
|
+
- Updated to `nuxt@3.10.1` and `vue@3.4.19` (_For more details check the [Nuxt 3.10.1 Release Notes](https://nuxt.com/blog/v3-10) and [Vue 3.4.19 Changelogs](https://github.com/vuejs/core/blob/main/CHANGELOG.md#3418-2024-02-09)_)
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies
|
|
23
|
+
- @scayle/storefront-core@7.40.1
|
|
24
|
+
|
|
3
25
|
## 7.55.3
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
package/dist/module.json
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { defineEventHandler, readBody, createError } from "h3";
|
|
2
|
+
import { purifySensitiveData } from "@scayle/storefront-core";
|
|
2
3
|
import { handler } from "../handler.mjs";
|
|
3
4
|
import { resolveError } from "../error/handler.mjs";
|
|
4
5
|
export default defineEventHandler(async (event) => {
|
|
5
6
|
const pathComponents = event.path.split("?")[0].split("/");
|
|
6
7
|
const method = pathComponents[pathComponents.length - 1];
|
|
7
8
|
const body = await readBody(event);
|
|
8
|
-
|
|
9
|
+
const payloadToBeLogged = JSON.stringify(purifySensitiveData(body?.payload));
|
|
10
|
+
event.context.$rpcContext.log.space("sfc").debug(`RPC Handler: ${method}, Payload: ${payloadToBeLogged}`);
|
|
9
11
|
try {
|
|
10
12
|
return await handler(method, body?.payload, event.context.$rpcContext);
|
|
11
13
|
} catch (e) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scayle/storefront-nuxt",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.57.0",
|
|
5
5
|
"description": "Nuxt integration for the SCAYLE Commerce Engine and Storefront API",
|
|
6
6
|
"author": "SCAYLE Commerce Engine",
|
|
7
7
|
"license": "MIT",
|
|
@@ -60,9 +60,9 @@
|
|
|
60
60
|
"test:watch": "vitest watch"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@nuxt/kit": "3.
|
|
63
|
+
"@nuxt/kit": "3.10.1",
|
|
64
64
|
"@scayle/h3-session": "0.3.5",
|
|
65
|
-
"@scayle/storefront-core": "7.
|
|
65
|
+
"@scayle/storefront-core": "7.41.0",
|
|
66
66
|
"@scayle/unstorage-compression-driver": "0.1.1",
|
|
67
67
|
"@vueuse/core": "10.7.2",
|
|
68
68
|
"consola": "3.2.3",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@nuxt/module-builder": "0.5.5",
|
|
84
|
-
"@nuxt/schema": "3.
|
|
84
|
+
"@nuxt/schema": "3.10.1",
|
|
85
85
|
"@nuxt/test-utils": "3.11.0",
|
|
86
86
|
"@scayle/eslint-config-storefront": "3.2.6",
|
|
87
87
|
"@scayle/prettier-config-storefront": "2.0.2",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"eslint": "8.56.0",
|
|
90
90
|
"eslint-formatter-gitlab": "5.1.0",
|
|
91
91
|
"node-mocks-http": "1.14.1",
|
|
92
|
-
"nuxt": "3.
|
|
92
|
+
"nuxt": "3.10.1",
|
|
93
93
|
"prettier": "3.0.0",
|
|
94
94
|
"publint": "0.2.7",
|
|
95
95
|
"vitest": "1.2.2",
|
|
@@ -102,17 +102,17 @@
|
|
|
102
102
|
},
|
|
103
103
|
"resolutions": {
|
|
104
104
|
"h3": "1.10.1",
|
|
105
|
-
"@vue/compiler-core": "3.4.
|
|
106
|
-
"@vue/shared": "3.4.
|
|
107
|
-
"@vue/compiler-dom": "3.4.
|
|
108
|
-
"@vue/compiler-sfc": "3.4.
|
|
109
|
-
"@vue/compiler-ssr": "3.4.
|
|
110
|
-
"@vue/reactivity": "3.4.
|
|
111
|
-
"@vue/runtime-core": "3.4.
|
|
112
|
-
"@vue/runtime-dom": "3.4.
|
|
113
|
-
"@vue/server-renderer": "3.4.
|
|
114
|
-
"@nuxt/kit": "3.
|
|
115
|
-
"@nuxt/schema": "3.
|
|
105
|
+
"@vue/compiler-core": "3.4.19",
|
|
106
|
+
"@vue/shared": "3.4.19",
|
|
107
|
+
"@vue/compiler-dom": "3.4.19",
|
|
108
|
+
"@vue/compiler-sfc": "3.4.19",
|
|
109
|
+
"@vue/compiler-ssr": "3.4.19",
|
|
110
|
+
"@vue/reactivity": "3.4.19",
|
|
111
|
+
"@vue/runtime-core": "3.4.19",
|
|
112
|
+
"@vue/runtime-dom": "3.4.19",
|
|
113
|
+
"@vue/server-renderer": "3.4.19",
|
|
114
|
+
"@nuxt/kit": "3.10.1",
|
|
115
|
+
"@nuxt/schema": "3.10.1"
|
|
116
116
|
},
|
|
117
117
|
"volta": {
|
|
118
118
|
"node": "20.11.0"
|