@vindral/web-sdk 4.3.3-2-g6c4134184 → 4.3.3-3-ge2b04a1f

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.
@@ -5809,9 +5809,12 @@ function jf() {
5809
5809
  }
5810
5810
  //#endregion
5811
5811
  //#region ../../libs/moq/src/protocol/StreamIdBufferWriter.ts
5812
- var Mf = 128, Nf = /* @__PURE__ */ new WeakMap(), Pf = /* @__PURE__ */ new WeakMap(), Ff = /* @__PURE__ */ new WeakMap(), If = /* @__PURE__ */ new WeakMap(), Lf = /* @__PURE__ */ new WeakMap(), Rf = /* @__PURE__ */ new WeakSet(), zf = class {
5812
+ var Mf = 128;
5813
+ Mf - 1;
5814
+ var Nf = /* @__PURE__ */ new WeakMap(), Pf = /* @__PURE__ */ new WeakMap(), Ff = /* @__PURE__ */ new WeakMap(), If = /* @__PURE__ */ new WeakMap(), Lf = /* @__PURE__ */ new WeakMap(), Rf = /* @__PURE__ */ new WeakSet(), zf = class {
5813
5815
  constructor(e, t, n) {
5814
- C(this, Rf), y(this, Nf, void 0), y(this, Pf, void 0), y(this, Ff, !0), y(this, If, !1), y(this, Lf, void 0), S(Nf, this, e), S(Pf, this, t), S(Lf, this, n);
5816
+ if (C(this, Rf), y(this, Nf, void 0), y(this, Pf, void 0), y(this, Ff, !0), y(this, If, !1), y(this, Lf, void 0), !Number.isInteger(t) || t < 1 || t > 127) throw Error(`Invalid stream ID ${t}: must be an integer in 1..127`);
5817
+ S(Nf, this, e), S(Pf, this, t), S(Lf, this, n);
5815
5818
  }
5816
5819
  writeUnsigned8(e) {
5817
5820
  var n = this;
@@ -5866,7 +5869,7 @@ function Vf(e = !0) {
5866
5869
  //#region ../../libs/moq/src/transport/WebSocketConnection.ts
5867
5870
  var Hf = /* @__PURE__ */ new WeakMap(), Uf = /* @__PURE__ */ new WeakMap(), Wf = /* @__PURE__ */ new WeakMap(), Gf = /* @__PURE__ */ new WeakMap(), Kf = /* @__PURE__ */ new WeakMap(), qf = /* @__PURE__ */ new WeakMap(), Jf = /* @__PURE__ */ new WeakMap(), Yf = /* @__PURE__ */ new WeakSet(), Xf = class {
5868
5871
  constructor(e, t) {
5869
- C(this, Yf), y(this, Hf, void 0), y(this, Uf, void 0), y(this, Wf, void 0), y(this, Gf, void 0), y(this, Kf, /* @__PURE__ */ new Map()), y(this, qf, O.get().createContext("WebSocketConnection")), y(this, Jf, new Set(Array(128).fill(0).map((e, t) => t + 1))), S(Hf, this, e), S(Uf, this, t), S(Wf, this, new ReadableStream(new Tc(e))), x(Hf, this).addEventListener("close", (e) => {
5872
+ C(this, Yf), y(this, Hf, void 0), y(this, Uf, void 0), y(this, Wf, void 0), y(this, Gf, void 0), y(this, Kf, /* @__PURE__ */ new Map()), y(this, qf, O.get().createContext("WebSocketConnection")), y(this, Jf, new Set(Array(127).fill(0).map((e, t) => t + 1))), S(Hf, this, e), S(Uf, this, t), S(Wf, this, new ReadableStream(new Tc(e))), x(Hf, this).addEventListener("close", (e) => {
5870
5873
  x(qf, this).info("WebSocket closed", {
5871
5874
  code: e.code,
5872
5875
  reason: e.reason,
@@ -11096,7 +11099,7 @@ var Uv = class {
11096
11099
  let e = this.modules.canvasModule instanceof J_ ? !0 : void 0;
11097
11100
  return w({
11098
11101
  uptime: this.uptime,
11099
- version: "4.3.3-2-g6c4134184",
11102
+ version: "4.3.3-3-ge2b04a1f",
11100
11103
  clientId: this.clientId,
11101
11104
  sessionId: this.sessionId,
11102
11105
  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 "./C4yulWQ5.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 "./BcZjCCeN.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 "./C4yulWQ5.js";
1
+ import { t as e } from "./BcZjCCeN.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
@@ -6723,9 +6723,12 @@ function Wm() {
6723
6723
  A(Fm, this).debug("Enter 'dispose'"), this.close();
6724
6724
  }
6725
6725
  L(), T(), k(), j(), D(), N();
6726
- var Gm = 128, Km = /* @__PURE__ */ new WeakMap(), qm = /* @__PURE__ */ new WeakMap(), Jm = /* @__PURE__ */ new WeakMap(), Ym = /* @__PURE__ */ new WeakMap(), Xm = /* @__PURE__ */ new WeakMap(), Zm = /* @__PURE__ */ new WeakSet(), Qm = class {
6726
+ var Gm = 128;
6727
+ Gm - 1;
6728
+ var Km = /* @__PURE__ */ new WeakMap(), qm = /* @__PURE__ */ new WeakMap(), Jm = /* @__PURE__ */ new WeakMap(), Ym = /* @__PURE__ */ new WeakMap(), Xm = /* @__PURE__ */ new WeakMap(), Zm = /* @__PURE__ */ new WeakSet(), Qm = class {
6727
6729
  constructor(e, t, n) {
6728
- I(this, Zm), w(this, Km, void 0), w(this, qm, void 0), w(this, Jm, !0), w(this, Ym, !1), w(this, Xm, void 0), O(Km, this, e), O(qm, this, t), O(Xm, this, n);
6730
+ if (I(this, Zm), w(this, Km, void 0), w(this, qm, void 0), w(this, Jm, !0), w(this, Ym, !1), w(this, Xm, void 0), !Number.isInteger(t) || t < 1 || t > 127) throw Error(`Invalid stream ID ${t}: must be an integer in 1..127`);
6731
+ O(Km, this, e), O(qm, this, t), O(Xm, this, n);
6729
6732
  }
6730
6733
  writeUnsigned8(e) {
6731
6734
  var t = this;
@@ -6779,7 +6782,7 @@ function eh(e = !0) {
6779
6782
  V(), L(), T(), k(), j(), D(), N();
6780
6783
  var th = /* @__PURE__ */ new WeakMap(), nh = /* @__PURE__ */ new WeakMap(), rh = /* @__PURE__ */ new WeakMap(), ih = /* @__PURE__ */ new WeakMap(), ah = /* @__PURE__ */ new WeakMap(), oh = /* @__PURE__ */ new WeakMap(), sh = /* @__PURE__ */ new WeakMap(), ch = /* @__PURE__ */ new WeakSet(), lh = class {
6781
6784
  constructor(e, t) {
6782
- I(this, ch), w(this, th, void 0), w(this, nh, void 0), w(this, rh, void 0), w(this, ih, void 0), w(this, ah, /* @__PURE__ */ new Map()), w(this, oh, cn.get().createContext("WebSocketConnection")), w(this, sh, new Set(Array(128).fill(0).map((e, t) => t + 1))), O(th, this, e), O(nh, this, t), O(rh, this, new ReadableStream(new Nu(e))), A(th, this).addEventListener("close", (e) => {
6785
+ I(this, ch), w(this, th, void 0), w(this, nh, void 0), w(this, rh, void 0), w(this, ih, void 0), w(this, ah, /* @__PURE__ */ new Map()), w(this, oh, cn.get().createContext("WebSocketConnection")), w(this, sh, new Set(Array(127).fill(0).map((e, t) => t + 1))), O(th, this, e), O(nh, this, t), O(rh, this, new ReadableStream(new Nu(e))), A(th, this).addEventListener("close", (e) => {
6783
6786
  A(oh, this).info("WebSocket closed", {
6784
6787
  code: e.code,
6785
6788
  reason: e.reason,
@@ -12595,7 +12598,7 @@ var Xx = /* @__PURE__ */ new WeakMap(), Zx = /* @__PURE__ */ new WeakMap(), Qx =
12595
12598
  let e = this.modules.canvasModule instanceof Lb ? !0 : void 0;
12596
12599
  return R({
12597
12600
  uptime: this.uptime,
12598
- version: "4.3.3-2-g6c4134184",
12601
+ version: "4.3.3-3-ge2b04a1f",
12599
12602
  clientId: this.clientId,
12600
12603
  sessionId: this.sessionId,
12601
12604
  channelId: this.channelId,