@ranty/ranty-sdk 3.31.6 → 3.31.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.
|
@@ -926,7 +926,7 @@ function xe(t) {
|
|
|
926
926
|
*/
|
|
927
927
|
var Cy;
|
|
928
928
|
((Cy = window.HTMLSlotElement) === null || Cy === void 0 ? void 0 : Cy.prototype.assignedElements) != null;
|
|
929
|
-
const p8 = "@nx-ranty/ranty-sdk", h8 = "3.31.
|
|
929
|
+
const p8 = "@nx-ranty/ranty-sdk", h8 = "3.31.7", f8 = "Ranty sdk", g8 = "dist/index.js", m8 = {
|
|
930
930
|
".": "./dist/index.js"
|
|
931
931
|
}, y8 = "types/index.d.ts", b8 = [
|
|
932
932
|
"dist",
|
|
@@ -17221,10 +17221,10 @@ function bz(t, e) {
|
|
|
17221
17221
|
}
|
|
17222
17222
|
const $p = yz();
|
|
17223
17223
|
sQ(Ci(), "DD_LOGS", $p);
|
|
17224
|
-
const vz = "@nx-ranty/ranty-sdk", wz = "3.31.
|
|
17224
|
+
const vz = "@nx-ranty/ranty-sdk", wz = "3.31.7", _z = 3, xz = !0, Cz = {
|
|
17225
17225
|
"": {
|
|
17226
17226
|
name: "@nx-ranty/ranty-sdk",
|
|
17227
|
-
version: "3.31.
|
|
17227
|
+
version: "3.31.7",
|
|
17228
17228
|
license: "ISC",
|
|
17229
17229
|
dependencies: {
|
|
17230
17230
|
"@amplitude/analytics-browser": "^2.33.1",
|
|
@@ -39415,14 +39415,17 @@ const $I = (t) => ue(void 0, null, function* () {
|
|
|
39415
39415
|
}, yq = (t) => {
|
|
39416
39416
|
const e = (t || "").trim().toUpperCase();
|
|
39417
39417
|
return !e || e === "N/A" ? "DNI" : t || "DNI";
|
|
39418
|
-
}, fv = (t) => {
|
|
39419
|
-
var
|
|
39420
|
-
const
|
|
39418
|
+
}, fv = (t, e) => {
|
|
39419
|
+
var o, l, c;
|
|
39420
|
+
const n = (o = t == null ? void 0 : t.billing_address) != null ? o : {}, r = (e == null ? void 0 : e.name) || (t == null ? void 0 : t.name) || "", i = (e == null ? void 0 : e.dni) || (e == null ? void 0 : e.doc_number) || (t == null ? void 0 : t.doc_number) || "", s = yq(t == null ? void 0 : t.doc_type), a = (e == null ? void 0 : e.email) || (t == null ? void 0 : t.user_email) || "";
|
|
39421
39421
|
return Ke(ke({}, t), {
|
|
39422
|
-
|
|
39423
|
-
|
|
39424
|
-
|
|
39425
|
-
|
|
39422
|
+
name: r,
|
|
39423
|
+
doc_number: i,
|
|
39424
|
+
doc_type: s,
|
|
39425
|
+
user_email: a,
|
|
39426
|
+
billing_address: Ke(ke({}, n), {
|
|
39427
|
+
country: (l = n == null ? void 0 : n.country) != null ? l : "",
|
|
39428
|
+
zipcode: (c = n == null ? void 0 : n.zipcode) != null ? c : ""
|
|
39426
39429
|
})
|
|
39427
39430
|
});
|
|
39428
39431
|
}, ZI = (t, e, n, r = "manual_input") => ue(void 0, null, function* () {
|
|
@@ -39457,7 +39460,7 @@ const $I = (t) => ue(void 0, null, function* () {
|
|
|
39457
39460
|
card_payment: "card_payment"
|
|
39458
39461
|
},
|
|
39459
39462
|
transactions: hv(l ? t.transactions : t.payment_request.transactions),
|
|
39460
|
-
buyer: fv(l ? t.buyer : t.payment_request.buyer),
|
|
39463
|
+
buyer: fv(l ? t.buyer : t.payment_request.buyer, e),
|
|
39461
39464
|
additional_info: {
|
|
39462
39465
|
validate_card: S
|
|
39463
39466
|
},
|
|
@@ -39511,7 +39514,7 @@ const $I = (t) => ue(void 0, null, function* () {
|
|
|
39511
39514
|
type: "card_payment"
|
|
39512
39515
|
},
|
|
39513
39516
|
transactions: l && l[0],
|
|
39514
|
-
buyer: fv(t.buyer),
|
|
39517
|
+
buyer: fv(t.buyer, e),
|
|
39515
39518
|
seller: t.seller,
|
|
39516
39519
|
shipping: t.shipping ? t.shipping : null,
|
|
39517
39520
|
payment_input: r
|
|
@@ -63933,7 +63936,7 @@ function(t) {
|
|
|
63933
63936
|
var c = l.getContext("2d");
|
|
63934
63937
|
c.fillStyle = "#fff", c.fillRect(0, 0, l.width, l.height);
|
|
63935
63938
|
var A = { ignoreMouse: !0, ignoreAnimation: !0, ignoreDimensions: !0 }, d = this;
|
|
63936
|
-
return (Bt.canvg ? Promise.resolve(Bt.canvg) : import("./index.es-
|
|
63939
|
+
return (Bt.canvg ? Promise.resolve(Bt.canvg) : import("./index.es-572ee1db.js")).catch(function(h) {
|
|
63937
63940
|
return Promise.reject(new Error("Could not load canvg: " + h));
|
|
63938
63941
|
}).then(function(h) {
|
|
63939
63942
|
return h.default ? h.default : h;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a4 as t, a7 as e, a5 as n, a6 as o, A as r, t as p, G as C, v as i, B as u, a3 as l, R as d, K as m, X as c, J as P, Y as A, Z as I, $ as y, h as D, f, a2 as k, a1 as F, M as S, O as L, T as H, U as M, V as g, C as v, i as x, n as E, a as O, d as b, a0 as Q, s as h, y as B, r as w, o as N, p as j, q, D as z, W as G, E as J, e as K, k as R, b as T, F as U, H as V, I as W, L as X, N as Y, j as Z, w as $, P as _, l as aa, u as sa, x as ta, Q as ea, S as na, z as oa, m as ra } from "./index-
|
|
1
|
+
import { a4 as t, a7 as e, a5 as n, a6 as o, A as r, t as p, G as C, v as i, B as u, a3 as l, R as d, K as m, X as c, J as P, Y as A, Z as I, $ as y, h as D, f, a2 as k, a1 as F, M as S, O as L, T as H, U as M, V as g, C as v, i as x, n as E, a as O, d as b, a0 as Q, s as h, y as B, r as w, o as N, p as j, q, D as z, W as G, E as J, e as K, k as R, b as T, F as U, H as V, I as W, L as X, N as Y, j as Z, w as $, P as _, l as aa, u as sa, x as ta, Q as ea, S as na, z as oa, m as ra } from "./index-367aa2fb.js";
|
|
2
2
|
export {
|
|
3
3
|
t as A2AAccountDetails,
|
|
4
4
|
e as A2AFeedbackHome,
|