@vindral/web-sdk 4.8.2-1-gaf59eb9e → 4.8.2-3-g790c0b18
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/{UL5Z8kzc.js → Bam5Jj1Y.js} +6 -10
- package/{Bo90C4i_.js → BgS8Znpe.js} +1 -1
- package/core.js +1 -1
- package/legacy.es.js +6 -10
- package/legacy.umd.js +2 -2
- package/package.json +1 -1
- package/player.js +2 -2
- package/vindral-player-component.js +2 -2
|
@@ -9276,17 +9276,13 @@ var gb = (e) => {
|
|
|
9276
9276
|
}
|
|
9277
9277
|
throw Qn(e instanceof Error ? e : void 0);
|
|
9278
9278
|
}
|
|
9279
|
-
})), i(this, qb,
|
|
9280
|
-
let
|
|
9279
|
+
})), i(this, qb, () => new Promise((e) => {
|
|
9280
|
+
let t = performance.now(), r = () => e(performance.now() - t), i = () => e(void 0);
|
|
9281
9281
|
try {
|
|
9282
|
-
|
|
9283
|
-
|
|
9284
|
-
signal: r == null ? void 0 : r.signal
|
|
9285
|
-
}), t();
|
|
9282
|
+
let e = new XMLHttpRequest();
|
|
9283
|
+
e.onload = r, e.ontimeout = r, e.onerror = i, e.onabort = i, e.open("HEAD", new URL("/api/v4/connect/ping", this.config.options.get("url")).toString()), e.timeout = n.PING_TIMEOUT, e.send();
|
|
9286
9284
|
} catch (e) {
|
|
9287
|
-
|
|
9288
|
-
} finally {
|
|
9289
|
-
clearTimeout(i);
|
|
9285
|
+
i();
|
|
9290
9286
|
}
|
|
9291
9287
|
})), i(this, Yb, () => {
|
|
9292
9288
|
s(Xb, this).call(this), a(Ub, this, setTimeout(() => {
|
|
@@ -12828,7 +12824,7 @@ var QS = class {
|
|
|
12828
12824
|
let e = this.modules.canvasModule instanceof $x ? !0 : void 0;
|
|
12829
12825
|
return S({
|
|
12830
12826
|
uptime: this.uptime,
|
|
12831
|
-
version: "4.8.2-
|
|
12827
|
+
version: "4.8.2-3-g790c0b18",
|
|
12832
12828
|
clientId: this.clientId,
|
|
12833
12829
|
sessionId: this.sessionId,
|
|
12834
12830
|
channelId: this.channelId,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as e, t } from "./BsfwXDui.js";
|
|
2
|
-
import { C as n, D as r, E as i, O as a, S as o, T as s, _ as c, b as l, g as u, h as d, k as f, m as ee, p as te, t as ne, v as re, w as ie, x as ae, y as oe } from "./
|
|
2
|
+
import { C as n, D as r, E as i, O as a, S as o, T as s, _ as c, b as l, g as u, h as d, k as f, m as ee, p as te, t as ne, v as re, w as ie, x as ae, y as oe } from "./Bam5Jj1Y.js";
|
|
3
3
|
import { t as se } from "./CuYn2z5X.js";
|
|
4
4
|
import { i as p, n as m, r as h, t as g } from "./DSw1XhvD.js";
|
|
5
5
|
import { c as ce, n as le, t as ue } from "./D40eQS8l.js";
|
package/core.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as e, c as t, d as n, f as r, i, l as a, o, r as s, s as c, t as l, u } from "./
|
|
1
|
+
import { a as e, c as t, d as n, f as r, i, l as a, o, r as s, s as c, t as l, u } from "./Bam5Jj1Y.js";
|
|
2
2
|
export { s as AUTHENTICATION_EXPIRED_CODE, i as AUTHENTICATION_FAILED_CODE, e as CHANNEL_NOT_FOUND_CODE, o as CHANNEL_NOT_LIVE_CODE, c as CONNECTION_FAILED_AFTER_RETRIES_CODE, t as CONNECTION_FAILED_CODE, a as DISCONNECTED_BY_EDGE, u as INACTIVITY_CODE, n as NO_INCOMING_DATA, l as Vindral, r as VindralError };
|
package/legacy.es.js
CHANGED
|
@@ -10258,17 +10258,13 @@ var RS, zS = (e) => {
|
|
|
10258
10258
|
}
|
|
10259
10259
|
throw Ji(e instanceof Error ? e : void 0);
|
|
10260
10260
|
}
|
|
10261
|
-
})), T(this, lC,
|
|
10262
|
-
let
|
|
10261
|
+
})), T(this, lC, () => new Promise((t) => {
|
|
10262
|
+
let n = performance.now(), r = () => t(performance.now() - n), i = () => t(void 0);
|
|
10263
10263
|
try {
|
|
10264
|
-
|
|
10265
|
-
|
|
10266
|
-
signal: r == null ? void 0 : r.signal
|
|
10267
|
-
}), n();
|
|
10264
|
+
let t = new XMLHttpRequest();
|
|
10265
|
+
t.onload = r, t.ontimeout = r, t.onerror = i, t.onabort = i, t.open("HEAD", new URL("/api/v4/connect/ping", this.config.options.get("url")).toString()), t.timeout = e.PING_TIMEOUT, t.send();
|
|
10268
10266
|
} catch (e) {
|
|
10269
|
-
|
|
10270
|
-
} finally {
|
|
10271
|
-
clearTimeout(a);
|
|
10267
|
+
i();
|
|
10272
10268
|
}
|
|
10273
10269
|
})), T(this, dC, () => {
|
|
10274
10270
|
j(fC, this).call(this), k(aC, this, setTimeout(() => {
|
|
@@ -14425,7 +14421,7 @@ var aE = 1e4, oE = 300, sE = 3e3, cE = 1e4, lE = 1280 * 720, uE = /* @__PURE__ *
|
|
|
14425
14421
|
let e = this.modules.canvasModule instanceof Hw ? !0 : void 0;
|
|
14426
14422
|
return L({
|
|
14427
14423
|
uptime: this.uptime,
|
|
14428
|
-
version: "4.8.2-
|
|
14424
|
+
version: "4.8.2-3-g790c0b18",
|
|
14429
14425
|
clientId: this.clientId,
|
|
14430
14426
|
sessionId: this.sessionId,
|
|
14431
14427
|
channelId: this.channelId,
|