@payfurl/client 4.7.0 → 4.7.1

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.
Files changed (30) hide show
  1. package/dist/sdk/{CxPayThreeDsProvider-DHyY0SJN.js → CxPayThreeDsProvider-eCTlBrYD.js} +1 -1
  2. package/dist/sdk/{DefaultThreeDsProvider-BbyoW5gI.js → DefaultThreeDsProvider-Dta0kf29.js} +3 -3
  3. package/dist/sdk/{EcentricThreeDsProvider-CJkAKhCm.js → EcentricThreeDsProvider-Bx0Ipc0t.js} +4 -4
  4. package/dist/sdk/{EpnaThreeDsProvider-CbuCAz8E.js → EpnaThreeDsProvider-qbbN7SK3.js} +1 -1
  5. package/dist/sdk/{FlashBancThreeDsProvider-yEpICp2s.js → FlashBancThreeDsProvider-D5LZCAx8.js} +1 -1
  6. package/dist/sdk/{GPaymentsThreeDsProvider-ZzFlXQYx.js → GPaymentsThreeDsProvider-v1ox82Iy.js} +2 -2
  7. package/dist/sdk/{MetricsGlobalThreeDsProvider-COVvDD_A.js → MetricsGlobalThreeDsProvider-BDZHRRG6.js} +7 -7
  8. package/dist/sdk/{NmiThreeDsProvider-CyQ9ToCv.js → NmiThreeDsProvider-Dz6A5VdR.js} +1 -1
  9. package/dist/sdk/{NuveiThreeDsProvider-wpWbdDVQ.js → NuveiThreeDsProvider-CH9IUzJW.js} +2 -2
  10. package/dist/sdk/{PayGLocalThreeDsProvider-piT2VTln.js → PayGLocalThreeDsProvider-Dz2iXoDE.js} +19 -19
  11. package/dist/sdk/{PayWayAppleButton-lOpUyVhK.js → PayWayAppleButton-CXgWk9kl.js} +1 -1
  12. package/dist/sdk/{PayabliThreeDsProvider-chEmLOO6.js → PayabliThreeDsProvider-CDk4BS0T.js} +1 -1
  13. package/dist/sdk/{SkyBankThreeDsProvider-B1KB-MBu.js → SkyBankThreeDsProvider-C8R_Q7ou.js} +1 -1
  14. package/dist/sdk/{cxpay-CkpinAwr.js → cxpay-BrqOPpzf.js} +1 -1
  15. package/dist/sdk/{default-CCjRF2gJ.js → default-Bi8RN-hO.js} +1 -1
  16. package/dist/sdk/{ecentric-C7aOx_5y.js → ecentric-CYASmKGu.js} +1 -1
  17. package/dist/sdk/{epna-C3FB2xZQ.js → epna-BY0CgKjV.js} +1 -1
  18. package/dist/sdk/{flashbanc-tBq9tJrU.js → flashbanc-BWyCZRpI.js} +1 -1
  19. package/dist/sdk/{ThreeDsProvider.interface-BcufVMJY.js → fraudStatus.type-BjY0DMZw.js} +2516 -2475
  20. package/dist/sdk/{gpayments-utHsl2Sf.js → gpayments-gu98_ZwF.js} +1 -1
  21. package/dist/sdk/{metrics_global-CP2_hsNY.js → metrics_global-DRsWHoQw.js} +1 -1
  22. package/dist/sdk/{nmi-Crex5ZZF.js → nmi-DnzpEagI.js} +1 -1
  23. package/dist/sdk/{nuvei-DFcv1FC6.js → nuvei-BfZYu92M.js} +1 -1
  24. package/dist/sdk/{payabli-C_GFUDE_.js → payabli-Bzn4Zq2P.js} +1 -1
  25. package/dist/sdk/payfurl.es.js +1 -1
  26. package/dist/sdk/payfurl.umd.js +14 -14
  27. package/dist/sdk/{payglocal-CfnXIS4O.js → payglocal-BDleNrJU.js} +1 -1
  28. package/dist/sdk/{payway_rest-Bl-RqdsM.js → payway_rest-icjjGspK.js} +1 -1
  29. package/dist/sdk/{skybank-ChiLuKWf.js → skybank-CSAsK1jU.js} +1 -1
  30. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-COVvDD_A.js";
1
+ import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-BDZHRRG6.js";
2
2
  class a extends e {
3
3
  getType() {
4
4
  return "CxPay";
@@ -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-BcufVMJY.js";
4
+ import { d as p, o as g, r 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 "./fraudStatus.type-BjY0DMZw.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: {
@@ -11,14 +11,14 @@ const R = { class: "mask" }, P = { class: "wrapper" }, U = { class: "container"
11
11
  },
12
12
  emits: ["close", "submit"],
13
13
  setup(n, { emit: e }) {
14
- const s = n, t = e, o = g(null), a = JSON.stringify({
14
+ const s = n, t = e, o = m(null), a = JSON.stringify({
15
15
  threeDSServerTransID: s.threeDSServerTransID,
16
16
  acsTransID: s.acsTransID,
17
17
  messageVersion: "2.2.0",
18
18
  messageType: "CReq",
19
19
  challengeWindowSize: "01"
20
20
  }), i = encodeURI(window.btoa(a).replace(/=*$/, ""));
21
- return m(() => {
21
+ return g(() => {
22
22
  var c;
23
23
  (c = o.value) == null || c.submit();
24
24
  }), (c, h) => (f(), T("div", R, [
@@ -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-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";
4
+ import { DefaultThreeDsProvider as d } from "./DefaultThreeDsProvider-Dta0kf29.js";
5
+ import { d as p, o as u, r as D, c as m, a as g, b as a, e as f, C as S, u as T, _, f as y } from "./fraudStatus.type-BjY0DMZw.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: {
@@ -12,8 +12,8 @@ const C = { class: "mask" }, v = { class: "wrapper" }, P = { class: "container"
12
12
  authenticationValue: {}
13
13
  },
14
14
  setup(s) {
15
- const t = s, e = u(null), n = t.authenticationValue;
16
- return D(() => {
15
+ const t = s, e = D(null), n = t.authenticationValue;
16
+ return u(() => {
17
17
  var r;
18
18
  (r = e.value) == null || r.submit();
19
19
  }), (r, o) => (g(), m("div", C, [
@@ -1,4 +1,4 @@
1
- import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-COVvDD_A.js";
1
+ import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-BDZHRRG6.js";
2
2
  class a extends e {
3
3
  getType() {
4
4
  return "EPNA";
@@ -1,4 +1,4 @@
1
- import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-COVvDD_A.js";
1
+ import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-BDZHRRG6.js";
2
2
  class t extends e {
3
3
  getType() {
4
4
  return "FlashBanc";
@@ -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-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";
4
+ import { DefaultThreeDsProvider as c } from "./DefaultThreeDsProvider-Dta0kf29.js";
5
+ import { d, c as u, a as p, b as h, n as a, _ as g, f as D } from "./fraudStatus.type-BjY0DMZw.js";
6
6
  const S = { class: "mask" }, m = { class: "wrapper" }, y = ["src"], f = /* @__PURE__ */ d({
7
7
  __name: "GPayments",
8
8
  props: {
@@ -1,22 +1,22 @@
1
1
  var E = Object.defineProperty;
2
2
  var _ = (h, o, t) => o in h ? E(h, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[o] = t;
3
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";
4
+ import { DefaultThreeDsProvider as A } from "./DefaultThreeDsProvider-Dta0kf29.js";
5
+ import { d as v, o as T, i as b, w as L, v as N, r 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 "./fraudStatus.type-BjY0DMZw.js";
6
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 = T(!1);
10
+ const t = o, e = x(!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 b(() => {
15
+ return T(() => {
16
16
  window.addEventListener("message", s);
17
- }), L(() => {
17
+ }), b(() => {
18
18
  window.removeEventListener("message", s);
19
- }), (r, i) => N((G(), I("div", O, [
19
+ }), (r, i) => L((G(), I("div", O, [
20
20
  g("div", U, [
21
21
  g("div", j, [
22
22
  $(H, {
@@ -27,7 +27,7 @@ const O = { class: "mask" }, U = { class: "wrapper" }, j = { class: "container"
27
27
  ])
28
28
  ])
29
29
  ], 512)), [
30
- [x, e.value]
30
+ [N, e.value]
31
31
  ]);
32
32
  }
33
33
  }), W = /* @__PURE__ */ M(B, [["__scopeId", "data-v-8a0b6dcb"]]), { hideSpinner: c, showSpinner: R } = k(), u = 5;
@@ -1,4 +1,4 @@
1
- import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-COVvDD_A.js";
1
+ import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-BDZHRRG6.js";
2
2
  class t extends e {
3
3
  getType() {
4
4
  return "NMI";
@@ -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-BcufVMJY.js";
5
- import { DefaultThreeDsProvider as T, THREE_DS_METHOD_INVOCATION_COMPLETE as N, THREE_DS_CHALLENGE_COMPLETE as I } from "./DefaultThreeDsProvider-BbyoW5gI.js";
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 "./fraudStatus.type-BjY0DMZw.js";
5
+ import { DefaultThreeDsProvider as T, THREE_DS_METHOD_INVOCATION_COMPLETE as N, THREE_DS_CHALLENGE_COMPLETE as I } from "./DefaultThreeDsProvider-Dta0kf29.js";
6
6
  const C = { class: "mask" }, _ = /* @__PURE__ */ m({
7
7
  __name: "nuvei",
8
8
  props: {
@@ -1,20 +1,20 @@
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
- const d = h(!1);
1
+ import { DefaultThreeDsProvider as C } from "./DefaultThreeDsProvider-Dta0kf29.js";
2
+ import { o as m, i as p, r as D, I as y, d as _, j as w, c as E, a as I, b as g, _ as L, s as c, f as S } from "./fraudStatus.type-BjY0DMZw.js";
3
+ const h = D(!1);
4
4
  function R(s, ...e) {
5
- d.value && console.log(s, e);
5
+ h.value && console.log(s, e);
6
6
  }
7
- function m(s) {
7
+ function u(s) {
8
8
  var e, o;
9
- (e = s == null ? void 0 : s.data) != null && e.status && s.data.status === y && (d.value = !!((o = s == null ? void 0 : s.data) != null && o.debug));
9
+ (e = s == null ? void 0 : s.data) != null && e.status && s.data.status === y && (h.value = !!((o = s == null ? void 0 : s.data) != null && o.debug));
10
10
  }
11
11
  function k() {
12
- return p(() => {
13
- window.addEventListener("message", m);
14
- }), D(() => {
15
- window.removeEventListener("message", m);
12
+ return m(() => {
13
+ window.addEventListener("message", u);
14
+ }), p(() => {
15
+ window.removeEventListener("message", u);
16
16
  }), {
17
- debug: d,
17
+ debug: h,
18
18
  logMessage: R
19
19
  };
20
20
  }
@@ -25,25 +25,25 @@ const b = { class: "modal-mask" }, A = { class: "modal-wrapper" }, M = ["src"],
25
25
  },
26
26
  emits: ["close"],
27
27
  setup(s, { emit: e }) {
28
- const { logMessage: o } = k(), r = s, t = e, a = h(r.url);
29
- h(null), w(() => r.url, (i) => {
28
+ const { logMessage: o } = k(), r = s, t = e, a = D(r.url);
29
+ w(() => r.url, (i) => {
30
30
  a.value = i;
31
- }), p(() => {
31
+ }), m(() => {
32
32
  window.addEventListener("message", n);
33
- }), D(() => {
33
+ }), p(() => {
34
34
  window.removeEventListener("message", n);
35
35
  });
36
36
  function n(i) {
37
- var g;
38
- if (o("PayGLocalThreeDsChallenge: Message received", i.data), !((g = i == null ? void 0 : i.data) != null && g["payglocal-token"])) return;
37
+ var d;
38
+ if (o("PayGLocalThreeDsChallenge: Message received", i.data), !((d = i == null ? void 0 : i.data) != null && d["payglocal-token"])) return;
39
39
  const l = i.data["payglocal-token"];
40
40
  o("Token received", l);
41
41
  const f = l.split(".")[1], P = window.atob(f), T = JSON.parse(P);
42
42
  t("close", T);
43
43
  }
44
44
  return (i, l) => (I(), E("div", b, [
45
- u("div", A, [
46
- u("iframe", {
45
+ g("div", A, [
46
+ g("iframe", {
47
47
  src: a.value,
48
48
  sandbox: "allow-same-origin allow-scripts allow-popups allow-forms"
49
49
  }, null, 8, M)
@@ -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-BcufVMJY.js";
4
+ import { R as A, g as v, H as C } from "./fraudStatus.type-BjY0DMZw.js";
5
5
  const d = {
6
6
  CHECKOUT: "CHECKOUT",
7
7
  CHARGE: "CHARGE"
@@ -1,4 +1,4 @@
1
- import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-COVvDD_A.js";
1
+ import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-BDZHRRG6.js";
2
2
  class t extends e {
3
3
  getType() {
4
4
  return "Payabli";
@@ -1,4 +1,4 @@
1
- import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-COVvDD_A.js";
1
+ import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-BDZHRRG6.js";
2
2
  class a extends e {
3
3
  getType() {
4
4
  return "SkyBank";
@@ -1,4 +1,4 @@
1
- import { CxPayThreeDsProvider as t } from "./CxPayThreeDsProvider-DHyY0SJN.js";
1
+ import { CxPayThreeDsProvider as t } from "./CxPayThreeDsProvider-eCTlBrYD.js";
2
2
  function n(r, e, o) {
3
3
  return new t(r, e, o);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { DefaultThreeDsProvider as f } from "./DefaultThreeDsProvider-BbyoW5gI.js";
1
+ import { DefaultThreeDsProvider as f } from "./DefaultThreeDsProvider-Dta0kf29.js";
2
2
  function u(e, r, t) {
3
3
  return new f(e, r, t);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { EcentricThreeDsProvider as n } from "./EcentricThreeDsProvider-CJkAKhCm.js";
1
+ import { EcentricThreeDsProvider as n } from "./EcentricThreeDsProvider-Bx0Ipc0t.js";
2
2
  function i(e, r, t) {
3
3
  return new n(e, r, t);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { EpnaThreeDsProvider as o } from "./EpnaThreeDsProvider-CbuCAz8E.js";
1
+ import { EpnaThreeDsProvider as o } from "./EpnaThreeDsProvider-qbbN7SK3.js";
2
2
  function a(e, r, n) {
3
3
  return new o(e, r, n);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { FlashBancThreeDsProvider as n } from "./FlashBancThreeDsProvider-yEpICp2s.js";
1
+ import { FlashBancThreeDsProvider as n } from "./FlashBancThreeDsProvider-D5LZCAx8.js";
2
2
  function t(r, e, a) {
3
3
  return new n(r, e, a);
4
4
  }