@shopware/nuxt-module 1.4.0 → 1.4.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/README.md +4 -8
- package/package.json +7 -6
- package/plugin.ts +1 -1
package/README.md
CHANGED
|
@@ -125,14 +125,10 @@ More about Nuxt configuration can be found [HERE](https://nuxt.com/docs/getting-
|
|
|
125
125
|
|
|
126
126
|
Full changelog for stable version is available [here](https://github.com/shopware/frontends/blob/main/packages/nuxt-module/CHANGELOG.md)
|
|
127
127
|
|
|
128
|
-
### Latest changes: 1.4.
|
|
129
|
-
|
|
130
|
-
### Minor Changes
|
|
131
|
-
|
|
132
|
-
- [#1812](https://github.com/shopware/frontends/pull/1812) [`c28810d`](https://github.com/shopware/frontends/commit/c28810d0ca503b97c232438e200bbf5ba5dab403) Thanks [@patzick](https://github.com/patzick)! - `useShopwareContext` - added `browserLocale` field. With nuxt-module it's automatically injected into context. Should be used for proper date formatting.
|
|
128
|
+
### Latest changes: 1.4.1
|
|
133
129
|
|
|
134
130
|
### Patch Changes
|
|
135
131
|
|
|
136
|
-
- Updated dependencies [[`
|
|
137
|
-
- @shopware/
|
|
138
|
-
- @shopware/
|
|
132
|
+
- Updated dependencies [[`ab040bb`](https://github.com/shopware/frontends/commit/ab040bb6cc05541001a983c26d5cb6dbf3192394), [`c8fa438`](https://github.com/shopware/frontends/commit/c8fa438b38de6dbc43a2895f2d1906907447c384)]:
|
|
133
|
+
- @shopware/composables@1.9.1
|
|
134
|
+
- @shopware/helpers@1.5.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shopware/nuxt-module",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"description": "Nuxt 3 module for Shopware Frontends",
|
|
5
5
|
"author": "Shopware",
|
|
6
6
|
"repository": {
|
|
@@ -34,17 +34,18 @@
|
|
|
34
34
|
"index.cjs"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@nuxt/kit": "3.
|
|
37
|
+
"@nuxt/kit": "3.17.5",
|
|
38
38
|
"defu": "6.1.4",
|
|
39
|
+
"h3": "1.15.3",
|
|
39
40
|
"js-cookie": "3.0.5",
|
|
40
|
-
"@shopware/composables": "1.9.
|
|
41
|
-
"@shopware/helpers": "1.
|
|
41
|
+
"@shopware/composables": "1.9.1",
|
|
42
|
+
"@shopware/helpers": "1.5.0",
|
|
42
43
|
"@shopware/api-client": "1.3.0"
|
|
43
44
|
},
|
|
44
45
|
"devDependencies": {
|
|
45
46
|
"@biomejs/biome": "1.8.3",
|
|
46
|
-
"@nuxt/schema": "3.
|
|
47
|
-
"nuxt": "3.
|
|
47
|
+
"@nuxt/schema": "3.17.5",
|
|
48
|
+
"nuxt": "3.17.5",
|
|
48
49
|
"typescript": "5.8.3",
|
|
49
50
|
"unbuild": "2.0.0",
|
|
50
51
|
"tsconfig": "0.0.0"
|
package/plugin.ts
CHANGED
|
@@ -55,7 +55,7 @@ export default defineNuxtPlugin((NuxtApp) => {
|
|
|
55
55
|
!!runtimeConfig?.shopware?.useUserContextInSSR;
|
|
56
56
|
|
|
57
57
|
const contextTokenFromCookie = NuxtApp.ssrContext
|
|
58
|
-
? getCookie(NuxtApp.ssrContext
|
|
58
|
+
? getCookie(NuxtApp.ssrContext.event, "sw-context-token")
|
|
59
59
|
: Cookies.get("sw-context-token");
|
|
60
60
|
|
|
61
61
|
const apiClient = createAPIClient({
|