@pelcro/react-pelcro-js 3.26.0-beta.17 → 3.26.0-beta.19
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/index.cjs.js +5 -2
- package/dist/index.esm.js +5 -2
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -11851,6 +11851,8 @@ const initPaywalls = () => {
|
|
|
11851
11851
|
switchView,
|
|
11852
11852
|
isAuthenticated
|
|
11853
11853
|
} = usePelcro.getStore();
|
|
11854
|
+
|
|
11855
|
+
// eslint-disable-next-line no-inner-declarations
|
|
11854
11856
|
function displayPaywalls() {
|
|
11855
11857
|
if (paywallMethods !== null && paywallMethods !== void 0 && paywallMethods.displayMeterPaywall()) {
|
|
11856
11858
|
/*
|
|
@@ -11870,7 +11872,7 @@ const initPaywalls = () => {
|
|
|
11870
11872
|
if (isAuthenticated()) {
|
|
11871
11873
|
addEventListener("PelcroUserLoaded", function () {
|
|
11872
11874
|
displayPaywalls();
|
|
11873
|
-
});
|
|
11875
|
+
}, true);
|
|
11874
11876
|
} else {
|
|
11875
11877
|
displayPaywalls();
|
|
11876
11878
|
}
|
|
@@ -21434,7 +21436,8 @@ const ApplePayButton = _ref => {
|
|
|
21434
21436
|
const vantivPaymentRequest = {
|
|
21435
21437
|
...vantivResponse,
|
|
21436
21438
|
expMonth: expMonth,
|
|
21437
|
-
expYear: expYear
|
|
21439
|
+
expYear: expYear,
|
|
21440
|
+
applePay: true
|
|
21438
21441
|
};
|
|
21439
21442
|
|
|
21440
21443
|
// Process the registrationId or continue with further payment processing.
|
package/dist/index.esm.js
CHANGED
|
@@ -11821,6 +11821,8 @@ const initPaywalls = () => {
|
|
|
11821
11821
|
switchView,
|
|
11822
11822
|
isAuthenticated
|
|
11823
11823
|
} = usePelcro.getStore();
|
|
11824
|
+
|
|
11825
|
+
// eslint-disable-next-line no-inner-declarations
|
|
11824
11826
|
function displayPaywalls() {
|
|
11825
11827
|
if (paywallMethods !== null && paywallMethods !== void 0 && paywallMethods.displayMeterPaywall()) {
|
|
11826
11828
|
/*
|
|
@@ -11840,7 +11842,7 @@ const initPaywalls = () => {
|
|
|
11840
11842
|
if (isAuthenticated()) {
|
|
11841
11843
|
addEventListener("PelcroUserLoaded", function () {
|
|
11842
11844
|
displayPaywalls();
|
|
11843
|
-
});
|
|
11845
|
+
}, true);
|
|
11844
11846
|
} else {
|
|
11845
11847
|
displayPaywalls();
|
|
11846
11848
|
}
|
|
@@ -21404,7 +21406,8 @@ const ApplePayButton = _ref => {
|
|
|
21404
21406
|
const vantivPaymentRequest = {
|
|
21405
21407
|
...vantivResponse,
|
|
21406
21408
|
expMonth: expMonth,
|
|
21407
|
-
expYear: expYear
|
|
21409
|
+
expYear: expYear,
|
|
21410
|
+
applePay: true
|
|
21408
21411
|
};
|
|
21409
21412
|
|
|
21410
21413
|
// Process the registrationId or continue with further payment processing.
|