@scayle/storefront-nuxt 7.44.0 → 7.44.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
|
@@ -125,11 +125,11 @@ export default defineEventHandler(async (event) => {
|
|
|
125
125
|
}
|
|
126
126
|
const config = useRuntimeConfig();
|
|
127
127
|
const $storefrontConfig = config.storefront;
|
|
128
|
-
|
|
129
|
-
const apiBasePath = ($storefrontConfig.shopSelector === "path" && $shopConfig.path ? `/${$shopConfig.path}` : "") + ($shopConfig.apiBasePath || $storefrontConfig.apiBasePath || "/api");
|
|
130
|
-
if (url.pathname === `${apiBasePath}/up`) {
|
|
128
|
+
if (url.pathname === `${$storefrontConfig.apiBasePath ?? "/api"}/up`) {
|
|
131
129
|
return;
|
|
132
130
|
}
|
|
131
|
+
const $shopConfig = getShopConfig(event, config);
|
|
132
|
+
const apiBasePath = ($storefrontConfig.shopSelector === "path" && $shopConfig.path ? `/${$shopConfig.path}` : "") + ($shopConfig.apiBasePath || $storefrontConfig.apiBasePath || "/api");
|
|
133
133
|
const log = createLog(
|
|
134
134
|
createConsola,
|
|
135
135
|
$storefrontConfig.log.name,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scayle/storefront-nuxt",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "7.44.
|
|
4
|
+
"version": "7.44.1",
|
|
5
5
|
"description": "Nuxt integration for the SCAYLE Commerce Engine and Storefront API",
|
|
6
6
|
"author": "SCAYLE Commerce Engine",
|
|
7
7
|
"license": "MIT",
|
|
@@ -85,8 +85,8 @@
|
|
|
85
85
|
"@nuxt/test-utils": "3.8.1",
|
|
86
86
|
"@scayle/eslint-config-storefront": "3.2.6",
|
|
87
87
|
"@scayle/prettier-config-storefront": "2.0.2",
|
|
88
|
-
"@types/node": "20.10.
|
|
89
|
-
"eslint": "8.
|
|
88
|
+
"@types/node": "20.10.5",
|
|
89
|
+
"eslint": "8.56.0",
|
|
90
90
|
"eslint-formatter-gitlab": "5.1.0",
|
|
91
91
|
"node-mocks-http": "1.14.0",
|
|
92
92
|
"nuxt": "3.8.2",
|