@payfurl/client 4.6.33 → 4.7.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/sdk/{CxPayThreeDsProvider-DfJyYDV8.js → CxPayThreeDsProvider-DHyY0SJN.js} +1 -1
- package/dist/sdk/{DefaultThreeDsProvider-DvV6zVzO.js → DefaultThreeDsProvider-BbyoW5gI.js} +1 -1
- package/dist/sdk/{EcentricThreeDsProvider-DC4tQCJ4.js → EcentricThreeDsProvider-CJkAKhCm.js} +2 -2
- package/dist/sdk/{EpnaThreeDsProvider-D9tTUWnr.js → EpnaThreeDsProvider-CbuCAz8E.js} +1 -1
- package/dist/sdk/{FlashBancThreeDsProvider-Dc_WgWyQ.js → FlashBancThreeDsProvider-yEpICp2s.js} +1 -1
- package/dist/sdk/{GPaymentsThreeDsProvider-BAJmTSdj.js → GPaymentsThreeDsProvider-ZzFlXQYx.js} +2 -2
- package/dist/sdk/{MetricsGlobalThreeDsProvider-DiPpCK4e.js → MetricsGlobalThreeDsProvider-COVvDD_A.js} +30 -30
- package/dist/sdk/{NmiThreeDsProvider-X5Wb78Qq.js → NmiThreeDsProvider-CyQ9ToCv.js} +1 -1
- package/dist/sdk/{NuveiThreeDsProvider-C7kP4S9V.js → NuveiThreeDsProvider-wpWbdDVQ.js} +4 -4
- package/dist/sdk/{PayGLocalThreeDsProvider-pa38V_3c.js → PayGLocalThreeDsProvider-piT2VTln.js} +2 -2
- package/dist/sdk/{PayWayAppleButton-DGBgHxM1.js → PayWayAppleButton-lOpUyVhK.js} +1 -1
- package/dist/sdk/{PayabliThreeDsProvider-CMCehiRL.js → PayabliThreeDsProvider-chEmLOO6.js} +1 -1
- package/dist/sdk/{SkyBankThreeDsProvider-BJXZbNSS.js → SkyBankThreeDsProvider-B1KB-MBu.js} +1 -1
- package/dist/sdk/{ThreeDsProvider.interface-Ck5SyJOr.js → ThreeDsProvider.interface-BcufVMJY.js} +3950 -3888
- package/dist/sdk/{cxpay-CmCXB_3H.js → cxpay-CkpinAwr.js} +1 -1
- package/dist/sdk/{default-DwmL369u.js → default-CCjRF2gJ.js} +1 -1
- package/dist/sdk/{ecentric-CkX8jlMS.js → ecentric-C7aOx_5y.js} +1 -1
- package/dist/sdk/{epna-CQuWi-kj.js → epna-C3FB2xZQ.js} +1 -1
- package/dist/sdk/{flashbanc-ROJhNrEr.js → flashbanc-tBq9tJrU.js} +1 -1
- package/dist/sdk/{gpayments-CMf-VGx8.js → gpayments-utHsl2Sf.js} +1 -1
- package/dist/sdk/{metrics_global-DCnzJ8W3.js → metrics_global-CP2_hsNY.js} +1 -1
- package/dist/sdk/{nmi-BAQHxhKe.js → nmi-Crex5ZZF.js} +1 -1
- package/dist/sdk/{nuvei-DY1eIaaI.js → nuvei-DFcv1FC6.js} +1 -1
- package/dist/sdk/{payabli-DD1ZuFv1.js → payabli-C_GFUDE_.js} +1 -1
- package/dist/sdk/payfurl.es.js +1 -1
- package/dist/sdk/payfurl.umd.js +17 -17
- package/dist/sdk/{payglocal-CC7Mmvkg.js → payglocal-CfnXIS4O.js} +1 -1
- package/dist/sdk/{payway_rest-C2bgT2mt.js → payway_rest-Bl-RqdsM.js} +1 -1
- package/dist/sdk/{skybank-DLUEQlDI.js → skybank-ChiLuKWf.js} +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var d = Object.defineProperty;
|
|
2
2
|
var S = (n, e, s) => e in n ? d(n, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : n[e] = s;
|
|
3
3
|
var r = (n, e, s) => S(n, typeof e != "symbol" ? e + "" : e, s);
|
|
4
|
-
import { d as p, r as g, o as m, c as T, a as f, b as D, e as I, C as y, u as C, _ as A, h as E, T as v, f as _ } from "./ThreeDsProvider.interface-
|
|
4
|
+
import { d as p, r as g, o as m, c as T, a as f, b as D, e as I, C as y, u as C, _ as A, h as E, T as v, f as _ } from "./ThreeDsProvider.interface-BcufVMJY.js";
|
|
5
5
|
const R = { class: "mask" }, P = { class: "wrapper" }, U = { class: "container" }, $ = ["action"], b = ["value"], L = /* @__PURE__ */ p({
|
|
6
6
|
__name: "ThreeDsChallenge",
|
|
7
7
|
props: {
|
package/dist/sdk/{EcentricThreeDsProvider-DC4tQCJ4.js → EcentricThreeDsProvider-CJkAKhCm.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var h = Object.defineProperty;
|
|
2
2
|
var c = (s, t, e) => t in s ? h(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e;
|
|
3
3
|
var l = (s, t, e) => c(s, typeof t != "symbol" ? t + "" : t, e);
|
|
4
|
-
import { DefaultThreeDsProvider as d } from "./DefaultThreeDsProvider-
|
|
5
|
-
import { d as p, r as u, o as D, c as m, a as g, b as a, e as f, C as S, u as T, _, f as y } from "./ThreeDsProvider.interface-
|
|
4
|
+
import { DefaultThreeDsProvider as d } from "./DefaultThreeDsProvider-BbyoW5gI.js";
|
|
5
|
+
import { d as p, r as u, o as D, c as m, a as g, b as a, e as f, C as S, u as T, _, f as y } from "./ThreeDsProvider.interface-BcufVMJY.js";
|
|
6
6
|
const C = { class: "mask" }, v = { class: "wrapper" }, P = { class: "container" }, I = ["action"], A = ["value"], V = /* @__PURE__ */ p({
|
|
7
7
|
__name: "ecentric",
|
|
8
8
|
props: {
|
package/dist/sdk/{GPaymentsThreeDsProvider-BAJmTSdj.js → GPaymentsThreeDsProvider-ZzFlXQYx.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var i = Object.defineProperty;
|
|
2
2
|
var l = (o, r, e) => r in o ? i(o, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[r] = e;
|
|
3
3
|
var n = (o, r, e) => l(o, typeof r != "symbol" ? r + "" : r, e);
|
|
4
|
-
import { DefaultThreeDsProvider as c } from "./DefaultThreeDsProvider-
|
|
5
|
-
import { d, c as u, a as p, b as h, n as a, _ as g, f as D } from "./ThreeDsProvider.interface-
|
|
4
|
+
import { DefaultThreeDsProvider as c } from "./DefaultThreeDsProvider-BbyoW5gI.js";
|
|
5
|
+
import { d, c as u, a as p, b as h, n as a, _ as g, f as D } from "./ThreeDsProvider.interface-BcufVMJY.js";
|
|
6
6
|
const S = { class: "mask" }, m = { class: "wrapper" }, y = ["src"], f = /* @__PURE__ */ d({
|
|
7
7
|
__name: "GPayments",
|
|
8
8
|
props: {
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var m = (h, o, t) =>
|
|
4
|
-
import { DefaultThreeDsProvider as
|
|
5
|
-
import { d as
|
|
6
|
-
const
|
|
1
|
+
var E = Object.defineProperty;
|
|
2
|
+
var _ = (h, o, t) => o in h ? E(h, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[o] = t;
|
|
3
|
+
var m = (h, o, t) => _(h, typeof o != "symbol" ? o + "" : o, t);
|
|
4
|
+
import { DefaultThreeDsProvider as A } from "./DefaultThreeDsProvider-BbyoW5gI.js";
|
|
5
|
+
import { d as v, r as T, o as b, i as L, w as N, v as x, c as I, a as G, b as g, e as $, C as H, _ as M, h as k, s as p, f as F } from "./ThreeDsProvider.interface-BcufVMJY.js";
|
|
6
|
+
const O = { class: "mask" }, U = { class: "wrapper" }, j = { class: "container" }, B = /* @__PURE__ */ v({
|
|
7
7
|
__name: "MetricsGlobalThreeDsChallenge",
|
|
8
8
|
emits: ["close", "submit"],
|
|
9
9
|
setup(h, { emit: o }) {
|
|
10
|
-
const t = o, e =
|
|
10
|
+
const t = o, e = T(!1);
|
|
11
11
|
function s(r) {
|
|
12
12
|
var i;
|
|
13
13
|
["3DS_CHALLENGE_SHOW", "3DS_CHALLENGE_CLOSE"].includes((i = r.data) == null ? void 0 : i.message) && (e.value = r.data.message === "3DS_CHALLENGE_SHOW");
|
|
14
14
|
}
|
|
15
|
-
return
|
|
15
|
+
return b(() => {
|
|
16
16
|
window.addEventListener("message", s);
|
|
17
|
-
}),
|
|
17
|
+
}), L(() => {
|
|
18
18
|
window.removeEventListener("message", s);
|
|
19
|
-
}), (r, i) =>
|
|
20
|
-
g("div",
|
|
21
|
-
g("div",
|
|
22
|
-
|
|
23
|
-
onClick: i[0] || (i[0] = (
|
|
19
|
+
}), (r, i) => N((G(), I("div", O, [
|
|
20
|
+
g("div", U, [
|
|
21
|
+
g("div", j, [
|
|
22
|
+
$(H, {
|
|
23
|
+
onClick: i[0] || (i[0] = (D) => t("close")),
|
|
24
24
|
id: "3ds-challenge-close"
|
|
25
25
|
}),
|
|
26
26
|
i[1] || (i[1] = g("div", { id: "ThreeDsChallengeIFrame" }, null, -1))
|
|
27
27
|
])
|
|
28
28
|
])
|
|
29
29
|
], 512)), [
|
|
30
|
-
[
|
|
30
|
+
[x, e.value]
|
|
31
31
|
]);
|
|
32
32
|
}
|
|
33
|
-
}),
|
|
34
|
-
class
|
|
33
|
+
}), W = /* @__PURE__ */ M(B, [["__scopeId", "data-v-8a0b6dcb"]]), { hideSpinner: c, showSpinner: R } = k(), u = 5;
|
|
34
|
+
class q extends A {
|
|
35
35
|
constructor(t, e, s) {
|
|
36
36
|
var r;
|
|
37
37
|
super(t, e, s);
|
|
@@ -68,30 +68,30 @@ class K extends f {
|
|
|
68
68
|
onPostAuth() {
|
|
69
69
|
}
|
|
70
70
|
startAuth() {
|
|
71
|
-
var
|
|
71
|
+
var y, d, C, w, S, f;
|
|
72
72
|
this.log(`[${this.getType()}]: startAuth`);
|
|
73
|
-
const t = (
|
|
73
|
+
const t = (y = this.threeDsProcessor) == null ? void 0 : y.getPaymentInfo();
|
|
74
74
|
if (!t) {
|
|
75
75
|
c(), p(this.container, "Payment information is missing");
|
|
76
76
|
return;
|
|
77
77
|
}
|
|
78
|
-
|
|
79
|
-
const e = (
|
|
78
|
+
R();
|
|
79
|
+
const e = (d = this.threeDsProcessor) == null ? void 0 : d.getAddressInfo(), s = t.expiryDate.length === 4 ? t.expiryDate[2] + t.expiryDate[3] : "", r = t.expiryDate.length === 4 ? t.expiryDate[0] + t.expiryDate[1] : "", [i = "", D = ""] = ((C = t.cardholder) == null ? void 0 : C.split(/\s+/)) || [], P = {
|
|
80
80
|
cardNumber: t.cardNumber,
|
|
81
81
|
cardExpMonth: s,
|
|
82
82
|
cardExpYear: parseInt(r) + 2e3,
|
|
83
|
-
currency: (
|
|
84
|
-
amount: (
|
|
85
|
-
email: (
|
|
83
|
+
currency: (w = this.threeDsProcessor) == null ? void 0 : w.getCurrency(),
|
|
84
|
+
amount: (S = this.threeDsProcessor) == null ? void 0 : S.getAmount(),
|
|
85
|
+
email: (f = this.threeDsProcessor) == null ? void 0 : f.getEmail(),
|
|
86
86
|
phone: e == null ? void 0 : e.phoneNumber,
|
|
87
87
|
city: e == null ? void 0 : e.city,
|
|
88
88
|
state: e == null ? void 0 : e.state,
|
|
89
89
|
address1: e == null ? void 0 : e.streetAddress,
|
|
90
90
|
country: e == null ? void 0 : e.country,
|
|
91
|
-
firstName: e == null ? void 0 : e.firstName,
|
|
92
|
-
lastName: e == null ? void 0 : e.lastName,
|
|
91
|
+
firstName: (e == null ? void 0 : e.firstName) || i || "payFURL",
|
|
92
|
+
lastName: (e == null ? void 0 : e.lastName) || D || "payFURL",
|
|
93
93
|
postalCode: e == null ? void 0 : e.postalCode
|
|
94
|
-
}, l = this.threeDS.createUI(
|
|
94
|
+
}, l = this.threeDS.createUI(P);
|
|
95
95
|
l.start("#ThreeDsChallengeIFrame"), l.on("challenge", (n) => {
|
|
96
96
|
this.log(`[${this.getType()}][onChallenge]`, n), c(), this.showChallenge();
|
|
97
97
|
}), l.on("complete", (n) => {
|
|
@@ -120,9 +120,9 @@ class K extends f {
|
|
|
120
120
|
});
|
|
121
121
|
}
|
|
122
122
|
initChallenge() {
|
|
123
|
-
const { destroy: t } =
|
|
123
|
+
const { destroy: t } = F({
|
|
124
124
|
el: document.body,
|
|
125
|
-
component:
|
|
125
|
+
component: W,
|
|
126
126
|
on: {
|
|
127
127
|
close: () => {
|
|
128
128
|
var e;
|
|
@@ -148,5 +148,5 @@ class K extends f {
|
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
export {
|
|
151
|
-
|
|
151
|
+
q as MetricsGlobalThreeDsProvider
|
|
152
152
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var u = Object.defineProperty;
|
|
2
2
|
var p = (n, o, t) => o in n ? u(n, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[o] = t;
|
|
3
3
|
var h = (n, o, t) => p(n, typeof o != "symbol" ? o + "" : o, t);
|
|
4
|
-
import { d as m, h as d, o as g, c as D, a as S, b as l, _ as f, s as y, f as P } from "./ThreeDsProvider.interface-
|
|
5
|
-
import { DefaultThreeDsProvider as T, THREE_DS_METHOD_INVOCATION_COMPLETE as N, THREE_DS_CHALLENGE_COMPLETE as I } from "./DefaultThreeDsProvider-
|
|
4
|
+
import { d as m, h as d, o as g, c as D, a as S, b as l, _ as f, s as y, f as P } from "./ThreeDsProvider.interface-BcufVMJY.js";
|
|
5
|
+
import { DefaultThreeDsProvider as T, THREE_DS_METHOD_INVOCATION_COMPLETE as N, THREE_DS_CHALLENGE_COMPLETE as I } from "./DefaultThreeDsProvider-BbyoW5gI.js";
|
|
6
6
|
const C = { class: "mask" }, _ = /* @__PURE__ */ m({
|
|
7
7
|
__name: "nuvei",
|
|
8
8
|
props: {
|
|
@@ -73,11 +73,11 @@ const C = { class: "mask" }, _ = /* @__PURE__ */ m({
|
|
|
73
73
|
window.postMessage({ status: "3ds_challenge_complete", cres: a }, "*");
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
|
-
return (s, a) => (S(), D("div", C, a[0] || (a[0] = [
|
|
76
|
+
return (s, a) => (S(), D("div", C, [...a[0] || (a[0] = [
|
|
77
77
|
l("div", { class: "wrapper" }, [
|
|
78
78
|
l("div", { class: "container" })
|
|
79
79
|
], -1)
|
|
80
|
-
])));
|
|
80
|
+
])]));
|
|
81
81
|
}
|
|
82
82
|
}), E = /* @__PURE__ */ f(_, [["__scopeId", "data-v-6293d147"]]), { hideSpinner: V } = d();
|
|
83
83
|
class A extends T {
|
package/dist/sdk/{PayGLocalThreeDsProvider-pa38V_3c.js → PayGLocalThreeDsProvider-piT2VTln.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DefaultThreeDsProvider as C } from "./DefaultThreeDsProvider-
|
|
2
|
-
import { r as h, o as p, i as D, I as y, d as _, j as w, c as E, a as I, b as u, _ as L, s as c, f as S } from "./ThreeDsProvider.interface-
|
|
1
|
+
import { DefaultThreeDsProvider as C } from "./DefaultThreeDsProvider-BbyoW5gI.js";
|
|
2
|
+
import { r as h, o as p, i as D, I as y, d as _, j as w, c as E, a as I, b as u, _ as L, s as c, f as S } from "./ThreeDsProvider.interface-BcufVMJY.js";
|
|
3
3
|
const d = h(!1);
|
|
4
4
|
function R(s, ...e) {
|
|
5
5
|
d.value && console.log(s, e);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var g = Object.defineProperty;
|
|
2
2
|
var b = (o, t, i) => t in o ? g(o, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : o[t] = i;
|
|
3
3
|
var e = (o, t, i) => b(o, typeof t != "symbol" ? t + "" : t, i);
|
|
4
|
-
import { R as A, g as v, H as C } from "./ThreeDsProvider.interface-
|
|
4
|
+
import { R as A, g as v, H as C } from "./ThreeDsProvider.interface-BcufVMJY.js";
|
|
5
5
|
const d = {
|
|
6
6
|
CHECKOUT: "CHECKOUT",
|
|
7
7
|
CHARGE: "CHARGE"
|