@quintype/seo 1.40.6-embed-url.1 → 1.40.6-embed-url.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/.vscode/settings.json
CHANGED
package/dist/index.cjs.js
CHANGED
|
@@ -822,6 +822,7 @@ function generateLiveBlogPostingData(structuredData = {}, story = {}, publisherC
|
|
|
822
822
|
|
|
823
823
|
function getEmbedUrl(cards) {
|
|
824
824
|
// get the first story element which has the embed url
|
|
825
|
+
// one more comment
|
|
825
826
|
const storyElement = cards.flatMap(card => card["story-elements"]).find(elem => elem["embed-url"]);
|
|
826
827
|
if (storyElement) {
|
|
827
828
|
return storyElement["embed-url"];
|
package/package.json
CHANGED
|
@@ -256,6 +256,7 @@ function generateLiveBlogPostingData(structuredData = {}, story = {}, publisherC
|
|
|
256
256
|
|
|
257
257
|
function getEmbedUrl(cards) {
|
|
258
258
|
// get the first story element which has the embed url
|
|
259
|
+
// one more comment
|
|
259
260
|
const storyElement = cards
|
|
260
261
|
.flatMap((card) => card["story-elements"])
|
|
261
262
|
.find((elem) => elem["embed-url"]);
|