bruce-models 3.7.7 → 3.7.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.
@@ -598,7 +598,7 @@ var MessageBroker;
598
598
  }
599
599
  }
600
600
  formatApiUri(uri) {
601
- const ws = "wss";
601
+ const ws = !window.document || window.document.location.protocol === "https:" ? "wss" : "ws";
602
602
  return uri.replace(/^(https|http)/, ws) + "websocket";
603
603
  }
604
604
  onOpen(ev) {
@@ -10943,6 +10943,12 @@ var Plugin;
10943
10943
  }
10944
10944
  const callDispose = window[disposeId];
10945
10945
  return () => {
10946
+ if (elementId) {
10947
+ const element = window.document.getElementById(elementId);
10948
+ if (element && element.parentElement) {
10949
+ element.parentElement.removeChild(element);
10950
+ }
10951
+ }
10946
10952
  callDispose();
10947
10953
  };
10948
10954
  }
@@ -11137,7 +11143,7 @@ var DataSource;
11137
11143
  })(DataSource || (DataSource = {}));
11138
11144
 
11139
11145
  // This is updated with the package.json version on build.
11140
- const VERSION = "3.7.7";
11146
+ const VERSION = "3.7.8";
11141
11147
 
11142
11148
  export { VERSION, AnnDocument, CustomForm, AbstractApi, Api, BruceApi, GlobalApi, GuardianApi, ApiGetters, Calculator, Bounds, BruceEvent, CacheControl, Camera, Cartes, Carto, Color, DelayQueue, Geometry, UTC, BruceVariable, LRUCache, EntityAttachmentType, EntityAttachment, EntityComment, EntityLink, EntityLod, EntityLodCategory, EntityRelationType, EntityRelation, EntitySource, EntityTag, EntityType, Entity, EntityCoords, EntityTypeVisualSettings, EntityAttribute, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView, ProjectViewLegacyTile, ProjectViewTile, ProjectViewLegacy, ProjectViewLegacyBookmark, PendingAction, MessageBroker, HostingLocation, Style, Tileset, Permission, Session, UserGroup, User, Account, AccountInvite, AccountFeatures, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, ImportCad, ImportCsv, ImportJson, ImportKml, ImportedFile, Markup, Uploader, Plugin, ENVIRONMENT, DataSource };
11143
11149
  //# sourceMappingURL=bruce-models.es5.js.map