@signalwire/web-components 1.0.0-dev-20260503235343 → 1.0.0-dev-20260504184154

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,6 +1,6 @@
1
1
  import { LitElement as C, nothing as c, html as _ } from "lit";
2
2
  import { property as l, state as p, customElement as y } from "lit/decorators.js";
3
- import { getLogger as f, SignalWire as w } from "@signalwire/js";
3
+ import { SignalWire as f, getLogger as w } from "@signalwire/js";
4
4
  import { filter as g, first as m } from "rxjs/operators";
5
5
  import { CallStateContextController as b } from "../../context/CallStateContextController.js";
6
6
  import { IncomingCallController as v } from "../../context/call-state-context.js";
@@ -17,7 +17,7 @@ var U = Object.defineProperty, V = Object.getOwnPropertyDescriptor, s = (t, e, n
17
17
  (u = t[a]) && (o = (r ? u(e, n, o) : u(o)) || o);
18
18
  return r && o && U(e, n, o), o;
19
19
  };
20
- const d = f();
20
+ const d = w();
21
21
  let i = class extends C {
22
22
  constructor() {
23
23
  super(...arguments), this.token = "", this.host = "", this.destination = "", this.modal = !1, this.transcription = !1, this.allowIncomingCalls = !1, this.audioOnly = !1, this.userVariables = "", this.disableAutoTheme = !1, this.disableAutoFonts = !1, this._call = null, this._connecting = !1, this._hasLayoutLayers = !1, this._drawer = null, this._callState = new b(this), this._devices = new E(this), this._transcript = new S(this), this._userEventCtrl = new L(this), this._incomingCalls = new v(this), this._client = null, this._subs = [], this._pendingIncoming = !1, this._handleIncomingCall = async (t) => {
@@ -79,7 +79,7 @@ let i = class extends C {
79
79
  _refreshClient() {
80
80
  this._destroyClient();
81
81
  try {
82
- this._client = new w(
82
+ this._client = new f(
83
83
  $(this.token, this.host)
84
84
  ), this._devices.connectDevices(this._client), this.allowIncomingCalls && this._connectIncomingCalls();
85
85
  } catch (t) {