@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.
@@ -3,7 +3,7 @@
3
3
  "editor.defaultFormatter": "esbenp.prettier-vscode"
4
4
  },
5
5
  "editor.tabSize": 2,
6
- "editor.formatOnSave": true,
6
+ "editor.formatOnSave": false,
7
7
  "editor.detectIndentation": false,
8
8
  "files.insertFinalNewline": true,
9
9
  "files.trimTrailingWhitespace": true,
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quintype/seo",
3
- "version": "1.40.6-embed-url.1",
3
+ "version": "1.40.6-embed-url.2",
4
4
  "description": "SEO Modules for Quintype",
5
5
  "main": "dist/index.cjs.js",
6
6
  "repository": "https://github.com/quintype/quintype-node-seo",
@@ -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"]);