@thg-altitude/schemaorg 1.0.43 → 1.0.45

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thg-altitude/schemaorg",
3
- "version": "1.0.43",
3
+ "version": "1.0.45",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -898,9 +898,6 @@ function generateReviewsSchema() {
898
898
  "@type": "Review",
899
899
  description: content,
900
900
  datePublished: review.posted,
901
- itemReviewed: {
902
- "@id": pageUrl,
903
- },
904
901
  reviewRating: {
905
902
  "@type": "Rating",
906
903
  worstRating: 1,
@@ -91,10 +91,6 @@ let reviewsArray: {}[] = []
91
91
  Astro.props.reviews?.forEach((review)=>{
92
92
  reviewsArray.push({
93
93
  "@type": "Review",
94
- itemReviewed: {
95
- "@id": Astro.props.sku?.toString() || "",
96
- name: Astro.props.name || "",
97
- },
98
94
  reviewRating: {
99
95
  "@type": "Rating",
100
96
  bestRating: "5",
@@ -536,4 +532,4 @@ if (reviewsArray.length > 0) schema.review = reviewsArray;
536
532
  return undefined;
537
533
  }
538
534
  return value;
539
- })}></script>
535
+ })}></script>