@infrab4a/connect 3.9.0 → 3.9.1-beta.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.
@@ -4890,7 +4890,13 @@
4890
4890
  this.fields
4891
4891
  .map(function (field) { return (typeof field === 'string' ? field : Object.keys(field).shift()); })
4892
4892
  .filter(function (field) { return field !== 'reviews'; });
4893
- return [2 /*return*/, _super.find.call(this, Object.assign(Object.assign({}, options), { filters: Object.assign(Object.assign({}, filters), { productId: { operator: exports.Where.ISNULL } }), fields: bindFields }))];
4893
+ return [2 /*return*/, _super.find.call(this, Object.assign(Object.assign({}, options), { filters: Object.assign(Object.assign({}, filters), { productId: { operator: exports.Where.ISNULL } }), fields: __spreadArray(__spreadArray([], __read(bindFields)), __read((bindFields.includes('price')
4894
+ ? [
4895
+ 'subscriberPrice',
4896
+ 'subscriberDiscountPercentage',
4897
+ 'fullPrice',
4898
+ ]
4899
+ : []))) }))];
4894
4900
  });
4895
4901
  });
4896
4902
  };