@mapsindoors/map-template 1.91.2 → 1.91.3
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/{GoogleMapsMap-f93f3b36.mjs → GoogleMapsMap-d6b5e6fd.mjs} +2 -2
- package/dist/{MapboxMap-88d2bbda.mjs → MapboxMap-dcd10bac.mjs} +2 -2
- package/dist/{combo-box-item.entry-5847da22.mjs → combo-box-item.entry-47370477.mjs} +2 -2
- package/dist/mapsindoors-react.es.js +1 -1
- package/dist/mapsindoors-react.umd.js +1 -1
- package/dist/mapsindoors-webcomponent.es.js +7 -7
- package/dist/mapsindoors-webcomponent.umd.js +1 -1
- package/dist/{mi-card_2.entry-a87250b0.mjs → mi-card_2.entry-8528e81e.mjs} +2 -2
- package/dist/{mi-chip.entry-1156a090.mjs → mi-chip.entry-1f22bf66.mjs} +2 -2
- package/dist/{mi-column.entry-7fa868ca.mjs → mi-column.entry-54a3e0f5.mjs} +2 -2
- package/dist/{mi-combo-box.entry-69a88225.mjs → mi-combo-box.entry-b6346fe5.mjs} +2 -2
- package/dist/{mi-data-table.entry-2af9d54d.mjs → mi-data-table.entry-bcafaa68.mjs} +2 -2
- package/dist/{mi-distance_2.entry-27271846.mjs → mi-distance_2.entry-2b0e71ab.mjs} +2 -2
- package/dist/{mi-dropdown-item.entry-86c3e139.mjs → mi-dropdown-item.entry-3c6a25a4.mjs} +2 -2
- package/dist/{mi-dropdown.entry-0154e517.mjs → mi-dropdown.entry-40f99767.mjs} +2 -2
- package/dist/{mi-floor-selector.entry-973992c6.mjs → mi-floor-selector.entry-818db2e2.mjs} +2 -2
- package/dist/{mi-keyboard.entry-240f425f.mjs → mi-keyboard.entry-3d4cd664.mjs} +2 -2
- package/dist/{mi-list-item-category.entry-491a5627.mjs → mi-list-item-category.entry-8c5a87f5.mjs} +2 -2
- package/dist/{mi-list-item-location.entry-ebbff3d7.mjs → mi-list-item-location.entry-52236f2b.mjs} +2 -2
- package/dist/{mi-list.entry-0e96c4b9.mjs → mi-list.entry-da7d4e19.mjs} +2 -2
- package/dist/{mi-location-booking.entry-2df2caeb.mjs → mi-location-booking.entry-907c5fef.mjs} +2 -2
- package/dist/{mi-location-info.entry-1ecca2f5.mjs → mi-location-info.entry-896401c2.mjs} +2 -2
- package/dist/{mi-map-googlemaps.entry-8b701ca9.mjs → mi-map-googlemaps.entry-6ea32d85.mjs} +2 -2
- package/dist/{mi-map-mapbox.entry-3820381e.mjs → mi-map-mapbox.entry-40da0b7d.mjs} +2 -2
- package/dist/{mi-metric-card.entry-a3f61886.mjs → mi-metric-card.entry-d3fc884b.mjs} +2 -2
- package/dist/{mi-my-position.entry-180449cf.mjs → mi-my-position.entry-a681486b.mjs} +2 -2
- package/dist/{mi-notification.entry-30a563e1.mjs → mi-notification.entry-b8709703.mjs} +2 -2
- package/dist/{mi-route-instructions-heading.entry-30a87fcf.mjs → mi-route-instructions-heading.entry-d69bf7b9.mjs} +2 -2
- package/dist/{mi-route-instructions-maneuver-legacy.entry-cea5cf3e.mjs → mi-route-instructions-maneuver-legacy.entry-2129deb7.mjs} +2 -2
- package/dist/{mi-route-instructions-maneuver.entry-a7f66ea4.mjs → mi-route-instructions-maneuver.entry-57c412b0.mjs} +2 -2
- package/dist/{mi-route-instructions-step-legacy.entry-d3f73e57.mjs → mi-route-instructions-step-legacy.entry-83c57e76.mjs} +2 -2
- package/dist/{mi-route-instructions-step.entry-0bb73899.mjs → mi-route-instructions-step.entry-97e40dcd.mjs} +2 -2
- package/dist/{mi-route-instructions.entry-14347377.mjs → mi-route-instructions.entry-b737e7a4.mjs} +2 -2
- package/dist/{mi-scroll-buttons.entry-cc2607b1.mjs → mi-scroll-buttons.entry-30df17b4.mjs} +2 -2
- package/dist/{mi-search.entry-f60178c2.mjs → mi-search.entry-1ae7c1b2.mjs} +2 -2
- package/dist/{mi-share-sms.entry-d5ea07d5.mjs → mi-share-sms.entry-ae6eafd5.mjs} +2 -2
- package/dist/{mi-step-switcher.entry-87b4e63a.mjs → mi-step-switcher.entry-e02d33f6.mjs} +2 -2
- package/dist/{mi-tab-panel.entry-618865e5.mjs → mi-tab-panel.entry-5ef45003.mjs} +2 -2
- package/dist/{mi-tab.entry-3769513e.mjs → mi-tab.entry-e13a0cb9.mjs} +2 -2
- package/dist/{mi-tabs.entry-4eb94ca7.mjs → mi-tabs.entry-2e550708.mjs} +2 -2
- package/dist/{mi-time.entry-5ac4eb99.mjs → mi-time.entry-32fdcd75.mjs} +2 -2
- package/dist/{reactcomponent-e02cfc96.mjs → reactcomponent-591cbab2.mjs} +496 -496
- package/package.json +1 -1
|
@@ -17842,21 +17842,21 @@ function XP({ children: e, enabled: t }) {
|
|
|
17842
17842
|
} catch (W) {
|
|
17843
17843
|
console.warn("Error ending previous session:", W);
|
|
17844
17844
|
}
|
|
17845
|
-
const oe = await fetch(`${rx}/api/chat/start`, {
|
|
17845
|
+
const oe = crypto.randomUUID(), Z = await fetch(`${rx}/api/chat/start`, {
|
|
17846
17846
|
method: "POST",
|
|
17847
17847
|
headers: {
|
|
17848
17848
|
"Content-Type": "application/json"
|
|
17849
17849
|
},
|
|
17850
17850
|
body: JSON.stringify({
|
|
17851
|
-
apiKey: ae
|
|
17851
|
+
apiKey: ae,
|
|
17852
|
+
sessionId: oe
|
|
17852
17853
|
})
|
|
17853
17854
|
});
|
|
17854
|
-
if (!
|
|
17855
|
-
const W = await
|
|
17856
|
-
throw new Error(W.error || `Failed to create session: ${
|
|
17855
|
+
if (!Z.ok) {
|
|
17856
|
+
const W = await Z.json().catch(() => ({}));
|
|
17857
|
+
throw new Error(W.error || `Failed to create session: ${Z.status}`);
|
|
17857
17858
|
}
|
|
17858
|
-
|
|
17859
|
-
D.current = Z, O.current = ae;
|
|
17859
|
+
D.current = oe, O.current = ae;
|
|
17860
17860
|
}
|
|
17861
17861
|
return D.current;
|
|
17862
17862
|
}, []), F = ye.useCallback(async (ae, Ne, oe = {}) => {
|