@newskit-render/standalone-components 0.6.2 → 0.8.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.
@@ -6,6 +6,6 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.GET_RECOMMENDATIONS = void 0;
8
8
  var client_1 = require("@apollo/client");
9
- exports.GET_RECOMMENDATIONS = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n query getRecommendedArticlesSUN_UK(\n $recomArgs: RecommendationsParameters!\n $publisher: Publisher!\n ) {\n recommendations(publisher: $publisher, recomArgs: $recomArgs) {\n feedbackId\n articles {\n headline\n kicker\n url\n media {\n ... on Image {\n crops(\n cropsArguments: [\n { ratio: THREE_BY_TWO, maxPhysicalWidth: 150 }\n { ratio: THREE_BY_TWO, maxPhysicalWidth: 620 }\n ]\n ) {\n url\n alt\n width\n height\n }\n }\n ... on Video {\n posterImage {\n crops {\n url\n }\n }\n }\n }\n }\n }\n }\n"], ["\n query getRecommendedArticlesSUN_UK(\n $recomArgs: RecommendationsParameters!\n $publisher: Publisher!\n ) {\n recommendations(publisher: $publisher, recomArgs: $recomArgs) {\n feedbackId\n articles {\n headline\n kicker\n url\n media {\n ... on Image {\n crops(\n cropsArguments: [\n { ratio: THREE_BY_TWO, maxPhysicalWidth: 150 }\n { ratio: THREE_BY_TWO, maxPhysicalWidth: 620 }\n ]\n ) {\n url\n alt\n width\n height\n }\n }\n ... on Video {\n posterImage {\n crops {\n url\n }\n }\n }\n }\n }\n }\n }\n"])));
9
+ exports.GET_RECOMMENDATIONS = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n query getRecommendedArticles(\n $recomArgs: RecommendationsParameters!\n $publisher: Publisher!\n ) {\n recommendations(publisher: $publisher, recomArgs: $recomArgs) {\n feedbackId\n articles {\n headline\n kicker\n url\n media {\n ... on Image {\n crops(\n cropsArguments: [\n { ratio: THREE_BY_TWO, maxPhysicalWidth: 150 }\n { ratio: THREE_BY_TWO, maxPhysicalWidth: 620 }\n ]\n ) {\n url\n alt\n width\n height\n }\n }\n ... on Video {\n posterImage {\n crops {\n url\n }\n }\n }\n }\n }\n }\n }\n"], ["\n query getRecommendedArticles(\n $recomArgs: RecommendationsParameters!\n $publisher: Publisher!\n ) {\n recommendations(publisher: $publisher, recomArgs: $recomArgs) {\n feedbackId\n articles {\n headline\n kicker\n url\n media {\n ... on Image {\n crops(\n cropsArguments: [\n { ratio: THREE_BY_TWO, maxPhysicalWidth: 150 }\n { ratio: THREE_BY_TWO, maxPhysicalWidth: 620 }\n ]\n ) {\n url\n alt\n width\n height\n }\n }\n ... on Video {\n posterImage {\n crops {\n url\n }\n }\n }\n }\n }\n }\n }\n"])));
10
10
  var templateObject_1;
11
11
  //# sourceMappingURL=getRecommendationsQuery.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getRecommendationsQuery.js","sourceRoot":"","sources":["../../../../src/article-recommendations/provider/queries/getRecommendationsQuery.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAoC;AAEvB,QAAA,mBAAmB,OAAG,YAAG,m3BAAA,+yBAoCrC,KAAA"}
1
+ {"version":3,"file":"getRecommendationsQuery.js","sourceRoot":"","sources":["../../../../src/article-recommendations/provider/queries/getRecommendationsQuery.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAoC;AAEvB,QAAA,mBAAmB,OAAG,YAAG,62BAAA,yyBAoCrC,KAAA"}
@@ -6,6 +6,6 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.GET_RECOMMENDATIONS = void 0;
8
8
  var client_1 = require("@apollo/client");
9
- exports.GET_RECOMMENDATIONS = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n query getRecommendedArticlesSUN_UK(\n $recomArgs: RecommendationsParameters!\n $publisher: Publisher!\n ) {\n recommendations(publisher: $publisher, recomArgs: $recomArgs) {\n feedbackId\n articles {\n headline\n kicker\n url\n media {\n ... on Image {\n crops(\n cropsArguments: [\n { ratio: THREE_BY_TWO, maxPhysicalWidth: 150 }\n { ratio: THREE_BY_TWO, maxPhysicalWidth: 620 }\n ]\n ) {\n url\n alt\n width\n height\n }\n }\n ... on Video {\n posterImage {\n crops {\n url\n }\n }\n }\n }\n }\n }\n }\n"], ["\n query getRecommendedArticlesSUN_UK(\n $recomArgs: RecommendationsParameters!\n $publisher: Publisher!\n ) {\n recommendations(publisher: $publisher, recomArgs: $recomArgs) {\n feedbackId\n articles {\n headline\n kicker\n url\n media {\n ... on Image {\n crops(\n cropsArguments: [\n { ratio: THREE_BY_TWO, maxPhysicalWidth: 150 }\n { ratio: THREE_BY_TWO, maxPhysicalWidth: 620 }\n ]\n ) {\n url\n alt\n width\n height\n }\n }\n ... on Video {\n posterImage {\n crops {\n url\n }\n }\n }\n }\n }\n }\n }\n"])));
9
+ exports.GET_RECOMMENDATIONS = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n query getRecommendedArticles(\n $recomArgs: RecommendationsParameters!\n $publisher: Publisher!\n ) {\n recommendations(publisher: $publisher, recomArgs: $recomArgs) {\n feedbackId\n articles {\n headline\n kicker\n url\n media {\n ... on Image {\n crops(\n cropsArguments: [\n { ratio: THREE_BY_TWO, maxPhysicalWidth: 150 }\n { ratio: THREE_BY_TWO, maxPhysicalWidth: 620 }\n ]\n ) {\n url\n alt\n width\n height\n }\n }\n ... on Video {\n posterImage {\n crops {\n url\n }\n }\n }\n }\n }\n }\n }\n"], ["\n query getRecommendedArticles(\n $recomArgs: RecommendationsParameters!\n $publisher: Publisher!\n ) {\n recommendations(publisher: $publisher, recomArgs: $recomArgs) {\n feedbackId\n articles {\n headline\n kicker\n url\n media {\n ... on Image {\n crops(\n cropsArguments: [\n { ratio: THREE_BY_TWO, maxPhysicalWidth: 150 }\n { ratio: THREE_BY_TWO, maxPhysicalWidth: 620 }\n ]\n ) {\n url\n alt\n width\n height\n }\n }\n ... on Video {\n posterImage {\n crops {\n url\n }\n }\n }\n }\n }\n }\n }\n"])));
10
10
  var templateObject_1;
11
11
  //# sourceMappingURL=getRecommendationsQuery.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getRecommendationsQuery.js","sourceRoot":"","sources":["../../../../../src/article-recommendations/provider/queries/getRecommendationsQuery.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAoC;AAEvB,QAAA,mBAAmB,OAAG,YAAG,m3BAAA,+yBAoCrC,KAAA"}
1
+ {"version":3,"file":"getRecommendationsQuery.js","sourceRoot":"","sources":["../../../../../src/article-recommendations/provider/queries/getRecommendationsQuery.ts"],"names":[],"mappings":";;;;;;;AAAA,yCAAoC;AAEvB,QAAA,mBAAmB,OAAG,YAAG,62BAAA,yyBAoCrC,KAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4DAAyC;AACzC,6CAA0B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4DAAyC;AAEzC,6CAA0B"}
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4DAAyC;AACzC,6CAA0B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4DAAyC;AAEzC,6CAA0B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newskit-render/standalone-components",
3
- "version": "0.6.2",
3
+ "version": "0.8.1",
4
4
  "description": "Newskit Render Standalone Components",
5
5
  "author": "",
6
6
  "license": "UNLICENSED",
@@ -77,7 +77,7 @@
77
77
  },
78
78
  "dependencies": {
79
79
  "@apollo/client": "3.4.16",
80
- "@newskit-render/api": "^0.23.1",
80
+ "@newskit-render/api": "^0.24.1",
81
81
  "graphql": "15.6.0"
82
82
  },
83
83
  "resolutions": {