@ranty/ranty-sdk 2.16.0 → 2.16.1-beta.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.
|
@@ -916,7 +916,7 @@ function oe(t) {
|
|
|
916
916
|
*/
|
|
917
917
|
var K0;
|
|
918
918
|
((K0 = window.HTMLSlotElement) === null || K0 === void 0 ? void 0 : K0.prototype.assignedElements) != null;
|
|
919
|
-
const aE = "@ranty/ranty-sdk", lE = "2.16.0", dE = "Ranty sdk", cE = "dist/index.js", AE = {
|
|
919
|
+
const aE = "@ranty/ranty-sdk", lE = "2.16.1-beta.0", dE = "Ranty sdk", cE = "dist/index.js", AE = {
|
|
920
920
|
".": "./dist/index.js"
|
|
921
921
|
}, uE = "types/index.d.ts", pE = [
|
|
922
922
|
"dist",
|
|
@@ -9358,10 +9358,10 @@ function mU(t, e, r, s) {
|
|
|
9358
9358
|
}
|
|
9359
9359
|
var Nu = MF(mU);
|
|
9360
9360
|
gI(gl(), "DD_LOGS", Nu);
|
|
9361
|
-
const fU = "@
|
|
9361
|
+
const fU = "@ranty/ranty-sdk", yU = "2.16.1-beta.0", vU = 2, bU = !0, wU = {
|
|
9362
9362
|
"": {
|
|
9363
|
-
name: "@
|
|
9364
|
-
version: "2.16.0",
|
|
9363
|
+
name: "@ranty/ranty-sdk",
|
|
9364
|
+
version: "2.16.1-beta.0",
|
|
9365
9365
|
license: "ISC",
|
|
9366
9366
|
dependencies: {
|
|
9367
9367
|
"@datadog/browser-logs": "^5.7.0",
|
|
@@ -55892,13 +55892,13 @@ const cv = Tc, fi = class extends EventTarget {
|
|
|
55892
55892
|
return we(this, null, function* () {
|
|
55893
55893
|
const r = yield this.getSignedUrl();
|
|
55894
55894
|
return new Promise((s, n) => {
|
|
55895
|
-
this.
|
|
55895
|
+
this.socket = new cv(r), this.socket.onopen = () => {
|
|
55896
55896
|
this.isRunning = !0, this.connectionAttemptCount = 0, this.sendMessage(e), this.startHeartbeat(e, this.connectionDuration);
|
|
55897
55897
|
}, this.socket.onmessage = (i) => {
|
|
55898
55898
|
const o = this.handleWebSocketMessage(i);
|
|
55899
55899
|
this.emitEvent("WS-MESSAGE-STATUS", o), o && s(o);
|
|
55900
55900
|
}, this.socket.onerror = (i) => {
|
|
55901
|
-
this.stopHeartbeat(), this.isRunning = !1, n(Et(ct({}, i), {
|
|
55901
|
+
this.connectionAttemptCount = this.connectionAttemptCount + 1, this.stopHeartbeat(), this.isRunning = !1, n(Et(ct({}, i), {
|
|
55902
55902
|
status: "WEB_SOCKET_ERROR"
|
|
55903
55903
|
}));
|
|
55904
55904
|
}, this.socket.onclose = (i) => {
|
|
@@ -55923,7 +55923,7 @@ const cv = Tc, fi = class extends EventTarget {
|
|
|
55923
55923
|
}
|
|
55924
55924
|
static startHeartbeat(e, r) {
|
|
55925
55925
|
this.heartbeatTimer && clearInterval(this.heartbeatTimer), this.resetInactivityTimeout(r), this.connectionStartTime = Date.now(), this.heartbeatTimer = setInterval(() => {
|
|
55926
|
-
this.sendMessage(e)
|
|
55926
|
+
this.sendMessage(e);
|
|
55927
55927
|
}, this.pingInterval), setTimeout(() => {
|
|
55928
55928
|
var s;
|
|
55929
55929
|
(s = this.socket) == null || s.close();
|
|
@@ -63683,6 +63683,10 @@ let tr = class extends qe {
|
|
|
63683
63683
|
}
|
|
63684
63684
|
handlePaste(t) {
|
|
63685
63685
|
const e = (t.clipboardData || window.clipboardData).getData("text");
|
|
63686
|
+
if (this.inputmode === "numeric" && !/^\d+$/.test(e)) {
|
|
63687
|
+
t.preventDefault();
|
|
63688
|
+
return;
|
|
63689
|
+
}
|
|
63686
63690
|
if (this.name === "creditNumber") {
|
|
63687
63691
|
t.preventDefault();
|
|
63688
63692
|
const r = e.replace(/\D/g, "");
|
|
@@ -63694,7 +63698,6 @@ let tr = class extends qe {
|
|
|
63694
63698
|
})
|
|
63695
63699
|
);
|
|
63696
63700
|
}
|
|
63697
|
-
/^\d+$/.test(e) || t.preventDefault();
|
|
63698
63701
|
}
|
|
63699
63702
|
render() {
|
|
63700
63703
|
const t = this.isEnabledLenght ? this.minlength : void 0, e = this.isEnabledLenght ? this.maxlength : void 0;
|
|
@@ -80085,7 +80088,7 @@ function(t) {
|
|
|
80085
80088
|
*/
|
|
80086
80089
|
function(t) {
|
|
80087
80090
|
function e() {
|
|
80088
|
-
return (gt.canvg ? Promise.resolve(gt.canvg) : import("./index.es-
|
|
80091
|
+
return (gt.canvg ? Promise.resolve(gt.canvg) : import("./index.es-24871bcd.js")).catch(function(r) {
|
|
80089
80092
|
return Promise.reject(new Error("Could not load canvg: " + r));
|
|
80090
80093
|
}).then(function(r) {
|
|
80091
80094
|
return r.default ? r.default : r;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ad as n, ac as e, a5 as t, ag as o, ae as r, af as C, a6 as m, a3 as p, ab as A, aa as d, a4 as i, a7 as l, a8 as u, a9 as y, A as c, w as F, f as S, e as P, n as M, p as O, Q as k, o as I, q as H, m as f, r as x, C as L, u as g, T as v, j as D, a as b, d as E, D as w, l as Q, E as h, v as B, b as N, F as R, k as j, $ as q, a1 as z, N as G, P as J, M as K, x as T, V as U, W as V, U as W, a2 as X, X as Y, Y as Z, Z as $, i as _, h as aa, a0 as sa, S as na, y as ea, t as ta, z as oa, B as ra, G as Ca, s as ma, K as pa, H as Aa, I as da, J as ia, O as la, R as ua, L as ya } from "./index-
|
|
1
|
+
import { ad as n, ac as e, a5 as t, ag as o, ae as r, af as C, a6 as m, a3 as p, ab as A, aa as d, a4 as i, a7 as l, a8 as u, a9 as y, A as c, w as F, f as S, e as P, n as M, p as O, Q as k, o as I, q as H, m as f, r as x, C as L, u as g, T as v, j as D, a as b, d as E, D as w, l as Q, E as h, v as B, b as N, F as R, k as j, $ as q, a1 as z, N as G, P as J, M as K, x as T, V as U, W as V, U as W, a2 as X, X as Y, Y as Z, Z as $, i as _, h as aa, a0 as sa, S as na, y as ea, t as ta, z as oa, B as ra, G as Ca, s as ma, K as pa, H as Aa, I as da, J as ia, O as la, R as ua, L as ya } from "./index-7fada31a.js";
|
|
2
2
|
export {
|
|
3
3
|
n as A2AAccountDetails,
|
|
4
4
|
e as A2AAccountList,
|