bruce-models 5.4.1 → 5.4.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.
@@ -749,7 +749,8 @@ var GuardianApi;
749
749
  url += ".host/";
750
750
  break;
751
751
  default:
752
- throw ("Specified Environment is not valid. SuppliedEnv=" + env);
752
+ console.warn("Supplied environment does not match default options. You will need to set the base url manually. SuppliedEnv=" + env);
753
+ return;
753
754
  }
754
755
  this.baseUrl = url;
755
756
  }
@@ -860,6 +861,9 @@ var BruceApi;
860
861
  this.loadCancelled = false;
861
862
  // Indicates if loading the regional configuration was already called.
862
863
  this.configLoadAttempted = false;
864
+ // Indicates if the init process has finished loading.
865
+ // While this is not resolved requests will be in a pending state.
866
+ this.loadProm = Promise.resolve();
863
867
  let { accountId, env, guardian, loadRegionalBaseUrl, loadConfig, loadWebSocket, dummy } = params;
864
868
  this.accountId = accountId;
865
869
  this.env = env !== null && env !== void 0 ? env : Api.EEnv.PROD;
@@ -14741,7 +14745,7 @@ var DataSource;
14741
14745
  })(DataSource || (DataSource = {}));
14742
14746
 
14743
14747
  // This is updated with the package.json version on build.
14744
- const VERSION = "5.4.1";
14748
+ const VERSION = "5.4.3";
14745
14749
 
14746
14750
  export { VERSION, 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, EntityTypeVisualSettings, EntityAttribute, EntityHistoricData, EntityTableView, Comment, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView, ProjectViewLegacyTile, ProjectViewTile, ProjectViewLegacy, ProjectViewLegacyBookmark, PendingAction, MessageBroker, HostingLocation, Style, Tileset, Permission, Session, UserGroup, User, Account, AccountInvite, AccountFeatures, AccountLimits, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, DataLabGroup, ImportAssembly, ImportCad, ImportCsv, ImportJson, ImportGeoJson, ImportKml, ImportedFile, ExportBrz, ExportUsd, Markup, Uploader, Plugin, ENVIRONMENT, DataSource };
14747
14751
  //# sourceMappingURL=bruce-models.es5.js.map