@iai-lib/any-chat-widget 0.1.0-alpha.61 → 0.1.0-alpha.62

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.
@@ -1,4 +1,4 @@
1
- import { A as e } from "./main-cD9cg5Yl.js";
1
+ import { A as e } from "./main-B1LC6Va1.js";
2
2
  export {
3
3
  e as AnyChatWidget
4
4
  };
@@ -760,14 +760,14 @@ Please report this to https://github.com/markedjs/marked.`,t){const n="<p>An err
760
760
  `}function JN({html:t,params:e}){return t`
761
761
  <div>
762
762
  <iai-chat-carousel>
763
- ${e.units.map(r=>{const n=r.floorPlanImage!=="Data not available"?t`<img src="${r.floorPlanImage}" alt="">`:"";return t`
763
+ ${e.units.map(r=>{const n=r.floorPlanImage!=="Data not available"?t`<img src="${r.floorPlanImage}" alt="">`:"",i=r.pricing.isVisitForPrice?r.pricing.rentString:`$${r.pricing.rent}/mo for a ${r.pricing.term} Month Lease`;return t`
764
764
  <div>
765
765
  <h2>Unit ${r.unitName}</h2>
766
766
  <ul>
767
767
  <li>Bedrooms: ${r.bedroomCount}</li>
768
768
  <li>Bathrooms: ${r.bathroomCount}</li>
769
769
  <li>SQFT: ${r.squareFeet}</li>
770
- <li>Rent: $${r.pricing.rent}/mo for a ${r.pricing.term} Month Lease</li>
770
+ <li>Rent: ${i}</li>
771
771
  ${n}
772
772
  </ul>
773
773
  </div>
@@ -1,4 +1,4 @@
1
- import { c as Jr, g as _0 } from "./main-cD9cg5Yl.js";
1
+ import { c as Jr, g as _0 } from "./main-B1LC6Va1.js";
2
2
  function k0(e, n) {
3
3
  for (var t = 0; t < n.length; t++) {
4
4
  const r = n[t];
@@ -15278,7 +15278,7 @@ function bm({ html: n, params: e }) {
15278
15278
  <div>
15279
15279
  <iai-chat-carousel>
15280
15280
  ${e.units.map((t) => {
15281
- const r = t.floorPlanImage !== "Data not available" ? n`<img src="${t.floorPlanImage}" alt="">` : "";
15281
+ const r = t.floorPlanImage !== "Data not available" ? n`<img src="${t.floorPlanImage}" alt="">` : "", i = t.pricing.isVisitForPrice ? t.pricing.rentString : `$${t.pricing.rent}/mo for a ${t.pricing.term} Month Lease`;
15282
15282
  return n`
15283
15283
  <div>
15284
15284
  <h2>Unit ${t.unitName}</h2>
@@ -15286,7 +15286,7 @@ function bm({ html: n, params: e }) {
15286
15286
  <li>Bedrooms: ${t.bedroomCount}</li>
15287
15287
  <li>Bathrooms: ${t.bathroomCount}</li>
15288
15288
  <li>SQFT: ${t.squareFeet}</li>
15289
- <li>Rent: $${t.pricing.rent}/mo for a ${t.pricing.term} Month Lease</li>
15289
+ <li>Rent: ${i}</li>
15290
15290
  ${r}
15291
15291
  </ul>
15292
15292
  </div>
@@ -15957,7 +15957,7 @@ class Cs {
15957
15957
  async initialize(e) {
15958
15958
  try {
15959
15959
  this.config = e, this.accessToken = e.accessToken, this.identity = e.identity, this.tokenRefreshUrl = e.tokenRefreshUrl;
15960
- const { Client: t } = await import("./browser-BnZrIpUb.js").then((r) => r.b);
15960
+ const { Client: t } = await import("./browser-up_rGhTG.js").then((r) => r.b);
15961
15961
  this.client = new t(e.accessToken, {
15962
15962
  logLevel: e.logLevel || "error"
15963
15963
  }), this.setupClientListeners(), await this.waitForClientReady(), e.conversationSid && (this.conversationSid = e.conversationSid, await this.joinConversation(e.conversationSid));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@iai-lib/any-chat-widget",
3
3
  "license": "SEE LICENSE IN LICENSE.md",
4
- "version": "0.1.0-alpha.61",
4
+ "version": "0.1.0-alpha.62",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -48,5 +48,5 @@
48
48
  "mitt": "^3.0.1",
49
49
  "zod": "^3.23.8"
50
50
  },
51
- "gitHead": "c8efef205949283fd80346c6f1cfc494b5391907"
51
+ "gitHead": "2fcf6ed0abf2f82a8c8a640a0beb891816ac141e"
52
52
  }