bruce-models 1.7.6 → 1.7.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.
@@ -4145,7 +4145,7 @@ var EntityFilterGetter;
4145
4145
  EStatus["Loading"] = "LOADING";
4146
4146
  })(EStatus = EntityFilterGetter.EStatus || (EntityFilterGetter.EStatus = {}));
4147
4147
  class Getter {
4148
- constructor(api, viewPort, typeId, batchSize, attrFilter) {
4148
+ constructor(api, viewPort, typeId, batchSize, attrFilter, viaCdn) {
4149
4149
  this.onUpdate = null;
4150
4150
  this.LastStateUpdates = {};
4151
4151
  this.onStateUpdate = null;
@@ -4161,7 +4161,8 @@ var EntityFilterGetter;
4161
4161
  this.viewCenter = null;
4162
4162
  this.api = api;
4163
4163
  this.typeId = typeId;
4164
- this.batchSize = batchSize;
4164
+ this.viaCdn = Boolean(viaCdn);
4165
+ this.batchSize = isNaN(batchSize) ? 300 : batchSize;
4165
4166
  this.viewPort = viewPort;
4166
4167
  this.attrFilter = attrFilter;
4167
4168
  this.updateBounds();
@@ -4338,7 +4339,8 @@ var EntityFilterGetter;
4338
4339
  bounds: curCell.GetBounds(),
4339
4340
  sortOrder: Api.ESortOrder.Asc,
4340
4341
  entityTypeConditions: this.attrFilter
4341
- }
4342
+ },
4343
+ viaCdn: this.viaCdn
4342
4344
  });
4343
4345
  const integrity = this.getIntegrityId();
4344
4346
  if (loopIntegrity == integrity && entities) {