@scayle/storefront-nuxt 8.65.0 → 8.65.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
@@ -1,5 +1,20 @@
1
1
  # @scayle/storefront-nuxt
2
2
 
3
+ ## 8.65.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependency `@vercel/nft@1.11.12` to `@vercel/nft@1.11.18`
8
+
9
+ **Dependencies**
10
+
11
+ **@scayle/storefront-core v8.65.1**
12
+
13
+ - Patch
14
+ - Fixed customers being signed out when their access token expired and the `refreshUser` RPC method ran, for example through `useUser().forceRefresh()`. The SDK refreshed the tokens, then retried the `/me` request with the expired token that `refreshUser` had passed in. The Customer Account API used to accept that token on the retry and now rejects it, so the SDK got a second 403 and ended the session.
15
+
16
+ `CustomerAPIClient.getMe` now ignores its `accessToken` argument when it is the same as the access token stored in the session, and uses the stored one. The retry after a token refresh therefore sends the refreshed token. A different token, such as a new login token that is not stored yet, is sent unchanged. Your Storefront Application needs no code change.
17
+
3
18
  ## 8.65.0
4
19
 
5
20
  ### Minor Changes
package/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scayle/storefront-nuxt",
3
- "version": "8.65.0",
3
+ "version": "8.65.1",
4
4
  "configKey": "storefront",
5
5
  "compatibility": {
6
6
  "nuxt": ">=3.15.0 <4.0.0 || >=4.2.2"
package/dist/module.mjs CHANGED
@@ -57,7 +57,7 @@ export default {
57
57
  }`;
58
58
  }
59
59
  const PACKAGE_NAME = "@scayle/storefront-nuxt";
60
- const PACKAGE_VERSION = "8.65.0";
60
+ const PACKAGE_VERSION = "8.65.1";
61
61
  const logger = createConsola({
62
62
  fancy: true,
63
63
  formatOptions: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@scayle/storefront-nuxt",
3
3
  "type": "module",
4
- "version": "8.65.0",
4
+ "version": "8.65.1",
5
5
  "description": "Nuxt integration for the SCAYLE Commerce Engine and Storefront API",
6
6
  "author": "SCAYLE Commerce Engine",
7
7
  "license": "MIT",
@@ -79,9 +79,9 @@
79
79
  "dependencies": {
80
80
  "@opentelemetry/api": "^1.9.1",
81
81
  "@scayle/h3-session": "0.7.2",
82
- "@scayle/storefront-core": "8.65.0",
82
+ "@scayle/storefront-core": "8.65.1",
83
83
  "@scayle/unstorage-compression-driver": "1.6.3",
84
- "@vercel/nft": "1.11.12",
84
+ "@vercel/nft": "1.11.18",
85
85
  "@vueuse/core": "15.0.0",
86
86
  "consola": "^3.4.2",
87
87
  "core-js": "^3.49.0",
@@ -115,7 +115,7 @@
115
115
  "@scayle/vitest-config-storefront": "1.0.0",
116
116
  "@types/node": "^24",
117
117
  "@vitest/coverage-v8": "5.1.2",
118
- "eslint": "10.15.0",
118
+ "eslint": "10.16.0",
119
119
  "eslint-formatter-gitlab": "7.2.0",
120
120
  "fishery": "2.4.0",
121
121
  "h3": "1.15.11",