bruce-models 1.9.3 → 1.9.5

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.
@@ -1166,6 +1166,15 @@
1166
1166
  })).regions[0];
1167
1167
  if (region === null || region === void 0 ? void 0 : region.CDN) {
1168
1168
  this.EntityCdnUrl = (_b = region.CDN.entityURL) === null || _b === void 0 ? void 0 : _b[env];
1169
+ // We need to fix our configs.
1170
+ if (this.EntityCdnUrl) {
1171
+ if (this.EntityCdnUrl.includes("entitiesListForCDN")) {
1172
+ this.EntityCdnUrl = this.EntityCdnUrl.replace("<ACCOUNT>", this.accountId);
1173
+ }
1174
+ else {
1175
+ this.EntityCdnUrl = this.EntityCdnUrl.replace("<ACCOUNT>", "entitiesListForCDN/" + this.accountId);
1176
+ }
1177
+ }
1169
1178
  this.LegacyTilesetCdnUrl = (_c = region.CDN.legacyTilesetURL) === null || _c === void 0 ? void 0 : _c[env];
1170
1179
  }
1171
1180
  }
@@ -2032,11 +2041,11 @@
2032
2041
  if (path.startsWith("${") && path.endsWith("}")) {
2033
2042
  path = path.replace("${", "");
2034
2043
  path = path.replace("}", "");
2035
- // Split by dots.
2036
- paths.push(exports.PathUtils.ParseLegacy(path));
2037
- // Take string as is.
2038
- paths.push([path]);
2039
2044
  }
2045
+ // Split by dots.
2046
+ paths.push(exports.PathUtils.ParseLegacy(path));
2047
+ // Take string as is.
2048
+ paths.push([path]);
2040
2049
  // Split by backslashes.
2041
2050
  paths.push(exports.PathUtils.Parse(path));
2042
2051
  return paths;