@payfurl/client 4.9.6 → 4.9.8
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/{CloseIcon-BwxBac9r.js → CloseIcon-DhsqodgI.js} +20 -27
- package/dist/sdk/{DefaultThreeDsProvider-V6kOxHoH.js → DefaultThreeDsProvider-qhlEMnGb.js} +2 -3
- package/dist/sdk/{MetricsGlobalThreeDsProvider-CgDVIbXk.js → MetricsGlobalThreeDsProvider-BOEA6G5r.js} +5 -6
- package/dist/sdk/{PayWayAppleButton-NRBJ3jjI.js → PayWayAppleButton-YpWv3ekw.js} +2 -3
- package/dist/sdk/{alerts-DE81O3wN.js → alerts-2ShoA1hc.js} +3 -5
- package/dist/sdk/{cxpay-BEMrWL1q.js → cxpay-B2_DeDZt.js} +3 -5
- package/dist/sdk/default-2G4dbyeg.js +6 -0
- package/dist/sdk/{ecentric-C5_oNEas.js → ecentric-kLMDhKl_.js} +4 -6
- package/dist/sdk/{epna-DX-S7yA6.js → epna-p_tBGPK3.js} +3 -5
- package/dist/sdk/{flashbanc-xqp3XO6M.js → flashbanc-ChTsnYMc.js} +3 -5
- package/dist/sdk/{forter-5rzXRwAX.js → forter-BKH-4F0d.js} +5 -7
- package/dist/sdk/{forter-B5mAsqh7.js → forter-a0WNgzHg.js} +5 -4
- package/dist/sdk/{gpayments-DOv0-hRx.js → gpayments-Sa7Ek9FT.js} +4 -6
- package/dist/sdk/managedOrders-ojoMZ0Ab.js +39 -0
- package/dist/sdk/metrics_global-CxURr43F.js +6 -0
- package/dist/sdk/{nmi-Y-RgOB0Y.js → nmi-Bq5IGnP2.js} +3 -5
- package/dist/sdk/{nuvei-BOMMfI_5.js → nuvei-BDdU_s1G.js} +4 -6
- package/dist/sdk/{payabli-OU7W7cbE.js → payabli-4-XnuYBw.js} +3 -5
- package/dist/sdk/payfurl.es.js +1101 -966
- package/dist/sdk/payfurl.umd.js +8 -8
- package/dist/sdk/{payglocal-BxWTWcIu.js → payglocal-9n0hrZAf.js} +6 -9
- package/dist/sdk/payway_rest-DUDpJ9VL.js +6 -0
- package/dist/sdk/{screen-D7xBu0cj.js → screen-aNRlfrZR.js} +1 -2
- package/dist/sdk/{skybank-BxtSlq18.js → skybank-BIJrZVJd.js} +3 -5
- package/dist/sdk/{strings-DmWzID7u.js → strings-UR0hFfT6.js} +16 -19
- package/package.json +1 -1
- package/dist/sdk/default-BQDjOwfs.js +0 -7
- package/dist/sdk/managedOrders-D8BtEsXf.js +0 -23
- package/dist/sdk/metrics_global-C--PnyF9.js +0 -7
- package/dist/sdk/payway_rest-BX6JbR1g.js +0 -7
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Dt as e, Et as t, It as n, Nt as r, Ot as i, Tt as a, Z as o, _t as s, ct as c, dt as l, h as u, vt as d, xt as f } from "./CloseIcon-
|
|
2
|
-
import { t as p } from "./alerts-
|
|
3
|
-
import { t as m } from "./DefaultThreeDsProvider-
|
|
4
|
-
|
|
1
|
+
import { Dt as e, Et as t, It as n, Nt as r, Ot as i, Tt as a, Z as o, _t as s, ct as c, dt as l, h as u, vt as d, xt as f } from "./CloseIcon-DhsqodgI.js";
|
|
2
|
+
import { t as p } from "./alerts-2ShoA1hc.js";
|
|
3
|
+
import { t as m } from "./DefaultThreeDsProvider-qhlEMnGb.js";
|
|
4
|
+
// src/iframe/setup/log.ts
|
|
5
5
|
var h = n(!1);
|
|
6
6
|
function g(e, ...t) {
|
|
7
7
|
h.value && console.log(e, t);
|
|
@@ -19,8 +19,7 @@ function v() {
|
|
|
19
19
|
logMessage: g
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
|
-
|
|
23
|
-
//#region src/sdk/3ds/PayGLocalThreeDsChallenge.vue?vue&type=script&setup=true&lang.ts
|
|
22
|
+
// src/sdk/3ds/PayGLocalThreeDsChallenge.vue?vue&type=script&setup=true&lang.ts
|
|
24
23
|
var y = { class: "modal-mask" }, b = { class: "modal-wrapper" }, x = ["src"], S = /*#__PURE__*/ o(/* @__PURE__ */ a({
|
|
25
24
|
__name: "PayGLocalThreeDsChallenge",
|
|
26
25
|
props: { url: {} },
|
|
@@ -93,10 +92,8 @@ var y = { class: "modal-mask" }, b = { class: "modal-wrapper" }, x = ["src"], S
|
|
|
93
92
|
this.threeDSDestroy = t;
|
|
94
93
|
}
|
|
95
94
|
};
|
|
96
|
-
|
|
97
|
-
//#region src/sdk/3ds/payglocal.ts
|
|
95
|
+
// src/sdk/3ds/payglocal.ts
|
|
98
96
|
function w(e, t, n) {
|
|
99
97
|
return new C(e, t, n);
|
|
100
98
|
}
|
|
101
|
-
//#endregion
|
|
102
99
|
export { w as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./MetricsGlobalThreeDsProvider-
|
|
2
|
-
|
|
1
|
+
import { t as e } from "./MetricsGlobalThreeDsProvider-BOEA6G5r.js";
|
|
2
|
+
// src/sdk/3ds/SkyBankThreeDsProvider.ts
|
|
3
3
|
var t = class extends e {
|
|
4
4
|
getType() {
|
|
5
5
|
return "SkyBank";
|
|
@@ -8,10 +8,8 @@ var t = class extends e {
|
|
|
8
8
|
return "secure.skybankgateway.com";
|
|
9
9
|
}
|
|
10
10
|
};
|
|
11
|
-
|
|
12
|
-
//#region src/sdk/3ds/skybank.ts
|
|
11
|
+
// src/sdk/3ds/skybank.ts
|
|
13
12
|
function n(e, n, r) {
|
|
14
13
|
return new t(e, n, r);
|
|
15
14
|
}
|
|
16
|
-
//#endregion
|
|
17
15
|
export { n as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/sdk/config.local.ts
|
|
2
2
|
var e = {
|
|
3
3
|
baseUrl: "",
|
|
4
4
|
cssUrl: "",
|
|
@@ -9,32 +9,32 @@ var e = {
|
|
|
9
9
|
errorUrl: "https://y2it4xhgpx5junghaf3psg7a7q0splje.lambda-url.ap-southeast-2.on.aws"
|
|
10
10
|
}, t = {
|
|
11
11
|
baseUrl: "https://assets.payfurl.com",
|
|
12
|
-
cssUrl: "https://assets.payfurl.com/v4.9.
|
|
13
|
-
url: "https://assets.payfurl.com/v4.9.
|
|
14
|
-
secureUrl: "https://assets.payfurl.com/v4.9.
|
|
15
|
-
redirectUrl: "https://assets.payfurl.com/v4.9.
|
|
12
|
+
cssUrl: "https://assets.payfurl.com/v4.9.8/js/",
|
|
13
|
+
url: "https://assets.payfurl.com/v4.9.8/iframe/index.html",
|
|
14
|
+
secureUrl: "https://assets.payfurl.com/v4.9.8/secure/index.html",
|
|
15
|
+
redirectUrl: "https://assets.payfurl.com/v4.9.8/checkout/redirect.html",
|
|
16
16
|
apiUrl: "https://develop-api.payfurl.com",
|
|
17
17
|
errorUrl: "https://y2it4xhgpx5junghaf3psg7a7q0splje.lambda-url.ap-southeast-2.on.aws"
|
|
18
18
|
}, n = {
|
|
19
19
|
baseUrl: "https://assets.payfurl.com",
|
|
20
|
-
cssUrl: "https://assets.payfurl.com/v4.9.
|
|
21
|
-
url: "https://assets.payfurl.com/v4.9.
|
|
22
|
-
secureUrl: "https://assets.payfurl.com/v4.9.
|
|
23
|
-
redirectUrl: "https://assets.payfurl.com/v4.9.
|
|
20
|
+
cssUrl: "https://assets.payfurl.com/v4.9.8/js/",
|
|
21
|
+
url: "https://assets.payfurl.com/v4.9.8/iframe/index.html",
|
|
22
|
+
secureUrl: "https://assets.payfurl.com/v4.9.8/secure/index.html",
|
|
23
|
+
redirectUrl: "https://assets.payfurl.com/v4.9.8/checkout/redirect.html",
|
|
24
24
|
apiUrl: "https://sandbox-api.payfurl.com",
|
|
25
25
|
errorUrl: "https://gujl7xo5fhpkjaain4swyiymt40loyia.lambda-url.ap-southeast-2.on.aws"
|
|
26
26
|
}, r = {
|
|
27
27
|
baseUrl: "https://assets.payfurl.com",
|
|
28
|
-
cssUrl: "https://assets.payfurl.com/v4.9.
|
|
29
|
-
url: "https://assets.payfurl.com/v4.9.
|
|
30
|
-
secureUrl: "https://assets.payfurl.com/v4.9.
|
|
31
|
-
redirectUrl: "https://assets.payfurl.com/v4.9.
|
|
28
|
+
cssUrl: "https://assets.payfurl.com/v4.9.8/js/",
|
|
29
|
+
url: "https://assets.payfurl.com/v4.9.8/iframe/index.html",
|
|
30
|
+
secureUrl: "https://assets.payfurl.com/v4.9.8/secure/index.html",
|
|
31
|
+
redirectUrl: "https://assets.payfurl.com/v4.9.8/checkout/redirect.html",
|
|
32
32
|
apiUrl: "https://api.payfurl.com",
|
|
33
33
|
errorUrl: "https://4rvkh6tupgcmqk3b2igkpdi2zi0mveyg.lambda-url.ap-southeast-2.on.aws"
|
|
34
34
|
}, i = {
|
|
35
35
|
name: "@payfurl/client",
|
|
36
36
|
private: !1,
|
|
37
|
-
version: "4.9.
|
|
37
|
+
version: "4.9.8",
|
|
38
38
|
files: ["dist/sdk"],
|
|
39
39
|
type: "module",
|
|
40
40
|
main: "./dist/sdk/payfurl.umd.js",
|
|
@@ -109,8 +109,7 @@ function c(e) {
|
|
|
109
109
|
let t = o[e];
|
|
110
110
|
return t ||= o[a.PRODUCTION], t.errorUrl;
|
|
111
111
|
}
|
|
112
|
-
|
|
113
|
-
//#region src/utils/httpInvoker.ts
|
|
112
|
+
// src/utils/httpInvoker.ts
|
|
114
113
|
var l = class {
|
|
115
114
|
publicKey = "";
|
|
116
115
|
version = "";
|
|
@@ -152,8 +151,7 @@ var l = class {
|
|
|
152
151
|
return d[this.environment][this.location] || d[this.environment].DEFAULT;
|
|
153
152
|
}
|
|
154
153
|
};
|
|
155
|
-
|
|
156
|
-
//#region src/utils/strings.ts
|
|
154
|
+
// src/utils/strings.ts
|
|
157
155
|
function p(e) {
|
|
158
156
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
159
157
|
}
|
|
@@ -170,5 +168,4 @@ function g(e) {
|
|
|
170
168
|
function _(e) {
|
|
171
169
|
return e.replace(/\s/g, "");
|
|
172
170
|
}
|
|
173
|
-
//#endregion
|
|
174
171
|
export { h as a, a as c, i as d, g as i, s as l, p as n, f as o, m as r, l as s, _ as t, c as u };
|
package/package.json
CHANGED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
//#region src/sdk/forter/managedOrders.ts
|
|
2
|
-
var e = /^[A-Za-z0-9]+$/;
|
|
3
|
-
function t() {
|
|
4
|
-
return typeof window.checkoutTools?.managedOrders?.manageOrder == "function";
|
|
5
|
-
}
|
|
6
|
-
function n(e) {
|
|
7
|
-
if (t()) return Promise.resolve();
|
|
8
|
-
let n = document.getElementById("checkoutTools__script") ?? r(e);
|
|
9
|
-
return new Promise((e, t) => {
|
|
10
|
-
n.addEventListener("load", () => e()), n.addEventListener("error", () => {
|
|
11
|
-
n.remove(), t(/* @__PURE__ */ Error("Forter managedOrders script failed to load"));
|
|
12
|
-
});
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
function r(e) {
|
|
16
|
-
let t = document.createElement("script");
|
|
17
|
-
return t.type = "text/javascript", t.id = "checkoutTools__script", t.setAttribute("data-site-id", e), t.src = "https://sdk.checkouttools.com/v1.2/managedOrders.js", document.getElementsByTagName("body")[0].appendChild(t), t;
|
|
18
|
-
}
|
|
19
|
-
function i(e, n, r) {
|
|
20
|
-
t() ? window.checkoutTools.managedOrders.manageOrder(e, { challengeContainer: n ?? null }, r) : r(/* @__PURE__ */ Error("Forter managedOrders script is not loaded"));
|
|
21
|
-
}
|
|
22
|
-
//#endregion
|
|
23
|
-
export { n, i as r, e as t };
|