@ranty/ranty-sdk 3.28.0-beta.2 → 3.28.0

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 oy;
928
928
  ((oy = window.HTMLSlotElement) === null || oy === void 0 ? void 0 : oy.prototype.assignedElements) != null;
929
- const FT = "@nx-ranty/ranty-sdk", RT = "3.28.0-beta.2", DT = "Ranty sdk", PT = "dist/index.js", NT = {
929
+ const FT = "@nx-ranty/ranty-sdk", RT = "3.28.0", DT = "Ranty sdk", PT = "dist/index.js", NT = {
930
930
  ".": "./dist/index.js"
931
931
  }, OT = "types/index.d.ts", LT = [
932
932
  "dist",
@@ -16591,10 +16591,10 @@ function YM(t, e, n, r) {
16591
16591
  }
16592
16592
  const Pp = bM(YM);
16593
16593
  bQ(Lo(), "DD_LOGS", Pp);
16594
- const JM = "@ranty/ranty-sdk", XM = "3.28.0-beta.2", ZM = 3, $M = !0, ez = {
16594
+ const JM = "@nx-ranty/ranty-sdk", XM = "3.28.0", ZM = 3, $M = !0, ez = {
16595
16595
  "": {
16596
- name: "@ranty/ranty-sdk",
16597
- version: "3.28.0-beta.2",
16596
+ name: "@nx-ranty/ranty-sdk",
16597
+ version: "3.28.0",
16598
16598
  license: "ISC",
16599
16599
  dependencies: {
16600
16600
  "@amplitude/analytics-browser": "^2.33.1",
@@ -47130,7 +47130,7 @@ let zr = class t extends Ze {
47130
47130
  }
47131
47131
  firstUpdated(e) {
47132
47132
  return ue(this, null, function* () {
47133
- var n, r, s, i, o;
47133
+ var n, r, s, i, o, a;
47134
47134
  if (Vn(t.prototype, this, "firstUpdated").call(this, e), this.sonicBranding && (yield this._playSonic()), this.callbackUrl = ((n = this.payfacContext.paymentRequest) == null ? void 0 : n.payment_type) === ao.ECOMMERCE && this.payfacContext.paymentRequest.additional_info.callback_url || "", this.isStatusSuccess) {
47135
47135
  ie.info("firstUpdatedStatus", {
47136
47136
  context: Se.DEFAULT,
@@ -47145,12 +47145,12 @@ let zr = class t extends Ze {
47145
47145
  payment_sync: this.payfacContext.paymentSync
47146
47146
  }
47147
47147
  }), this.isActivePdfByPlatform();
47148
- const a = this.status.hasDownloadPDF ? 2e4 : 5e3;
47148
+ const d = this.status.hasDownloadPDF ? 2e4 : 5e3;
47149
47149
  this.callbackUrl !== "" && ((s = this.settings.customerProperties) != null && s.enable_auto_redirect) && setTimeout(() => {
47150
47150
  window.location.href = this.callbackUrl;
47151
- }, a);
47151
+ }, d);
47152
47152
  }
47153
- ((i = this.payfacContext.paymentRequest) == null ? void 0 : i.status) === "SUCCESS_PROCESSED" && !this.isStatusSuccess && this.tracking.linkNotAvailable(), ((o = this.payfacContext.paymentRequest) == null ? void 0 : o.status) === "EXPIRED" && this.getPaymentInputsAvailableWrongTimeExpired(), this.title = this.status.title, this.message = this.status.subtitle, this.image = this.status.icon, this.returnButton = this.status.returnButton || !1;
47153
+ ((i = this.payfacContext.paymentRequest) == null ? void 0 : i.status) === "SUCCESS_PROCESSED" && !this.isStatusSuccess && this.tracking.linkNotAvailable(), ((o = this.payfacContext.paymentRequest) == null ? void 0 : o.status) === "EXPIRED" && this.getPaymentInputsAvailableWrongTimeExpired(), ((a = this.payfacContext.paymentRequest) == null ? void 0 : a.status) === "BLOCKED" && this.tracking.WrongPaymentCantMode(), this.title = this.status.title, this.message = this.status.subtitle, this.image = this.status.icon, this.returnButton = this.status.returnButton || !1;
47154
47154
  });
47155
47155
  }
47156
47156
  _playSonic() {
@@ -66595,7 +66595,7 @@ function(t) {
66595
66595
  var l = d.getContext("2d");
66596
66596
  l.fillStyle = "#fff", l.fillRect(0, 0, d.width, d.height);
66597
66597
  var c = { ignoreMouse: !0, ignoreAnimation: !0, ignoreDimensions: !0 }, u = this;
66598
- return (wt.canvg ? Promise.resolve(wt.canvg) : import("./index.es-a783b22c.js")).catch(function(h) {
66598
+ return (wt.canvg ? Promise.resolve(wt.canvg) : import("./index.es-d41a0576.js")).catch(function(h) {
66599
66599
  return Promise.reject(new Error("Could not load canvg: " + h));
66600
66600
  }).then(function(h) {
66601
66601
  return h.default ? h.default : h;
@@ -1,4 +1,4 @@
1
- import { c as Ke, _ as za, g as _o } from "./index-42d398d4.js";
1
+ import { c as Ke, _ as za, g as _o } from "./index-b4be62fb.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-42d398d4.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-b4be62fb.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.28.0-beta.2",
3
+ "version": "3.28.0",
4
4
  "description": "Ranty sdk",
5
5
  "main": "dist/index.js",
6
6
  "exports": {