bruce-models 2.3.5 → 2.3.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.
@@ -4128,7 +4128,7 @@ var BruceApi;
4128
4128
  * @returns
4129
4129
  */
4130
4130
  init(guardian, loadConfig) {
4131
- var _a, _b;
4131
+ var _a, _b, _c;
4132
4132
  return __awaiter(this, void 0, void 0, function* () {
4133
4133
  if (!this.accountId) {
4134
4134
  throw ("accountId is required.");
@@ -4201,6 +4201,10 @@ var BruceApi;
4201
4201
  }
4202
4202
  }
4203
4203
  this.LegacyTilesetCdnUrl = (_b = settings.CDN.legacyTilesetURL) === null || _b === void 0 ? void 0 : _b[env];
4204
+ this.TilesetCdnUrl = (_c = settings.CDN.tilesetURL) === null || _c === void 0 ? void 0 : _c[env];
4205
+ if (this.TilesetCdnUrl) {
4206
+ this.TilesetCdnUrl = this.TilesetCdnUrl.replace("<ACCOUNT>", this.accountId);
4207
+ }
4204
4208
  }
4205
4209
  }
4206
4210
  }