@payfurl/client 4.9.6 → 4.9.7
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/{PayWayAppleButton-NRBJ3jjI.js → PayWayAppleButton-BNWiTzAe.js} +1 -1
- package/dist/sdk/{forter-B5mAsqh7.js → forter-BWK-CuXv.js} +1 -1
- package/dist/sdk/{forter-5rzXRwAX.js → forter-CoC4qMrz.js} +1 -1
- package/dist/sdk/managedOrders-DDtw7eWn.js +40 -0
- package/dist/sdk/payfurl.es.js +5 -5
- package/dist/sdk/payfurl.umd.js +2 -2
- package/dist/sdk/{payway_rest-BX6JbR1g.js → payway_rest-CMCBLbc7.js} +1 -1
- package/dist/sdk/{strings-DmWzID7u.js → strings-BCjbFg4d.js} +13 -13
- package/package.json +1 -1
- package/dist/sdk/managedOrders-D8BtEsXf.js +0 -23
|
@@ -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.7/js/",
|
|
13
|
+
url: "https://assets.payfurl.com/v4.9.7/iframe/index.html",
|
|
14
|
+
secureUrl: "https://assets.payfurl.com/v4.9.7/secure/index.html",
|
|
15
|
+
redirectUrl: "https://assets.payfurl.com/v4.9.7/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.7/js/",
|
|
21
|
+
url: "https://assets.payfurl.com/v4.9.7/iframe/index.html",
|
|
22
|
+
secureUrl: "https://assets.payfurl.com/v4.9.7/secure/index.html",
|
|
23
|
+
redirectUrl: "https://assets.payfurl.com/v4.9.7/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.7/js/",
|
|
29
|
+
url: "https://assets.payfurl.com/v4.9.7/iframe/index.html",
|
|
30
|
+
secureUrl: "https://assets.payfurl.com/v4.9.7/secure/index.html",
|
|
31
|
+
redirectUrl: "https://assets.payfurl.com/v4.9.7/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.7",
|
|
38
38
|
files: ["dist/sdk"],
|
|
39
39
|
type: "module",
|
|
40
40
|
main: "./dist/sdk/payfurl.umd.js",
|
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 };
|