lr-chatbot 0.27.1 → 0.27.2

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
@@ -22954,7 +22954,7 @@ Lt = Mn([
22954
22954
  Fe("lr-chatbot-conversation-rating")
22955
22955
  ], Lt);
22956
22956
  function Lw(t) {
22957
- const r = /https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)/g;
22957
+ const r = new RegExp("https?:\\/\\/(www\\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\\.[a-zA-Z0-9()]{1,6}\\b([-a-zA-Z0-9()@:%_+.~#?&//=]*)(?<![\\.,;:!?])", "g");
22958
22958
  return t.replace(r, (n) => `<a href="${n}" style="color: inherit" target="_blank">${n}</a>`);
22959
22959
  }
22960
22960
  var Mw = Object.defineProperty, Pw = Object.getOwnPropertyDescriptor, yt = (t, r, e, n) => {
@@ -23079,7 +23079,7 @@ let Mt = class extends ge {
23079
23079
  qn(this, ci, t);
23080
23080
  }
23081
23081
  getVersion() {
23082
- return "LR Chatbot - 0.27.1";
23082
+ return "LR Chatbot - 0.27.2";
23083
23083
  }
23084
23084
  async connectedCallback() {
23085
23085
  super.connectedCallback(), this._conversationHistoryTask.run();