bruce-models 3.6.2 → 3.6.4

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.
@@ -1350,7 +1350,7 @@ var BruceApi;
1350
1350
  });
1351
1351
  }
1352
1352
  // Start web socket connection.
1353
- if (loadWebSocket != false) {
1353
+ if (loadWebSocket == true) {
1354
1354
  try {
1355
1355
  this.messageBroker = new MessageBroker.WebSocketBroker(this.baseUrl, this.env);
1356
1356
  }
@@ -6660,12 +6660,13 @@ var Uploader;
6660
6660
  while (retryCount > 0) {
6661
6661
  try {
6662
6662
  const blob = file.slice(fileOffset, fileOffset + partSize);
6663
+ const partialFile = new File([blob], file.name, { type: file.type });
6663
6664
  const formData = new FormData();
6664
6665
  formData.append("originalFileName", file.name);
6665
6666
  formData.append("token", uploadToken);
6666
6667
  formData.append("count", "" + filePartsCount);
6667
6668
  formData.append("part", "" + filePartIndex);
6668
- formData.append("file", blob);
6669
+ formData.append("file", partialFile);
6669
6670
  const reqParams = Api.PrepReqParams(req);
6670
6671
  reqParams.formData = formData;
6671
6672
  reqParams.onProgress = (progress) => {
@@ -6676,7 +6677,7 @@ var Uploader;
6676
6677
  uploaded: false
6677
6678
  });
6678
6679
  };
6679
- data = yield api.UPLOAD(url, blob, reqParams);
6680
+ data = yield api.UPLOAD(url, partialFile, reqParams);
6680
6681
  retryCount = 0;
6681
6682
  }
6682
6683
  catch (up) {
@@ -7895,6 +7896,8 @@ var MenuItem;
7895
7896
  EType["Relationships"] = "Relationships";
7896
7897
  // Renders the Cesium Google photogrammetry tileset.
7897
7898
  EType["GooglePhotoTileset"] = "GooglePhotoTileset";
7899
+ // Renders a ArcGIS I3S scene.
7900
+ EType["I3sTileset"] = "I3STileset";
7898
7901
  })(EType = MenuItem.EType || (MenuItem.EType = {}));
7899
7902
  /**
7900
7903
  * Creates a menu item for a single entity.
@@ -10965,7 +10968,7 @@ var DataSource;
10965
10968
  })(DataSource || (DataSource = {}));
10966
10969
 
10967
10970
  // This is updated with the package.json version on build.
10968
- const VERSION = "3.6.2";
10971
+ const VERSION = "3.6.4";
10969
10972
 
10970
10973
  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, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, ImportCad, ImportCsv, ImportJson, ImportKml, ImportedFile, Markup, Uploader, Plugin, ENVIRONMENT, DataSource };
10971
10974
  //# sourceMappingURL=bruce-models.es5.js.map