@rileybathurst/paddle 0.0.71 → 0.0.72

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@rileybathurst/paddle",
3
3
  "private": false,
4
- "version": "0.0.71",
4
+ "version": "0.0.72",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",
package/src/PaddleSEO.tsx CHANGED
@@ -32,7 +32,7 @@ function Breadcrumbs(breadcrumbs: BreadcrumbsTypes) {
32
32
  "@type": "ListItem",
33
33
  "position": ${Number.parseInt(key) + 1},
34
34
  "name": "${breadcrumb.name}",
35
- "item": "${breadcrumbs.url}/${breadcrumb.item}"
35
+ "item": "${url}/${breadcrumb.item}"
36
36
  }`
37
37
  })}
38
38
  ]
@@ -118,7 +118,7 @@ export const PaddleSEO = ({ title, description, ogImage, ogImageDescription, bre
118
118
  const paymentAcceptedFormatted = paymentAcceptedQuery.split('\n').map((payment: string) => payment.trim().replace('- ', '')).join(', ');
119
119
  // console.log(paymentAcceptedFormatted);
120
120
 
121
- console.log(breadcrumbs);
121
+ // console.log(breadcrumbs);
122
122
 
123
123
  return (
124
124
  <>
@@ -166,11 +166,6 @@ export const PaddleSEO = ({ title, description, ogImage, ogImageDescription, bre
166
166
  }`
167
167
  })}
168
168
  ],
169
- "geo": {
170
- "@type": "GeoCoordinates",
171
- "latitude": "${strapiLocale.latitude}",
172
- "longitude": "${strapiLocale.longitude}"
173
- },
174
169
  "areaServed": {
175
170
  "@type": "GeoCircle",
176
171
  "geoMidpoint": {
@@ -182,7 +177,6 @@ export const PaddleSEO = ({ title, description, ogImage, ogImageDescription, bre
182
177
  },
183
178
  "telephone": "${strapiLocale.phone}",
184
179
  "email": "${strapiLocale.email}",
185
-
186
180
  "numberOfEmployees" : "${strapiLocale.numberOfEmployees}",
187
181
  "priceRange": "${strapiLocale.priceRange}",
188
182
  "slogan": "${strapiLocale.slogan}",