@fy-/fws-vue 2.0.6 → 2.0.9

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.
@@ -113,15 +113,20 @@ export const useSeo = (seoData: Ref<LazyHead>, initial: boolean = false) => {
113
113
  articleModifiedTime: () => seoData.value.modified,
114
114
  ogImage: () => seoData.value.image,
115
115
  ogImageSecureUrl: () => seoData.value.image,
116
+ ogImageUrl: () => seoData.value.image,
116
117
  ogImageType: () => {
117
118
  if (seoData.value.imageType) {
118
- return seoData.value.imageType ? seoData.value.imageType : "image/png";
119
+ return seoData.value.imageType
120
+ ? "image/" + seoData.value.imageType
121
+ : "image/png";
119
122
  }
120
123
  return undefined;
121
124
  },
122
125
  twitterImageType() {
123
126
  if (seoData.value.imageType) {
124
- return seoData.value.imageType ? seoData.value.imageType : "image/png";
127
+ return seoData.value.imageType
128
+ ? "image/" + seoData.value.imageType
129
+ : "image/png";
125
130
  }
126
131
  return undefined;
127
132
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fy-/fws-vue",
3
- "version": "2.0.06",
3
+ "version": "2.0.09",
4
4
  "author": "Florian 'Fy' Gasquez <m@fy.to>",
5
5
  "license": "MIT",
6
6
  "repository": {