@scayle/storefront-nuxt 7.84.5 → 7.84.6

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,12 @@
1
1
  # @scayle/storefront-nuxt
2
2
 
3
+ ## 7.84.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @scayle/storefront-core@7.64.2
9
+
3
10
  ## 7.84.5
4
11
 
5
12
  ### Patch Changes
package/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scayle/storefront-nuxt",
3
- "version": "7.84.5",
3
+ "version": "7.84.6",
4
4
  "configKey": "storefront",
5
5
  "compatibility": {
6
6
  "nuxt": "^3.9.0"
package/dist/module.mjs CHANGED
@@ -66,7 +66,7 @@ export default {
66
66
  }`;
67
67
  }
68
68
  const PACKAGE_NAME = "@scayle/storefront-nuxt";
69
- const PACKAGE_VERSION = "7.84.5";
69
+ const PACKAGE_VERSION = "7.84.6";
70
70
  const logger = createConsola({
71
71
  fancy: true,
72
72
  formatOptions: {
@@ -1,2 +1,2 @@
1
1
  import type { PublicShopConfig } from '../../../module';
2
- export declare function useAvailableShops(): import("vue").Ref<PublicShopConfig[], PublicShopConfig[]>;
2
+ export declare function useAvailableShops(): import("vue").Ref<PublicShopConfig[]>;
@@ -16,19 +16,17 @@ type Options = Partial<{
16
16
  }>;
17
17
  export declare function useFacet({ key: optionsKey, params, }?: Options, _key?: string): {
18
18
  filters: import("vue").ComputedRef<import("@scayle/storefront-api").FiltersEndpointResponseData>;
19
- filtersFetching: import("vue").Ref<boolean, boolean>;
19
+ filtersFetching: import("vue").Ref<boolean>;
20
20
  unfilteredCount: import("vue").ComputedRef<number>;
21
- filterStatus: import("vue").Ref<import("nuxt/app").AsyncDataRequestStatus, import("nuxt/app").AsyncDataRequestStatus>;
22
- filterError: import("vue").Ref<any, any>;
21
+ filterStatus: import("vue").Ref<import("nuxt/app").AsyncDataRequestStatus>;
22
+ filterError: import("vue").Ref<any>;
23
23
  productCountData: import("vue").Ref<{
24
24
  count: number;
25
- }, {
26
- count: number;
27
25
  }>;
28
26
  refreshProductCount: ({ where, }?: FilterParams) => Promise<void>;
29
- productCountFetching: import("vue").Ref<boolean, boolean>;
30
- productCountError: import("vue").Ref<any, any>;
31
- productCountStatus: import("vue").Ref<import("nuxt/app").AsyncDataRequestStatus, import("nuxt/app").AsyncDataRequestStatus>;
27
+ productCountFetching: import("vue").Ref<boolean>;
28
+ productCountError: import("vue").Ref<any>;
29
+ productCountStatus: import("vue").Ref<import("nuxt/app").AsyncDataRequestStatus>;
32
30
  products: import("vue").ComputedRef<import("@scayle/storefront-api").Product[]>;
33
31
  pagination: import("vue").ComputedRef<{
34
32
  current: number;
@@ -40,15 +38,15 @@ export declare function useFacet({ key: optionsKey, params, }?: Options, _key?:
40
38
  next: number;
41
39
  last: number;
42
40
  }>;
43
- productsFetching: import("vue").Ref<boolean, boolean>;
41
+ productsFetching: import("vue").Ref<boolean>;
44
42
  filterProducts: ({ where, page, sort, orFiltersOperator, }: FilterParams) => Promise<void>;
45
- productError: import("vue").Ref<any, any>;
46
- productStatus: import("vue").Ref<import("nuxt/app").AsyncDataRequestStatus, import("nuxt/app").AsyncDataRequestStatus>;
43
+ productError: import("vue").Ref<any>;
44
+ productStatus: import("vue").Ref<import("nuxt/app").AsyncDataRequestStatus>;
47
45
  categories: import("vue").ComputedRef<import("@scayle/storefront-api").Category | import("@scayle/storefront-api").Category[]>;
48
46
  selectedCategory: import("vue").ComputedRef<import("@scayle/storefront-api").Category | undefined>;
49
- categoriesFetching: import("vue").Ref<boolean, boolean>;
50
- categoriesError: import("vue").Ref<any, any>;
51
- categoriesStatus: import("vue").Ref<import("nuxt/app").AsyncDataRequestStatus, import("nuxt/app").AsyncDataRequestStatus>;
47
+ categoriesFetching: import("vue").Ref<boolean>;
48
+ categoriesError: import("vue").Ref<any>;
49
+ categoriesStatus: import("vue").Ref<import("nuxt/app").AsyncDataRequestStatus>;
52
50
  fetchProducts: ({ path, page, perPage, where, sort, pricePromotionKey, cache, orFiltersOperator, }: FilterParams & {
53
51
  path: string;
54
52
  pricePromotionKey?: string;
@@ -57,19 +55,17 @@ export declare function useFacet({ key: optionsKey, params, }?: Options, _key?:
57
55
  fetchPage: (pageToFetch: number) => Promise<void>;
58
56
  } & Promise<{
59
57
  filters: import("vue").ComputedRef<import("@scayle/storefront-api").FiltersEndpointResponseData>;
60
- filtersFetching: import("vue").Ref<boolean, boolean>;
58
+ filtersFetching: import("vue").Ref<boolean>;
61
59
  unfilteredCount: import("vue").ComputedRef<number>;
62
- filterStatus: import("vue").Ref<import("nuxt/app").AsyncDataRequestStatus, import("nuxt/app").AsyncDataRequestStatus>;
63
- filterError: import("vue").Ref<any, any>;
60
+ filterStatus: import("vue").Ref<import("nuxt/app").AsyncDataRequestStatus>;
61
+ filterError: import("vue").Ref<any>;
64
62
  productCountData: import("vue").Ref<{
65
63
  count: number;
66
- }, {
67
- count: number;
68
64
  }>;
69
65
  refreshProductCount: ({ where, }?: FilterParams) => Promise<void>;
70
- productCountFetching: import("vue").Ref<boolean, boolean>;
71
- productCountError: import("vue").Ref<any, any>;
72
- productCountStatus: import("vue").Ref<import("nuxt/app").AsyncDataRequestStatus, import("nuxt/app").AsyncDataRequestStatus>;
66
+ productCountFetching: import("vue").Ref<boolean>;
67
+ productCountError: import("vue").Ref<any>;
68
+ productCountStatus: import("vue").Ref<import("nuxt/app").AsyncDataRequestStatus>;
73
69
  products: import("vue").ComputedRef<import("@scayle/storefront-api").Product[]>;
74
70
  pagination: import("vue").ComputedRef<{
75
71
  current: number;
@@ -81,15 +77,15 @@ export declare function useFacet({ key: optionsKey, params, }?: Options, _key?:
81
77
  next: number;
82
78
  last: number;
83
79
  }>;
84
- productsFetching: import("vue").Ref<boolean, boolean>;
80
+ productsFetching: import("vue").Ref<boolean>;
85
81
  filterProducts: ({ where, page, sort, orFiltersOperator, }: FilterParams) => Promise<void>;
86
- productError: import("vue").Ref<any, any>;
87
- productStatus: import("vue").Ref<import("nuxt/app").AsyncDataRequestStatus, import("nuxt/app").AsyncDataRequestStatus>;
82
+ productError: import("vue").Ref<any>;
83
+ productStatus: import("vue").Ref<import("nuxt/app").AsyncDataRequestStatus>;
88
84
  categories: import("vue").ComputedRef<import("@scayle/storefront-api").Category | import("@scayle/storefront-api").Category[]>;
89
85
  selectedCategory: import("vue").ComputedRef<import("@scayle/storefront-api").Category | undefined>;
90
- categoriesFetching: import("vue").Ref<boolean, boolean>;
91
- categoriesError: import("vue").Ref<any, any>;
92
- categoriesStatus: import("vue").Ref<import("nuxt/app").AsyncDataRequestStatus, import("nuxt/app").AsyncDataRequestStatus>;
86
+ categoriesFetching: import("vue").Ref<boolean>;
87
+ categoriesError: import("vue").Ref<any>;
88
+ categoriesStatus: import("vue").Ref<import("nuxt/app").AsyncDataRequestStatus>;
93
89
  fetchProducts: ({ path, page, perPage, where, sort, pricePromotionKey, cache, orFiltersOperator, }: FilterParams & {
94
90
  path: string;
95
91
  pricePromotionKey?: string;
@@ -5,9 +5,9 @@ type Options = Partial<{
5
5
  }>;
6
6
  /** @deprecated `useSearch` is deprecated. Please, use `useSearchSuggestions` or `useSearchResolve` */
7
7
  export declare function useSearch({ params, key }?: Options): {
8
- data: import("vue").Ref<TypeaheadSuggestionsEndpointResponseData | undefined, TypeaheadSuggestionsEndpointResponseData | undefined>;
9
- pending: import("vue").Ref<boolean, boolean>;
10
- searchQuery: import("vue").Ref<string, string>;
8
+ data: import("vue").Ref<TypeaheadSuggestionsEndpointResponseData | undefined>;
9
+ pending: import("vue").Ref<boolean>;
10
+ searchQuery: import("vue").Ref<string>;
11
11
  resetSearch: () => void;
12
12
  search: ({ term, slug, productLimit }: SearchInput) => Promise<void>;
13
13
  };
@@ -8,8 +8,8 @@ export type SearchOptions = Partial<{
8
8
  key: string;
9
9
  }>;
10
10
  export declare function useStorefrontSearch(searchQuery: Ref<string>, { params, key }?: SearchOptions): {
11
- data: import("vue").Ref<SearchV2SuggestionsEndpointResponseData | undefined, SearchV2SuggestionsEndpointResponseData | undefined>;
12
- pending: import("vue").Ref<boolean, boolean>;
11
+ data: import("vue").Ref<SearchV2SuggestionsEndpointResponseData | undefined>;
12
+ pending: import("vue").Ref<boolean>;
13
13
  resetSearch: () => void;
14
14
  getSearchSuggestions: () => Promise<void>;
15
15
  resolveSearch: () => Promise<import("@scayle/storefront-api").SearchEntity | null | undefined>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@scayle/storefront-nuxt",
3
3
  "type": "module",
4
- "version": "7.84.5",
4
+ "version": "7.84.6",
5
5
  "description": "Nuxt integration for the SCAYLE Commerce Engine and Storefront API",
6
6
  "author": "SCAYLE Commerce Engine",
7
7
  "license": "MIT",
@@ -60,7 +60,7 @@
60
60
  "@nuxt/kit": "^3.12.2",
61
61
  "@opentelemetry/api": "^1.9.0",
62
62
  "@scayle/h3-session": "^0.4.0",
63
- "@scayle/storefront-core": "7.64.1",
63
+ "@scayle/storefront-core": "7.64.2",
64
64
  "@scayle/unstorage-compression-driver": "^0.1.3",
65
65
  "@vueuse/core": "^10.11.0",
66
66
  "consola": "^3.2.3",
@@ -83,7 +83,7 @@
83
83
  "@nuxt/eslint": "0.5.0",
84
84
  "@nuxt/module-builder": "0.5.5",
85
85
  "@nuxt/schema": "3.12.4",
86
- "@nuxt/test-utils": "3.14.0",
86
+ "@nuxt/test-utils": "3.14.1",
87
87
  "@scayle/eslint-config-storefront": "4.3.0",
88
88
  "@scayle/eslint-plugin-vue-composable": "0.2.0",
89
89
  "@types/node": "20.14.15",
@@ -95,7 +95,7 @@
95
95
  "node-mocks-http": "1.15.1",
96
96
  "nuxi": "3.12.0",
97
97
  "nuxt": "3.12.4",
98
- "publint": "0.2.9",
98
+ "publint": "0.2.10",
99
99
  "vitest": "2.0.5",
100
100
  "vue-tsc": "2.0.29"
101
101
  },
@@ -107,7 +107,7 @@
107
107
  },
108
108
  "resolutions": {
109
109
  "h3": "1.12.0",
110
- "vue": "3.4.37",
110
+ "vue": "3.4.38",
111
111
  "@nuxt/kit": "3.12.4",
112
112
  "@nuxt/schema": "3.12.4"
113
113
  },