lr-chatbot 0.39.19 → 0.39.21

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/index.js CHANGED
@@ -14148,6 +14148,7 @@ function ec(t, r) {
14148
14148
  return t.substr(-r.length) === r;
14149
14149
  }
14150
14150
  class lt extends Error {
14151
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
14151
14152
  constructor(r, ...e) {
14152
14153
  super(
14153
14154
  `An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#${r} for more information.`
@@ -18961,7 +18962,7 @@ function yb(t) {
18961
18962
  }
18962
18963
  function bb(t, r, e = {}) {
18963
18964
  var a;
18964
- e = e || {};
18965
+ e = e ?? {};
18965
18966
  let n = [];
18966
18967
  if (!(t != null && t.length) || !r)
18967
18968
  return null;
@@ -20791,7 +20792,7 @@ class vo {
20791
20792
  this.instance = H.create({ ...n }), this.format = r, this.successHandler = e;
20792
20793
  }
20793
20794
  createFormData(r) {
20794
- return Object.keys(r || {}).reduce((e, n) => {
20795
+ return Object.keys(r ?? {}).reduce((e, n) => {
20795
20796
  const i = r[n];
20796
20797
  return e.append(
20797
20798
  n,
@@ -20981,7 +20982,7 @@ function bo(t) {
20981
20982
  return (r, e) => {
20982
20983
  Object.defineProperty(r, e, {
20983
20984
  get() {
20984
- return cw(this, t || e);
20985
+ return cw(this, t ?? e);
20985
20986
  },
20986
20987
  enumerable: !0,
20987
20988
  configurable: !0
@@ -23336,7 +23337,6 @@ let In = class extends fe {
23336
23337
  firstUpdated() {
23337
23338
  this._isMobileDevice && this.setElement();
23338
23339
  }
23339
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
23340
23340
  updated(t) {
23341
23341
  t.has("_isDragging") && !this._isDragging && this._isClickEventRemoved && setTimeout(() => {
23342
23342
  this._isClickEventRemoved = !1;
@@ -23425,7 +23425,7 @@ let It = class extends fe {
23425
23425
  Jn(this, mi, t);
23426
23426
  }
23427
23427
  getVersion() {
23428
- return "LR Chatbot - v0.39.18";
23428
+ return "LR Chatbot - v0.39.20";
23429
23429
  }
23430
23430
  async connectedCallback() {
23431
23431
  super.connectedCallback(), this._conversationHistoryTask.run();