bruce-models 5.8.9 → 5.9.1

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.
@@ -3868,6 +3868,8 @@
3868
3868
  let totalCount;
3869
3869
  let entities = [];
3870
3870
  let imports;
3871
+ let nextPage;
3872
+ let nextPageUrl;
3871
3873
  if (analysis || expandRelations || (viaCdn && api.GetCdnBaseUrl())) {
3872
3874
  const urlParams = new URLSearchParams();
3873
3875
  urlParams.set("cacheToken", String(viaCdnCacheToken ? viaCdnCacheToken : 0));
@@ -3940,6 +3942,8 @@
3940
3942
  }
3941
3943
  totalCount = data.TotalCount;
3942
3944
  imports = data.Imports;
3945
+ nextPage = data.NextPage;
3946
+ nextPageUrl = data.NextPageURL;
3943
3947
  }
3944
3948
  else {
3945
3949
  const urlParams = new URLSearchParams();
@@ -3997,11 +4001,15 @@
3997
4001
  }
3998
4002
  totalCount = data.TotalCount;
3999
4003
  imports = data.Imports;
4004
+ nextPage = data.NextPage;
4005
+ nextPageUrl = data.NextPageURL;
4000
4006
  }
4001
4007
  return {
4002
4008
  entities,
4003
4009
  totalCount,
4004
- imports
4010
+ imports,
4011
+ nextPage,
4012
+ nextPageUrl
4005
4013
  };
4006
4014
  });
4007
4015
  }
@@ -4527,7 +4535,7 @@
4527
4535
  if (isMapValueNum == null) {
4528
4536
  isMapValueNum = false;
4529
4537
  }
4530
- if (isValueNum && (isMapValueNum || mapValue.includes("-"))) {
4538
+ if (isValueNum && (isMapValueNum || (typeof mapValue === "string" && mapValue.includes("-")))) {
4531
4539
  if (+mapValue == +eValue) {
4532
4540
  return option.appliedValue;
4533
4541
  }
@@ -15106,7 +15114,7 @@
15106
15114
  })(exports.Scenario || (exports.Scenario = {}));
15107
15115
 
15108
15116
  // This is updated with the package.json version on build.
15109
- const VERSION = "5.8.9";
15117
+ const VERSION = "5.9.1";
15110
15118
 
15111
15119
  exports.VERSION = VERSION;
15112
15120
  exports.AbstractApi = AbstractApi;