@scayle/storefront-nuxt 7.76.0 → 7.76.2

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,18 @@
1
1
  # @scayle/storefront-nuxt
2
2
 
3
+ ## 7.76.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated to `vue@3.4.27`
8
+ - Updated to `nuxt@3.11.2`
9
+
10
+ ## 7.76.1
11
+
12
+ ### Patch Changes
13
+
14
+ - `useRpc` will watch now `params` if it is a getter or ref, whereas previously it would only watch for refs
15
+
3
16
  ## 7.76.0
4
17
 
5
18
  ### Minor Changes
package/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scayle/storefront-nuxt",
3
- "version": "7.75.1",
3
+ "version": "7.76.1",
4
4
  "configKey": "storefront",
5
5
  "compatibility": {
6
6
  "nuxt": "^3.9.0"
package/dist/module.mjs CHANGED
@@ -64,7 +64,7 @@ export default {
64
64
  }`;
65
65
  }
66
66
  const PACKAGE_NAME = "@scayle/storefront-nuxt";
67
- const PACKAGE_VERSION = "7.75.1";
67
+ const PACKAGE_VERSION = "7.76.1";
68
68
  const logger = createConsola({
69
69
  fancy: true,
70
70
  formatOptions: {
@@ -43,7 +43,8 @@ export function useRpc(method, key, params, options) {
43
43
  );
44
44
  },
45
45
  {
46
- ...isRef(params) ? { watch: [params] } : {},
46
+ // Both refs and getter functions are valid watch sources
47
+ ...isRef(params) || typeof params === "function" ? { watch: [params] } : {},
47
48
  ...options
48
49
  }
49
50
  );
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@scayle/storefront-nuxt",
3
3
  "type": "module",
4
- "version": "7.76.0",
4
+ "version": "7.76.2",
5
5
  "description": "Nuxt integration for the SCAYLE Commerce Engine and Storefront API",
6
6
  "author": "SCAYLE Commerce Engine",
7
7
  "license": "MIT",
@@ -57,12 +57,12 @@
57
57
  "test:watch": "vitest watch"
58
58
  },
59
59
  "dependencies": {
60
- "@nuxt/kit": "3.11.1",
60
+ "@nuxt/kit": "3.11.2",
61
61
  "@opentelemetry/api": "1.9.0",
62
62
  "@scayle/h3-session": "0.4.0",
63
63
  "@scayle/storefront-core": "7.55.0",
64
64
  "@scayle/unstorage-compression-driver": "0.1.3",
65
- "@vueuse/core": "10.10.0",
65
+ "@vueuse/core": "10.11.0",
66
66
  "consola": "3.2.3",
67
67
  "core-js": "3.37.1",
68
68
  "defu": "6.1.4",
@@ -81,7 +81,7 @@
81
81
  "devDependencies": {
82
82
  "@nuxt/eslint": "0.3.13",
83
83
  "@nuxt/module-builder": "0.5.5",
84
- "@nuxt/schema": "3.11.1",
84
+ "@nuxt/schema": "3.11.2",
85
85
  "@nuxt/test-utils": "3.13.1",
86
86
  "@scayle/eslint-config-storefront": "4.2.0",
87
87
  "@scayle/eslint-plugin-vue-composable": "0.2.0",
@@ -93,7 +93,7 @@
93
93
  "h3": "1.11.1",
94
94
  "node-mocks-http": "1.14.1",
95
95
  "nuxi": "3.11.1",
96
- "nuxt": "3.11.1",
96
+ "nuxt": "3.11.2",
97
97
  "publint": "0.2.8",
98
98
  "vitest": "1.6.0",
99
99
  "vue-tsc": "2.0.21"
@@ -106,9 +106,9 @@
106
106
  },
107
107
  "resolutions": {
108
108
  "h3": "1.11.1",
109
- "vue": "3.4.21",
110
- "@nuxt/kit": "3.11.1",
111
- "@nuxt/schema": "3.11.1"
109
+ "vue": "3.4.27",
110
+ "@nuxt/kit": "3.11.2",
111
+ "@nuxt/schema": "3.11.2"
112
112
  },
113
113
  "volta": {
114
114
  "node": "20.14.0"