@ranty/ranty-sdk 2.1.0-beta.2 → 2.1.0-beta.4

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/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  # @ranty/ranty-sdk
4
4
 
5
- Librería frontend basada en Web Components para el Ranty SDK. Su principal objetivo es proporcionar diversas soluciones enfocadas en el procesamiento de pagos:
5
+ Librería frontend basada en Web Components para el Payfac SDK. Su principal objetivo es proporcionar diversas soluciones enfocadas en el procesamiento de pagos:
6
6
 
7
7
  - **Pagos tradicionales**
8
8
  - **Tokenizados**:
@@ -48,11 +48,11 @@ import '@ranty/ranty-sdk'
48
48
  - production (no requerido)
49
49
  - staging (homologación)
50
50
 
51
- - **settings**: permite mostrar u ocultar componentes, Si no se pasa el atrbuto settings en el tag de payfac se muestra todo por default.
51
+ - **settings**: permite mostrar u ocultar componentes. Si no se pasa el atributo settings en el tag de payfac, se muestra todo por default.
52
52
  - show_title: muestra u oculta el título.
53
53
  - show_subtitle: muestra u oculta el subtítulo.
54
54
  - show_order_detail: muestra u oculta el detalle de la compra.
55
- - enable_auto_redirect: activa ó desactiva la recirección automática a la tienda.
55
+ - enable_auto_redirect: activa ó desactiva la redirección automática a la tienda.
56
56
  ```js
57
57
  customerProperties: {
58
58
  show_title: false,
@@ -64,7 +64,7 @@ customerProperties: {
64
64
 
65
65
  ## Recomendación de uso
66
66
 
67
- Para tener una mejor experiencia se recomienda embeber el tag de `<payfac-sdk></payfac-sdk>` en un tag de contencion `div, iframe...`, con los sigueintes estilos `height: 94vh; background: #F4F4F4;`
67
+ Para tener una mejor experiencia se recomienda embeber el tag de `<payfac-sdk></payfac-sdk>` en un tag de contencion `div, iframe...`, con los siguientes estilos `height: 94vh; background: #F4F4F4;`
68
68
 
69
69
  ## Pagos Tradicionales:
70
70
 
@@ -168,7 +168,7 @@ Para tener una mejor experiencia se recomienda embeber el tag de `<payfac-sdk></
168
168
 
169
169
  ### Manejo de eventos
170
170
 
171
- Se dispara un eventos cuando:
171
+ Se dispara un evento cuando:
172
172
 
173
173
  - Falla al generar el token
174
174
  - Falla get payment request
@@ -201,5 +201,5 @@ Se dispara un eventos cuando:
201
201
  | DIRECT_PAYMENT_ERROR | Direct payment failed. |
202
202
  | FAILURE_PROCESSED | Failure detail |
203
203
  | SUCCESS_PROCESSED | none |
204
- | BLOCKED | Bloked detail |
204
+ | BLOCKED | Blocked detail |
205
205
  | INVOICE_ERROR | Open invoice failed. |
@@ -33631,7 +33631,7 @@ fb.getInstallmentPlans = (n, e, t, r) => Ee(void 0, null, function* () {
33631
33631
  let uD = fb;
33632
33632
  const Vo = (n, e) => Ee(void 0, null, function* () {
33633
33633
  var i, o;
33634
- if (console.log(e, "bines"), Ut.getConfig().VITE_ENV === "sandbox")
33634
+ if (Ut.getConfig().VITE_ENV === "sandbox")
33635
33635
  return e ? (o = (i = mT(e)) == null ? void 0 : i.response) == null ? void 0 : o.data : yT.response.data;
33636
33636
  const { order_id: t, platform: r } = n.additional_info;
33637
33637
  return (yield uD.getInstallmentPlans(t, n.id, r, e)).response.data;
@@ -72059,7 +72059,7 @@ function(n) {
72059
72059
  */
72060
72060
  function(n) {
72061
72061
  function e() {
72062
- return (ht.canvg ? Promise.resolve(ht.canvg) : import("./index.es-106c9a2b.js")).catch(function(t) {
72062
+ return (ht.canvg ? Promise.resolve(ht.canvg) : import("./index.es-a73ecebd.js")).catch(function(t) {
72063
72063
  return Promise.reject(new Error("Could not load canvg: " + t));
72064
72064
  }).then(function(t) {
72065
72065
  return t.default ? t.default : t;
@@ -1,4 +1,4 @@
1
- import { c as Ke, _ as za, g as _o } from "./index-12bb0203.js";
1
+ import { c as Ke, _ as za, g as _o } from "./index-7956c2bb.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 s, w as t, f as e, e as o, n as r, p as C, O as m, o as p, q as l, m as d, r as i, C as u, u as y, R as P, j as F, a as S, d as c, D as M, l as O, E as I, v as k, b as x, F as f, k as H, Z as L, a0 as v, N as A, P as D, L as g, x as E, U as w, V as Q, T as h, a1 as B, W as N, X as R, Y as b, i as j, h as q, $ as z, S as G, y as J, t as K, z as T, B as U, G as V, s as W, H as X, I as Y, J as Z, M as $, Q as _, K as aa } from "./index-12bb0203.js";
1
+ import { A as s, w as t, f as e, e as o, n as r, p as C, O as m, o as p, q as l, m as d, r as i, C as u, u as y, R as P, j as F, a as S, d as c, D as M, l as O, E as I, v as k, b as x, F as f, k as H, Z as L, a0 as v, N as A, P as D, L as g, x as E, U as w, V as Q, T as h, a1 as B, W as N, X as R, Y as b, i as j, h as q, $ as z, S as G, y as J, t as K, z as T, B as U, G as V, s as W, H as X, I as Y, J as Z, M as $, Q as _, K as aa } from "./index-7956c2bb.js";
2
2
  export {
3
3
  s as AppHome,
4
4
  t as AppLoading,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ranty/ranty-sdk",
3
- "version": "2.1.0-beta.2",
3
+ "version": "2.1.0-beta.4",
4
4
  "description": "Ranty sdk",
5
5
  "main": "dist/index.js",
6
6
  "exports": {