@mjhls/mjh-framework 1.0.526 → 1.0.528

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/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- # mjh-framework v. 1.0.526
2
+ # mjh-framework v. 1.0.528
3
3
 
4
4
  > Foundation Framework
5
5
 
@@ -50,7 +50,7 @@ var AD300x250 = function AD300x250(_ref) {
50
50
  };
51
51
 
52
52
  var browserSizes = [[300, 250], [300, 100]];
53
- var mobileSizes = [[300, 50], [320, 50], [300, 250], [300, 100]];
53
+ var mobileSizes = [[300, 250], [300, 100]];
54
54
 
55
55
  return React__default['default'].createElement(AdSlot, { networkID: networkID, adUnit: adUnit, slotId: slotId, targeting: adTargeting, className: 'AD300x250', sizes: mobileView ? mobileSizes : browserSizes });
56
56
  };
@@ -57,13 +57,13 @@ var AD300x250x600 = function AD300x250x600(_ref) {
57
57
  sizes: [[300, 100], [300, 250]]
58
58
  }, {
59
59
  viewport: [1, 1],
60
- sizes: [[300, 50], [300, 100], [320, 50], [300, 250]]
60
+ sizes: [[300, 100], [300, 250]]
61
61
  }] : [{
62
62
  viewport: [768, 0],
63
63
  sizes: [[300, 100], [300, 250], [300, 600]]
64
64
  }, {
65
65
  viewport: [1, 1],
66
- sizes: [[300, 50], [300, 100], [320, 50], [300, 250]]
66
+ sizes: [[300, 100], [300, 250]]
67
67
  }];
68
68
 
69
69
  return React__default['default'].createElement(AdSlot, {
@@ -7067,6 +7067,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7067
7067
  getSerializers = _ref.getSerializers,
7068
7068
  accountIDs = _ref.accountIDs;
7069
7069
 
7070
+ if (!nodes || !nodes.videos) {
7071
+ return null;
7072
+ }
7073
+
7070
7074
  var builder = index.imageUrlBuilder(client);
7071
7075
  function urlFor(source) {
7072
7076
  return builder.image(source);
@@ -44,7 +44,7 @@ var AD300x250 = function AD300x250(_ref) {
44
44
  };
45
45
 
46
46
  var browserSizes = [[300, 250], [300, 100]];
47
- var mobileSizes = [[300, 50], [320, 50], [300, 250], [300, 100]];
47
+ var mobileSizes = [[300, 250], [300, 100]];
48
48
 
49
49
  return React.createElement(DFPAdSlot, { networkID: networkID, adUnit: adUnit, slotId: slotId, targeting: adTargeting, className: 'AD300x250', sizes: mobileView ? mobileSizes : browserSizes });
50
50
  };
@@ -51,13 +51,13 @@ var AD300x250x600 = function AD300x250x600(_ref) {
51
51
  sizes: [[300, 100], [300, 250]]
52
52
  }, {
53
53
  viewport: [1, 1],
54
- sizes: [[300, 50], [300, 100], [320, 50], [300, 250]]
54
+ sizes: [[300, 100], [300, 250]]
55
55
  }] : [{
56
56
  viewport: [768, 0],
57
57
  sizes: [[300, 100], [300, 250], [300, 600]]
58
58
  }, {
59
59
  viewport: [1, 1],
60
- sizes: [[300, 50], [300, 100], [320, 50], [300, 250]]
60
+ sizes: [[300, 100], [300, 250]]
61
61
  }];
62
62
 
63
63
  return React.createElement(DFPAdSlot, {
@@ -7056,6 +7056,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
7056
7056
  getSerializers = _ref.getSerializers,
7057
7057
  accountIDs = _ref.accountIDs;
7058
7058
 
7059
+ if (!nodes || !nodes.videos) {
7060
+ return null;
7061
+ }
7062
+
7059
7063
  var builder = imageUrlBuilder(client);
7060
7064
  function urlFor(source) {
7061
7065
  return builder.image(source);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.526",
3
+ "version": "1.0.528",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",