@payfurl/react-plugin 1.0.7 → 1.0.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.
Files changed (31) hide show
  1. package/dist/{CxPayThreeDsProvider-DUx0ZP9g-Degsqn78.js → CxPayThreeDsProvider-DUx0ZP9g-CZ0dDiUf.js} +1 -1
  2. package/dist/{DefaultThreeDsProvider-OrSUoygj-DDT1hQi-.js → DefaultThreeDsProvider-OrSUoygj-C1fnz8Dl.js} +5 -5
  3. package/dist/{EcentricThreeDsProvider-C0n-kUpY-BWP8kYWo.js → EcentricThreeDsProvider-C0n-kUpY-B7faJJZS.js} +4 -4
  4. package/dist/{EpnaThreeDsProvider-BlzPLUQj-DXLWm964.js → EpnaThreeDsProvider-BlzPLUQj-5xYvlDhH.js} +1 -1
  5. package/dist/{FlashBancThreeDsProvider-BZD1Bmox-GnYUlI65.js → FlashBancThreeDsProvider-BZD1Bmox-CXii2Z5u.js} +1 -1
  6. package/dist/{GPaymentsThreeDsProvider-Dmc3T7m7-35lrMFpb.js → GPaymentsThreeDsProvider-Dmc3T7m7-ClWUXsKr.js} +7 -7
  7. package/dist/{MetricsGlobalThreeDsProvider-D8pmLCaF-DEaemgZa.js → MetricsGlobalThreeDsProvider-D8pmLCaF-9Zn9KMBT.js} +5 -5
  8. package/dist/{NmiThreeDsProvider-D6MYO9TE-DHwB0bYd.js → NmiThreeDsProvider-D6MYO9TE-XP3i5DD0.js} +1 -1
  9. package/dist/{NuveiThreeDsProvider-B0_hr137-D1_gqEvl.js → NuveiThreeDsProvider-B0_hr137-BSeS3Dtw.js} +42 -42
  10. package/dist/{PayGLocalThreeDsProvider-CcVtz_cC-BQ8_PCsN.js → PayGLocalThreeDsProvider-CcVtz_cC-CryvMpZk.js} +3 -3
  11. package/dist/{PayWayAppleButton-DI0k_xsw-AVNktU-g.js → PayWayAppleButton-DI0k_xsw-gdBZ6sUf.js} +1 -1
  12. package/dist/{PayabliThreeDsProvider-BTuW5mNX-kyO_hsCR.js → PayabliThreeDsProvider-BTuW5mNX-zUudDCiq.js} +1 -1
  13. package/dist/{SkyBankThreeDsProvider-CFsEdtDi-Dce6uOn9.js → SkyBankThreeDsProvider-CFsEdtDi-D_AeZUTT.js} +1 -1
  14. package/dist/{cxpay-CzXEk7uT-Btncowxp.js → cxpay-CzXEk7uT-CHEaX1oC.js} +1 -1
  15. package/dist/{default-CVlT2ZTw-CLMr4GWi.js → default-CVlT2ZTw-GAb6ONvT.js} +1 -1
  16. package/dist/{ecentric-p4HkLdd1-DUXx49X_.js → ecentric-p4HkLdd1-CNm1w3kN.js} +1 -1
  17. package/dist/{epna-ugAK06qE-DXI-Rhx5.js → epna-ugAK06qE-CkwGUb_w.js} +1 -1
  18. package/dist/{flashbanc-BD7QXswZ-mrOZli3W.js → flashbanc-BD7QXswZ-Fdy1B6BS.js} +1 -1
  19. package/dist/{gpayments-BJ23p2Lx-BcpckQ_O.js → gpayments-BJ23p2Lx-QfoNtcpr.js} +1 -1
  20. package/dist/{index-ClH0YevK.js → index-gsXnNX5E.js} +4519 -4610
  21. package/dist/{metrics_global-Ce0HIVhq-BRn4NHF3.js → metrics_global-Ce0HIVhq-DU1Eh9Do.js} +1 -1
  22. package/dist/{nmi-Ci4ItU_O-gLvtT0HD.js → nmi-Ci4ItU_O-Dp-mCkGK.js} +1 -1
  23. package/dist/{nuvei-Dy9kXWcy-CyecXMCz.js → nuvei-Dy9kXWcy-D3SDtRgj.js} +1 -1
  24. package/dist/{payabli-FwdYUjhG-BseeifP8.js → payabli-FwdYUjhG-AALDzHYk.js} +1 -1
  25. package/dist/payfurl-react.es.js +1 -1
  26. package/dist/payfurl-react.umd.js +27 -27
  27. package/dist/{payglocal-DX_7nogS-PD41uw-Y.js → payglocal-DX_7nogS-CX5mt--e.js} +1 -1
  28. package/dist/{payway_rest-BMXIpCn0-rvMOa3J_.js → payway_rest-BMXIpCn0-DUHYQ0hf.js} +1 -1
  29. package/dist/plugins/payfurl/react/src/components/PayfurlDropin.d.ts +1 -0
  30. package/dist/{skybank-JGD9tw1a-YWSy9RUx.js → skybank-JGD9tw1a-Bnir5oV2.js} +1 -1
  31. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-D8pmLCaF-DEaemgZa.js";
1
+ import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-D8pmLCaF-9Zn9KMBT.js";
2
2
  class t extends e {
3
3
  getType() {
4
4
  return "CxPay";
@@ -1,4 +1,4 @@
1
- import { c as d, M as S, P as g, z as p, U as m, i as T, q as v, Y as I, J as f, N as u, $ as y, C as A, O as C } from "./index-ClH0YevK.js";
1
+ import { c as d, M as S, P as g, z as p, U as m, i as T, J as v, q as I, N as u, $ as f, C as y, O as A, Y as C } from "./index-gsXnNX5E.js";
2
2
  var R = Object.defineProperty, E = (l, e, s) => e in l ? R(l, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : l[e] = s, n = (l, e, s) => E(l, typeof e != "symbol" ? e + "" : e, s);
3
3
  const P = { class: "mask" }, U = { class: "wrapper" }, b = { class: "container" }, $ = ["action"], M = ["value"], L = /* @__PURE__ */ m({
4
4
  __name: "ThreeDsChallenge",
@@ -16,13 +16,13 @@ const P = { class: "mask" }, U = { class: "wrapper" }, b = { class: "container"
16
16
  messageType: "CReq",
17
17
  challengeWindowSize: "01"
18
18
  }), r = encodeURI(window.btoa(i).replace(/=*$/, ""));
19
- return v(() => {
19
+ return I(() => {
20
20
  var t;
21
21
  (t = o.value) == null || t.submit();
22
- }), (t, h) => (I(), f("div", P, [
22
+ }), (t, h) => (C(), v("div", P, [
23
23
  u("div", U, [
24
24
  u("div", b, [
25
- y(A, {
25
+ f(y, {
26
26
  onClick: h[0] || (h[0] = (c) => a("close")),
27
27
  id: "3ds-challenge-close"
28
28
  }),
@@ -37,7 +37,7 @@ const P = { class: "mask" }, U = { class: "wrapper" }, b = { class: "container"
37
37
  u("input", {
38
38
  type: "hidden",
39
39
  name: "creq",
40
- value: C(r)
40
+ value: A(r)
41
41
  }, null, 8, M)
42
42
  ], 8, $)
43
43
  ])
@@ -1,5 +1,5 @@
1
- import { DefaultThreeDsProvider as l } from "./DefaultThreeDsProvider-OrSUoygj-DDT1hQi-.js";
2
- import { P as i, z as h, U as c, i as u, q as D, Y as d, J as p, N as o, $ as m, C as g, O as v } from "./index-ClH0YevK.js";
1
+ import { DefaultThreeDsProvider as l } from "./DefaultThreeDsProvider-OrSUoygj-C1fnz8Dl.js";
2
+ import { P as i, z as h, U as c, i as u, J as D, q as d, Y as p, N as o, $ as m, C as g, O as v } from "./index-gsXnNX5E.js";
3
3
  var S = Object.defineProperty, T = (r, e, t) => e in r ? S(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, y = (r, e, t) => T(r, e + "", t);
4
4
  const P = { class: "mask" }, f = { class: "wrapper" }, C = { class: "container" }, I = ["action"], A = ["value"], $ = /* @__PURE__ */ c({
5
5
  __name: "ecentric",
@@ -11,10 +11,10 @@ const P = { class: "mask" }, f = { class: "wrapper" }, C = { class: "container"
11
11
  },
12
12
  setup(r) {
13
13
  const e = r, t = u(null), n = e.authenticationValue;
14
- return D(() => {
14
+ return d(() => {
15
15
  var a;
16
16
  (a = t.value) == null || a.submit();
17
- }), (a, s) => (d(), p("div", P, [
17
+ }), (a, s) => (p(), D("div", P, [
18
18
  o("div", f, [
19
19
  o("div", C, [
20
20
  m(g, {
@@ -1,4 +1,4 @@
1
- import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-D8pmLCaF-DEaemgZa.js";
1
+ import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-D8pmLCaF-9Zn9KMBT.js";
2
2
  class t extends e {
3
3
  getType() {
4
4
  return "EPNA";
@@ -1,4 +1,4 @@
1
- import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-D8pmLCaF-DEaemgZa.js";
1
+ import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-D8pmLCaF-9Zn9KMBT.js";
2
2
  class s extends e {
3
3
  getType() {
4
4
  return "FlashBanc";
@@ -1,6 +1,6 @@
1
- import { DefaultThreeDsProvider as a } from "./DefaultThreeDsProvider-OrSUoygj-DDT1hQi-.js";
2
- import { P as o, z as l, U as u, Y as c, J as p, N as h, E as i } from "./index-ClH0YevK.js";
3
- var d = Object.defineProperty, g = (r, e, t) => e in r ? d(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, n = (r, e, t) => g(r, typeof e != "symbol" ? e + "" : e, t);
1
+ import { DefaultThreeDsProvider as n } from "./DefaultThreeDsProvider-OrSUoygj-C1fnz8Dl.js";
2
+ import { P as o, z as l, U as u, J as c, Y as p, N as h, E as i } from "./index-gsXnNX5E.js";
3
+ var d = Object.defineProperty, g = (r, e, t) => e in r ? d(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, a = (r, e, t) => g(r, typeof e != "symbol" ? e + "" : e, t);
4
4
  const S = { class: "mask" }, D = { class: "wrapper" }, m = ["src"], y = /* @__PURE__ */ u({
5
5
  __name: "GPayments",
6
6
  props: {
@@ -16,7 +16,7 @@ const S = { class: "mask" }, D = { class: "wrapper" }, m = ["src"], y = /* @__PU
16
16
  height: `${e.height || 400}px`
17
17
  };
18
18
  }
19
- return (s, v) => (c(), p("div", S, [
19
+ return (s, v) => (p(), c("div", S, [
20
20
  h("div", D, [
21
21
  h("div", {
22
22
  class: "container",
@@ -31,9 +31,9 @@ const S = { class: "mask" }, D = { class: "wrapper" }, m = ["src"], y = /* @__PU
31
31
  ]));
32
32
  }
33
33
  }), f = /* @__PURE__ */ l(y, [["__scopeId", "data-v-9b0ef3a8"]]);
34
- class U extends a {
34
+ class U extends n {
35
35
  constructor() {
36
- super(...arguments), n(this, "onDoAuthSuccess", (e, t) => {
36
+ super(...arguments), a(this, "onDoAuthSuccess", (e, t) => {
37
37
  const s = JSON.parse(t);
38
38
  if (this.log(`[${this.getType()}][onDoAuthSuccess]`, s), !s.transStatus) {
39
39
  this.onError(e, "No transStatus specified");
@@ -51,7 +51,7 @@ class U extends a {
51
51
  this.log(`[${this.getType()}][threeDsAuth], 3DS challenge not required, tranStatus: ${s.transStatus}`), this.onPostAuth();
52
52
  break;
53
53
  }
54
- }), n(this, "onInitAuthSuccess", (e, t) => {
54
+ }), a(this, "onInitAuthSuccess", (e, t) => {
55
55
  const s = JSON.parse(t);
56
56
  if (this.log(`[${this.getType()}][onInitAuthSuccess]`, s), !s.threeDSAuthURL) {
57
57
  this.onError(e, "No AuthUrl specified");
@@ -1,5 +1,5 @@
1
- import { DefaultThreeDsProvider as C } from "./DefaultThreeDsProvider-OrSUoygj-DDT1hQi-.js";
2
- import { c as P, b as d, P as S, z as w, U as E, i as A, q as b, u as f, I as T, R as L, Y as _, J as I, N as g, $ as N, C as x } from "./index-ClH0YevK.js";
1
+ import { DefaultThreeDsProvider as C } from "./DefaultThreeDsProvider-OrSUoygj-C1fnz8Dl.js";
2
+ import { c as P, b as d, P as S, z as w, U as E, i as A, I as b, q as f, u as T, R as L, Y as _, J as I, N as g, $ as N, C as x } from "./index-gsXnNX5E.js";
3
3
  var G = Object.defineProperty, $ = (l, e, t) => e in l ? G(l, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[e] = t, m = (l, e, t) => $(l, typeof e != "symbol" ? e + "" : e, t);
4
4
  const H = { class: "mask" }, M = { class: "wrapper" }, O = { class: "container" }, j = /* @__PURE__ */ E({
5
5
  __name: "MetricsGlobalThreeDsChallenge",
@@ -10,11 +10,11 @@ const H = { class: "mask" }, M = { class: "wrapper" }, O = { class: "container"
10
10
  var r;
11
11
  ["3DS_CHALLENGE_SHOW", "3DS_CHALLENGE_CLOSE"].includes((r = h.data) == null ? void 0 : r.message) && (o.value = h.data.message === "3DS_CHALLENGE_SHOW");
12
12
  }
13
- return b(() => {
13
+ return f(() => {
14
14
  window.addEventListener("message", a);
15
- }), f(() => {
15
+ }), T(() => {
16
16
  window.removeEventListener("message", a);
17
- }), (h, r) => T((_(), I("div", H, [
17
+ }), (h, r) => b((_(), I("div", H, [
18
18
  g("div", M, [
19
19
  g("div", O, [
20
20
  N(x, {
@@ -1,4 +1,4 @@
1
- import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-D8pmLCaF-DEaemgZa.js";
1
+ import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-D8pmLCaF-9Zn9KMBT.js";
2
2
  class t extends e {
3
3
  getType() {
4
4
  return "NMI";
@@ -1,6 +1,6 @@
1
- import { c as h, b as u, P as p, z as m, U as g, q as D, Y as S, J as v, N as l } from "./index-ClH0YevK.js";
2
- import { DefaultThreeDsProvider as y, THREE_DS_METHOD_INVOCATION_COMPLETE as P, THREE_DS_CHALLENGE_COMPLETE as T } from "./DefaultThreeDsProvider-OrSUoygj-DDT1hQi-.js";
3
- var f = Object.defineProperty, N = (n, e, r) => e in n ? f(n, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : n[e] = r, c = (n, e, r) => N(n, typeof e != "symbol" ? e + "" : e, r);
1
+ import { b as d, P as p, z as m, U as g, c as h, q as D, J as S, Y as v, N as l } from "./index-gsXnNX5E.js";
2
+ import { DefaultThreeDsProvider as y, THREE_DS_METHOD_INVOCATION_COMPLETE as P, THREE_DS_CHALLENGE_COMPLETE as T } from "./DefaultThreeDsProvider-OrSUoygj-C1fnz8Dl.js";
3
+ var f = Object.defineProperty, N = (n, e, a) => e in n ? f(n, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : n[e] = a, c = (n, e, a) => N(n, typeof e != "symbol" ? e + "" : e, a);
4
4
  const I = { class: "mask" }, C = /* @__PURE__ */ g({
5
5
  __name: "nuvei",
6
6
  props: {
@@ -20,15 +20,15 @@ const I = { class: "mask" }, C = /* @__PURE__ */ g({
20
20
  country: {}
21
21
  },
22
22
  setup(n) {
23
- const { hideSpinner: e, showSpinner: r } = h(), s = n;
23
+ const { hideSpinner: e, showSpinner: a } = h(), s = n;
24
24
  D(() => {
25
- r();
25
+ a();
26
26
  const t = document.createElement("script");
27
27
  t.type = "text/javascript", t.src = "https://cdn.safecharge.com/safecharge_resources/v1/websdk/safecharge.js", t.onload = () => {
28
- const a = new MutationObserver(function() {
29
- document.getElementsByClassName("sfcModal-dialog")[0] && (e(), a.disconnect());
30
- }), i = { childList: !0 }, d = document.querySelector("body");
31
- a.observe(d, i), o();
28
+ const r = new MutationObserver(function() {
29
+ document.getElementsByClassName("sfcModal-dialog")[0] && (e(), r.disconnect());
30
+ }), i = { childList: !0 }, u = document.querySelector("body");
31
+ r.observe(u, i), o();
32
32
  }, document.head.appendChild(t);
33
33
  });
34
34
  function o() {
@@ -67,11 +67,11 @@ const I = { class: "mask" }, C = /* @__PURE__ */ g({
67
67
  email: s.email,
68
68
  country: s.country
69
69
  }
70
- }, function(a) {
71
- window.postMessage({ status: "3ds_challenge_complete", cres: a }, "*");
70
+ }, function(r) {
71
+ window.postMessage({ status: "3ds_challenge_complete", cres: r }, "*");
72
72
  });
73
73
  }
74
- return (t, a) => (S(), v("div", I, a[0] || (a[0] = [
74
+ return (t, r) => (v(), S("div", I, r[0] || (r[0] = [
75
75
  l("div", { class: "wrapper" }, [
76
76
  l("div", { class: "container" })
77
77
  ], -1)
@@ -80,40 +80,40 @@ const I = { class: "mask" }, C = /* @__PURE__ */ g({
80
80
  }), _ = /* @__PURE__ */ m(C, [["__scopeId", "data-v-6293d147"]]), { hideSpinner: b } = h();
81
81
  class A extends y {
82
82
  constructor() {
83
- super(...arguments), c(this, "_paResPayload", null), c(this, "onSuccess", (e, r) => {
83
+ super(...arguments), c(this, "_paResPayload", null), c(this, "onSuccess", (e, a) => {
84
84
  var s, o;
85
85
  this.closeChallenge(), b();
86
- const t = JSON.parse(r);
86
+ const t = JSON.parse(a);
87
87
  t.authenticationValue ? (s = this.threeDsProcessor) == null || s.onSuccess(t) : (this.log(`[${this.getType()}][_onSuccess] 3D Secure failed`, t), (o = this.threeDsProcessor) == null || o.onError({ error: "3D Secure failed" }));
88
- }), c(this, "onDoAuthSuccess", (e, r) => {
88
+ }), c(this, "onDoAuthSuccess", (e, a) => {
89
89
  var s, o, t;
90
- const a = JSON.parse(r);
91
- if (this.log(`[${this.getType()}][onDoAuthSuccess]`, a), !a.transStatus || !a.authenticationValue) {
90
+ const r = JSON.parse(a);
91
+ if (this.log(`[${this.getType()}][onDoAuthSuccess]`, r), !r.transStatus || !r.authenticationValue) {
92
92
  this.onError(e, "No transStatus specified");
93
93
  return;
94
94
  }
95
- switch (a.transStatus) {
95
+ switch (r.transStatus) {
96
96
  case "C":
97
- this.doNuveiChallenge(a.authenticationValue, (s = this.threeDsProcessor) == null ? void 0 : s.getAddressInfo(), (o = this.threeDsProcessor) == null ? void 0 : o.getPaymentInfo());
97
+ this.doNuveiChallenge(r.authenticationValue, (s = this.threeDsProcessor) == null ? void 0 : s.getAddressInfo(), (o = this.threeDsProcessor) == null ? void 0 : o.getPaymentInfo());
98
98
  break;
99
99
  default:
100
- this.log(`[${this.getType()}][threeDsAuth], 3DS challenge not required, tranStatus: ` + a.transStatus), (t = this.threeDsProcessor) == null || t.onSuccess({
101
- threeDSServerTransID: a.threeDSServerTransID,
100
+ this.log(`[${this.getType()}][threeDsAuth], 3DS challenge not required, tranStatus: ` + r.transStatus), (t = this.threeDsProcessor) == null || t.onSuccess({
101
+ threeDSServerTransID: r.threeDSServerTransID,
102
102
  threeDSRequestorTransID: "",
103
- acsRenderingType: a.acsRenderingType,
104
- acsTransID: a.acsTransID,
105
- authenticationType: a.authenticationType,
106
- authenticationValue: a.authenticationValue,
103
+ acsRenderingType: r.acsRenderingType,
104
+ acsTransID: r.acsTransID,
105
+ authenticationType: r.authenticationType,
106
+ authenticationValue: r.authenticationValue,
107
107
  challengeCancel: "",
108
- dsTransID: a.dsTransID,
109
- eci: a.eci,
108
+ dsTransID: r.dsTransID,
109
+ eci: r.eci,
110
110
  interactionCounter: "",
111
111
  messageCategory: "",
112
- messageExtension: a.messageExtension,
113
- messageType: a.messageType,
114
- messageVersion: a.messageVersion,
115
- transStatus: a.transStatus,
116
- transStatusReason: a.transStatusReason
112
+ messageExtension: r.messageExtension,
113
+ messageType: r.messageType,
114
+ messageVersion: r.messageVersion,
115
+ transStatus: r.transStatus,
116
+ transStatusReason: r.transStatusReason
117
117
  });
118
118
  break;
119
119
  }
@@ -123,12 +123,12 @@ class A extends y {
123
123
  return "Nuvei";
124
124
  }
125
125
  onPreAuth() {
126
- var e, r;
127
- this.log(`[${this.getType()}]: onPreAuth`), (e = this.threeDsProcessor) != null && e.getTokenId() ? (r = this.threeDsProcessor) == null || r.getCardDetails(this.threeDsProcessor.getProviderId(), this.threeDsProcessor.getTokenId(), (s) => {
126
+ var e, a;
127
+ this.log(`[${this.getType()}]: onPreAuth`), (e = this.threeDsProcessor) != null && e.getTokenId() ? (a = this.threeDsProcessor) == null || a.getCardDetails(this.threeDsProcessor.getProviderId(), this.threeDsProcessor.getTokenId(), (s) => {
128
128
  var o;
129
129
  (o = this.threeDsProcessor) == null || o.setPaymentInfo(s), super.onPreAuth();
130
130
  }, () => {
131
- u(this.container, "Unable to get card information");
131
+ d(this.container, "Unable to get card information");
132
132
  }) : super.onPreAuth();
133
133
  }
134
134
  onPostAuth() {
@@ -142,27 +142,27 @@ class A extends y {
142
142
  xid: this._paResPayload.xid
143
143
  }, this.onSuccess, this.onError);
144
144
  }
145
- doNuveiChallenge(e, r, s) {
145
+ doNuveiChallenge(e, a, s) {
146
146
  var o;
147
147
  const t = JSON.parse(e);
148
- (t === null || !t.merchantId || !t.merchantSiteId) && ((o = this.threeDsProcessor) == null || o.onError({ error: "3D Secure failed" })), r && (t.firstName = r.firstName, t.lastName = r.lastName, t.email = r.email, t.country = r.country), s && (t.cardNumber = s.cardNumber, t.cardHolderName = s.cardholder || "", t.expirationMonth = s.expiryDate.substring(2, 4), t.expirationYear = s.expiryDate.substring(0, 2), t.CVV = s.ccv);
149
- const { destroy: a } = p({
148
+ (t === null || !t.merchantId || !t.merchantSiteId) && ((o = this.threeDsProcessor) == null || o.onError({ error: "3D Secure failed" })), a && (t.firstName = a.firstName, t.lastName = a.lastName, t.email = a.email, t.country = a.country), s && (t.cardNumber = s.cardNumber, t.cardHolderName = s.cardholder || "", t.expirationMonth = s.expiryDate.substring(2, 4), t.expirationYear = s.expiryDate.substring(0, 2), t.CVV = s.ccv);
149
+ const { destroy: r } = p({
150
150
  el: document.body,
151
151
  component: _,
152
152
  props: t,
153
153
  on: {
154
154
  close: () => {
155
155
  var i;
156
- a(), this.threeDSDestroy = () => {
156
+ r(), this.threeDSDestroy = () => {
157
157
  }, (i = this.threeDsProcessor) == null || i.onError({ error: "Challenge cancelled" });
158
158
  }
159
159
  }
160
160
  });
161
- this.threeDSDestroy = a;
161
+ this.threeDSDestroy = r;
162
162
  }
163
163
  messageHandler(e) {
164
- var r, s, o;
165
- if ((r = e == null ? void 0 : e.data) != null && r.status) {
164
+ var a, s, o;
165
+ if ((a = e == null ? void 0 : e.data) != null && a.status) {
166
166
  if (e.data.status === P) {
167
167
  this.log(`[${this.getType()}][messageHandler] 3Ds Method invocation complete`), e.stopPropagation(), this.onAuth(!0, "");
168
168
  return;
@@ -1,5 +1,5 @@
1
- import { DefaultThreeDsProvider as y } from "./DefaultThreeDsProvider-OrSUoygj-DDT1hQi-.js";
2
- import { i as u, b as c, P as f, z as C, U as w, a as E, q as D, u as m, Y as I, J as L, N as g, _ as S } from "./index-ClH0YevK.js";
1
+ import { DefaultThreeDsProvider as y } from "./DefaultThreeDsProvider-OrSUoygj-C1fnz8Dl.js";
2
+ import { b as c, P as f, z as C, i as u, U as w, a as E, q as D, u as m, J as I, Y as L, N as g, _ as S } from "./index-gsXnNX5E.js";
3
3
  const h = u(!1);
4
4
  function k(r, ...e) {
5
5
  h.value && console.log(r, e);
@@ -41,7 +41,7 @@ const b = { class: "modal-mask" }, U = { class: "modal-wrapper" }, A = ["src"],
41
41
  const v = d.split(".")[1], P = window.atob(v), T = JSON.parse(P);
42
42
  s("close", T);
43
43
  }
44
- return (l, i) => (I(), L("div", b, [
44
+ return (l, i) => (L(), I("div", b, [
45
45
  g("div", U, [
46
46
  g("iframe", {
47
47
  src: o.value,
@@ -1,4 +1,4 @@
1
- import { L as b, x as v, k as g } from "./index-ClH0YevK.js";
1
+ import { L as b, x as v, k as g } from "./index-gsXnNX5E.js";
2
2
  var A = Object.defineProperty, C = (n, t, e) => t in n ? A(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, i = (n, t, e) => C(n, typeof t != "symbol" ? t + "" : t, e);
3
3
  const h = {
4
4
  CHECKOUT: "CHECKOUT",
@@ -1,4 +1,4 @@
1
- import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-D8pmLCaF-DEaemgZa.js";
1
+ import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-D8pmLCaF-9Zn9KMBT.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-D8pmLCaF-DEaemgZa.js";
1
+ import { MetricsGlobalThreeDsProvider as e } from "./MetricsGlobalThreeDsProvider-D8pmLCaF-9Zn9KMBT.js";
2
2
  class s extends e {
3
3
  getType() {
4
4
  return "SkyBank";
@@ -1,4 +1,4 @@
1
- import { CxPayThreeDsProvider as n } from "./CxPayThreeDsProvider-DUx0ZP9g-Degsqn78.js";
1
+ import { CxPayThreeDsProvider as n } from "./CxPayThreeDsProvider-DUx0ZP9g-CZ0dDiUf.js";
2
2
  function t(r, e, a) {
3
3
  return new n(r, e, a);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { DefaultThreeDsProvider as o } from "./DefaultThreeDsProvider-OrSUoygj-DDT1hQi-.js";
1
+ import { DefaultThreeDsProvider as o } from "./DefaultThreeDsProvider-OrSUoygj-C1fnz8Dl.js";
2
2
  function a(e, r, t) {
3
3
  return new o(e, r, t);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { EcentricThreeDsProvider as i } from "./EcentricThreeDsProvider-C0n-kUpY-BWP8kYWo.js";
1
+ import { EcentricThreeDsProvider as i } from "./EcentricThreeDsProvider-C0n-kUpY-B7faJJZS.js";
2
2
  function o(r, e, t) {
3
3
  return new i(r, e, t);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { EpnaThreeDsProvider as n } from "./EpnaThreeDsProvider-BlzPLUQj-DXLWm964.js";
1
+ import { EpnaThreeDsProvider as n } from "./EpnaThreeDsProvider-BlzPLUQj-5xYvlDhH.js";
2
2
  function t(r, e, a) {
3
3
  return new n(r, e, a);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { FlashBancThreeDsProvider as a } from "./FlashBancThreeDsProvider-BZD1Bmox-GnYUlI65.js";
1
+ import { FlashBancThreeDsProvider as a } from "./FlashBancThreeDsProvider-BZD1Bmox-CXii2Z5u.js";
2
2
  function o(r, e, t) {
3
3
  return new a(r, e, t);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { GPaymentsThreeDsProvider as a } from "./GPaymentsThreeDsProvider-Dmc3T7m7-35lrMFpb.js";
1
+ import { GPaymentsThreeDsProvider as a } from "./GPaymentsThreeDsProvider-Dmc3T7m7-ClWUXsKr.js";
2
2
  function o(e, r, t) {
3
3
  return new a(e, r, t);
4
4
  }