@vindral/web-sdk 4.3.3-5-gba57c1af → 4.3.3-7-gfd325f9f9

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 "./DejCo9Op.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 "./Cp7D0psT.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";
@@ -5701,6 +5701,10 @@ var Tf = class {
5701
5701
  transportType() {
5702
5702
  return x(vf, this).transportType();
5703
5703
  }
5704
+ getStats() {
5705
+ var e, t, n;
5706
+ return (e = (t = (n = x(vf, this)).getStats) == null ? void 0 : t.call(n)) == null ? Promise.resolve(void 0) : e;
5707
+ }
5704
5708
  url() {
5705
5709
  return x(vf, this).url();
5706
5710
  }
@@ -5996,6 +6000,18 @@ var Qf = /* @__PURE__ */ new WeakMap(), $f = /* @__PURE__ */ new WeakMap(), ep =
5996
6000
  return x(ep, e).pop();
5997
6001
  })();
5998
6002
  }
6003
+ getStats() {
6004
+ var e = this;
6005
+ return t(function* () {
6006
+ let t = x(Qf, e);
6007
+ if (typeof t.getStats != "function") return;
6008
+ let n = yield t.getStats();
6009
+ if (n != null) return {
6010
+ packetsLost: n.packetsLost,
6011
+ packetsSent: n.packetsSent
6012
+ };
6013
+ })();
6014
+ }
5999
6015
  };
6000
6016
  function op() {
6001
6017
  var e = this;
@@ -11099,7 +11115,7 @@ var Uv = class {
11099
11115
  let e = this.modules.canvasModule instanceof J_ ? !0 : void 0;
11100
11116
  return w({
11101
11117
  uptime: this.uptime,
11102
- version: "4.3.3-5-gba57c1af",
11118
+ version: "4.3.3-7-gfd325f9f9",
11103
11119
  clientId: this.clientId,
11104
11120
  sessionId: this.sessionId,
11105
11121
  channelId: this.channelId,
package/core.js CHANGED
@@ -1,3 +1,3 @@
1
- import { t as e } from "./DejCo9Op.js";
1
+ import { t as e } from "./Cp7D0psT.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
@@ -6616,6 +6616,10 @@ var Rm = class {
6616
6616
  transportType() {
6617
6617
  return A(jm, this).transportType();
6618
6618
  }
6619
+ getStats() {
6620
+ var e, t, n;
6621
+ return (e = (t = (n = A(jm, this)).getStats) == null ? void 0 : t.call(n)) == null ? Promise.resolve(void 0) : e;
6622
+ }
6619
6623
  url() {
6620
6624
  return A(jm, this).url();
6621
6625
  }
@@ -6908,6 +6912,18 @@ var dh = /* @__PURE__ */ new WeakMap(), fh = /* @__PURE__ */ new WeakMap(), ph =
6908
6912
  return A(ph, e).pop();
6909
6913
  })();
6910
6914
  }
6915
+ getStats() {
6916
+ var e = this;
6917
+ return M(function* () {
6918
+ let t = A(dh, e);
6919
+ if (typeof t.getStats != "function") return;
6920
+ let n = yield t.getStats();
6921
+ if (n != null) return {
6922
+ packetsLost: n.packetsLost,
6923
+ packetsSent: n.packetsSent
6924
+ };
6925
+ })();
6926
+ }
6911
6927
  };
6912
6928
  function yh() {
6913
6929
  var e = this;
@@ -12598,7 +12614,7 @@ var Xx = /* @__PURE__ */ new WeakMap(), Zx = /* @__PURE__ */ new WeakMap(), Qx =
12598
12614
  let e = this.modules.canvasModule instanceof Lb ? !0 : void 0;
12599
12615
  return R({
12600
12616
  uptime: this.uptime,
12601
- version: "4.3.3-5-gba57c1af",
12617
+ version: "4.3.3-7-gfd325f9f9",
12602
12618
  clientId: this.clientId,
12603
12619
  sessionId: this.sessionId,
12604
12620
  channelId: this.channelId,