bruce-models 7.0.6 → 7.0.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.
@@ -1849,7 +1849,18 @@ var ENVIRONMENT;
1849
1849
  _getters.SetEnv(params.env);
1850
1850
  }
1851
1851
  }
1852
- ENVIRONMENT.PARAMS = Object.assign(Object.assign({}, ENVIRONMENT.PARAMS), params);
1852
+ if (params.dereference) {
1853
+ ENVIRONMENT.PARAMS = Object.assign(Object.assign({}, ENVIRONMENT.PARAMS), params);
1854
+ }
1855
+ else {
1856
+ const keys = Object.keys(params);
1857
+ for (const key of keys) {
1858
+ const value = params[key];
1859
+ if (value !== undefined) {
1860
+ ENVIRONMENT.PARAMS[key] = value;
1861
+ }
1862
+ }
1863
+ }
1853
1864
  (_a = ENVIRONMENT.OnParamsChange) === null || _a === void 0 ? void 0 : _a.Trigger();
1854
1865
  }
1855
1866
  ENVIRONMENT.Reset = Reset;
@@ -17036,7 +17047,7 @@ class NavigatorMcpWebSocketClient {
17036
17047
  }
17037
17048
 
17038
17049
  // This is updated with the package.json version on build.
17039
- const VERSION = "7.0.6";
17050
+ const VERSION = "7.0.7";
17040
17051
 
17041
17052
  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 };
17042
17053
  //# sourceMappingURL=bruce-models.es5.js.map