@vindral/web-sdk 4.3.3-5-gba57c1af → 4.3.3-6-gccea8b173

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 "./sPEVakkk.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 "./DejCo9Op.js";
1
+ import { t as e } from "./sPEVakkk.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-6-gccea8b173",
12602
12618
  clientId: this.clientId,
12603
12619
  sessionId: this.sessionId,
12604
12620
  channelId: this.channelId,