bruce-models 6.8.6 → 6.8.7

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.
@@ -16536,10 +16536,8 @@ class NavigatorChatClient {
16536
16536
  if (path.startsWith("http://") || path.startsWith("https://")) {
16537
16537
  return path;
16538
16538
  }
16539
- if (!path.startsWith("/")) {
16540
- path = `/${path}`;
16541
- }
16542
- return `${this.baseUrl}${path}`;
16539
+ // Use URL constructor to properly handle path joining and avoid double slashes
16540
+ return new URL(path, this.baseUrl).toString();
16543
16541
  }
16544
16542
  fetchFromEndpoint(path, init, auth) {
16545
16543
  var _a;
@@ -16753,7 +16751,7 @@ class NavigatorMcpWebSocketClient {
16753
16751
  }
16754
16752
 
16755
16753
  // This is updated with the package.json version on build.
16756
- const VERSION = "6.8.6";
16754
+ const VERSION = "6.8.7";
16757
16755
 
16758
16756
  export { VERSION, Assembly, AnnDocument, CustomForm, AbstractApi, Api, BruceApi, GlobalApi, GuardianApi, ApiGetters, Calculator, Bounds, BruceEvent, CacheControl, Camera, Cartes, Carto, Color, DelayQueue, Geometry, UTC, BruceVariable, LRUCache, GeoJson, EntityAttachmentType, EntityAttachment, EntityComment, EntityLink, EntityLod, EntityLodCategory, EntityRelationType, EntityRelation, EntitySource, EntityTag, EntityType, Entity, EntityCoords, EntityAttribute, EntityHistoricData, EntityTableView, Comment, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView, ProjectViewLegacyTile, ProjectViewTile, ProjectViewLegacy, ProjectViewLegacyBookmark, ProjectViewBookmarkGroup, PendingAction, MessageBroker, HostingLocation, Style, Tileset, Permission, Session, UserGroup, User, UserMfaMethod, Account, AccountInvite, AccountFeatures, AccountLimits, AccountTemplate, AccountType, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, DataLabGroup, ImportAssembly, ImportCad, ImportCsv, ImportJson, ImportGeoJson, ImportKml, ImportedFile, ExportBrz, ExportUsd, Markup, Uploader, Plugin, ENVIRONMENT, DataSource, Scenario, Tracking, NavigatorChatClient, NavigatorMcpWebSocketClient };
16759
16757
  //# sourceMappingURL=bruce-models.es5.js.map