@quintype/seo 1.46.0 → 1.46.1-fix-author-schema.1

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/dist/index.cjs.js CHANGED
@@ -912,6 +912,10 @@ function StructuredDataTags({ structuredData = {} }, config, pageType, response
912
912
 
913
913
  let articleData = {};
914
914
 
915
+ console.log("============================");
916
+ console.log({ structuredData, config, pageType, response, url });
917
+ console.log("============================");
918
+
915
919
  if (!isStructuredDataEmpty) {
916
920
  articleData = generateArticleData(structuredData, story, publisherConfig, timezone);
917
921
  structuredDataTags.map(type => {
@@ -981,6 +985,9 @@ function StructuredDataTags({ structuredData = {} }, config, pageType, response
981
985
  return {};
982
986
  }
983
987
 
988
+ console.log({ tags });
989
+ console.log("========================");
990
+
984
991
  // All Pages have: Publisher, Site
985
992
  // Story Page have : Article/NewsArticle/LiveBlog/Review as appropriate
986
993
  return tags;
package/index.js CHANGED
@@ -7,15 +7,15 @@ import { generateStaticData, generateStructuredData } from "./src/generate-commo
7
7
  import { ImageTags } from "./src/image-tags.js";
8
8
  import { StaticTags } from "./src/static-tags.js";
9
9
  import { StructuredDataTags } from "./src/structured-data/structured-data-tags.js";
10
- import { getTitle, TextTags } from "./src/text-tags.js";
10
+ import { TextTags, getTitle } from "./src/text-tags.js";
11
11
 
12
12
  export {
13
- TextTags,
14
- StaticTags,
15
13
  AuthorTags,
16
14
  ImageTags,
17
- StructuredDataTags,
15
+ StaticTags,
18
16
  StoryAmpTags,
17
+ StructuredDataTags,
18
+ TextTags,
19
19
  generateStaticData,
20
20
  generateStructuredData,
21
21
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quintype/seo",
3
- "version": "1.46.0",
3
+ "version": "1.46.1-fix-author-schema.1",
4
4
  "description": "SEO Modules for Quintype",
5
5
  "main": "dist/index.cjs.js",
6
6
  "repository": "https://github.com/quintype/quintype-node-seo",
@@ -438,6 +438,10 @@ export function StructuredDataTags({ structuredData = {} }, config, pageType, re
438
438
 
439
439
  let articleData = {};
440
440
 
441
+ console.log("============================");
442
+ console.log({ structuredData, config, pageType, response, url });
443
+ console.log("============================");
444
+
441
445
  if (!isStructuredDataEmpty) {
442
446
  articleData = generateArticleData(structuredData, story, publisherConfig, timezone);
443
447
  structuredDataTags.map((type) => {
@@ -513,6 +517,9 @@ export function StructuredDataTags({ structuredData = {} }, config, pageType, re
513
517
  return {};
514
518
  }
515
519
 
520
+ console.log({ tags });
521
+ console.log("========================");
522
+
516
523
  // All Pages have: Publisher, Site
517
524
  // Story Page have : Article/NewsArticle/LiveBlog/Review as appropriate
518
525
  return tags;