@payfurl/client 4.6.20 → 4.6.21
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/{CxPayThreeDsProvider-Dr0OMtOn.js → CxPayThreeDsProvider-ysOA5bLR.js} +1 -1
- package/dist/sdk/{DefaultThreeDsProvider-DGwAo5db.js → DefaultThreeDsProvider-Be6gfYn_.js} +1 -1
- package/dist/sdk/{EcentricThreeDsProvider-43Ilcq0h.js → EcentricThreeDsProvider-CKLcz5as.js} +2 -2
- package/dist/sdk/{EpnaThreeDsProvider-DAb_v9_b.js → EpnaThreeDsProvider-Krzveb57.js} +1 -1
- package/dist/sdk/{FlashBancThreeDsProvider-BU2NLGAi.js → FlashBancThreeDsProvider-CJLu0sTI.js} +1 -1
- package/dist/sdk/{GPaymentsThreeDsProvider-e4jj8dtC.js → GPaymentsThreeDsProvider-CtQlgihk.js} +2 -2
- package/dist/sdk/{MetricsGlobalThreeDsProvider-CatfqPdh.js → MetricsGlobalThreeDsProvider-TgpG4rsv.js} +2 -2
- package/dist/sdk/{NmiThreeDsProvider-BPXIz4Vi.js → NmiThreeDsProvider-CSDa8FZu.js} +1 -1
- package/dist/sdk/{NuveiThreeDsProvider-mFF4RV22.js → NuveiThreeDsProvider-C51-thjW.js} +2 -2
- package/dist/sdk/{PayGLocalThreeDsProvider-B8p55PCA.js → PayGLocalThreeDsProvider-BgjSU-5J.js} +2 -2
- package/dist/sdk/{PayWayAppleButton-BmzeC43R.js → PayWayAppleButton-CAgtQL1n.js} +1 -1
- package/dist/sdk/{PayabliThreeDsProvider-DC5tuhYU.js → PayabliThreeDsProvider-DLe5DA9v.js} +1 -1
- package/dist/sdk/{SkyBankThreeDsProvider-DXGkeSsQ.js → SkyBankThreeDsProvider-C00abS69.js} +1 -1
- package/dist/sdk/{ThreeDsProvider.interface-BjMd8UNS.js → ThreeDsProvider.interface-BqrnU_2p.js} +34 -28
- package/dist/sdk/{cxpay-DRW8u0TK.js → cxpay-Cz4y2geS.js} +1 -1
- package/dist/sdk/{default-BJCNbU4_.js → default-CMUCo-dm.js} +1 -1
- package/dist/sdk/{ecentric-B6lpJfRd.js → ecentric-BKnZ4vde.js} +1 -1
- package/dist/sdk/{epna-D81eca-j.js → epna-CNfQtVtP.js} +1 -1
- package/dist/sdk/{flashbanc-DMhzKKiZ.js → flashbanc-DXa7kG4z.js} +1 -1
- package/dist/sdk/{gpayments-DcDti9QJ.js → gpayments-Ck3Izfmg.js} +1 -1
- package/dist/sdk/{metrics_global-Jj1PkH1h.js → metrics_global-DjHVWiDw.js} +1 -1
- package/dist/sdk/{nmi-BPtmoYn6.js → nmi-DHtVpDhq.js} +1 -1
- package/dist/sdk/{nuvei-B-pNg5uQ.js → nuvei-CoZAS9EN.js} +1 -1
- package/dist/sdk/{payabli-B4JSpbeo.js → payabli-CPvAQMj1.js} +1 -1
- package/dist/sdk/payfurl.es.js +1 -1
- package/dist/sdk/payfurl.umd.js +10 -10
- package/dist/sdk/{payglocal-B9Lm8xtT.js → payglocal-C6yFYoGo.js} +1 -1
- package/dist/sdk/{payway_rest-Ds5iN_Az.js → payway_rest-UZu9CKxh.js} +1 -1
- package/dist/sdk/{skybank-B3YT-Em1.js → skybank-BCBwKCBm.js} +1 -1
- package/dist/sdk/style.css +1 -1
- package/package.json +1 -1
|
@@ -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, a as T, c 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-
|
|
4
|
+
import { d as p, r as g, o as m, a as T, c 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-BqrnU_2p.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: {
|
package/dist/sdk/{EcentricThreeDsProvider-43Ilcq0h.js → EcentricThreeDsProvider-CKLcz5as.js}
RENAMED
|
@@ -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-
|
|
5
|
-
import { d as p, r as u, o as D, a as m, c as g, b as a, e as f, C as S, u as T, _, f as y } from "./ThreeDsProvider.interface-
|
|
4
|
+
import { DefaultThreeDsProvider as d } from "./DefaultThreeDsProvider-Be6gfYn_.js";
|
|
5
|
+
import { d as p, r as u, o as D, a as m, c as g, b as a, e as f, C as S, u as T, _, f as y } from "./ThreeDsProvider.interface-BqrnU_2p.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: {
|
package/dist/sdk/{GPaymentsThreeDsProvider-e4jj8dtC.js → GPaymentsThreeDsProvider-CtQlgihk.js}
RENAMED
|
@@ -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-
|
|
5
|
-
import { d, a as u, c as p, b as h, n as a, _ as g, f as D } from "./ThreeDsProvider.interface-
|
|
4
|
+
import { DefaultThreeDsProvider as c } from "./DefaultThreeDsProvider-Be6gfYn_.js";
|
|
5
|
+
import { d, a as u, c as p, b as h, n as a, _ as g, f as D } from "./ThreeDsProvider.interface-BqrnU_2p.js";
|
|
6
6
|
const S = { class: "mask" }, m = { class: "wrapper" }, y = ["src"], f = /* @__PURE__ */ d({
|
|
7
7
|
__name: "GPayments",
|
|
8
8
|
props: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var S = Object.defineProperty;
|
|
2
2
|
var P = (h, o, t) => o in h ? S(h, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[o] = t;
|
|
3
3
|
var m = (h, o, t) => P(h, typeof o != "symbol" ? o + "" : o, t);
|
|
4
|
-
import { DefaultThreeDsProvider as f } from "./DefaultThreeDsProvider-
|
|
5
|
-
import { d as E, r as _, o as A, i as v, w as T, v as b, a as x, c as I, b as g, e as L, C as N, _ as G, h as $, s as p, f as H } from "./ThreeDsProvider.interface-
|
|
4
|
+
import { DefaultThreeDsProvider as f } from "./DefaultThreeDsProvider-Be6gfYn_.js";
|
|
5
|
+
import { d as E, r as _, o as A, i as v, w as T, v as b, a as x, c as I, b as g, e as L, C as N, _ as G, h as $, s as p, f as H } from "./ThreeDsProvider.interface-BqrnU_2p.js";
|
|
6
6
|
const M = { class: "mask" }, k = { class: "wrapper" }, O = { class: "container" }, j = /* @__PURE__ */ E({
|
|
7
7
|
__name: "MetricsGlobalThreeDsChallenge",
|
|
8
8
|
emits: ["close", "submit"],
|
|
@@ -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, a as D, c as S, b as l, _ as f, s as y, f as P } from "./ThreeDsProvider.interface-
|
|
5
|
-
import { DefaultThreeDsProvider as T, THREE_DS_METHOD_INVOCATION_COMPLETE as N, THREE_DS_CHALLENGE_COMPLETE as I } from "./DefaultThreeDsProvider-
|
|
4
|
+
import { d as m, h as d, o as g, a as D, c as S, b as l, _ as f, s as y, f as P } from "./ThreeDsProvider.interface-BqrnU_2p.js";
|
|
5
|
+
import { DefaultThreeDsProvider as T, THREE_DS_METHOD_INVOCATION_COMPLETE as N, THREE_DS_CHALLENGE_COMPLETE as I } from "./DefaultThreeDsProvider-Be6gfYn_.js";
|
|
6
6
|
const C = { class: "mask" }, _ = /* @__PURE__ */ m({
|
|
7
7
|
__name: "nuvei",
|
|
8
8
|
props: {
|
package/dist/sdk/{PayGLocalThreeDsProvider-B8p55PCA.js → PayGLocalThreeDsProvider-BgjSU-5J.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DefaultThreeDsProvider as C } from "./DefaultThreeDsProvider-
|
|
2
|
-
import { r as h, o as p, i as D, I as y, d as _, j as w, a as E, c as I, b as u, _ as L, s as c, f as S } from "./ThreeDsProvider.interface-
|
|
1
|
+
import { DefaultThreeDsProvider as C } from "./DefaultThreeDsProvider-Be6gfYn_.js";
|
|
2
|
+
import { r as h, o as p, i as D, I as y, d as _, j as w, a as E, c as I, b as u, _ as L, s as c, f as S } from "./ThreeDsProvider.interface-BqrnU_2p.js";
|
|
3
3
|
const d = h(!1);
|
|
4
4
|
function R(s, ...e) {
|
|
5
5
|
d.value && console.log(s, e);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var g = Object.defineProperty;
|
|
2
2
|
var A = (a, t, i) => t in a ? g(a, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : a[t] = i;
|
|
3
3
|
var s = (a, t, i) => A(a, typeof t != "symbol" ? t + "" : t, i);
|
|
4
|
-
import { R as b, g as C, H as P } from "./ThreeDsProvider.interface-
|
|
4
|
+
import { R as b, g as C, H as P } from "./ThreeDsProvider.interface-BqrnU_2p.js";
|
|
5
5
|
const h = {
|
|
6
6
|
CHECKOUT: "CHECKOUT",
|
|
7
7
|
CHARGE: "CHARGE"
|
package/dist/sdk/{ThreeDsProvider.interface-BjMd8UNS.js → ThreeDsProvider.interface-BqrnU_2p.js}
RENAMED
|
@@ -29,23 +29,23 @@ const Jl = {
|
|
|
29
29
|
errorUrl: "https://y2it4xhgpx5junghaf3psg7a7q0splje.lambda-url.ap-southeast-2.on.aws"
|
|
30
30
|
}, Zl = {
|
|
31
31
|
baseUrl: "https://assets.payfurl.com",
|
|
32
|
-
cssUrl: "https://assets.payfurl.com/v4.6.
|
|
33
|
-
url: "https://assets.payfurl.com/v4.6.
|
|
34
|
-
redirectUrl: "https://assets.payfurl.com/v4.6.
|
|
32
|
+
cssUrl: "https://assets.payfurl.com/v4.6.21/js/",
|
|
33
|
+
url: "https://assets.payfurl.com/v4.6.21/iframe/index.html",
|
|
34
|
+
redirectUrl: "https://assets.payfurl.com/v4.6.21/checkout/redirect.html",
|
|
35
35
|
apiUrl: "https://develop-api.payfurl.com",
|
|
36
36
|
errorUrl: "https://y2it4xhgpx5junghaf3psg7a7q0splje.lambda-url.ap-southeast-2.on.aws"
|
|
37
37
|
}, Xl = {
|
|
38
38
|
baseUrl: "https://assets.payfurl.com",
|
|
39
|
-
cssUrl: "https://assets.payfurl.com/v4.6.
|
|
40
|
-
url: "https://assets.payfurl.com/v4.6.
|
|
41
|
-
redirectUrl: "https://assets.payfurl.com/v4.6.
|
|
39
|
+
cssUrl: "https://assets.payfurl.com/v4.6.21/js/",
|
|
40
|
+
url: "https://assets.payfurl.com/v4.6.21/iframe/index.html",
|
|
41
|
+
redirectUrl: "https://assets.payfurl.com/v4.6.21/checkout/redirect.html",
|
|
42
42
|
apiUrl: "https://sandbox-api.payfurl.com",
|
|
43
43
|
errorUrl: "https://gujl7xo5fhpkjaain4swyiymt40loyia.lambda-url.ap-southeast-2.on.aws"
|
|
44
44
|
}, Ql = {
|
|
45
45
|
baseUrl: "https://assets.payfurl.com",
|
|
46
|
-
cssUrl: "https://assets.payfurl.com/v4.6.
|
|
47
|
-
url: "https://assets.payfurl.com/v4.6.
|
|
48
|
-
redirectUrl: "https://assets.payfurl.com/v4.6.
|
|
46
|
+
cssUrl: "https://assets.payfurl.com/v4.6.21/js/",
|
|
47
|
+
url: "https://assets.payfurl.com/v4.6.21/iframe/index.html",
|
|
48
|
+
redirectUrl: "https://assets.payfurl.com/v4.6.21/checkout/redirect.html",
|
|
49
49
|
apiUrl: "https://api.payfurl.com",
|
|
50
50
|
errorUrl: "https://4rvkh6tupgcmqk3b2igkpdi2zi0mveyg.lambda-url.ap-southeast-2.on.aws"
|
|
51
51
|
};
|
|
@@ -7593,7 +7593,7 @@ class zt extends Yt {
|
|
|
7593
7593
|
}
|
|
7594
7594
|
};
|
|
7595
7595
|
i.includes("TRANSACTION_AUTHENTICATION") ? o.authenticationContext.dpaData = {
|
|
7596
|
-
dpaName:
|
|
7596
|
+
dpaName: this.networkTokenProvider.clientParameters.DpaName,
|
|
7597
7597
|
merchantCountryCode: "AU"
|
|
7598
7598
|
} : o.authenticationContext.srcDpaId = this.networkTokenProvider.clientParameters.SrcDpaId, (a = this.networkTokenOptions) != null && a.acquirerMerchantId && (o.authenticationContext.acquirerMerchantId = this.networkTokenOptions.acquirerMerchantId), (c = this.networkTokenOptions) != null && c.acquirerBIN && (o.authenticationContext.acquirerBIN = this.networkTokenOptions.acquirerBIN), (l = this.networkTokenOptions) != null && l.merchantCategoryCode && (o.authenticationContext.dpaTransactionOptions.merchantCategoryCode = this.networkTokenOptions.merchantCategoryCode, o.authenticationContext.dpaData && (o.authenticationContext.dpaData.merchantCategoryCode = this.networkTokenOptions.merchantCategoryCode)), this.log("[MastercardTokenAuthenticationProcessor][authenticate]", o), (u = this.modal) == null || u.postMessage({
|
|
7599
7599
|
action: "Authenticate",
|
|
@@ -9239,7 +9239,7 @@ w([
|
|
|
9239
9239
|
w([
|
|
9240
9240
|
b
|
|
9241
9241
|
], cr.prototype, "getMessageHandler", null);
|
|
9242
|
-
const _f = "@payfurl/client", kf = "4.6.
|
|
9242
|
+
const _f = "@payfurl/client", kf = "4.6.21", Af = [
|
|
9243
9243
|
"dist/sdk"
|
|
9244
9244
|
], Tf = "module", Sf = "./dist/sdk/payfurl.umd.js", If = "./dist/sdk/payfurl.es.js", Nf = "./dist/sdk/payfurl.d.ts", Df = {
|
|
9245
9245
|
".": {
|
|
@@ -9930,7 +9930,7 @@ class Cr {
|
|
|
9930
9930
|
})
|
|
9931
9931
|
}), this.billingAddress && ((u = this.applePayButton) == null || u.setBillingAddress(this.billingAddress)), this.customer && ((d = this.applePayButton) == null || d.setCustomerInfo(this.customer)), this.order && ((h = this.applePayButton) == null || h.setOrderInfo(this.order)), (p = this.applePayButton) == null || p.draw(), window.postMessage({ status: br }, "*");
|
|
9932
9932
|
});
|
|
9933
|
-
no(/* @__PURE__ */ Object.assign({ "./applepay/ApplePayButton.interface.ts": () => Promise.resolve().then(() => O0), "./applepay/ApplePayButtonOptions.type.ts": () => Promise.resolve().then(() => M0), "./applepay/PayWayAppleButton.ts": () => import("./PayWayAppleButton-
|
|
9933
|
+
no(/* @__PURE__ */ Object.assign({ "./applepay/ApplePayButton.interface.ts": () => Promise.resolve().then(() => O0), "./applepay/ApplePayButtonOptions.type.ts": () => Promise.resolve().then(() => M0), "./applepay/PayWayAppleButton.ts": () => import("./PayWayAppleButton-CAgtQL1n.js"), "./applepay/payway_rest.ts": () => import("./payway_rest-UZu9CKxh.js") }), `./applepay/${o.providerType.toLowerCase()}.ts`, 3).then(E(this, "[localAddApplePay], then", (l) => {
|
|
9934
9934
|
this.log(`Loading ${o.providerType}...`, l), c(l);
|
|
9935
9935
|
})).catch(() => {
|
|
9936
9936
|
this.log(`Error loading ${o.providerType}`), a();
|
|
@@ -10112,7 +10112,7 @@ const Kf = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c
|
|
|
10112
10112
|
log: { type: Function },
|
|
10113
10113
|
options: {}
|
|
10114
10114
|
},
|
|
10115
|
-
emits: ["close", "submit"],
|
|
10115
|
+
emits: ["close", "submit", "logout"],
|
|
10116
10116
|
setup(e, { emit: r }) {
|
|
10117
10117
|
const t = e, s = r, i = te(""), o = te(""), n = te({});
|
|
10118
10118
|
function a() {
|
|
@@ -10124,7 +10124,10 @@ const Kf = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c
|
|
|
10124
10124
|
function l() {
|
|
10125
10125
|
s("close");
|
|
10126
10126
|
}
|
|
10127
|
-
|
|
10127
|
+
function u() {
|
|
10128
|
+
s("logout");
|
|
10129
|
+
}
|
|
10130
|
+
return (d, h) => (W(), yr(Wl, {
|
|
10128
10131
|
width: "350",
|
|
10129
10132
|
onClose: l
|
|
10130
10133
|
}, {
|
|
@@ -10133,21 +10136,21 @@ const Kf = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c
|
|
|
10133
10136
|
xe(e0, {
|
|
10134
10137
|
options: t.options
|
|
10135
10138
|
}, null, 8, ["options"]),
|
|
10136
|
-
|
|
10139
|
+
h[2] || (h[2] = Et(" Click To Pay Login "))
|
|
10137
10140
|
])
|
|
10138
10141
|
]),
|
|
10139
10142
|
body: Zr(() => [
|
|
10140
10143
|
D("div", r0, [
|
|
10141
10144
|
D("div", s0, [
|
|
10142
10145
|
D("div", i0, [
|
|
10143
|
-
|
|
10146
|
+
h[3] || (h[3] = D("label", null, "Email Address", -1)),
|
|
10144
10147
|
D("div", o0, [
|
|
10145
10148
|
At(D("input", {
|
|
10146
10149
|
type: "text",
|
|
10147
10150
|
maxlength: "100",
|
|
10148
10151
|
placeholder: "Email Address",
|
|
10149
10152
|
name: "email",
|
|
10150
|
-
"onUpdate:modelValue":
|
|
10153
|
+
"onUpdate:modelValue": h[0] || (h[0] = (p) => i.value = p)
|
|
10151
10154
|
}, null, 512), [
|
|
10152
10155
|
[gi, i.value]
|
|
10153
10156
|
]),
|
|
@@ -10155,14 +10158,14 @@ const Kf = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c
|
|
|
10155
10158
|
])
|
|
10156
10159
|
]),
|
|
10157
10160
|
D("div", a0, [
|
|
10158
|
-
|
|
10161
|
+
h[4] || (h[4] = D("label", null, "Phone", -1)),
|
|
10159
10162
|
D("div", l0, [
|
|
10160
10163
|
At(D("input", {
|
|
10161
10164
|
type: "text",
|
|
10162
10165
|
maxlength: "100",
|
|
10163
10166
|
placeholder: "Phone",
|
|
10164
10167
|
name: "phone",
|
|
10165
|
-
"onUpdate:modelValue":
|
|
10168
|
+
"onUpdate:modelValue": h[1] || (h[1] = (p) => o.value = p)
|
|
10166
10169
|
}, null, 512), [
|
|
10167
10170
|
[gi, o.value]
|
|
10168
10171
|
]),
|
|
@@ -10174,14 +10177,14 @@ const Kf = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c
|
|
|
10174
10177
|
]),
|
|
10175
10178
|
footer: Zr(() => [
|
|
10176
10179
|
D("div", { class: "payfurl-form payfurl-form-footer" }, [
|
|
10177
|
-
D("button", { onClick:
|
|
10180
|
+
D("button", { onClick: u }, "Continue as Guest"),
|
|
10178
10181
|
D("button", { onClick: c }, "Login")
|
|
10179
10182
|
])
|
|
10180
10183
|
]),
|
|
10181
10184
|
_: 1
|
|
10182
10185
|
}));
|
|
10183
10186
|
}
|
|
10184
|
-
}), d0 = /* @__PURE__ */ je(u0, [["__scopeId", "data-v-
|
|
10187
|
+
}), d0 = /* @__PURE__ */ je(u0, [["__scopeId", "data-v-693ba623"]]), ps = "Click to Pay is unavailable. Please proceed with an alternative payment method", h0 = {
|
|
10185
10188
|
SANDBOX: {
|
|
10186
10189
|
uiKit: "https://src.mastercard.com/srci/integration/components/src-ui-kit/src-ui-kit.esm.js",
|
|
10187
10190
|
uiKitCss: "https://src.mastercard.com/srci/integration/components/src-ui-kit/src-ui-kit.css",
|
|
@@ -10587,7 +10590,7 @@ src-otp-input {
|
|
|
10587
10590
|
},
|
|
10588
10591
|
on: {
|
|
10589
10592
|
close: E(this, "[showLoginForm], onclose", () => {
|
|
10590
|
-
this.stopLoadingCardForm(), t();
|
|
10593
|
+
this.log("[LoginForm.close]"), this.stopLoadingCardForm(), t();
|
|
10591
10594
|
}),
|
|
10592
10595
|
submit: E(this, "[showLoginForm], onsubmit", ({ email: s, phone: i }) => {
|
|
10593
10596
|
if (this.log("[LoginForm.submit]", s, i), t(), this.customer || this.setCustomerInfo({
|
|
@@ -10600,6 +10603,9 @@ src-otp-input {
|
|
|
10600
10603
|
return;
|
|
10601
10604
|
}
|
|
10602
10605
|
this.setCards([]), this.mcIdLookup();
|
|
10606
|
+
}),
|
|
10607
|
+
logout: E(this, "[showLoginForm], onlogout", () => {
|
|
10608
|
+
this.log("[LoginForm.logout]"), t(), this.stopLoadingCardForm(), this.setCards([]), this.mcLogout();
|
|
10603
10609
|
})
|
|
10604
10610
|
}
|
|
10605
10611
|
});
|
|
@@ -11870,11 +11876,11 @@ class ee {
|
|
|
11870
11876
|
this.debug && console.log(r, t);
|
|
11871
11877
|
}
|
|
11872
11878
|
_cleanUp(r) {
|
|
11873
|
-
var t, s, i, o, n, a, c, l, u;
|
|
11874
|
-
(t = this.getSubmit(r)) == null || t.removeEventListener("click", this.getSubmitFormHandler(r)), (s = this.getForm(r)) == null || s.removeEventListener("submit", this.getSubmitFormHandler(r)), (i = this.getDestroyDropIn(r)) == null || i(), (o = this.cardProcessor) == null || o.cleanUp(r), (n = this.applePayProcessor) == null || n.cleanUp(r), (a = this.googlePayProcessor) == null || a.cleanUp(r)
|
|
11875
|
-
|
|
11876
|
-
|
|
11877
|
-
this.checkoutProcessors = [], (
|
|
11879
|
+
var t, s, i, o, n, a, c, l, u, d;
|
|
11880
|
+
if ((t = this.getSubmit(r)) == null || t.removeEventListener("click", this.getSubmitFormHandler(r)), (s = this.getForm(r)) == null || s.removeEventListener("submit", this.getSubmitFormHandler(r)), (i = this.getDestroyDropIn(r)) == null || i(), (o = this.cardProcessor) == null || o.cleanUp(r), (n = this.applePayProcessor) == null || n.cleanUp(r), (a = this.googlePayProcessor) == null || a.cleanUp(r), ((c = this.checkoutProcessors) == null ? void 0 : c.length) > 0)
|
|
11881
|
+
for (const h of this.checkoutProcessors)
|
|
11882
|
+
h == null || h.cleanUp(r);
|
|
11883
|
+
this.checkoutProcessors = [], (l = this.paypalProcessor) == null || l.cleanUp(r), (u = this.payToProcessor) == null || u.cleanUp(r), (d = this.clickToPayProcessor) == null || d.cleanUp(r), r && (r.innerHTML = "");
|
|
11878
11884
|
}
|
|
11879
11885
|
getForm(r) {
|
|
11880
11886
|
var t;
|
|
@@ -12642,7 +12648,7 @@ class ee {
|
|
|
12642
12648
|
}));
|
|
12643
12649
|
}
|
|
12644
12650
|
add3DsProcessor(r, t, s, i, o, n, a) {
|
|
12645
|
-
this.log("[add3DsProcessor]", t, s), no(/* @__PURE__ */ Object.assign({ "./3ds/CxPayThreeDsProvider.ts": () => import("./CxPayThreeDsProvider-
|
|
12651
|
+
this.log("[add3DsProcessor]", t, s), no(/* @__PURE__ */ Object.assign({ "./3ds/CxPayThreeDsProvider.ts": () => import("./CxPayThreeDsProvider-ysOA5bLR.js"), "./3ds/DefaultThreeDsProvider.ts": () => import("./DefaultThreeDsProvider-Be6gfYn_.js"), "./3ds/EcentricThreeDsProvider.ts": () => import("./EcentricThreeDsProvider-CKLcz5as.js"), "./3ds/EpnaThreeDsProvider.ts": () => import("./EpnaThreeDsProvider-Krzveb57.js"), "./3ds/FlashBancThreeDsProvider.ts": () => import("./FlashBancThreeDsProvider-CJLu0sTI.js"), "./3ds/GPaymentsThreeDsProvider.ts": () => import("./GPaymentsThreeDsProvider-CtQlgihk.js"), "./3ds/MetricsGlobalThreeDsProvider.ts": () => import("./MetricsGlobalThreeDsProvider-TgpG4rsv.js"), "./3ds/NmiThreeDsProvider.ts": () => import("./NmiThreeDsProvider-CSDa8FZu.js"), "./3ds/NuveiThreeDsProvider.ts": () => import("./NuveiThreeDsProvider-C51-thjW.js"), "./3ds/PayGLocalThreeDsProvider.ts": () => import("./PayGLocalThreeDsProvider-BgjSU-5J.js"), "./3ds/PayabliThreeDsProvider.ts": () => import("./PayabliThreeDsProvider-DLe5DA9v.js"), "./3ds/SkyBankThreeDsProvider.ts": () => import("./SkyBankThreeDsProvider-C00abS69.js"), "./3ds/ThreeDsAuthResponse.type.ts": () => Promise.resolve().then(() => F0), "./3ds/ThreeDsInitResponse.type.ts": () => Promise.resolve().then(() => U0), "./3ds/ThreeDsPostAuthResponse.type.ts": () => import("./ThreeDsPostAuthResponse.type-CaV_50Qh.js"), "./3ds/ThreeDsProvider.interface.ts": () => Promise.resolve().then(() => R0), "./3ds/cxpay.ts": () => import("./cxpay-Cz4y2geS.js"), "./3ds/default.ts": () => import("./default-CMUCo-dm.js"), "./3ds/ecentric.ts": () => import("./ecentric-BKnZ4vde.js"), "./3ds/epna.ts": () => import("./epna-CNfQtVtP.js"), "./3ds/flashbanc.ts": () => import("./flashbanc-DXa7kG4z.js"), "./3ds/gpayments.ts": () => import("./gpayments-Ck3Izfmg.js"), "./3ds/metrics_global.ts": () => import("./metrics_global-DjHVWiDw.js"), "./3ds/nmi.ts": () => import("./nmi-DHtVpDhq.js"), "./3ds/nuvei.ts": () => import("./nuvei-CoZAS9EN.js"), "./3ds/payabli.ts": () => import("./payabli-CPvAQMj1.js"), "./3ds/payglocal.ts": () => import("./payglocal-C6yFYoGo.js"), "./3ds/skybank.ts": () => import("./skybank-BCBwKCBm.js") }), `./3ds/${s.toLowerCase()}.ts`, 3).then(E(this, "[add3DsProcessor], onload", (c) => {
|
|
12646
12652
|
var u;
|
|
12647
12653
|
this.log(`Loading ${s}...`, c);
|
|
12648
12654
|
const l = c.default(this.log.bind(this), r, {
|
package/dist/sdk/payfurl.es.js
CHANGED