@meetelise/chat 1.43.7 → 1.43.8

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.
@@ -13,6 +13,9 @@ const disclaimerStyles = {
13
13
  },
14
14
  };
15
15
 
16
+ // States where we need to say "you are interacting with generative AI"
17
+ const GENERATIVE_AI_DISCLAIMER_STATES = ["UT", "ME"];
18
+
16
19
  export const CURRENT_CONSENT_ID = "currentConsentId";
17
20
 
18
21
  const formDisclaimer = ({
@@ -263,7 +266,7 @@ export const inChatThreadDisclaimer = ({
263
266
  </li>
264
267
  `;
265
268
  }
266
- if (buildingState && buildingState.toUpperCase() === "UT") {
269
+ if (buildingState && GENERATIVE_AI_DISCLAIMER_STATES.includes(buildingState.toUpperCase())) {
267
270
  return html`
268
271
  <li class="message-container disclaimer-message">
269
272
  <p class="disclaimer-inner">