@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.
@@ -1,4 +1,4 @@
1
- import { PayWayAppleButton as e } from "./PayWayAppleButton-NRBJ3jjI.js";
1
+ import { PayWayAppleButton as e } from "./PayWayAppleButton-BNWiTzAe.js";
2
2
  //#region src/sdk/processors/applepay/payway_rest.ts
3
3
  function t(t, n, r, i, a, o) {
4
4
  return new e(t, n, r, i, a, o);
@@ -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.6/js/",
13
- url: "https://assets.payfurl.com/v4.9.6/iframe/index.html",
14
- secureUrl: "https://assets.payfurl.com/v4.9.6/secure/index.html",
15
- redirectUrl: "https://assets.payfurl.com/v4.9.6/checkout/redirect.html",
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.6/js/",
21
- url: "https://assets.payfurl.com/v4.9.6/iframe/index.html",
22
- secureUrl: "https://assets.payfurl.com/v4.9.6/secure/index.html",
23
- redirectUrl: "https://assets.payfurl.com/v4.9.6/checkout/redirect.html",
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.6/js/",
29
- url: "https://assets.payfurl.com/v4.9.6/iframe/index.html",
30
- secureUrl: "https://assets.payfurl.com/v4.9.6/secure/index.html",
31
- redirectUrl: "https://assets.payfurl.com/v4.9.6/checkout/redirect.html",
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.6",
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,7 +1,7 @@
1
1
  {
2
2
  "name": "@payfurl/client",
3
3
  "private": false,
4
- "version": "4.9.6",
4
+ "version": "4.9.7",
5
5
  "files": [
6
6
  "dist/sdk"
7
7
  ],
@@ -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 };