@payfurl/react-plugin 1.3.2 → 1.4.0
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/{DefaultThreeDsProvider-ChnRLzKI-DO_0wVUN.js → DefaultThreeDsProvider-CzqbXEws-C21Rr7_5.js} +16 -33
- package/dist/MetricsGlobalThreeDsProvider-B-EQQsEV-BYhakAA4.js +143 -0
- package/dist/{PayWayAppleButton-7Gi89Gij-aVF9l1aY.js → PayWayAppleButton-C-XfcgNS-rgWe-QJM.js} +3 -13
- package/dist/components/PayfurlDropin.d.ts +17 -0
- package/dist/{cxpay-CGIndAf1-BblBk3-x.js → cxpay-VbaQA3_P-DlS7yCqQ.js} +1 -1
- package/dist/{default-CgpOZU3K-CKDCWPRX.js → default-Diji0SXY-ghmIvhgy.js} +1 -1
- package/dist/{ecentric-F3nn_MwX-B9dBXDe_.js → ecentric-BlNDCZo_-Bd8Q_3ZG.js} +32 -31
- package/dist/{epna-uXpYJKOA-B_n5GhIL.js → epna-CxmJ_mqR-D4gbP4NT.js} +1 -1
- package/dist/{flashbanc-9XKA8Wrl-CbS2P90X.js → flashbanc-BAxvqtBB-DVXrWV0Z.js} +1 -1
- package/dist/forter-DXQjpKVH-DaJPhK3m.js +57 -0
- package/dist/forter-R2alfHeE-C5KHGNgt.js +33 -0
- package/dist/{gpayments-DsXj9xbu-BOBji_fr.js → gpayments-B5KWQV4S-QV7caEyB.js} +12 -23
- package/dist/index-CL6hUU-f.js +11224 -0
- package/dist/index.d.ts +3 -6
- package/dist/managedOrders-ojoMZ0Ab-B94-Nsp-.js +44 -0
- package/dist/metrics_global-HMMDzPlb-CXHJ1NHy.js +7 -0
- package/dist/{nmi-BzHX8wqW-Bq6oBsVL.js → nmi-Ch7qQ6Av-DbPjmA5v.js} +1 -1
- package/dist/nuvei-DRmlfpTL-ByeKEnae.js +165 -0
- package/dist/{payabli-C4YuB7Sr-BzB8PV73.js → payabli-CiBJ1-vC-BthvUlRk.js} +1 -1
- package/dist/payfurl-react.es.js +1 -1
- package/dist/payfurl-react.umd.js +19 -19
- package/dist/payglocal-uAPlijwL-CvGatUVh.js +109 -0
- package/dist/{payway_rest-ZMjPv2si-Dd1VuLdw.js → payway_rest-CjgIP42z-7zwBGwnD.js} +1 -1
- package/dist/{skybank-C6ZmVyX6-DWxUPtI7.js → skybank-D7uRF17E-BXng_6yf.js} +1 -1
- package/package.json +4 -3
- package/dist/MetricsGlobalThreeDsProvider-DW-gsG6q-BYJaEFfc.js +0 -148
- package/dist/forter-Bm2GJ2Hs-BABaUju5.js +0 -60
- package/dist/index-CACzT3Rb.js +0 -11783
- package/dist/metrics_global-L-Rm7bcl-DYSYHN2y.js +0 -7
- package/dist/nuvei-CS-nW8SB-v_HhomTx.js +0 -167
- package/dist/payglocal-Cy6Qd8ve-NfcHP9iv.js +0 -120
- package/dist/plugins/payfurl/react/src/components/PayfurlDropin.d.ts +0 -16
- package/dist/plugins/payfurl/react/src/index.d.ts +0 -6
- package/dist/src/click2pay/ClickToPayOptions.type.d.ts +0 -30
- package/dist/src/sdk/checkout/checkoutProvider.type.d.ts +0 -66
- package/dist/src/sdk/fraud/fraudProvider.type.d.ts +0 -3
- package/dist/src/sdk/types/DropInOptions.type.d.ts +0 -88
- package/dist/src/sdk/types/GooglePayButtonOptions.type.d.ts +0 -10
- package/dist/src/sdk/types/NetworkTokenOptions.type.d.ts +0 -6
- package/dist/src/sdk/types/PaymentType.type.d.ts +0 -15
- package/dist/src/sdk/types/UpiOptions.type.d.ts +0 -12
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var h = (r, e, t) =>
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
var y = { class: "mask" }, f = { class: "wrapper" }, A = ["src"], C = /* @__PURE__ */
|
|
1
|
+
var l = Object.defineProperty;
|
|
2
|
+
var o = (r, e, t) => e in r ? l(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
|
|
3
|
+
var h = (r, e, t) => o(r, typeof e != "symbol" ? e + "" : e, t);
|
|
4
|
+
import { O as u } from "./DefaultThreeDsProvider-CzqbXEws-C21Rr7_5.js";
|
|
5
|
+
import { H as c, i as n, o as d, a as p, Z as g, c as S, X as i, _ as a, P as D, K as m } from "./index-CL6hUU-f.js";
|
|
6
|
+
var y = { class: "mask" }, f = { class: "wrapper" }, A = ["src"], C = /* @__PURE__ */ p(/* @__PURE__ */ g({
|
|
7
7
|
__name: "GPayments",
|
|
8
8
|
props: {
|
|
9
9
|
url: {},
|
|
@@ -18,7 +18,7 @@ var y = { class: "mask" }, f = { class: "wrapper" }, A = ["src"], C = /* @__PURE
|
|
|
18
18
|
height: `${e.height || 400}px`
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
|
-
return (U,
|
|
21
|
+
return (U, R) => (m(), S("div", y, [i("div", f, [i("div", {
|
|
22
22
|
class: "container",
|
|
23
23
|
style: a([s(), {
|
|
24
24
|
padding: "0",
|
|
@@ -29,16 +29,13 @@ var y = { class: "mask" }, f = { class: "wrapper" }, A = ["src"], C = /* @__PURE
|
|
|
29
29
|
style: a(s())
|
|
30
30
|
}, null, 12, A)], 4)])]));
|
|
31
31
|
}
|
|
32
|
-
}), [["__scopeId", "data-v-cf5aa816"]]), { hideSpinner: v } =
|
|
32
|
+
}), [["__scopeId", "data-v-cf5aa816"]]), { hideSpinner: v } = d(), T = class extends u {
|
|
33
33
|
constructor() {
|
|
34
34
|
super(...arguments);
|
|
35
35
|
h(this, "onDoAuthSuccess", (e, t) => {
|
|
36
36
|
let s = JSON.parse(t);
|
|
37
|
-
if (this.log(`[${this.getType()}][onDoAuthSuccess]`, s), !s.transStatus)
|
|
38
|
-
|
|
39
|
-
return;
|
|
40
|
-
}
|
|
41
|
-
switch (s.transStatus) {
|
|
37
|
+
if (this.log(`[${this.getType()}][onDoAuthSuccess]`, s), !s.transStatus) this.onError(e, "No transStatus specified");
|
|
38
|
+
else switch (s.transStatus) {
|
|
42
39
|
case "C":
|
|
43
40
|
if (!s.acsURL) {
|
|
44
41
|
this.onError(e, "Invalid Challenge Url");
|
|
@@ -52,15 +49,7 @@ var y = { class: "mask" }, f = { class: "wrapper" }, A = ["src"], C = /* @__PURE
|
|
|
52
49
|
});
|
|
53
50
|
h(this, "onInitAuthSuccess", (e, t) => {
|
|
54
51
|
let s = JSON.parse(t);
|
|
55
|
-
|
|
56
|
-
this.onError(e, "No AuthUrl specified");
|
|
57
|
-
return;
|
|
58
|
-
}
|
|
59
|
-
if (this.threeDSRequestorTransID = s.threeDSRequestorTransID, this.threeDSServerTransID = s.threeDSServerTransID, this.threeDSMonitorURL = s.threeDSMonitorURL, this.threeDSAuthURL = s.threeDSAuthURL, s.threeDsServerCallbackUrl) {
|
|
60
|
-
this.initFrame(s.threeDsServerCallbackUrl);
|
|
61
|
-
return;
|
|
62
|
-
}
|
|
63
|
-
this.onAuth(!1, "");
|
|
52
|
+
this.log(`[${this.getType()}][onInitAuthSuccess]`, s), s.threeDSAuthURL ? (this.threeDSRequestorTransID = s.threeDSRequestorTransID, this.threeDSServerTransID = s.threeDSServerTransID, this.threeDSMonitorURL = s.threeDSMonitorURL, this.threeDSAuthURL = s.threeDSAuthURL, s.threeDsServerCallbackUrl ? this.initFrame(s.threeDsServerCallbackUrl) : this.onAuth(!1, "")) : this.onError(e, "No AuthUrl specified");
|
|
64
53
|
});
|
|
65
54
|
}
|
|
66
55
|
getType() {
|
|
@@ -68,7 +57,7 @@ var y = { class: "mask" }, f = { class: "wrapper" }, A = ["src"], C = /* @__PURE
|
|
|
68
57
|
}
|
|
69
58
|
doChallenge(e) {
|
|
70
59
|
this.log(`[${this.getType()}][doChallenge]`), v(), this.setChallengeFrameVisible(!0);
|
|
71
|
-
let { destroy: t } =
|
|
60
|
+
let { destroy: t } = c({
|
|
72
61
|
el: document.body,
|
|
73
62
|
component: C,
|
|
74
63
|
props: {
|