@fy-/fws-vue 1.7.9 → 1.8.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.
@@ -123,14 +123,12 @@ useHead({
123
123
  href: prevNextSeo.value.next,
124
124
  rel: "next",
125
125
  key: "next",
126
- hid: "next",
127
126
  });
128
127
  if (prevNextSeo.value.prev)
129
128
  result.push({
130
129
  href: prevNextSeo.value.prev,
131
130
  rel: "prev",
132
131
  key: "prev",
133
- hid: "prev",
134
132
  });
135
133
 
136
134
  return result;
@@ -50,7 +50,6 @@ export const useSeo = (seo: Ref<LazyHead>, initial: boolean = false) => {
50
50
  rel: "canonical",
51
51
  href: seo.value.canonical,
52
52
  key: "canonical",
53
- hid: "canonical",
54
53
  });
55
54
  }
56
55
 
@@ -63,7 +62,6 @@ export const useSeo = (seo: Ref<LazyHead>, initial: boolean = false) => {
63
62
  getURL().Host
64
63
  }/l/${locale}${getURL().Path.replace(getPrefix(), "")}`,
65
64
  key: `alternate-${locale}`,
66
- hid: `alternate-${locale}`,
67
65
  });
68
66
  }
69
67
  });
@@ -77,7 +75,7 @@ export const useSeo = (seo: Ref<LazyHead>, initial: boolean = false) => {
77
75
  { property: "og:locale", content: currentLocale },
78
76
  {
79
77
  property: "og:url",
80
- hid: "og:url",
78
+ key: "og:url",
81
79
  content: seo.value.url
82
80
  ? seo.value.url
83
81
  : `${getURL().Scheme}://${getURL().Host}${route.fullPath}`,
@@ -85,29 +83,29 @@ export const useSeo = (seo: Ref<LazyHead>, initial: boolean = false) => {
85
83
  {
86
84
  property: "og:type",
87
85
  content: seo.value.type || "website",
88
- hid: "og:type",
86
+ key: "og:type",
89
87
  },
90
88
  {
91
89
  name: "robots",
92
90
  content:
93
91
  "index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1",
94
- hid: "robots",
92
+ key: "robots",
95
93
  },
96
94
  );
97
95
 
98
96
  if (seo.value.isAdult) {
99
97
  metas.push(
100
- { name: "rating", content: "adult", hid: "rating" },
98
+ { name: "rating", content: "adult", key: "rating" },
101
99
  {
102
100
  name: "RATING",
103
101
  content: "RTA-5042-1996-1400-1577-RTA",
104
- hid: "RTA",
102
+ key: "RTA",
105
103
  },
106
- { property: "rating", content: "adult", hid: "rating-property" },
104
+ { property: "rating", content: "adult", key: "rating-property" },
107
105
  {
108
106
  property: "RATING",
109
107
  content: "RTA-5042-1996-1400-1577-RTA",
110
- hid: "RTA-property",
108
+ key: "RTA-property",
111
109
  },
112
110
  );
113
111
  }
@@ -138,13 +136,13 @@ export const useSeo = (seo: Ref<LazyHead>, initial: boolean = false) => {
138
136
  metas.push({
139
137
  name: property,
140
138
  content: seoValue,
141
- hid: property,
139
+ key: property,
142
140
  });
143
141
  } else {
144
142
  metas.push({
145
143
  property,
146
144
  content: seoValue as string,
147
- hid: property,
145
+ key: property,
148
146
  });
149
147
  }
150
148
  });
@@ -155,7 +153,7 @@ export const useSeo = (seo: Ref<LazyHead>, initial: boolean = false) => {
155
153
  metas.push({
156
154
  name: "description",
157
155
  content: seo.value.description,
158
- hid: "description",
156
+ key: "description",
159
157
  });
160
158
  }
161
159
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fy-/fws-vue",
3
- "version": "1.7.9",
3
+ "version": "1.8.2",
4
4
  "author": "Florian 'Fy' Gasquez <m@fy.to>",
5
5
  "license": "MIT",
6
6
  "repository": {