@scayle/storefront-product-listing 1.3.1 → 1.3.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,11 @@
1
1
  # @scayle/storefront-product-listing
2
2
 
3
+ ## 1.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Use absolute URL's in category breadcrumbs JSONLD returned by `useProductListingSeoData`
8
+
3
9
  ## 1.3.1
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -8,4 +8,5 @@ declare const breadcrumbsFactory: Factory<BreadcrumbItem[], any, BreadcrumbItem[
8
8
 
9
9
  declare const filtersFactory: Factory<FilterItemWithValues[], any, FilterItemWithValues[]>;
10
10
 
11
- export { type RangeTuple, breadcrumbsFactory, filtersFactory };
11
+ export { breadcrumbsFactory, filtersFactory };
12
+ export type { RangeTuple };
package/dist/index.d.ts CHANGED
@@ -8,4 +8,5 @@ declare const breadcrumbsFactory: Factory<BreadcrumbItem[], any, BreadcrumbItem[
8
8
 
9
9
  declare const filtersFactory: Factory<FilterItemWithValues[], any, FilterItemWithValues[]>;
10
10
 
11
- export { type RangeTuple, breadcrumbsFactory, filtersFactory };
11
+ export { breadcrumbsFactory, filtersFactory };
12
+ export type { RangeTuple };
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@scayle/storefront-product-listing",
3
3
  "configKey": "product-listing",
4
- "version": "1.3.1",
4
+ "version": "1.3.2",
5
5
  "compatibility": {
6
6
  "bridge": false,
7
7
  "nuxt": ">=3.13"
package/dist/module.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineNuxtModule, createResolver, addImportsDir } from '@nuxt/kit';
2
2
 
3
3
  const PACKAGE_NAME = "@scayle/storefront-product-listing";
4
- const PACKAGE_VERSION = "1.3.1";
4
+ const PACKAGE_VERSION = "1.3.2";
5
5
  const module = defineNuxtModule({
6
6
  meta: {
7
7
  name: PACKAGE_NAME,
@@ -22,7 +22,14 @@ export function useProductListingSeoData(breadcrumbs, route, { baseUrl, fullPath
22
22
  return toValue(breadcrumbs).map(({ value }) => value).join(" - ");
23
23
  });
24
24
  const categoryBreadcrumbSchema = computed(
25
- () => generateCategoryBreadcrumbSchema(toValue(breadcrumbs))
25
+ () => generateCategoryBreadcrumbSchema(
26
+ toValue(breadcrumbs).map(({ to, value }) => {
27
+ return {
28
+ value,
29
+ to: new URL(to, baseUrl).href
30
+ };
31
+ })
32
+ )
26
33
  );
27
34
  return {
28
35
  title,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scayle/storefront-product-listing",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Collection of essential composables and utilities to work with product listing",
5
5
  "author": "SCAYLE Commerce Engine",
6
6
  "license": "MIT",
@@ -63,17 +63,17 @@
63
63
  "@nuxt/module-builder": "0.8.4",
64
64
  "@nuxt/schema": "3.15.4",
65
65
  "@nuxt/test-utils": "3.17.2",
66
- "@scayle/eslint-config-storefront": "4.4.1",
67
- "@scayle/storefront-api": "18.1.0",
68
- "@scayle/storefront-nuxt": "8.11.11",
69
- "@types/node": "22.13.10",
66
+ "@scayle/eslint-config-storefront": "4.5.0",
67
+ "@scayle/storefront-api": "18.2.1",
68
+ "@scayle/storefront-nuxt": "8.16.0",
69
+ "@types/node": "22.14.0",
70
70
  "@vue/test-utils": "2.4.6",
71
71
  "@vueuse/core": "13.0.0",
72
- "dprint": "0.49.0",
72
+ "dprint": "0.49.1",
73
73
  "eslint-formatter-gitlab": "5.1.0",
74
- "eslint": "9.22.0",
74
+ "eslint": "9.23.0",
75
75
  "fishery": "2.2.3",
76
- "happy-dom": "17.4.3",
76
+ "happy-dom": "17.4.4",
77
77
  "nuxt": "3.15.4",
78
78
  "publint": "0.2.12",
79
79
  "schema-dts": "1.1.5",