@vindral/web-sdk 4.2.1-7-g15dd6d62 → 4.2.1-8-g56948cdb
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/{iUWa_q3S.js → CJtdGpII.js} +1 -1
- package/core.js +1 -1
- package/legacy.es.js +12 -6
- package/legacy.umd.js +2 -2
- package/{CAI1oAka.js → pKIaY2Wo.js} +12 -6
- package/package.json +1 -1
- package/player.js +2 -2
- package/vindral-player-component.js +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as e, t } from "./BsfwXDui.js";
|
|
2
|
-
import { _ as n, a as r, c as i, d as a, f as o, g as s, h as c, i as ee, l, m as te, n as u, o as ne, p as re, r as ie, s as ae, t as oe, u as se, v as ce } from "./
|
|
2
|
+
import { _ as n, a as r, c as i, d as a, f as o, g as s, h as c, i as ee, l, m as te, n as u, o as ne, p as re, r as ie, s as ae, t as oe, u as se, v as ce } from "./pKIaY2Wo.js";
|
|
3
3
|
import { M as le } from "./C01DcfYu.js";
|
|
4
4
|
import { a as d, i as f, n as p, r as m, t as h } from "./B7hT-BKr.js";
|
|
5
5
|
import { n as ue, t as de } from "./DeYmk5AL.js";
|
package/core.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as e } from "./
|
|
1
|
+
import { t as e } from "./pKIaY2Wo.js";
|
|
2
2
|
import { a as t, c as n, i as r, l as i, n as a, o, r as s, s as c, u as l } from "./C01DcfYu.js";
|
|
3
3
|
export { a as AUTHENTICATION_EXPIRED_CODE, s as AUTHENTICATION_FAILED_CODE, r as CHANNEL_NOT_FOUND_CODE, t as CONNECTION_FAILED_AFTER_RETRIES_CODE, o as CONNECTION_FAILED_CODE, c as DISCONNECTED_BY_EDGE, n as INACTIVITY_CODE, i as NO_INCOMING_DATA, e as Vindral, l as VindralError };
|
package/legacy.es.js
CHANGED
|
@@ -8911,11 +8911,17 @@ var Xv, Zv = /* @__PURE__ */ new WeakMap(), Qv = /* @__PURE__ */ new WeakMap(),
|
|
|
8911
8911
|
throw i.emitter.emit("error", gi(e instanceof Error ? e : void 0)), e;
|
|
8912
8912
|
}
|
|
8913
8913
|
})), w(this, oy, M(function* () {
|
|
8914
|
-
let t = Date.now(), n = () => Date.now() - t, r = globalThis.AbortController ? new AbortController() : void 0, a =
|
|
8915
|
-
|
|
8916
|
-
|
|
8917
|
-
|
|
8918
|
-
|
|
8914
|
+
let t = Date.now(), n = () => Date.now() - t, r = globalThis.AbortController ? new AbortController() : void 0, a = setTimeout(() => r == null ? void 0 : r.abort(), e.PING_TIMEOUT);
|
|
8915
|
+
try {
|
|
8916
|
+
return yield fetch(new URL("/api/v4/connect/ping", i.config.options.get("url")).toString(), {
|
|
8917
|
+
method: "HEAD",
|
|
8918
|
+
signal: r == null ? void 0 : r.signal
|
|
8919
|
+
}), n();
|
|
8920
|
+
} catch (e) {
|
|
8921
|
+
return r != null && r.signal.aborted ? n() : void 0;
|
|
8922
|
+
} finally {
|
|
8923
|
+
clearTimeout(a);
|
|
8924
|
+
}
|
|
8919
8925
|
})), this.logger = n, this.emitter = t, this.config = r, this.apiClient = new Ol({
|
|
8920
8926
|
publicEndpoint: this.config.options.get("url").toString(),
|
|
8921
8927
|
tokenFactory: () => this.config.options.get("authenticationToken")
|
|
@@ -12385,7 +12391,7 @@ var Ex = /* @__PURE__ */ new WeakMap(), Dx = /* @__PURE__ */ new WeakMap(), Ox =
|
|
|
12385
12391
|
let e = this.modules.canvasModule instanceof vb ? !0 : void 0;
|
|
12386
12392
|
return R({
|
|
12387
12393
|
uptime: Date.now() - this.createdAt,
|
|
12388
|
-
version: "4.2.1-
|
|
12394
|
+
version: "4.2.1-8-g56948cdb",
|
|
12389
12395
|
clientId: this.clientId,
|
|
12390
12396
|
sessionId: this.sessionId,
|
|
12391
12397
|
channelId: this.channelId,
|