@ranty/ranty-sdk 3.3.0-beta.1 → 3.3.0-beta.3

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.
@@ -916,7 +916,7 @@ function ae(t) {
916
916
  */
917
917
  var H1;
918
918
  ((H1 = window.HTMLSlotElement) === null || H1 === void 0 ? void 0 : H1.prototype.assignedElements) != null;
919
- const aS = "@ranty/ranty-sdk", lS = "3.3.0-beta.1", dS = "Ranty sdk", cS = "dist/index.js", AS = {
919
+ const aS = "@ranty/ranty-sdk", lS = "3.3.0-beta.3", dS = "Ranty sdk", cS = "dist/index.js", AS = {
920
920
  ".": "./dist/index.js"
921
921
  }, uS = "types/index.d.ts", pS = [
922
922
  "dist",
@@ -5884,16 +5884,16 @@ const Hu = "Volver a la tienda", $a = "https://ranty-sdk-js.naranjax.com/images/
5884
5884
  }),
5885
5885
  {
5886
5886
  name: "link-used",
5887
- title: "Este link ya está pago",
5888
- subtitle: "Si fuiste vos quien pagó, podés encontrar el detalle en la app con la que pagaste. Si no, pedile un nuevo link al negocio.",
5887
+ title: "Este link de pago ya se usó",
5888
+ subtitle: "Si no fuiste vos quien lo usó, tendrás que pedirle un nuevo link de pago al negocio.",
5889
5889
  status: "SUCCESS_PROCESSED",
5890
5890
  returnButton: !1,
5891
5891
  hasDownloadPDF: !1
5892
5892
  },
5893
5893
  {
5894
5894
  name: "link-used-external",
5895
- title: "Esta orden ya está paga.",
5896
- subtitle: "Si fuiste vos quien pagó, podés encontrar el detalle en la app con la que pagaste. Si no, pedile un nuevo link al negocio.",
5895
+ title: "Este link de pago ya se usó",
5896
+ subtitle: "Si no fuiste vos quien lo usó, tendrás que pedirle un nuevo link de pago al negocio.",
5897
5897
  status: "SUCCESS_PROCESSED",
5898
5898
  returnButton: !0,
5899
5899
  nameReturnButton: Hu,
@@ -6040,7 +6040,7 @@ const Hu = "Volver a la tienda", $a = "https://ranty-sdk-js.naranjax.com/images/
6040
6040
  ) || Vf, aC = (t) => vn.messages.find(
6041
6041
  (n) => {
6042
6042
  var r, s;
6043
- return (n.status === Vn.SUCCESS_PROCESSED || Vn.PROCESSED) && t === Gs.ECOMMERCE ? ((r = n.name) == null ? void 0 : r.includes("link-used-external")) && ((s = n.name) == null ? void 0 : s.includes("link-used")) : void 0;
6043
+ return (n.status === Vn.SUCCESS_PROCESSED || Vn.PROCESSED) && t === Gs.ECOMMERCE ? (r = n.name) == null ? void 0 : r.includes("link-used-external") : (s = n.name) == null ? void 0 : s.includes("link-used");
6044
6044
  }
6045
6045
  ) || Vf, nh = (t) => vn.messages.find(
6046
6046
  (n) => {
@@ -9387,10 +9387,10 @@ function P7(t, e, n, r) {
9387
9387
  }
9388
9388
  var pp = s7(P7);
9389
9389
  UP(Tl(), "DD_LOGS", pp);
9390
- const j7 = "@nx-ranty/ranty-sdk", F7 = "3.3.0-beta.1", D7 = 3, R7 = !0, O7 = {
9390
+ const j7 = "@nx-ranty/ranty-sdk", F7 = "3.3.0-beta.3", D7 = 3, R7 = !0, O7 = {
9391
9391
  "": {
9392
9392
  name: "@nx-ranty/ranty-sdk",
9393
- version: "3.3.0-beta.1",
9393
+ version: "3.3.0-beta.3",
9394
9394
  license: "ISC",
9395
9395
  dependencies: {
9396
9396
  "@datadog/browser-logs": "^5.35.1",
@@ -31806,9 +31806,9 @@ const N2 = (t) => {
31806
31806
  business_name: t.owner.business_name,
31807
31807
  country: t.owner.country,
31808
31808
  address: {
31809
- number: t.owner.address.number,
31810
- street: t.owner.address.street,
31811
- notes: t.owner.address.notes
31809
+ number: t.owner.address ? t.owner.address.number : "",
31810
+ street: t.owner.address ? t.owner.address.street : "",
31811
+ notes: t.owner.address ? t.owner.address.notes : ""
31812
31812
  },
31813
31813
  city: t.owner.city,
31814
31814
  tax_registration_date: t.owner.tax_registration_date,
@@ -47642,12 +47642,9 @@ let wr = class t extends qe {
47642
47642
  }
47643
47643
  }), this.isActivePdfByPlatform();
47644
47644
  const i = this._stateStatus.hasDownloadPDF ? 1e4 : 5e3;
47645
- if (this.callbackUrl !== "" && ((s = this.settings.customerProperties) != null && s.enable_auto_redirect)) {
47646
- setTimeout(() => {
47647
- window.location.href = this.callbackUrl;
47648
- }, i);
47649
- return;
47650
- }
47645
+ this.callbackUrl !== "" && ((s = this.settings.customerProperties) != null && s.enable_auto_redirect) && setTimeout(() => {
47646
+ window.location.href = this.callbackUrl;
47647
+ }, i);
47651
47648
  }
47652
47649
  this.title = this._stateStatus.title, this.message = this._stateStatus.subtitle, this.image = this._stateStatus.icon, this.returnButton = this._stateStatus.returnButton || !1;
47653
47650
  });
@@ -62673,7 +62670,7 @@ function(t) {
62673
62670
  */
62674
62671
  function(t) {
62675
62672
  function e() {
62676
- return (mt.canvg ? Promise.resolve(mt.canvg) : import("./index.es-7786bbd8.js")).catch(function(n) {
62673
+ return (mt.canvg ? Promise.resolve(mt.canvg) : import("./index.es-1d973dd1.js")).catch(function(n) {
62677
62674
  return Promise.reject(new Error("Could not load canvg: " + n));
62678
62675
  }).then(function(n) {
62679
62676
  return n.default ? n.default : n;
@@ -1,4 +1,4 @@
1
- import { c as Ke, _ as za, g as _o } from "./index-c4a06b0c.js";
1
+ import { c as Ke, _ as za, g as _o } from "./index-f9ff0b9f.js";
2
2
  var vt = function(a) {
3
3
  return a && a.Math === Math && a;
4
4
  }, V = (
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A as n, am as o, ai as t, al as e, ab as r, ap as C, an as p, ao as A, ac as m, a9 as i, ah as l, ag as u, aa as d, l as c, ak as P, aj as F, ad as S, ae as y, af as I, R as M, B as O, a8 as k, X as H, U as L, a1 as f, T as g, a2 as D, a3 as v, a4 as b, h as x, f as E, a7 as h, a6 as B, V as Q, W as j, Y as w, Z as N, $ as q, C as z, k as G, x as J, a as K, d as R, a5 as T, D as U, a0 as V, E as W, e as X, m as Y, b as Z, F as $, I as _, M as aa, L as sa, N as na, P as oa, n as ta, z as ea, G as ra, y as Ca, O as pa, H as Aa, J as ma, K as ia, Q as la, S as ua, o as da, j as ca, p as Pa, q as Fa, r as Sa, i as ya, v as Ia, s as Ma, t as Oa, u as ka, w as Ha } from "./index-c4a06b0c.js";
1
+ import { A as n, am as o, ai as t, al as e, ab as r, ap as C, an as p, ao as A, ac as m, a9 as i, ah as l, ag as u, aa as d, l as c, ak as P, aj as F, ad as S, ae as y, af as I, R as M, B as O, a8 as k, X as H, U as L, a1 as f, T as g, a2 as D, a3 as v, a4 as b, h as x, f as E, a7 as h, a6 as B, V as Q, W as j, Y as w, Z as N, $ as q, C as z, k as G, x as J, a as K, d as R, a5 as T, D as U, a0 as V, E as W, e as X, m as Y, b as Z, F as $, I as _, M as aa, L as sa, N as na, P as oa, n as ta, z as ea, G as ra, y as Ca, O as pa, H as Aa, J as ma, K as ia, Q as la, S as ua, o as da, j as ca, p as Pa, q as Fa, r as Sa, i as ya, v as Ia, s as Ma, t as Oa, u as ka, w as Ha } from "./index-f9ff0b9f.js";
2
2
  export {
3
3
  n as A2AAccountComponent,
4
4
  o as A2AAccountDetails,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ranty/ranty-sdk",
3
- "version": "3.3.0-beta.1",
3
+ "version": "3.3.0-beta.3",
4
4
  "description": "Ranty sdk",
5
5
  "main": "dist/index.js",
6
6
  "exports": {