orionplace-nuxt 0.7.8 → 0.7.9
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "orionplace-nuxt",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.9",
|
|
4
4
|
"description": "Nuxt 4 storefront for your Orionplace marketplace: setup CLI, server API gateway, typed store and ready-made catalog, cart, checkout and account components in English, Russian and Spanish, plus an Android app build.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -91,7 +91,10 @@ function createClients(): OrionplaceClients {
|
|
|
91
91
|
: request.headers;
|
|
92
92
|
|
|
93
93
|
await requestFetch<unknown>(path, {
|
|
94
|
-
|
|
94
|
+
// Nuxt 4.6 types the method per known server route; the gateway path
|
|
95
|
+
// is a plain string, for which only 'get' type-checks. ofetch sends any
|
|
96
|
+
// method as given, so the type alone is widened.
|
|
97
|
+
method: request.method as 'get',
|
|
95
98
|
headers,
|
|
96
99
|
body: request.method === 'GET' ? undefined : request.data,
|
|
97
100
|
query:
|