@vindral/web-sdk 4.3.0-2-ged356a90 → 4.3.0-3-g6f983fb9

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.
@@ -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 "./ChB5iqY4.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 "./kU5yMyhw.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 "./ChB5iqY4.js";
1
+ import { t as e } from "./kU5yMyhw.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 };
@@ -5947,9 +5947,9 @@ var Zf = /* @__PURE__ */ new WeakMap(), Qf = /* @__PURE__ */ new WeakMap(), $f =
5947
5947
  constructor(e, t, n) {
5948
5948
  S(this, rp), v(this, Zf, void 0), v(this, Qf, void 0), v(this, $f, new ke(100)), v(this, ep, void 0), v(this, tp, 0), v(this, np, O.get().createContext("WebTransportConnection")), x(ep, this, n), x(Zf, this, e), x(Qf, this, t), y(rp, this, ap).call(this).catch((e) => {
5949
5949
  b(np, this).warn("Incoming streams handling ended with error", e), b(Qf, this).markPostHandshake(), b($f, this).close();
5950
- }), b(Zf, this).closed.then(() => {
5950
+ }), b(Zf, this).closed.finally(() => {
5951
5951
  b(Qf, this).markPostHandshake(), b($f, this).close();
5952
- });
5952
+ }).catch(o);
5953
5953
  }
5954
5954
  openSendStream() {
5955
5955
  var e = this;
@@ -5969,7 +5969,7 @@ var Zf = /* @__PURE__ */ new WeakMap(), Qf = /* @__PURE__ */ new WeakMap(), $f =
5969
5969
  closed() {
5970
5970
  var e = this;
5971
5971
  return t(function* () {
5972
- yield b(Zf, e).closed;
5972
+ yield b(Zf, e).closed.catch(o);
5973
5973
  })();
5974
5974
  }
5975
5975
  close() {
@@ -10954,7 +10954,7 @@ var Nv = class {
10954
10954
  let e = this.modules.canvasModule instanceof R_ ? !0 : void 0;
10955
10955
  return C({
10956
10956
  uptime: Date.now() - this.createdAt,
10957
- version: "4.3.0-2-ged356a90",
10957
+ version: "4.3.0-3-g6f983fb9",
10958
10958
  clientId: this.clientId,
10959
10959
  sessionId: this.sessionId,
10960
10960
  channelId: this.channelId,
package/legacy.es.js CHANGED
@@ -6857,9 +6857,9 @@ var lh = /* @__PURE__ */ new WeakMap(), uh = /* @__PURE__ */ new WeakMap(), dh =
6857
6857
  constructor(e, t, n) {
6858
6858
  I(this, hh), C(this, lh, void 0), C(this, uh, void 0), C(this, dh, new ye(100)), C(this, fh, void 0), C(this, ph, 0), C(this, mh, F.get().createContext("WebTransportConnection")), D(fh, this, n), D(lh, this, e), D(uh, this, t), T(hh, this, _h).call(this).catch((e) => {
6859
6859
  k(mh, this).warn("Incoming streams handling ended with error", e), k(uh, this).markPostHandshake(), k(dh, this).close();
6860
- }), k(lh, this).closed.then(() => {
6860
+ }), k(lh, this).closed.finally(() => {
6861
6861
  k(uh, this).markPostHandshake(), k(dh, this).close();
6862
- });
6862
+ }).catch(b);
6863
6863
  }
6864
6864
  openSendStream() {
6865
6865
  var e = this;
@@ -6879,7 +6879,7 @@ var lh = /* @__PURE__ */ new WeakMap(), uh = /* @__PURE__ */ new WeakMap(), dh =
6879
6879
  closed() {
6880
6880
  var e = this;
6881
6881
  return j(function* () {
6882
- yield k(lh, e).closed;
6882
+ yield k(lh, e).closed.catch(b);
6883
6883
  })();
6884
6884
  }
6885
6885
  close() {
@@ -12447,7 +12447,7 @@ var Px = /* @__PURE__ */ new WeakMap(), Fx = /* @__PURE__ */ new WeakMap(), Ix =
12447
12447
  let e = this.modules.canvasModule instanceof Eb ? !0 : void 0;
12448
12448
  return R({
12449
12449
  uptime: Date.now() - this.createdAt,
12450
- version: "4.3.0-2-ged356a90",
12450
+ version: "4.3.0-3-g6f983fb9",
12451
12451
  clientId: this.clientId,
12452
12452
  sessionId: this.sessionId,
12453
12453
  channelId: this.channelId,