bruce-models 2.7.8 → 2.8.0

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.
@@ -9229,7 +9229,6 @@
9229
9229
  return cacheData.data;
9230
9230
  }
9231
9231
  const prom = new Promise((res, rej) => __awaiter(this, void 0, void 0, function* () {
9232
- var _a;
9233
9232
  try {
9234
9233
  // We try find the published record for the tileset.
9235
9234
  // If it doesn't exist, then it's not published.
@@ -9238,11 +9237,7 @@
9238
9237
  api: api,
9239
9238
  });
9240
9239
  const tileset = published.find(x => x["Tileset.ID"] == tilesetId && x["PublishedBy.ClientAccount.ID"] == sourceAccountId);
9241
- if (!tileset) {
9242
- res(false);
9243
- return;
9244
- }
9245
- res(tileset.IsPublic || (((_a = tileset["EnabledFor.ClientAccount.ID"]) === null || _a === void 0 ? void 0 : _a.length) && tileset["EnabledFor.ClientAccount.ID"].includes(forAccountId)));
9240
+ res(tileset != null);
9246
9241
  }
9247
9242
  catch (e) {
9248
9243
  rej(e);
@@ -11776,7 +11771,7 @@
11776
11771
  DataSource.GetList = GetList;
11777
11772
  })(exports.DataSource || (exports.DataSource = {}));
11778
11773
 
11779
- const VERSION$1 = "2.7.8";
11774
+ const VERSION$1 = "2.8.0";
11780
11775
 
11781
11776
  exports.VERSION = VERSION$1;
11782
11777
  exports.AbstractApi = AbstractApi;