@vindral/web-sdk 4.3.0-9-g13d8cb8f → 4.3.1-1-g4af4a8c4

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.
@@ -5010,8 +5010,8 @@ var td = class {
5010
5010
  onOk(e) {
5011
5011
  let n = Math.max(0, Date.now() - x(ad, this)), r = Number(e.expires);
5012
5012
  if (r > 0) {
5013
- let e = Math.max(t.minGraceTime, Math.min(r / 10, t.maxGraceTime));
5014
- Promise.race([hn(r - e - n), this.done().catch(o)]).then(() => x(od, this).resolve(this.expiryState())).catch(o);
5013
+ let e = Math.max(t.minGraceTime, Math.min(r / 10, t.maxGraceTime)), i = Math.min(r - e - n, t.maxTimeout);
5014
+ Promise.race([hn(i), this.done().catch(o)]).then(() => x(od, this).resolve(this.expiryState())).catch(o);
5015
5015
  }
5016
5016
  x(nd, this).resolve(e);
5017
5017
  }
@@ -5040,7 +5040,7 @@ var td = class {
5040
5040
  return x(od, this).promise;
5041
5041
  }
5042
5042
  };
5043
- e(cd, "maxGraceTime", 15e3), e(cd, "minGraceTime", 3e3);
5043
+ e(cd, "maxGraceTime", 15e3), e(cd, "minGraceTime", 3e3), e(cd, "maxTimeout", 2147483647);
5044
5044
  //#endregion
5045
5045
  //#region ../../libs/moq/src/protocol/wire-format/ObjectWriter.ts
5046
5046
  var ld = /* @__PURE__ */ new WeakMap(), ud = /* @__PURE__ */ new WeakMap(), dd = class {
@@ -11008,7 +11008,7 @@ var Uv = class {
11008
11008
  let e = this.modules.canvasModule instanceof J_ ? !0 : void 0;
11009
11009
  return w({
11010
11010
  uptime: Date.now() - this.createdAt,
11011
- version: "4.3.0-9-g13d8cb8f",
11011
+ version: "4.3.1-1-g4af4a8c4",
11012
11012
  clientId: this.clientId,
11013
11013
  sessionId: this.sessionId,
11014
11014
  channelId: this.channelId,
@@ -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 "./BWe37SYR.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 "./BK_5sZl6.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 "./BWe37SYR.js";
1
+ import { t as e } from "./BK_5sZl6.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
@@ -5927,8 +5927,8 @@ var hp = /* @__PURE__ */ new WeakMap(), gp = /* @__PURE__ */ new WeakMap(), _p =
5927
5927
  onOk(t) {
5928
5928
  let n = Math.max(0, Date.now() - A(vp, this)), r = Number(t.expires);
5929
5929
  if (r > 0) {
5930
- let t = Math.max(e.minGraceTime, Math.min(r / 10, e.maxGraceTime));
5931
- Promise.race([ir(r - t - n), this.done().catch(x)]).then(() => A(yp, this).resolve(this.expiryState())).catch(x);
5930
+ let t = Math.max(e.minGraceTime, Math.min(r / 10, e.maxGraceTime)), i = Math.min(r - t - n, e.maxTimeout);
5931
+ Promise.race([ir(i), this.done().catch(x)]).then(() => A(yp, this).resolve(this.expiryState())).catch(x);
5932
5932
  }
5933
5933
  A(hp, this).resolve(t);
5934
5934
  }
@@ -5957,7 +5957,7 @@ var hp = /* @__PURE__ */ new WeakMap(), gp = /* @__PURE__ */ new WeakMap(), _p =
5957
5957
  return A(yp, this).promise;
5958
5958
  }
5959
5959
  };
5960
- p(xp, "maxGraceTime", 15e3), p(xp, "minGraceTime", 3e3), T(), k(), j(), N();
5960
+ p(xp, "maxGraceTime", 15e3), p(xp, "minGraceTime", 3e3), p(xp, "maxTimeout", 2147483647), T(), k(), j(), N();
5961
5961
  var Sp = /* @__PURE__ */ new WeakMap(), Cp = /* @__PURE__ */ new WeakMap(), wp = class {
5962
5962
  constructor(e) {
5963
5963
  w(this, Sp, void 0), w(this, Cp, !1), O(Sp, this, e);
@@ -12503,7 +12503,7 @@ var Gx = /* @__PURE__ */ new WeakMap(), Kx = /* @__PURE__ */ new WeakMap(), qx =
12503
12503
  let e = this.modules.canvasModule instanceof Lb ? !0 : void 0;
12504
12504
  return R({
12505
12505
  uptime: Date.now() - this.createdAt,
12506
- version: "4.3.0-9-g13d8cb8f",
12506
+ version: "4.3.1-1-g4af4a8c4",
12507
12507
  clientId: this.clientId,
12508
12508
  sessionId: this.sessionId,
12509
12509
  channelId: this.channelId,