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.
@@ -1833,7 +1833,18 @@
1833
1833
  _getters.SetEnv(params.env);
1834
1834
  }
1835
1835
  }
1836
- ENVIRONMENT.PARAMS = Object.assign(Object.assign({}, ENVIRONMENT.PARAMS), params);
1836
+ if (params.dereference) {
1837
+ ENVIRONMENT.PARAMS = Object.assign(Object.assign({}, ENVIRONMENT.PARAMS), params);
1838
+ }
1839
+ else {
1840
+ const keys = Object.keys(params);
1841
+ for (const key of keys) {
1842
+ const value = params[key];
1843
+ if (value !== undefined) {
1844
+ ENVIRONMENT.PARAMS[key] = value;
1845
+ }
1846
+ }
1847
+ }
1837
1848
  (_a = ENVIRONMENT.OnParamsChange) === null || _a === void 0 ? void 0 : _a.Trigger();
1838
1849
  }
1839
1850
  ENVIRONMENT.Reset = Reset;
@@ -16721,7 +16732,7 @@
16721
16732
  }
16722
16733
 
16723
16734
  // This is updated with the package.json version on build.
16724
- const VERSION = "7.0.6";
16735
+ const VERSION = "7.0.7";
16725
16736
 
16726
16737
  exports.VERSION = VERSION;
16727
16738
  exports.AbstractApi = AbstractApi;