@alan-ai/alan-sdk-web 1.8.101 → 1.8.103

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/alan_lib.js CHANGED
@@ -81007,7 +81007,7 @@
81007
81007
  return `<div class="alan-btn__chat-incomming-msg-wrapper">${content}</div>`;
81008
81008
  }
81009
81009
  function getMsgLoader(textChatOptions, inTop = false) {
81010
- const icon = textChatOptions?.bubbles?.waitingResponse?.icon.svg || chatIcons.msgLoader;
81010
+ const icon = textChatOptions?.bubbles?.waitingResponse?.icon?.svg || chatIcons.msgLoader;
81011
81011
  return `<span class="alan-btn__chat-incomming-msg-loader-icon-holder ${inTop ? "" : "alan-btn__bottom-loader"}">
81012
81012
  <span class="${STOP_RESPONSE_ICON_CLASS}">${icon}</span>
81013
81013
  </span>`;
@@ -93878,8 +93878,8 @@ code.hljs {
93878
93878
  // alan_btn/alan_btn.ts
93879
93879
  (function(ns) {
93880
93880
  const uiState10 = getUIState();
93881
- uiState10.lib.version = "alan-version.1.8.101".replace("alan-version.", "");
93882
- window.alanLib = { version: "alan-version.1.8.101".replace("alan-version.", "") };
93881
+ uiState10.lib.version = "alan-version.1.8.103".replace("alan-version.", "");
93882
+ window.alanLib = { version: "alan-version.1.8.103".replace("alan-version.", "") };
93883
93883
  if (window.alanBtn) {
93884
93884
  console.warn("Alan: the Alan Button source code has already added (v." + uiState10.lib.version + ")");
93885
93885
  }