@scayle/storefront-nuxt 7.62.3 → 7.62.4

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,13 @@
1
1
  # @scayle/storefront-nuxt
2
2
 
3
+ ## 7.62.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Removed direct logging of `vm` in `log.client.ts` to fix a recursive/infinite logging issue, now logging `vm.$options` instead.
8
+ - Updated dependencies
9
+ - @scayle/storefront-core@7.47.0
10
+
3
11
  ## 7.62.3
4
12
 
5
13
  ### Patch Changes
package/dist/module.json CHANGED
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.9.0"
6
6
  },
7
- "version": "7.62.2"
7
+ "version": "7.62.3"
8
8
  }
@@ -23,7 +23,7 @@ declare const _default: import("h3").EventHandler<import("h3").EventHandlerReque
23
23
  unfilteredCount: number;
24
24
  } | {
25
25
  count: number;
26
- } | import("@scayle/storefront-core").TypeaheadSuggestionsEndpointResponseData | import("@aboutyou/backbone/endpoints/shopconfiguration/shopconfiguration").ShopConfigurationResponseData | {
26
+ } | import("@scayle/storefront-core").TypeaheadSuggestionsEndpointResponseData | import("@scayle/storefront-core").SearchV2SuggestionsEndpointResponseData | import("@scayle/storefront-core").SearchEntity | import("@aboutyou/backbone/endpoints/shopconfiguration/shopconfiguration").ShopConfigurationResponseData | {
27
27
  user: import("@scayle/storefront-core").ShopUser | undefined;
28
28
  } | import("@scayle/storefront-core").WishlistResponseData | Response | import("@scayle/storefront-core").ShopUserAddress[] | import("@aboutyou/backbone/endpoints/variants/variantsByIds").VariantDetail[] | import("@aboutyou/backbone").NavigationAllEndpointResponseData | import("@scayle/storefront-core").NavigationTree | {
29
29
  success: true;
@@ -37,5 +37,5 @@ declare const _default: import("h3").EventHandler<import("h3").EventHandlerReque
37
37
  [k: string]: string;
38
38
  } | {
39
39
  message: string;
40
- } | undefined>>;
40
+ } | null | undefined>>;
41
41
  export default _default;
@@ -20,9 +20,17 @@ export default defineNuxtPlugin((nuxtApp) => {
20
20
  });
21
21
  function addClientSideErrorHandling(log, app) {
22
22
  app.config.warnHandler = (msg, vm, trace) => {
23
- log.space("warnHandler").warn(msg, { vm, trace });
23
+ log.space("warnHandler").warn(msg, {
24
+ vmOptions: vm?.$options,
25
+ trace,
26
+ component: vm?.$options.__name
27
+ });
24
28
  };
25
29
  app.config.errorHandler = (error, vm, info) => {
26
- log.space("errorHandler").error(error, { vm, info, component: vm?.$options.__name });
30
+ log.space("errorHandler").error(error, {
31
+ vmOptions: vm?.$options,
32
+ info,
33
+ component: vm?.$options.__name
34
+ });
27
35
  };
28
36
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@scayle/storefront-nuxt",
3
3
  "type": "module",
4
- "version": "7.62.3",
4
+ "version": "7.62.4",
5
5
  "description": "Nuxt integration for the SCAYLE Commerce Engine and Storefront API",
6
6
  "author": "SCAYLE Commerce Engine",
7
7
  "license": "MIT",
@@ -62,15 +62,15 @@
62
62
  "dependencies": {
63
63
  "@nuxt/kit": "3.11.1",
64
64
  "@scayle/h3-session": "0.3.5",
65
- "@scayle/storefront-core": "7.46.1",
65
+ "@scayle/storefront-core": "7.47.0",
66
66
  "@scayle/unstorage-compression-driver": "0.1.2",
67
67
  "@vueuse/core": "10.9.0",
68
68
  "consola": "3.2.3",
69
69
  "core-js": "3.36.1",
70
70
  "defu": "6.1.4",
71
71
  "jose": "^5.2.0",
72
- "knitwork": "1.0.0",
73
- "nitropack": "2.9.5",
72
+ "knitwork": "1.1.0",
73
+ "nitropack": "2.9.6",
74
74
  "ofetch": "1.3.4",
75
75
  "radash": "12.1.0",
76
76
  "uncrypto": "0.1.3",
@@ -85,7 +85,7 @@
85
85
  "@scayle/eslint-config-storefront": "3.2.6",
86
86
  "@scayle/eslint-plugin-vue-composable": "0.1.1",
87
87
  "@scayle/prettier-config-storefront": "2.0.2",
88
- "@types/node": "20.11.30",
88
+ "@types/node": "20.12.3",
89
89
  "eslint": "8.57.0",
90
90
  "eslint-formatter-gitlab": "5.1.0",
91
91
  "h3": "1.11.1",
@@ -109,6 +109,6 @@
109
109
  "@nuxt/schema": "3.11.1"
110
110
  },
111
111
  "volta": {
112
- "node": "20.11.1"
112
+ "node": "20.12.0"
113
113
  }
114
114
  }