@vue-storefront/nuxt 6.0.1 → 6.1.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/dist/module.json
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export declare function getDefaultMethodsRequestConfig(): {
|
|
2
2
|
readonly unifiedCommerce: {
|
|
3
3
|
readonly middlewareModule: {
|
|
4
|
+
readonly getCategory: {
|
|
5
|
+
readonly method: "GET";
|
|
6
|
+
};
|
|
4
7
|
readonly getCategories: {
|
|
5
8
|
readonly method: "GET";
|
|
6
9
|
};
|
|
@@ -23,6 +26,9 @@ export declare function getDefaultMethodsRequestConfig(): {
|
|
|
23
26
|
};
|
|
24
27
|
readonly unifiedCms: {
|
|
25
28
|
readonly middlewareModule: {
|
|
29
|
+
readonly getPage: {
|
|
30
|
+
readonly method: "GET";
|
|
31
|
+
};
|
|
26
32
|
readonly getEntries: {
|
|
27
33
|
readonly method: "GET";
|
|
28
34
|
};
|
|
@@ -2,6 +2,7 @@ export function getDefaultMethodsRequestConfig() {
|
|
|
2
2
|
return {
|
|
3
3
|
unifiedCommerce: {
|
|
4
4
|
middlewareModule: {
|
|
5
|
+
getCategory: { method: "GET" },
|
|
5
6
|
getCategories: { method: "GET" },
|
|
6
7
|
getProductDetails: { method: "GET" },
|
|
7
8
|
getProductReviews: { method: "GET" },
|
|
@@ -12,6 +13,7 @@ export function getDefaultMethodsRequestConfig() {
|
|
|
12
13
|
},
|
|
13
14
|
unifiedCms: {
|
|
14
15
|
middlewareModule: {
|
|
16
|
+
getPage: { method: "GET" },
|
|
15
17
|
getEntries: { method: "GET" }
|
|
16
18
|
}
|
|
17
19
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue-storefront/nuxt",
|
|
3
|
-
"version": "6.0
|
|
3
|
+
"version": "6.1.0",
|
|
4
4
|
"description": "Vue Storefront dedicated features for Nuxt",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -31,7 +31,6 @@
|
|
|
31
31
|
"@nuxt/kit": "^3.7.4",
|
|
32
32
|
"@nuxt/schema": "^3.7.4",
|
|
33
33
|
"@pinia/nuxt": "^0.5.1",
|
|
34
|
-
"@vue-storefront/sdk": "^3.2.0",
|
|
35
34
|
"defu": "^6.0.0",
|
|
36
35
|
"knitwork": "^1.0.0",
|
|
37
36
|
"pinia": "^2.1.7"
|
|
@@ -41,9 +40,13 @@
|
|
|
41
40
|
"@nuxt/devtools": "1.3.3",
|
|
42
41
|
"@nuxt/module-builder": "0.7.1",
|
|
43
42
|
"@nuxt/test-utils": "3.13.1",
|
|
43
|
+
"@vue-storefront/sdk": "^3.1.0",
|
|
44
44
|
"@vue-storefront/unified-data-model": "^2.0.0",
|
|
45
45
|
"nuxt": "3.12.2",
|
|
46
46
|
"start-server-and-test": "^2.0.3",
|
|
47
47
|
"vitest": "1.6.0"
|
|
48
|
+
},
|
|
49
|
+
"peerDependencies": {
|
|
50
|
+
"@vue-storefront/sdk": "^3.1.0"
|
|
48
51
|
}
|
|
49
52
|
}
|