@payfurl/react-plugin 1.2.7 → 1.3.2
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/ApplePayButtonOptions.type-BvRk9kiK-BzeTPT7u.js +9 -0
- package/dist/{DefaultThreeDsProvider-JPe2W_JG-bH2sJs83.js → DefaultThreeDsProvider-ChnRLzKI-DO_0wVUN.js} +76 -81
- package/dist/MetricsGlobalThreeDsProvider-DW-gsG6q-BYJaEFfc.js +148 -0
- package/dist/{PayWayAppleButton-DVoTz5Nn-1KU6o3AT.js → PayWayAppleButton-7Gi89Gij-aVF9l1aY.js} +2 -2
- package/dist/cxpay-CGIndAf1-BblBk3-x.js +15 -0
- package/dist/default-CgpOZU3K-CKDCWPRX.js +7 -0
- package/dist/{EcentricThreeDsProvider-Ddy0Fn5h-BDuqXhye.js → ecentric-F3nn_MwX-B9dBXDe_.js} +27 -24
- package/dist/epna-uXpYJKOA-B_n5GhIL.js +15 -0
- package/dist/flashbanc-9XKA8Wrl-CbS2P90X.js +15 -0
- package/dist/forter-Bm2GJ2Hs-BABaUju5.js +60 -0
- package/dist/{GPaymentsThreeDsProvider-BIku3bZP-DBcRTyGA.js → gpayments-DsXj9xbu-BOBji_fr.js} +15 -13
- package/dist/{index-BIgCRujv.js → index-CACzT3Rb.js} +3332 -3191
- package/dist/metrics_global-L-Rm7bcl-DYSYHN2y.js +7 -0
- package/dist/nmi-BzHX8wqW-Bq6oBsVL.js +15 -0
- package/dist/{NuveiThreeDsProvider-DMO_bgOI-DV1Uqhrk.js → nuvei-CS-nW8SB-v_HhomTx.js} +25 -23
- package/dist/payabli-C4YuB7Sr-BzB8PV73.js +15 -0
- package/dist/payfurl-react.es.js +1 -1
- package/dist/payfurl-react.umd.js +18 -17
- package/dist/payglocal-Cy6Qd8ve-NfcHP9iv.js +120 -0
- package/dist/{payway_rest-CIjvQwcK-BcZGibTP.js → payway_rest-ZMjPv2si-Dd1VuLdw.js} +1 -1
- package/dist/skybank-C6ZmVyX6-DWxUPtI7.js +15 -0
- package/dist/src/sdk/types/DropInOptions.type.d.ts +11 -3
- package/package.json +2 -2
- package/dist/CxPayThreeDsProvider-DAAmw4ya-CDOUGiWG.js +0 -12
- package/dist/EpnaThreeDsProvider-Ng4Pmq0D-CwV4TNgl.js +0 -12
- package/dist/FlashBancThreeDsProvider-DFZG4u44-6TmQipNC.js +0 -12
- package/dist/MetricsGlobalThreeDsProvider-BMeP5IWW-DAZlcVCc.js +0 -135
- package/dist/NmiThreeDsProvider-CzRH7vrp-O5u5frkm.js +0 -12
- package/dist/PayGLocalThreeDsProvider-DDqJz4iC-DBo2F6p3.js +0 -116
- package/dist/PayabliThreeDsProvider-BWStZH6E-uKWOTuW-.js +0 -12
- package/dist/SkyBankThreeDsProvider-U6pzbMJY-B9F5E7be.js +0 -12
- package/dist/ThreeDsPostAuthResponse.type-BFN9wqum-CaV_50Qh.js +0 -26
- package/dist/cxpay-BnpH4Q1F-CqZusCD1.js +0 -7
- package/dist/default-B8ZcE4ja-Df8foed4.js +0 -7
- package/dist/ecentric-DwR-gEaW-D7EJixv8.js +0 -7
- package/dist/epna-BtQr8Mlq-CdoA1Foj.js +0 -7
- package/dist/flashbanc-BNEJGUff-DX-o_bsN.js +0 -7
- package/dist/forter-D0-GGAlC-B2I1zsvz.js +0 -41
- package/dist/fraudProvider.type-Bzd9orn2-D-DU7Fmr.js +0 -7
- package/dist/fraudStatus.type-BvRk9kiK-zQpibcxa.js +0 -24
- package/dist/gpayments-QZCq0_0y-CChyao60.js +0 -7
- package/dist/metrics_global--mOHedmQ-BSlYrRxx.js +0 -7
- package/dist/nmi-BtKpUtad-RbToUxAS.js +0 -7
- package/dist/nuvei-BOfZN_Em-qgP8-fGC.js +0 -7
- package/dist/payabli-BfZ7IhDq-DQWCjgwk.js +0 -7
- package/dist/payglocal-CpEbJSpn-mfs00hdI.js +0 -7
- package/dist/skybank-DWPrfoAb-nBPi7AXK.js +0 -7
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { w as n } from "./MetricsGlobalThreeDsProvider-DW-gsG6q-BYJaEFfc.js";
|
|
2
|
+
var o = class extends n {
|
|
3
|
+
getType() {
|
|
4
|
+
return "NMI";
|
|
5
|
+
}
|
|
6
|
+
getDomain() {
|
|
7
|
+
return "secure.nmi.com";
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
function a(e, r, t) {
|
|
11
|
+
return new o(e, r, t);
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
a as default
|
|
15
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import { h as
|
|
5
|
-
import {
|
|
6
|
-
var
|
|
1
|
+
var p = Object.defineProperty;
|
|
2
|
+
var m = (n, s, a) => s in n ? p(n, s, { enumerable: !0, configurable: !0, writable: !0, value: a }) : n[s] = a;
|
|
3
|
+
var h = (n, s, a) => m(n, typeof s != "symbol" ? s + "" : s, a);
|
|
4
|
+
import { h as g, J as c, F as D, $ as d, Q as S, K as y, s as P, V as f, a as T, Y as l } from "./index-CACzT3Rb.js";
|
|
5
|
+
import { O as v } from "./DefaultThreeDsProvider-ChnRLzKI-DO_0wVUN.js";
|
|
6
|
+
var I = { class: "mask" }, N = /* @__PURE__ */ S(/* @__PURE__ */ y({
|
|
7
7
|
__name: "nuvei",
|
|
8
8
|
props: {
|
|
9
9
|
threeDSServerTransID: {},
|
|
@@ -22,15 +22,15 @@ var v = { class: "mask" }, N = /* @__PURE__ */ D(/* @__PURE__ */ S({
|
|
|
22
22
|
country: {}
|
|
23
23
|
},
|
|
24
24
|
setup(n) {
|
|
25
|
-
let { hideSpinner: s, showSpinner: a } =
|
|
26
|
-
|
|
25
|
+
let { hideSpinner: s, showSpinner: a } = d(), e = n;
|
|
26
|
+
P(() => {
|
|
27
27
|
a();
|
|
28
28
|
let r = document.createElement("script");
|
|
29
29
|
r.type = "text/javascript", r.src = "https://cdn.safecharge.com/safecharge_resources/v1/websdk/safecharge.js", r.onload = () => {
|
|
30
30
|
let o = new MutationObserver(function() {
|
|
31
31
|
document.getElementsByClassName("sfcModal-dialog")[0] && (s(), o.disconnect());
|
|
32
|
-
}), i = { childList: !0 },
|
|
33
|
-
o.observe(
|
|
32
|
+
}), i = { childList: !0 }, u = document.querySelector("body");
|
|
33
|
+
o.observe(u, i), t();
|
|
34
34
|
}, document.head.appendChild(r);
|
|
35
35
|
});
|
|
36
36
|
function t() {
|
|
@@ -64,19 +64,19 @@ var v = { class: "mask" }, N = /* @__PURE__ */ D(/* @__PURE__ */ S({
|
|
|
64
64
|
}, "*");
|
|
65
65
|
});
|
|
66
66
|
}
|
|
67
|
-
return (r, o) => (
|
|
67
|
+
return (r, o) => (f(), T("div", I, [...o[0] || (o[0] = [l("div", { class: "wrapper" }, [l("div", { class: "container" })], -1)])]));
|
|
68
68
|
}
|
|
69
|
-
}), [["__scopeId", "data-v-3b52be97"]]), { hideSpinner:
|
|
69
|
+
}), [["__scopeId", "data-v-3b52be97"]]), { hideSpinner: C } = d(), V = class extends v {
|
|
70
70
|
constructor() {
|
|
71
71
|
super(...arguments);
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
h(this, "_paResPayload", null);
|
|
73
|
+
h(this, "onSuccess", (s, a) => {
|
|
74
74
|
var t, r;
|
|
75
|
-
this.closeChallenge(),
|
|
75
|
+
this.closeChallenge(), C();
|
|
76
76
|
let e = JSON.parse(a);
|
|
77
|
-
e.authenticationValue ? (t = this.threeDsProcessor) == null || t.onSuccess(e) : (this.log(`[${this.getType()}][_onSuccess]
|
|
77
|
+
e.authenticationValue ? (t = this.threeDsProcessor) == null || t.onSuccess(e) : (this.log(`[${this.getType()}][_onSuccess] ${c}`, e), (r = this.threeDsProcessor) == null || r.onError({ error: c }));
|
|
78
78
|
});
|
|
79
|
-
|
|
79
|
+
h(this, "onDoAuthSuccess", (s, a) => {
|
|
80
80
|
var t, r, o;
|
|
81
81
|
let e = JSON.parse(a);
|
|
82
82
|
if (this.log(`[${this.getType()}][onDoAuthSuccess]`, e), !e.transStatus || !e.authenticationValue) {
|
|
@@ -106,7 +106,6 @@ var v = { class: "mask" }, N = /* @__PURE__ */ D(/* @__PURE__ */ S({
|
|
|
106
106
|
transStatus: e.transStatus,
|
|
107
107
|
transStatusReason: e.transStatusReason
|
|
108
108
|
});
|
|
109
|
-
break;
|
|
110
109
|
}
|
|
111
110
|
});
|
|
112
111
|
}
|
|
@@ -119,7 +118,7 @@ var v = { class: "mask" }, N = /* @__PURE__ */ D(/* @__PURE__ */ S({
|
|
|
119
118
|
var t;
|
|
120
119
|
(t = this.threeDsProcessor) == null || t.setPaymentInfo(e), super.onPreAuth();
|
|
121
120
|
}, () => {
|
|
122
|
-
|
|
121
|
+
g(this.container, "Unable to get card information");
|
|
123
122
|
}) : super.onPreAuth();
|
|
124
123
|
}
|
|
125
124
|
onPostAuth() {
|
|
@@ -136,14 +135,14 @@ var v = { class: "mask" }, N = /* @__PURE__ */ D(/* @__PURE__ */ S({
|
|
|
136
135
|
doNuveiChallenge(s, a, e) {
|
|
137
136
|
var o;
|
|
138
137
|
let t = JSON.parse(s);
|
|
139
|
-
(t === null || !t.merchantId || !t.merchantSiteId) && ((o = this.threeDsProcessor) == null || o.onError({ error:
|
|
140
|
-
let { destroy: r } =
|
|
138
|
+
(t === null || !t.merchantId || !t.merchantSiteId) && ((o = this.threeDsProcessor) == null || o.onError({ error: c })), a && (t.firstName = a.firstName, t.lastName = a.lastName, t.email = a.email, t.country = a.country), e && (t.cardNumber = e.cardNumber, t.cardHolderName = e.cardholder || "", t.expirationMonth = e.expiryDate.substring(2, 4), t.expirationYear = e.expiryDate.substring(0, 2), t.CVV = e.ccv), this.setChallengeFrameVisible(!0);
|
|
139
|
+
let { destroy: r } = D({
|
|
141
140
|
el: document.body,
|
|
142
141
|
component: N,
|
|
143
142
|
props: t,
|
|
144
143
|
on: { close: () => {
|
|
145
144
|
var i;
|
|
146
|
-
r(), this.threeDSDestroy = () => {
|
|
145
|
+
r(), this.setChallengeFrameVisible(!1), this.threeDSDestroy = () => {
|
|
147
146
|
}, (i = this.threeDsProcessor) == null || i.onError({ error: "Challenge cancelled" });
|
|
148
147
|
} }
|
|
149
148
|
});
|
|
@@ -160,6 +159,9 @@ var v = { class: "mask" }, N = /* @__PURE__ */ D(/* @__PURE__ */ S({
|
|
|
160
159
|
}
|
|
161
160
|
}
|
|
162
161
|
};
|
|
162
|
+
function A(n, s, a) {
|
|
163
|
+
return new V(n, s, a);
|
|
164
|
+
}
|
|
163
165
|
export {
|
|
164
|
-
|
|
166
|
+
A as default
|
|
165
167
|
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { w as n } from "./MetricsGlobalThreeDsProvider-DW-gsG6q-BYJaEFfc.js";
|
|
2
|
+
var r = class extends n {
|
|
3
|
+
getType() {
|
|
4
|
+
return "Payabli";
|
|
5
|
+
}
|
|
6
|
+
getDomain() {
|
|
7
|
+
return "centavo.transactiongateway.com";
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
function c(t, e, a) {
|
|
11
|
+
return new r(t, e, a);
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
c as default
|
|
15
|
+
};
|
package/dist/payfurl-react.es.js
CHANGED