@ranty/ranty-sdk 3.25.1-beta.0 → 3.25.1-beta.1

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 _e(t) {
926
926
  */
927
927
  var sy;
928
928
  ((sy = window.HTMLSlotElement) === null || sy === void 0 ? void 0 : sy.prototype.assignedElements) != null;
929
- const TT = "@ranty/ranty-sdk", UT = "3.25.1-beta.0", jT = "Ranty sdk", FT = "dist/index.js", DT = {
929
+ const TT = "@nx-ranty/ranty-sdk", UT = "3.25.1-beta.1", jT = "Ranty sdk", FT = "dist/index.js", DT = {
930
930
  ".": "./dist/index.js"
931
931
  }, RT = "types/index.d.ts", PT = [
932
932
  "dist",
@@ -16602,10 +16602,10 @@ function VM(t, e, n, r) {
16602
16602
  }
16603
16603
  const Rp = fM(VM);
16604
16604
  fQ(No(), "DD_LOGS", Rp);
16605
- const GM = "@nx-ranty/ranty-sdk", WM = "3.25.1-beta.0", YM = 3, JM = !0, XM = {
16605
+ const GM = "@nx-ranty/ranty-sdk", WM = "3.25.1-beta.1", YM = 3, JM = !0, XM = {
16606
16606
  "": {
16607
16607
  name: "@nx-ranty/ranty-sdk",
16608
- version: "3.25.1-beta.0",
16608
+ version: "3.25.1-beta.1",
16609
16609
  license: "ISC",
16610
16610
  dependencies: {
16611
16611
  "@datadog/browser-logs": "^6.17.0",
@@ -45674,9 +45674,8 @@ class wc {
45674
45674
  /** 1) Loading page */
45675
45675
  loading() {
45676
45676
  Vn("checkout_event", {
45677
- event_category: "Checkout credit card desktop",
45678
- event_name: "pageview",
45679
- properties: {
45677
+ eventName: "pageview",
45678
+ eventParams: {
45680
45679
  product: "checkout_debit_card_desktop",
45681
45680
  section: "loading_page"
45682
45681
  }
@@ -45685,10 +45684,9 @@ class wc {
45685
45684
  /** PANTALLAS FLUJO CREDIT CARD DESKTOP */
45686
45685
  /** 2) Pantalla principal para elegir medio de pago tarjeta qr o transferencia*/
45687
45686
  paymentMethodSelection() {
45688
- Vn("checkout_event", {
45689
- event_category: "Checkout credit card desktop",
45690
- event_name: "pageview",
45691
- properties: {
45687
+ Vn("trackevent", {
45688
+ eventName: "pageview",
45689
+ eventParams: {
45692
45690
  product: "checkout_debit_card_desktop",
45693
45691
  section: "choose_the_payment_method"
45694
45692
  }
@@ -45696,10 +45694,9 @@ class wc {
45696
45694
  }
45697
45695
  /** 3) Click en Tarjeta (crédito/débito) */
45698
45696
  clickCreditOrDebitCard() {
45699
- Vn("checkout_event", {
45700
- event_category: "Checkout credit card desktop",
45701
- event_name: "click",
45702
- properties: {
45697
+ Vn("trackevent", {
45698
+ eventName: "click",
45699
+ eventParams: {
45703
45700
  product: "checkout_debit_card_desktop",
45704
45701
  section: "choose_the_payment_method",
45705
45702
  element: "credit_or_debit_card"
@@ -45708,10 +45705,9 @@ class wc {
45708
45705
  }
45709
45706
  /** 4) Usuario entra a la pantalla de datos de tarjeta */
45710
45707
  enterCardData() {
45711
- Vn("checkout_event", {
45712
- event_category: "Checkout credit card desktop",
45713
- event_name: "pageview",
45714
- properties: {
45708
+ Vn("trackevent", {
45709
+ eventName: "pageview",
45710
+ eventParams: {
45715
45711
  product: "checkout_debit_card_desktop",
45716
45712
  section: "enter_data"
45717
45713
  }
@@ -45719,10 +45715,9 @@ class wc {
45719
45715
  }
45720
45716
  /** 5) Click en continuar después de llenar el formulario */
45721
45717
  clickContinueAfterData() {
45722
- Vn("checkout_event", {
45723
- event_category: "Checkout credit card desktop",
45724
- event_name: "click",
45725
- properties: {
45718
+ Vn("trackevent", {
45719
+ eventName: "click",
45720
+ eventParams: {
45726
45721
  product: "checkout_debit_card_desktop",
45727
45722
  section: "enter_data",
45728
45723
  element: "continue",
@@ -45732,10 +45727,9 @@ class wc {
45732
45727
  }
45733
45728
  /** 6) Usuario elige las cuotas */
45734
45729
  screenSelectInstallments() {
45735
- Vn("checkout_event", {
45736
- event_category: "Checkout credit card desktop",
45737
- event_name: "pageview",
45738
- properties: {
45730
+ Vn("trackevent", {
45731
+ eventName: "pageview",
45732
+ eventParams: {
45739
45733
  product: "checkout_debit_card_desktop",
45740
45734
  section: "installments_selection"
45741
45735
  }
@@ -45743,10 +45737,9 @@ class wc {
45743
45737
  }
45744
45738
  /** 6) Usuario elige las cuotas */
45745
45739
  selectInstallments() {
45746
- Vn("checkout_event", {
45747
- event_category: "Checkout credit card desktop",
45748
- event_name: "click",
45749
- properties: {
45740
+ Vn("trackevent", {
45741
+ eventName: "click",
45742
+ eventParams: {
45750
45743
  product: "checkout_debit_card_desktop",
45751
45744
  section: "installments_selection",
45752
45745
  element: "fees"
@@ -45755,10 +45748,9 @@ class wc {
45755
45748
  }
45756
45749
  /** 7) Pantalla de resumen del pago */
45757
45750
  paymentSummary() {
45758
- Vn("checkout_event", {
45759
- event_category: "Checkout credit card desktop",
45760
- event_name: "pageview",
45761
- properties: {
45751
+ Vn("trackevent", {
45752
+ eventName: "pageview",
45753
+ eventParams: {
45762
45754
  product: "checkout_debit_card_desktop",
45763
45755
  section: "payment_summary"
45764
45756
  }
@@ -45766,10 +45758,9 @@ class wc {
45766
45758
  }
45767
45759
  /** 8) Click en pagar */
45768
45760
  clickPay() {
45769
- Vn("checkout_event", {
45770
- event_category: "Checkout credit card desktop",
45771
- event_name: "click",
45772
- properties: {
45761
+ Vn("trackevent", {
45762
+ eventName: "click",
45763
+ eventParams: {
45773
45764
  product: "checkout_debit_card_desktop",
45774
45765
  section: "payment_summary",
45775
45766
  element: "pay"
@@ -45778,10 +45769,9 @@ class wc {
45778
45769
  }
45779
45770
  /** 9) Pantalla mientras se procesa el pago */
45780
45771
  processingPayment() {
45781
- Vn("checkout_event", {
45782
- event_category: "Checkout credit card desktop",
45783
- event_name: "pageview",
45784
- properties: {
45772
+ Vn("trackevent", {
45773
+ eventName: "pageview",
45774
+ eventParams: {
45785
45775
  product: "checkout_debit_card_desktop",
45786
45776
  section: "processing_payment"
45787
45777
  }
@@ -45789,10 +45779,9 @@ class wc {
45789
45779
  }
45790
45780
  /** 10) Pantalla de confirmación de pago */
45791
45781
  paymentConfirmation() {
45792
- Vn("checkout_event", {
45793
- event_category: "Checkout credit card desktop",
45794
- event_name: "pageview",
45795
- properties: {
45782
+ Vn("trackevent", {
45783
+ eventName: "pageview",
45784
+ eventParams: {
45796
45785
  product: "checkout_debit_card_desktop",
45797
45786
  section: "payment_confirmation"
45798
45787
  }
@@ -45800,10 +45789,9 @@ class wc {
45800
45789
  }
45801
45790
  /** 11) Click de descarga del comprobante */
45802
45791
  clickDownloadReceipt() {
45803
- Vn("checkout_event", {
45804
- event_category: "Checkout credit card desktop",
45805
- event_name: "click",
45806
- properties: {
45792
+ Vn("trackevent", {
45793
+ eventName: "click",
45794
+ eventParams: {
45807
45795
  product: "checkout_debit_card_desktop",
45808
45796
  section: "payment_confirmation",
45809
45797
  element: "download_receipt"
@@ -45813,10 +45801,9 @@ class wc {
45813
45801
  /** PANTALLAS DE ERROR FLUJO CREDIT CARD DESKTOP */
45814
45802
  /** 1) Es una de las pantallas que existe si hay un problema en el sistema, te permite reintentar*/
45815
45803
  unableMakePayment() {
45816
- Vn("checkout_event", {
45817
- event_category: "Checkout credit card desktop",
45818
- event_name: "error",
45819
- properties: {
45804
+ Vn("trackevent", {
45805
+ eventName: "error",
45806
+ eventParams: {
45820
45807
  product: "checkout_debit_card_desktop",
45821
45808
  section: "payment_failed"
45822
45809
  }
@@ -45824,10 +45811,9 @@ class wc {
45824
45811
  }
45825
45812
  /** 2) el click busca reintentar el pago.*/
45826
45813
  unableMakePaymentClickRetry() {
45827
- Vn("checkout_event", {
45828
- event_category: "Checkout credit card desktop",
45829
- event_name: "click",
45830
- properties: {
45814
+ Vn("trackevent", {
45815
+ eventName: "click",
45816
+ eventParams: {
45831
45817
  product: "checkout_debit_card_desktop",
45832
45818
  section: "payment_failed",
45833
45819
  element: "retry"
@@ -45836,10 +45822,9 @@ class wc {
45836
45822
  }
45837
45823
  /** 3) Es una de las pantallas que existe si hay un problema del pagador, te permite generar un nuevo */
45838
45824
  paymentNotProcessed() {
45839
- Vn("checkout_event", {
45840
- event_category: "Checkout credit card desktop",
45841
- event_name: "error",
45842
- properties: {
45825
+ Vn("trackevent", {
45826
+ eventName: "error",
45827
+ eventParams: {
45843
45828
  product: "checkout_debit_card_desktop",
45844
45829
  section: "payment_not_processed"
45845
45830
  }
@@ -45847,10 +45832,9 @@ class wc {
45847
45832
  }
45848
45833
  /** 4) el click busca reintentar el pago. */
45849
45834
  paymentNotProcessedretry() {
45850
- Vn("checkout_event", {
45851
- event_category: "Checkout credit card desktop",
45852
- event_name: "click",
45853
- properties: {
45835
+ Vn("trackevent", {
45836
+ eventName: "click",
45837
+ eventParams: {
45854
45838
  product: "checkout_debit_card_desktop",
45855
45839
  section: "payment_not_processed",
45856
45840
  element: "retry"
@@ -45859,10 +45843,9 @@ class wc {
45859
45843
  }
45860
45844
  /** 4) si hay un problema con el medio de pago utilizado, te permite cambiar el medio. */
45861
45845
  tryAnotherPaymentMethod() {
45862
- Vn("checkout_event", {
45863
- event_category: "Checkout credit card desktop",
45864
- event_name: "error",
45865
- properties: {
45846
+ Vn("trackevent", {
45847
+ eventName: "error",
45848
+ eventParams: {
45866
45849
  product: "checkout_debit_card_desktop",
45867
45850
  section: "try_another_payment_method"
45868
45851
  }
@@ -45870,10 +45853,9 @@ class wc {
45870
45853
  }
45871
45854
  /** 5) el click busca que el cliente pueda pagar con otro medio de pago */
45872
45855
  tryAnotherPaymentMethodRetry() {
45873
- Vn("checkout_event", {
45874
- event_category: "Checkout credit card desktop",
45875
- event_name: "click",
45876
- properties: {
45856
+ Vn("trackevent", {
45857
+ eventName: "click",
45858
+ eventParams: {
45877
45859
  product: "checkout_debit_card_desktop",
45878
45860
  section: "try_another_payment_method",
45879
45861
  element: "try_another_payment_method"
@@ -45882,10 +45864,9 @@ class wc {
45882
45864
  }
45883
45865
  /** 6) Es el error que existe si el pago es riesgoso. */
45884
45866
  WrongPaymentCantMode() {
45885
- Vn("checkout_event", {
45886
- event_category: "Checkout credit card desktop",
45887
- event_name: "pageview",
45888
- properties: {
45867
+ Vn("trackevent", {
45868
+ eventName: "pageview",
45869
+ eventParams: {
45889
45870
  product: "checkout_debit_card_desktop",
45890
45871
  section: "payment_cannot_be_made"
45891
45872
  }
@@ -45893,10 +45874,9 @@ class wc {
45893
45874
  }
45894
45875
  /** 7) Es el error que existe si hay un problema de conexión y no se puede procesar el pago. */
45895
45876
  connectionError() {
45896
- Vn("checkout_event", {
45897
- event_category: "Checkout credit card desktop",
45898
- event_name: "error",
45899
- properties: {
45877
+ Vn("trackevent", {
45878
+ eventName: "error",
45879
+ eventParams: {
45900
45880
  product: "checkout_debit_card_desktop",
45901
45881
  section: "connection_issue"
45902
45882
  }
@@ -45904,10 +45884,9 @@ class wc {
45904
45884
  }
45905
45885
  /** 8) El link ya no está disponible para pagar. El usuario tendrá que pedir uno nuevo. */
45906
45886
  wrongTimeExpired() {
45907
- Vn("checkout_event", {
45908
- event_category: "Checkout credit card desktop",
45909
- event_name: "error",
45910
- properties: {
45887
+ Vn("trackevent", {
45888
+ eventName: "error",
45889
+ eventParams: {
45911
45890
  product: "checkout_debit_card_desktop",
45912
45891
  section: "time_expired"
45913
45892
  }
@@ -66189,7 +66168,7 @@ function(t) {
66189
66168
  var l = d.getContext("2d");
66190
66169
  l.fillStyle = "#fff", l.fillRect(0, 0, d.width, d.height);
66191
66170
  var c = { ignoreMouse: !0, ignoreAnimation: !0, ignoreDimensions: !0 }, u = this;
66192
- return (wt.canvg ? Promise.resolve(wt.canvg) : import("./index.es-b8450e19.js")).catch(function(h) {
66171
+ return (wt.canvg ? Promise.resolve(wt.canvg) : import("./index.es-43b601e4.js")).catch(function(h) {
66193
66172
  return Promise.reject(new Error("Could not load canvg: " + h));
66194
66173
  }).then(function(h) {
66195
66174
  return h.default ? h.default : h;
@@ -1,4 +1,4 @@
1
- import { c as Ke, _ as za, g as _o } from "./index-5f5d0b31.js";
1
+ import { c as Ke, _ as za, g as _o } from "./index-b4fbfd9a.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 { 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-5f5d0b31.js";
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-b4fbfd9a.js";
2
2
  export {
3
3
  t as A2AAccountDetails,
4
4
  e as A2AFeedbackHome,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ranty/ranty-sdk",
3
- "version": "3.25.1-beta.0",
3
+ "version": "3.25.1-beta.1",
4
4
  "description": "Ranty sdk",
5
5
  "main": "dist/index.js",
6
6
  "exports": {