@quintype/components 3.3.2-check-sub-error.5 → 3.3.2-check-sub-error.7
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
|
@@ -4623,6 +4623,7 @@ var AccessTypeBase = /*#__PURE__*/function (_React$Component) {
|
|
|
4623
4623
|
var isATScriptAlreadyPresent = document.querySelector("script[src=\"".concat(accessTypeHost, "\"]"));
|
|
4624
4624
|
|
|
4625
4625
|
if (accessTypeKey && !isATScriptAlreadyPresent && !global.AccessType && global.document) {
|
|
4626
|
+
console.log("enetred load script if block ");
|
|
4626
4627
|
var accessTypeScript = document.createElement("script");
|
|
4627
4628
|
accessTypeScript.setAttribute("src", accessTypeHost);
|
|
4628
4629
|
accessTypeScript.setAttribute("id", "AccessTypeScript");
|
|
@@ -4633,10 +4634,16 @@ var AccessTypeBase = /*#__PURE__*/function (_React$Component) {
|
|
|
4633
4634
|
return callback();
|
|
4634
4635
|
};
|
|
4635
4636
|
|
|
4637
|
+
accessTypeScript.onerror = function () {
|
|
4638
|
+
callback();
|
|
4639
|
+
console.log(" load s cript failed");
|
|
4640
|
+
};
|
|
4641
|
+
|
|
4636
4642
|
document.body.appendChild(accessTypeScript);
|
|
4637
4643
|
return true;
|
|
4638
4644
|
}
|
|
4639
4645
|
|
|
4646
|
+
console.log("enetred load script else block ");
|
|
4640
4647
|
global.AccessType && callback();
|
|
4641
4648
|
return true;
|
|
4642
4649
|
});
|
|
@@ -5768,7 +5775,7 @@ var mapDispatchToProps$1 = function mapDispatchToProps(dispatch) {
|
|
|
5768
5775
|
* if (paymentGateway === "stripe") {
|
|
5769
5776
|
* const options = {
|
|
5770
5777
|
* selectedPlan: plan,
|
|
5771
|
-
* planType: "standard",
|
|
5778
|
+
* planType: x"standard",
|
|
5772
5779
|
* successUrl: `${document.location.origin}/paypal-return-url`,
|
|
5773
5780
|
* cancelUrl: `${document.location.origin}/paypal-cancel-url`
|
|
5774
5781
|
* };
|
|
@@ -5799,7 +5806,7 @@ var mapDispatchToProps$1 = function mapDispatchToProps(dispatch) {
|
|
|
5799
5806
|
*/
|
|
5800
5807
|
|
|
5801
5808
|
|
|
5802
|
-
var
|
|
5809
|
+
var xAccessType = /*#__PURE__*/reactRedux.connect(mapStateToProps$1, mapDispatchToProps$1)(AccessTypeBase);
|
|
5803
5810
|
|
|
5804
5811
|
function getSize(sizeMap) {
|
|
5805
5812
|
var canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);
|
|
@@ -6165,7 +6172,6 @@ var ComponentReducers = {
|
|
|
6165
6172
|
exports.ACCESS_BEING_LOADED = ACCESS_BEING_LOADED;
|
|
6166
6173
|
exports.ACCESS_UPDATED = ACCESS_UPDATED;
|
|
6167
6174
|
exports.ASSET_PLANS = ASSET_PLANS;
|
|
6168
|
-
exports.AccessType = AccessType;
|
|
6169
6175
|
exports.AdbutlerAd = AdbutlerAd;
|
|
6170
6176
|
exports.BREAKING_NEWS_UPDATED = BREAKING_NEWS_UPDATED;
|
|
6171
6177
|
exports.BreakingNews = BreakingNews;
|
|
@@ -6232,3 +6238,4 @@ exports.removeDuplicateStories = removeDuplicateStories;
|
|
|
6232
6238
|
exports.replaceAllStoriesInCollection = replaceAllStoriesInCollection;
|
|
6233
6239
|
exports.withError = withError;
|
|
6234
6240
|
exports.wrapCollectionLayout = wrapCollectionLayout;
|
|
6241
|
+
exports.xAccessType = xAccessType;
|
|
@@ -53,6 +53,7 @@ var AccessTypeBase = /*#__PURE__*/function (_React$Component) {
|
|
|
53
53
|
var isATScriptAlreadyPresent = document.querySelector("script[src=\"".concat(accessTypeHost, "\"]"));
|
|
54
54
|
|
|
55
55
|
if (accessTypeKey && !isATScriptAlreadyPresent && !global.AccessType && global.document) {
|
|
56
|
+
console.log("enetred load script if block ");
|
|
56
57
|
var accessTypeScript = document.createElement("script");
|
|
57
58
|
accessTypeScript.setAttribute("src", accessTypeHost);
|
|
58
59
|
accessTypeScript.setAttribute("id", "AccessTypeScript");
|
|
@@ -63,10 +64,16 @@ var AccessTypeBase = /*#__PURE__*/function (_React$Component) {
|
|
|
63
64
|
return callback();
|
|
64
65
|
};
|
|
65
66
|
|
|
67
|
+
accessTypeScript.onerror = function () {
|
|
68
|
+
callback();
|
|
69
|
+
console.log(" load s cript failed");
|
|
70
|
+
};
|
|
71
|
+
|
|
66
72
|
document.body.appendChild(accessTypeScript);
|
|
67
73
|
return true;
|
|
68
74
|
}
|
|
69
75
|
|
|
76
|
+
console.log("enetred load script else block ");
|
|
70
77
|
global.AccessType && callback();
|
|
71
78
|
return true;
|
|
72
79
|
});
|
|
@@ -1198,7 +1205,7 @@ var mapDispatchToProps = function mapDispatchToProps(dispatch) {
|
|
|
1198
1205
|
* if (paymentGateway === "stripe") {
|
|
1199
1206
|
* const options = {
|
|
1200
1207
|
* selectedPlan: plan,
|
|
1201
|
-
* planType: "standard",
|
|
1208
|
+
* planType: x"standard",
|
|
1202
1209
|
* successUrl: `${document.location.origin}/paypal-return-url`,
|
|
1203
1210
|
* cancelUrl: `${document.location.origin}/paypal-cancel-url`
|
|
1204
1211
|
* };
|
|
@@ -1229,4 +1236,4 @@ var mapDispatchToProps = function mapDispatchToProps(dispatch) {
|
|
|
1229
1236
|
*/
|
|
1230
1237
|
|
|
1231
1238
|
|
|
1232
|
-
export var
|
|
1239
|
+
export var xAccessType = /*#__PURE__*/connect(mapStateToProps, mapDispatchToProps)(AccessTypeBase);
|
package/package.json
CHANGED