@quintype/components 3.3.2-check-sub-error.6 → 3.3.2-check-sub-error.8

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/cjs/index.js CHANGED
@@ -4634,11 +4634,17 @@ var AccessTypeBase = /*#__PURE__*/function (_React$Component) {
4634
4634
  return callback();
4635
4635
  };
4636
4636
 
4637
+ accessTypeScript.onerror = function () {
4638
+ callback();
4639
+ console.log(" load s cript failed");
4640
+ };
4641
+
4637
4642
  document.body.appendChild(accessTypeScript);
4638
4643
  return true;
4639
4644
  }
4640
4645
 
4641
4646
  console.log("enetred load script else block ");
4647
+ console.log("global accesstype", global.AccessType);
4642
4648
  global.AccessType && callback();
4643
4649
  return true;
4644
4650
  });
@@ -5770,7 +5776,7 @@ var mapDispatchToProps$1 = function mapDispatchToProps(dispatch) {
5770
5776
  * if (paymentGateway === "stripe") {
5771
5777
  * const options = {
5772
5778
  * selectedPlan: plan,
5773
- * planType: "standard",
5779
+ * planType: x"standard",
5774
5780
  * successUrl: `${document.location.origin}/paypal-return-url`,
5775
5781
  * cancelUrl: `${document.location.origin}/paypal-cancel-url`
5776
5782
  * };
@@ -5801,7 +5807,7 @@ var mapDispatchToProps$1 = function mapDispatchToProps(dispatch) {
5801
5807
  */
5802
5808
 
5803
5809
 
5804
- var AccessType = /*#__PURE__*/reactRedux.connect(mapStateToProps$1, mapDispatchToProps$1)(AccessTypeBase);
5810
+ var xAccessType = /*#__PURE__*/reactRedux.connect(mapStateToProps$1, mapDispatchToProps$1)(AccessTypeBase);
5805
5811
 
5806
5812
  function getSize(sizeMap) {
5807
5813
  var canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);
@@ -6167,7 +6173,6 @@ var ComponentReducers = {
6167
6173
  exports.ACCESS_BEING_LOADED = ACCESS_BEING_LOADED;
6168
6174
  exports.ACCESS_UPDATED = ACCESS_UPDATED;
6169
6175
  exports.ASSET_PLANS = ASSET_PLANS;
6170
- exports.AccessType = AccessType;
6171
6176
  exports.AdbutlerAd = AdbutlerAd;
6172
6177
  exports.BREAKING_NEWS_UPDATED = BREAKING_NEWS_UPDATED;
6173
6178
  exports.BreakingNews = BreakingNews;
@@ -6234,3 +6239,4 @@ exports.removeDuplicateStories = removeDuplicateStories;
6234
6239
  exports.replaceAllStoriesInCollection = replaceAllStoriesInCollection;
6235
6240
  exports.withError = withError;
6236
6241
  exports.wrapCollectionLayout = wrapCollectionLayout;
6242
+ exports.xAccessType = xAccessType;
@@ -64,11 +64,17 @@ var AccessTypeBase = /*#__PURE__*/function (_React$Component) {
64
64
  return callback();
65
65
  };
66
66
 
67
+ accessTypeScript.onerror = function () {
68
+ callback();
69
+ console.log(" load s cript failed");
70
+ };
71
+
67
72
  document.body.appendChild(accessTypeScript);
68
73
  return true;
69
74
  }
70
75
 
71
76
  console.log("enetred load script else block ");
77
+ console.log("global accesstype", global.AccessType);
72
78
  global.AccessType && callback();
73
79
  return true;
74
80
  });
@@ -1200,7 +1206,7 @@ var mapDispatchToProps = function mapDispatchToProps(dispatch) {
1200
1206
  * if (paymentGateway === "stripe") {
1201
1207
  * const options = {
1202
1208
  * selectedPlan: plan,
1203
- * planType: "standard",
1209
+ * planType: x"standard",
1204
1210
  * successUrl: `${document.location.origin}/paypal-return-url`,
1205
1211
  * cancelUrl: `${document.location.origin}/paypal-cancel-url`
1206
1212
  * };
@@ -1231,4 +1237,4 @@ var mapDispatchToProps = function mapDispatchToProps(dispatch) {
1231
1237
  */
1232
1238
 
1233
1239
 
1234
- export var AccessType = /*#__PURE__*/connect(mapStateToProps, mapDispatchToProps)(AccessTypeBase);
1240
+ export var xAccessType = /*#__PURE__*/connect(mapStateToProps, mapDispatchToProps)(AccessTypeBase);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quintype/components",
3
- "version": "3.3.2-check-sub-error.6",
3
+ "version": "3.3.2-check-sub-error.8",
4
4
  "description": "Components to help build Quintype Node.js apps",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/es/index.js",