@scayle/storefront-nuxt 7.82.2 → 7.83.0

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,11 @@
1
1
  # @scayle/storefront-nuxt
2
2
 
3
+ ## 7.83.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Deprecate `useQueryFilterState` in the `@scayle/storefront-nuxt` package
8
+
3
9
  ## 7.82.2
4
10
 
5
11
  ### Patch Changes
package/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scayle/storefront-nuxt",
3
- "version": "7.82.2",
3
+ "version": "7.83.0",
4
4
  "configKey": "storefront",
5
5
  "compatibility": {
6
6
  "nuxt": "^3.9.0"
package/dist/module.mjs CHANGED
@@ -65,7 +65,7 @@ export default {
65
65
  }`;
66
66
  }
67
67
  const PACKAGE_NAME = "@scayle/storefront-nuxt";
68
- const PACKAGE_VERSION = "7.82.2";
68
+ const PACKAGE_VERSION = "7.83.0";
69
69
  const logger = createConsola({
70
70
  fancy: true,
71
71
  formatOptions: {
@@ -1,7 +1,8 @@
1
- import type { FilterParams, SortingValueKey, TransformedFilter, Filter } from '@scayle/storefront-core';
1
+ import { type FilterParams, type TransformedFilter, type Filter, type SortingValueKey } from '@scayle/storefront-core';
2
2
  type Options = {
3
3
  defaultSort?: SortingValueKey;
4
4
  };
5
+ /** @deprecated The Storefront Boilerplate contains a `useQueryFilterState` composable you can use instead. **/
5
6
  export declare function useQueryFilterState(options?: Options): {
6
7
  activeFilters: import("vue").ComputedRef<Filter>;
7
8
  applyFilters: (filter?: Filter, scrollToTop?: boolean) => Promise<void>;
@@ -1,10 +1,10 @@
1
1
  import { isEmpty, isEqual } from "radash";
2
2
  import {
3
- getSortByValue,
4
3
  isFilterActive,
5
4
  transformToWhereCondition,
6
5
  serializeFilters,
7
- deserializeFilters
6
+ deserializeFilters,
7
+ getSortByValue
8
8
  } from "@scayle/storefront-core";
9
9
  import { computed } from "vue";
10
10
  import { getCurrentPage } from "../../utils/route.mjs";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@scayle/storefront-nuxt",
3
3
  "type": "module",
4
- "version": "7.82.2",
4
+ "version": "7.83.0",
5
5
  "description": "Nuxt integration for the SCAYLE Commerce Engine and Storefront API",
6
6
  "author": "SCAYLE Commerce Engine",
7
7
  "license": "MIT",
@@ -86,7 +86,7 @@
86
86
  "@nuxt/test-utils": "3.13.1",
87
87
  "@scayle/eslint-config-storefront": "4.2.0",
88
88
  "@scayle/eslint-plugin-vue-composable": "0.2.0",
89
- "@types/node": "20.14.11",
89
+ "@types/node": "20.14.12",
90
90
  "dprint": "0.47.2",
91
91
  "eslint": "9.7.0",
92
92
  "eslint-formatter-gitlab": "5.1.0",
@@ -97,7 +97,7 @@
97
97
  "nuxt": "3.12.4",
98
98
  "publint": "0.2.9",
99
99
  "vitest": "2.0.4",
100
- "vue-tsc": "2.0.28"
100
+ "vue-tsc": "2.0.29"
101
101
  },
102
102
  "peerDependencies": {
103
103
  "h3": "^1.10.0",