@telnyx/ai-chat-widget 2.4.3 → 2.4.4

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.
package/dist/index.mjs CHANGED
@@ -9655,6 +9655,7 @@ class $r extends wk {
9655
9655
  Authorization: `Bearer ${this.flowApiKey}`
9656
9656
  },
9657
9657
  signal: o.signal,
9658
+ openWhenHidden: !0,
9658
9659
  onopen: async (l) => {
9659
9660
  var u;
9660
9661
  if (l.ok)
@@ -9668,7 +9669,7 @@ class $r extends wk {
9668
9669
  },
9669
9670
  onerror: (l) => {
9670
9671
  var u;
9671
- (u = r.onError) == null || u.call(r, l);
9672
+ throw (u = r.onError) == null || u.call(r, l), l;
9672
9673
  },
9673
9674
  onclose: () => {
9674
9675
  var l;