@mjhls/mjh-framework 1.0.300 → 1.0.301

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.298
2
+ # mjh-framework v. 1.0.301
3
3
 
4
4
  > Foundation Framework
5
5
 
@@ -5,7 +5,7 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau
5
5
  var React = require('react');
6
6
  var React__default = _interopDefault(React);
7
7
  var Card = _interopDefault(require('react-bootstrap/Card'));
8
- var AdSlot = require('./AdSlot-29aee917.js');
8
+ var AdSlot = require('./AdSlot-0af5afb9.js');
9
9
 
10
10
  var ADInfeed = function ADInfeed(_ref) {
11
11
  var index = _ref.index,
@@ -1033,7 +1033,11 @@ var Beam = {
1033
1033
  while (1) {
1034
1034
  switch (_context4.prev = _context4.next) {
1035
1035
  case 0:
1036
- beam = _this4.get_beam(deviceType);
1036
+ _context4.next = 2;
1037
+ return _this4.get_beam(deviceType);
1038
+
1039
+ case 2:
1040
+ beam = _context4.sent;
1037
1041
  data = {};
1038
1042
 
1039
1043
  data.campaignId = campID;
@@ -1044,7 +1048,7 @@ var Beam = {
1044
1048
 
1045
1049
  console.log('Call DFP', action, data);
1046
1050
 
1047
- _context4.next = 10;
1051
+ _context4.next = 12;
1048
1052
  return fetch(beam_domain + '/api/beam/ad', {
1049
1053
  headers: {
1050
1054
  'Content-Type': 'application/json',
@@ -1060,19 +1064,19 @@ var Beam = {
1060
1064
  })
1061
1065
  });
1062
1066
 
1063
- case 10:
1067
+ case 12:
1064
1068
  response = _context4.sent;
1065
- _context4.next = 13;
1069
+ _context4.next = 15;
1066
1070
  return response.json();
1067
1071
 
1068
- case 13:
1072
+ case 15:
1069
1073
  res = _context4.sent;
1070
1074
 
1071
1075
  if (res.error) {
1072
1076
  console.error('DFP reporting error:', res.error);
1073
1077
  }
1074
1078
 
1075
- case 15:
1079
+ case 17:
1076
1080
  case 'end':
1077
1081
  return _context4.stop();
1078
1082
  }
@@ -1089,7 +1093,11 @@ var Beam = {
1089
1093
  while (1) {
1090
1094
  switch (_context5.prev = _context5.next) {
1091
1095
  case 0:
1092
- beam = _this5.get_beam(deviceType);
1096
+ _context5.next = 2;
1097
+ return _this5.get_beam(deviceType);
1098
+
1099
+ case 2:
1100
+ beam = _context5.sent;
1093
1101
  data = {};
1094
1102
 
1095
1103
  data.duration = duration;
@@ -1099,7 +1107,7 @@ var Beam = {
1099
1107
 
1100
1108
  console.log('Call YouTube', action, data);
1101
1109
 
1102
- _context5.next = 9;
1110
+ _context5.next = 11;
1103
1111
  return fetch(beam_domain + '/api/beam/video', {
1104
1112
  headers: {
1105
1113
  'Content-Type': 'application/json',
@@ -1115,19 +1123,19 @@ var Beam = {
1115
1123
  })
1116
1124
  });
1117
1125
 
1118
- case 9:
1126
+ case 11:
1119
1127
  response = _context5.sent;
1120
- _context5.next = 12;
1128
+ _context5.next = 14;
1121
1129
  return response.json();
1122
1130
 
1123
- case 12:
1131
+ case 14:
1124
1132
  res = _context5.sent;
1125
1133
 
1126
1134
  if (res.error) {
1127
1135
  console.error('Video reporting error:', res.error);
1128
1136
  }
1129
1137
 
1130
- case 14:
1138
+ case 16:
1131
1139
  case 'end':
1132
1140
  return _context5.stop();
1133
1141
  }
@@ -27,9 +27,9 @@ var index = require('./index-39beccb3.js');
27
27
  var index$1 = require('./index-fa0fb52c.js');
28
28
  var entities = require('./entities-310b46ee.js');
29
29
  require('./slicedToArray-bed4d943.js');
30
- require('./AdSlot-29aee917.js');
30
+ require('./AdSlot-0af5afb9.js');
31
31
  require('./promise-2c453658.js');
32
- var ADInfeed = require('./ADInfeed-6b94763a.js');
32
+ var ADInfeed = require('./ADInfeed-ee8f2922.js');
33
33
 
34
34
  var DeckContent = function (_React$Component) {
35
35
  inherits$2._inherits(DeckContent, _React$Component);
@@ -20,7 +20,7 @@ var Router__default = _interopDefault(Router);
20
20
  var index = require('./index-39beccb3.js');
21
21
  var index$1 = require('./index-fa0fb52c.js');
22
22
  var entities = require('./entities-310b46ee.js');
23
- var ADInfeed = require('./ADInfeed-6b94763a.js');
23
+ var ADInfeed = require('./ADInfeed-ee8f2922.js');
24
24
  var get$1 = require('./get-de2660c3.js');
25
25
 
26
26
  var Dfp = React__default.lazy(function () {
@@ -23,11 +23,11 @@ require('./index-39beccb3.js');
23
23
  require('./index-fa0fb52c.js');
24
24
  require('./entities-310b46ee.js');
25
25
  require('./slicedToArray-bed4d943.js');
26
- require('./AdSlot-29aee917.js');
26
+ require('./AdSlot-0af5afb9.js');
27
27
  require('./promise-2c453658.js');
28
- require('./ADInfeed-6b94763a.js');
28
+ require('./ADInfeed-ee8f2922.js');
29
29
  require('./get-de2660c3.js');
30
- var GridContent = require('./GridContent-380b5f9c.js');
30
+ var GridContent = require('./GridContent-e6ff710e.js');
31
31
 
32
32
 
33
33
 
@@ -10,7 +10,7 @@ var Row = _interopDefault(require('react-bootstrap/Row'));
10
10
  var Col = _interopDefault(require('react-bootstrap/Col'));
11
11
  var Link = _interopDefault(require('next/link'));
12
12
  var slicedToArray = require('./slicedToArray-bed4d943.js');
13
- var AdSlot = require('./AdSlot-29aee917.js');
13
+ var AdSlot = require('./AdSlot-0af5afb9.js');
14
14
  var get$1 = require('./get-de2660c3.js');
15
15
  var reactSocialIcons = require('./react-social-icons-cd0d9d3b.js');
16
16
  var reactBootstrap = require('react-bootstrap');
@@ -23,9 +23,9 @@ var index = require('./index-39beccb3.js');
23
23
  var index$1 = require('./index-fa0fb52c.js');
24
24
  var entities = require('./entities-310b46ee.js');
25
25
  var slicedToArray = require('./slicedToArray-bed4d943.js');
26
- require('./AdSlot-29aee917.js');
26
+ require('./AdSlot-0af5afb9.js');
27
27
  require('./promise-2c453658.js');
28
- var ADInfeed = require('./ADInfeed-6b94763a.js');
28
+ var ADInfeed = require('./ADInfeed-ee8f2922.js');
29
29
  var reactBootstrap = require('react-bootstrap');
30
30
 
31
31
  var urlFor = function urlFor(source, builder) {
@@ -13,14 +13,14 @@ require('react-bootstrap/Row');
13
13
  require('react-bootstrap/Col');
14
14
  require('next/link');
15
15
  require('./slicedToArray-bed4d943.js');
16
- require('./AdSlot-29aee917.js');
16
+ require('./AdSlot-0af5afb9.js');
17
17
  require('./promise-2c453658.js');
18
18
  require('./get-de2660c3.js');
19
19
  require('./react-social-icons-cd0d9d3b.js');
20
20
  require('react-bootstrap');
21
21
  require('./index.esm-340d3792.js');
22
22
  require('react-bootstrap/Button');
23
- var TemplateNormal = require('./Normal-71e6f75e.js');
23
+ var TemplateNormal = require('./Normal-c531b426.js');
24
24
  require('react-bootstrap/ListGroup');
25
25
  require('next/head');
26
26
  require('react-bootstrap/Nav');
package/dist/cjs/index.js CHANGED
@@ -29,12 +29,12 @@ var index = require('./index-39beccb3.js');
29
29
  require('./index-fa0fb52c.js');
30
30
  var entities = require('./entities-310b46ee.js');
31
31
  var slicedToArray = require('./slicedToArray-bed4d943.js');
32
- var AdSlot = require('./AdSlot-29aee917.js');
32
+ var AdSlot = require('./AdSlot-0af5afb9.js');
33
33
  require('./promise-2c453658.js');
34
- require('./ADInfeed-6b94763a.js');
34
+ require('./ADInfeed-ee8f2922.js');
35
35
  var DeckContent = require('./DeckContent.js');
36
36
  var get$1 = require('./get-de2660c3.js');
37
- var GridContent = require('./GridContent-380b5f9c.js');
37
+ var GridContent = require('./GridContent-e6ff710e.js');
38
38
  var DeckQueue = require('./DeckQueue.js');
39
39
  require('react-bootstrap/Media');
40
40
  var ThumbnailCard = require('./ThumbnailCard.js');
@@ -53,7 +53,7 @@ var IssueDeck = require('./IssueDeck.js');
53
53
  require('react-bootstrap/Badge');
54
54
  var IssueContentDeck = require('./IssueContentDeck.js');
55
55
  var Spinner = _interopDefault(require('react-bootstrap/Spinner'));
56
- var TemplateNormal = require('./Normal-71e6f75e.js');
56
+ var TemplateNormal = require('./Normal-c531b426.js');
57
57
  require('react-bootstrap/ListGroup');
58
58
  var Head = _interopDefault(require('next/head'));
59
59
  var Accordion = _interopDefault(require('react-bootstrap/Accordion'));
@@ -1,6 +1,6 @@
1
1
  import React__default from 'react';
2
2
  import Card from 'react-bootstrap/Card';
3
- import { D as DFPAdSlot } from './AdSlot-3d2ecc87.js';
3
+ import { D as DFPAdSlot } from './AdSlot-b6af1ab4.js';
4
4
 
5
5
  var ADInfeed = function ADInfeed(_ref) {
6
6
  var index = _ref.index,
@@ -1028,7 +1028,11 @@ var Beam = {
1028
1028
  while (1) {
1029
1029
  switch (_context4.prev = _context4.next) {
1030
1030
  case 0:
1031
- beam = _this4.get_beam(deviceType);
1031
+ _context4.next = 2;
1032
+ return _this4.get_beam(deviceType);
1033
+
1034
+ case 2:
1035
+ beam = _context4.sent;
1032
1036
  data = {};
1033
1037
 
1034
1038
  data.campaignId = campID;
@@ -1039,7 +1043,7 @@ var Beam = {
1039
1043
 
1040
1044
  console.log('Call DFP', action, data);
1041
1045
 
1042
- _context4.next = 10;
1046
+ _context4.next = 12;
1043
1047
  return fetch(beam_domain + '/api/beam/ad', {
1044
1048
  headers: {
1045
1049
  'Content-Type': 'application/json',
@@ -1055,19 +1059,19 @@ var Beam = {
1055
1059
  })
1056
1060
  });
1057
1061
 
1058
- case 10:
1062
+ case 12:
1059
1063
  response = _context4.sent;
1060
- _context4.next = 13;
1064
+ _context4.next = 15;
1061
1065
  return response.json();
1062
1066
 
1063
- case 13:
1067
+ case 15:
1064
1068
  res = _context4.sent;
1065
1069
 
1066
1070
  if (res.error) {
1067
1071
  console.error('DFP reporting error:', res.error);
1068
1072
  }
1069
1073
 
1070
- case 15:
1074
+ case 17:
1071
1075
  case 'end':
1072
1076
  return _context4.stop();
1073
1077
  }
@@ -1084,7 +1088,11 @@ var Beam = {
1084
1088
  while (1) {
1085
1089
  switch (_context5.prev = _context5.next) {
1086
1090
  case 0:
1087
- beam = _this5.get_beam(deviceType);
1091
+ _context5.next = 2;
1092
+ return _this5.get_beam(deviceType);
1093
+
1094
+ case 2:
1095
+ beam = _context5.sent;
1088
1096
  data = {};
1089
1097
 
1090
1098
  data.duration = duration;
@@ -1094,7 +1102,7 @@ var Beam = {
1094
1102
 
1095
1103
  console.log('Call YouTube', action, data);
1096
1104
 
1097
- _context5.next = 9;
1105
+ _context5.next = 11;
1098
1106
  return fetch(beam_domain + '/api/beam/video', {
1099
1107
  headers: {
1100
1108
  'Content-Type': 'application/json',
@@ -1110,19 +1118,19 @@ var Beam = {
1110
1118
  })
1111
1119
  });
1112
1120
 
1113
- case 9:
1121
+ case 11:
1114
1122
  response = _context5.sent;
1115
- _context5.next = 12;
1123
+ _context5.next = 14;
1116
1124
  return response.json();
1117
1125
 
1118
- case 12:
1126
+ case 14:
1119
1127
  res = _context5.sent;
1120
1128
 
1121
1129
  if (res.error) {
1122
1130
  console.error('Video reporting error:', res.error);
1123
1131
  }
1124
1132
 
1125
- case 14:
1133
+ case 16:
1126
1134
  case 'end':
1127
1135
  return _context5.stop();
1128
1136
  }
@@ -21,9 +21,9 @@ import { i as imageUrlBuilder } from './index-3849e3fe.js';
21
21
  import { L as LazyLoad } from './index-5f9f807a.js';
22
22
  import { c as clean_html_1 } from './entities-7cc3bf45.js';
23
23
  import './slicedToArray-d1db3163.js';
24
- import './AdSlot-3d2ecc87.js';
24
+ import './AdSlot-b6af1ab4.js';
25
25
  import './promise-e3480f1c.js';
26
- import { A as ADInfeed } from './ADInfeed-94f767ec.js';
26
+ import { A as ADInfeed } from './ADInfeed-7bff8973.js';
27
27
 
28
28
  var DeckContent = function (_React$Component) {
29
29
  _inherits(DeckContent, _React$Component);
@@ -14,7 +14,7 @@ import { withRouter } from 'next/router';
14
14
  import { i as imageUrlBuilder } from './index-3849e3fe.js';
15
15
  import { L as LazyLoad } from './index-5f9f807a.js';
16
16
  import { c as clean_html_1 } from './entities-7cc3bf45.js';
17
- import { A as ADInfeed } from './ADInfeed-94f767ec.js';
17
+ import { A as ADInfeed } from './ADInfeed-7bff8973.js';
18
18
  import { g as get_1 } from './get-9c285a85.js';
19
19
 
20
20
  var Dfp = React__default.lazy(function () {
@@ -21,8 +21,8 @@ import './index-3849e3fe.js';
21
21
  import './index-5f9f807a.js';
22
22
  import './entities-7cc3bf45.js';
23
23
  import './slicedToArray-d1db3163.js';
24
- import './AdSlot-3d2ecc87.js';
24
+ import './AdSlot-b6af1ab4.js';
25
25
  import './promise-e3480f1c.js';
26
- import './ADInfeed-94f767ec.js';
26
+ import './ADInfeed-7bff8973.js';
27
27
  import './get-9c285a85.js';
28
- export { G as default } from './GridContent-7ea9958c.js';
28
+ export { G as default } from './GridContent-6f84ae5e.js';
@@ -5,7 +5,7 @@ import Row from 'react-bootstrap/Row';
5
5
  import Col from 'react-bootstrap/Col';
6
6
  import Link from 'next/link';
7
7
  import { _ as _slicedToArray } from './slicedToArray-d1db3163.js';
8
- import { D as DFPAdSlot } from './AdSlot-3d2ecc87.js';
8
+ import { D as DFPAdSlot } from './AdSlot-b6af1ab4.js';
9
9
  import { g as get_1 } from './get-9c285a85.js';
10
10
  import { r as reactSocialIcons_1 } from './react-social-icons-a7d5c5c7.js';
11
11
  import { Dropdown } from 'react-bootstrap';
@@ -17,9 +17,9 @@ import { i as imageUrlBuilder } from './index-3849e3fe.js';
17
17
  import { L as LazyLoad } from './index-5f9f807a.js';
18
18
  import { c as clean_html_1 } from './entities-7cc3bf45.js';
19
19
  import { _ as _slicedToArray } from './slicedToArray-d1db3163.js';
20
- import './AdSlot-3d2ecc87.js';
20
+ import './AdSlot-b6af1ab4.js';
21
21
  import './promise-e3480f1c.js';
22
- import { A as ADInfeed } from './ADInfeed-94f767ec.js';
22
+ import { A as ADInfeed } from './ADInfeed-7bff8973.js';
23
23
  import { Container, Media } from 'react-bootstrap';
24
24
 
25
25
  var urlFor = function urlFor(source, builder) {
@@ -11,14 +11,14 @@ import 'react-bootstrap/Row';
11
11
  import 'react-bootstrap/Col';
12
12
  import 'next/link';
13
13
  import './slicedToArray-d1db3163.js';
14
- import './AdSlot-3d2ecc87.js';
14
+ import './AdSlot-b6af1ab4.js';
15
15
  import './promise-e3480f1c.js';
16
16
  import './get-9c285a85.js';
17
17
  import './react-social-icons-a7d5c5c7.js';
18
18
  import 'react-bootstrap';
19
19
  import './index.esm-536609db.js';
20
20
  import 'react-bootstrap/Button';
21
- export { T as default } from './Normal-46a7df31.js';
21
+ export { T as default } from './Normal-b00784c9.js';
22
22
  import 'react-bootstrap/ListGroup';
23
23
  import 'next/head';
24
24
  import 'react-bootstrap/Nav';
package/dist/esm/index.js CHANGED
@@ -21,13 +21,13 @@ import { i as imageUrlBuilder } from './index-3849e3fe.js';
21
21
  import './index-5f9f807a.js';
22
22
  import { h as html_decode_1, c as clean_html_1 } from './entities-7cc3bf45.js';
23
23
  import { _ as _slicedToArray, a as _getIterator } from './slicedToArray-d1db3163.js';
24
- import { _ as _JSON$stringify, a as _asyncToGenerator, r as regenerator, D as DFPAdSlot, B as Beam } from './AdSlot-3d2ecc87.js';
25
- export { D as AdSlot, B as Beam } from './AdSlot-3d2ecc87.js';
24
+ import { _ as _JSON$stringify, a as _asyncToGenerator, r as regenerator, D as DFPAdSlot, B as Beam } from './AdSlot-b6af1ab4.js';
25
+ export { D as AdSlot, B as Beam } from './AdSlot-b6af1ab4.js';
26
26
  import './promise-e3480f1c.js';
27
- import './ADInfeed-94f767ec.js';
27
+ import './ADInfeed-7bff8973.js';
28
28
  export { default as DeckContent } from './DeckContent.js';
29
29
  import { i as isFunction_1, a as isArray_1, _ as _arrayMap } from './get-9c285a85.js';
30
- export { A as AD, G as GridContent } from './GridContent-7ea9958c.js';
30
+ export { A as AD, G as GridContent } from './GridContent-6f84ae5e.js';
31
31
  export { default as DeckQueue } from './DeckQueue.js';
32
32
  import 'react-bootstrap/Media';
33
33
  export { default as ThumbnailCard } from './ThumbnailCard.js';
@@ -49,8 +49,8 @@ export { default as IssueDeck } from './IssueDeck.js';
49
49
  import 'react-bootstrap/Badge';
50
50
  export { default as IssueContentDeck } from './IssueContentDeck.js';
51
51
  import Spinner from 'react-bootstrap/Spinner';
52
- import { M as MdPictureAsPdf } from './Normal-46a7df31.js';
53
- export { A as AD728x90, C as Column1, a as Column2, b as Column3, f as HamMagazine, H as Header, L as LeftNav, e as NavDvm, c as NavMagazine, N as NavNative, d as NavNormal, P as PageFilter, S as Search, g as SideFooter, T as TemplateNormal } from './Normal-46a7df31.js';
52
+ import { M as MdPictureAsPdf } from './Normal-b00784c9.js';
53
+ export { A as AD728x90, C as Column1, a as Column2, b as Column3, f as HamMagazine, H as Header, L as LeftNav, e as NavDvm, c as NavMagazine, N as NavNative, d as NavNormal, P as PageFilter, S as Search, g as SideFooter, T as TemplateNormal } from './Normal-b00784c9.js';
54
54
  import 'react-bootstrap/ListGroup';
55
55
  import Head from 'next/head';
56
56
  import Accordion from 'react-bootstrap/Accordion';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mjhls/mjh-framework",
3
- "version": "1.0.300",
3
+ "version": "1.0.301",
4
4
  "description": "Foundation Framework",
5
5
  "author": "mjh-framework",
6
6
  "license": "MIT",