@scayle/storefront-nuxt 8.38.4 → 8.39.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,35 @@
1
1
  # @scayle/storefront-nuxt
2
2
 
3
+ ## 8.39.1
4
+
5
+ ### Patch Changes
6
+
7
+ **Dependencies**
8
+
9
+ - Updated dependency to @scayle/unstorage-compression-driver@1.0.1
10
+
11
+ **@scayle/storefront-core v8.39.1**
12
+
13
+ - Patch
14
+ - Added `'token'` and `'code'` to the list of default `blacklistedKeys`. This will more proactively redact server logs to prevent leaked data.
15
+
16
+ ## 8.39.0
17
+
18
+ ### Minor Changes
19
+
20
+ - [OTEL] When recording span exceptions, also include the `error.cause` if it exists.
21
+
22
+ ### Patch Changes
23
+
24
+ - Updated dependency `@vercel/nft@0.29.4` to `@vercel/nft@0.30.0`
25
+
26
+ **Dependencies**
27
+
28
+ **@scayle/storefront-core v8.39.0**
29
+
30
+ - Patch
31
+ - Use a custom error type for OAuth API errors to improve troubleshooting OAuth errors.
32
+
3
33
  ## 8.38.4
4
34
 
5
35
  ### Patch Changes
package/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scayle/storefront-nuxt",
3
- "version": "8.38.4",
3
+ "version": "8.39.1",
4
4
  "configKey": "storefront",
5
5
  "compatibility": {
6
6
  "nuxt": "^3.9.0"
package/dist/module.mjs CHANGED
@@ -54,7 +54,7 @@ export default {
54
54
  }`;
55
55
  }
56
56
  const PACKAGE_NAME = "@scayle/storefront-nuxt";
57
- const PACKAGE_VERSION = "8.38.4";
57
+ const PACKAGE_VERSION = "8.39.1";
58
58
  const logger = createConsola({
59
59
  fancy: true,
60
60
  formatOptions: {
@@ -63,7 +63,7 @@ export default defineEventHandler(async (event) => {
63
63
  span.setStatus({ code: SpanStatusCode.OK });
64
64
  }
65
65
  } catch (e) {
66
- $rpcContext.log.space("sfc").error(`RPC Handler failed: ${method}`, e);
66
+ $rpcContext.log.space("sfc").error(`RPC Handler failed: ${method}.`, e);
67
67
  await nitroApp.hooks.callHook(
68
68
  "storefront:rpc:error",
69
69
  method,
@@ -73,6 +73,9 @@ export default defineEventHandler(async (event) => {
73
73
  result = createError(resolveError(e));
74
74
  if (e instanceof Error) {
75
75
  span.recordException(e);
76
+ if (e.cause && e.cause instanceof Error) {
77
+ span.recordException(e.cause);
78
+ }
76
79
  }
77
80
  span.setStatus({ code: SpanStatusCode.ERROR });
78
81
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@scayle/storefront-nuxt",
3
3
  "type": "module",
4
- "version": "8.38.4",
4
+ "version": "8.39.1",
5
5
  "description": "Nuxt integration for the SCAYLE Commerce Engine and Storefront API",
6
6
  "author": "SCAYLE Commerce Engine",
7
7
  "license": "MIT",
@@ -74,7 +74,7 @@
74
74
  "dependencies": {
75
75
  "@opentelemetry/api": "^1.9.0",
76
76
  "@scayle/h3-session": "0.6.1",
77
- "@vercel/nft": "0.29.4",
77
+ "@vercel/nft": "0.30.0",
78
78
  "@vueuse/core": "13.6.0",
79
79
  "consola": "^3.2.3",
80
80
  "core-js": "^3.37.1",
@@ -90,40 +90,41 @@
90
90
  "utility-types": "^3.11.0",
91
91
  "vue-router": "^4.4.0",
92
92
  "zod": "^4.0.0",
93
- "@scayle/storefront-core": "8.38.4",
93
+ "@scayle/storefront-core": "8.39.1",
94
94
  "@scayle/unstorage-compression-driver": "1.0.1"
95
95
  },
96
96
  "devDependencies": {
97
97
  "@arethetypeswrong/cli": "0.18.2",
98
98
  "@eslint/eslintrc": "3.3.1",
99
- "@nuxt/eslint": "1.7.1",
100
- "@nuxt/eslint-config": "1.7.1",
99
+ "@nuxt/eslint": "1.8.0",
100
+ "@nuxt/eslint-config": "1.8.0",
101
101
  "@nuxt/kit": "3.17.7",
102
102
  "@nuxt/module-builder": "1.0.2",
103
103
  "@nuxt/schema": "3.17.7",
104
104
  "@nuxt/test-utils": "3.19.2",
105
- "@types/node": "22.16.5",
105
+ "@types/node": "22.17.0",
106
106
  "@vitest/coverage-v8": "3.2.4",
107
107
  "dprint": "0.50.1",
108
108
  "eslint-formatter-gitlab": "6.0.1",
109
109
  "eslint": "9.32.0",
110
110
  "fishery": "2.3.1",
111
- "h3": "1.15.3",
111
+ "h3": "1.15.4",
112
112
  "nitro-test-utils": "0.9.2",
113
113
  "nitropack": "2.12.4",
114
114
  "node-mocks-http": "1.17.2",
115
115
  "nuxt": "3.17.7",
116
116
  "publint": "0.3.12",
117
- "typescript": "5.8.3",
117
+ "typescript": "5.9.2",
118
118
  "unbuild": "3.6.0",
119
119
  "vitest": "3.2.4",
120
- "vue-tsc": "3.0.4",
121
- "@scayle/eslint-config-storefront": "4.7.2",
120
+ "vue-tsc": "3.0.5",
121
+ "@scayle/eslint-config-storefront": "4.7.3",
122
122
  "@scayle/eslint-plugin-vue-composable": "0.2.1",
123
+ "@scayle/vitest-config-storefront": "1.0.0",
123
124
  "@scayle/unstorage-scayle-kv-driver": "1.0.3"
124
125
  },
125
126
  "volta": {
126
- "node": "22.17.1"
127
+ "node": "22.18.0"
127
128
  },
128
129
  "scripts": {
129
130
  "build": "nuxt-module-build build",