@meetelise/chat 1.22.72 → 1.22.74

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meetelise/chat",
3
- "version": "1.22.72",
3
+ "version": "1.22.74",
4
4
  "description": "",
5
5
  "main": "public/dist/index.js",
6
6
  "type": "module",
@@ -173,8 +173,8 @@
173
173
  };
174
174
 
175
175
  MEChat.start({
176
- organization: "bell",
177
- building: "to-be-updated+12",
176
+ organization: "a55b5275-cfe6-44a3-ac17-b10f6fe85cce",
177
+ building: "ce4ab608-2e7c-11ef-910a-873d6fb25892",
178
178
 
179
179
  // organization: "Pacific Urban Residential",
180
180
  // building: "c06117dc-7a80-11ed-bc9a-c3e28c7281ff",
@@ -560,7 +560,7 @@ var e={8005:function(e,t,i){var n,r=this&&this.__extends||(n=function(e,t){retur
560
560
  rel="noopener noreferrer"
561
561
  >privacy policy</a
562
562
  >, including having your email address and communications collected and
563
- recorded by a third party.
563
+ recorded and used by a third party.
564
564
  </div>`:U``,Xi=l`
565
565
  * {
566
566
  box-sizing: border-box;
@@ -4313,7 +4313,7 @@ xmlns="http://www.w3.org/2000/svg"
4313
4313
  <p
4314
4314
  class=${fe({"message-text":!0,"webchat-font__desktop":!ii(),"webchat-font__mobile":ii()})}
4315
4315
  >
4316
- ${this.building.welcomeMessage}
4316
+ ${this.building.welcomeMessage.split("\n").map((e=>U`${e}<br />`))}
4317
4317
  </p>
4318
4318
  </li>`:""}
4319
4319
  ${this.messages.map((e=>U`
@@ -4390,14 +4390,14 @@ xmlns="http://www.w3.org/2000/svg"
4390
4390
  >
4391
4391
  this privacy policy</a
4392
4392
  >, including being contacted by AI or a human & having your conversation
4393
- recorded by a third party.
4393
+ recorded and used by a third party.
4394
4394
  </p>
4395
4395
  </li>`,co=(e,t,i,n)=>"avb"!==e||localStorage.getItem(null!=i?i:"")?"mill-creek"===e?U`<div class="legal-confirmation-inner-container">
4396
4396
  <div>${Yn()}</div>
4397
4397
  <div>
4398
4398
  <span style="font-weight: 600">Confirm to continue</span>
4399
4399
  <p>
4400
- Hello! Im your virtual assistant, Milly, and I am here to help you
4400
+ Hello! I'm your virtual assistant, Milly, and I am here to help you
4401
4401
  today. Before I can answer any questions, it is important that you
4402
4402
  know I am a third-party bot, and I will be collecting our
4403
4403
  communications and other information you provide, consistent with our
@@ -4420,7 +4420,7 @@ xmlns="http://www.w3.org/2000/svg"
4420
4420
  >
4421
4421
  privacy policy</a
4422
4422
  >
4423
- and terms and conditions, Lets go!
4423
+ and terms and conditions, Let's go!
4424
4424
  </p>
4425
4425
  </div>
4426
4426
  </div>
@@ -4429,7 +4429,7 @@ xmlns="http://www.w3.org/2000/svg"
4429
4429
  <div>
4430
4430
  <span style="font-weight: 600">Confirm to continue</span>
4431
4431
  <p>
4432
- Hello, before I can answer questions for you, its important that I let
4432
+ Hello, before I can answer questions for you, it's important that I let
4433
4433
  you know that I am a third-party AI Assistant that will collect our
4434
4434
  conversation and other information you provide, consistent with our
4435
4435
  <a
@@ -4477,7 +4477,7 @@ xmlns="http://www.w3.org/2000/svg"
4477
4477
  class="privacy-policy-link"
4478
4478
  >U.S. State Privacy Notice</a
4479
4479
  >, and that chats may use automated or AI responses from a bot and
4480
- may be recorded by us and our vendors.
4480
+ may be recorded and used by us and our vendors.
4481
4481
  </p>
4482
4482
  </div>
4483
4483
 
@@ -664,7 +664,9 @@ export class PubnubChat extends LitElement {
664
664
  ["webchat-font__mobile"]: isMobile(),
665
665
  })}
666
666
  >
667
- ${this.building.welcomeMessage}
667
+ ${this.building.welcomeMessage
668
+ .split("\n")
669
+ .map((line) => html`${line}<br />`)}
668
670
  </p>
669
671
  </li>`
670
672
  : ""}
@@ -798,7 +800,7 @@ const getChatDisclaimer = (orgSlug: string) => {
798
800
  >
799
801
  this privacy policy</a
800
802
  >, including being contacted by AI or a human & having your conversation
801
- recorded by a third party.
803
+ recorded and used by a third party.
802
804
  </p>
803
805
  </li>`;
804
806
  };
@@ -838,7 +840,7 @@ const getConsentPreChatDisclaimer = (
838
840
  class="privacy-policy-link"
839
841
  >U.S. State Privacy Notice</a
840
842
  >, and that chats may use automated or AI responses from a bot and
841
- may be recorded by us and our vendors.
843
+ may be recorded and used by us and our vendors.
842
844
  </p>
843
845
  </div>
844
846
 
@@ -865,7 +867,7 @@ const getConsentPreChatDisclaimer = (
865
867
  <div>
866
868
  <span style="font-weight: 600">Confirm to continue</span>
867
869
  <p>
868
- Hello! Im your virtual assistant, Milly, and I am here to help you
870
+ Hello! I'm your virtual assistant, Milly, and I am here to help you
869
871
  today. Before I can answer any questions, it is important that you
870
872
  know I am a third-party bot, and I will be collecting our
871
873
  communications and other information you provide, consistent with our
@@ -890,7 +892,7 @@ const getConsentPreChatDisclaimer = (
890
892
  >
891
893
  privacy policy</a
892
894
  >
893
- and terms and conditions, Lets go!
895
+ and terms and conditions, Let's go!
894
896
  </p>
895
897
  </div>
896
898
  </div>
@@ -901,7 +903,7 @@ const getConsentPreChatDisclaimer = (
901
903
  <div>
902
904
  <span style="font-weight: 600">Confirm to continue</span>
903
905
  <p>
904
- Hello, before I can answer questions for you, its important that I let
906
+ Hello, before I can answer questions for you, it's important that I let
905
907
  you know that I am a third-party AI Assistant that will collect our
906
908
  conversation and other information you provide, consistent with our
907
909
  <a
@@ -49,7 +49,7 @@ const disclaimer = ({
49
49
  rel="noopener noreferrer"
50
50
  >privacy policy</a
51
51
  >, including having your email address and communications collected and
52
- recorded by a third party.
52
+ recorded and used by a third party.
53
53
  </div>`;
54
54
  }
55
55
  return html``;