@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.
Files changed (3) hide show
  1. package/README.md +4 -8
  2. package/package.json +7 -6
  3. 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.0
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 [[`d016d6b`](https://github.com/shopware/frontends/commit/d016d6b845bff9a148405a74dae88d7fc81ec99c), [`c28810d`](https://github.com/shopware/frontends/commit/c28810d0ca503b97c232438e200bbf5ba5dab403), [`a7ff606`](https://github.com/shopware/frontends/commit/a7ff60681d1a164d5c9f2020c506262e96fad5dc), [`d016d6b`](https://github.com/shopware/frontends/commit/d016d6b845bff9a148405a74dae88d7fc81ec99c), [`bd70905`](https://github.com/shopware/frontends/commit/bd70905b8443fd57d8d8cb3cfc6501a9117dea49)]:
137
- - @shopware/api-client@1.3.0
138
- - @shopware/composables@1.9.0
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.0",
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.16.2",
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.0",
41
- "@shopware/helpers": "1.4.0",
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.16.2",
47
- "nuxt": "3.16.2",
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?.event, "sw-context-token")
58
+ ? getCookie(NuxtApp.ssrContext.event, "sw-context-token")
59
59
  : Cookies.get("sw-context-token");
60
60
 
61
61
  const apiClient = createAPIClient({