@scayle/storefront-nuxt 7.62.0 → 7.62.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
package/dist/module.json
CHANGED
|
@@ -6,7 +6,11 @@ export default defineEventHandler(async (event) => {
|
|
|
6
6
|
const pathComponents = event.path.split("?")[0].split("/");
|
|
7
7
|
const method = pathComponents[pathComponents.length - 1];
|
|
8
8
|
const body = await readBody(event);
|
|
9
|
-
const payloadToBeLogged = JSON.stringify(
|
|
9
|
+
const payloadToBeLogged = JSON.stringify(
|
|
10
|
+
purifySensitiveData(
|
|
11
|
+
typeof body?.payload !== "object" ? { [typeof body?.payload]: body?.payload } : body?.payload
|
|
12
|
+
)
|
|
13
|
+
);
|
|
10
14
|
event.context.$rpcContext.log.space("sfc").debug(`RPC Handler: ${method}, Payload: ${payloadToBeLogged}`);
|
|
11
15
|
try {
|
|
12
16
|
return await handler(method, body?.payload, event.context.$rpcContext);
|
|
@@ -6,7 +6,7 @@ export declare const useIDP: () => Promise<{
|
|
|
6
6
|
fetch: () => Promise<void>;
|
|
7
7
|
error: import("vue").Ref<import("nuxt/app").NuxtError<unknown> | undefined>;
|
|
8
8
|
status: import("vue").Ref<import("../core/useRpc").Status>;
|
|
9
|
-
handleIDPLoginCallback: (params: {
|
|
9
|
+
handleIDPLoginCallback: (params: string | {
|
|
10
10
|
code: string;
|
|
11
11
|
}) => Promise<{
|
|
12
12
|
message: string;
|
|
@@ -20,7 +20,7 @@ export declare function useSession(): {
|
|
|
20
20
|
success: false;
|
|
21
21
|
}>;
|
|
22
22
|
resetPasswordByHash: (params: import("utility-types").Optional<import("@scayle/storefront-core").UpdatePasswordByHashRequest, "shop_id">) => Promise<never>;
|
|
23
|
-
loginWithIDP: (params: {
|
|
23
|
+
loginWithIDP: (params: string | {
|
|
24
24
|
code: string;
|
|
25
25
|
}) => Promise<{
|
|
26
26
|
message: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scayle/storefront-nuxt",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "7.62.
|
|
4
|
+
"version": "7.62.1",
|
|
5
5
|
"description": "Nuxt integration for the SCAYLE Commerce Engine and Storefront API",
|
|
6
6
|
"author": "SCAYLE Commerce Engine",
|
|
7
7
|
"license": "MIT",
|
|
@@ -62,15 +62,15 @@
|
|
|
62
62
|
"dependencies": {
|
|
63
63
|
"@nuxt/kit": "3.10.3",
|
|
64
64
|
"@scayle/h3-session": "0.3.5",
|
|
65
|
-
"@scayle/storefront-core": "7.46.
|
|
65
|
+
"@scayle/storefront-core": "7.46.1",
|
|
66
66
|
"@scayle/unstorage-compression-driver": "0.1.2",
|
|
67
67
|
"@vueuse/core": "10.9.0",
|
|
68
68
|
"consola": "3.2.3",
|
|
69
|
-
"core-js": "3.36.
|
|
69
|
+
"core-js": "3.36.1",
|
|
70
70
|
"defu": "6.1.4",
|
|
71
71
|
"jose": "^5.2.0",
|
|
72
72
|
"knitwork": "1.0.0",
|
|
73
|
-
"nitropack": "2.9.
|
|
73
|
+
"nitropack": "2.9.4",
|
|
74
74
|
"ofetch": "1.3.3",
|
|
75
75
|
"radash": "12.1.0",
|
|
76
76
|
"uncrypto": "0.1.3",
|
|
@@ -81,10 +81,10 @@
|
|
|
81
81
|
"devDependencies": {
|
|
82
82
|
"@nuxt/module-builder": "0.5.5",
|
|
83
83
|
"@nuxt/schema": "3.10.3",
|
|
84
|
-
"@nuxt/test-utils": "3.
|
|
84
|
+
"@nuxt/test-utils": "3.12.0",
|
|
85
85
|
"@scayle/eslint-config-storefront": "3.2.6",
|
|
86
86
|
"@scayle/prettier-config-storefront": "2.0.2",
|
|
87
|
-
"@types/node": "20.11.
|
|
87
|
+
"@types/node": "20.11.30",
|
|
88
88
|
"eslint": "8.57.0",
|
|
89
89
|
"eslint-formatter-gitlab": "5.1.0",
|
|
90
90
|
"h3": "1.11.1",
|
|
@@ -92,8 +92,8 @@
|
|
|
92
92
|
"nuxt": "3.10.3",
|
|
93
93
|
"prettier": "3.0.0",
|
|
94
94
|
"publint": "0.2.7",
|
|
95
|
-
"vitest": "1.
|
|
96
|
-
"vue-tsc": "2.0.
|
|
95
|
+
"vitest": "1.4.0",
|
|
96
|
+
"vue-tsc": "2.0.7"
|
|
97
97
|
},
|
|
98
98
|
"peerDependencies": {
|
|
99
99
|
"h3": "^1.10.0",
|