rerobe-js-orm 4.9.0 → 4.9.1

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.
@@ -633,6 +633,10 @@ class Product extends Base_1.default {
633
633
  primaryAgeCategory: this.utilities.sanitizeString(this.filterAttributes.primaryAgeCategory),
634
634
  isOnSale: this.utilities.sanitizeString(this.consignmentAttributes.isOnSale),
635
635
  isTaxable: this.utilities.sanitizeString(this.attributes.isTaxable),
636
+ // Reduced-rate gross display in product lists needs the category (12% FOOD
637
+ // / 6% CULTURE etc.); without it the list defaults to STANDARD (25%) and
638
+ // over-states the listing price for reduced-rate products.
639
+ taxCategory: this.utilities.sanitizeString(this.attributes.taxCategory),
636
640
  merchants: this.utilities.sanitzeStringArr(this.attributes.merchants),
637
641
  merchantId: this.utilities.sanitizeString(this.attributes.merchantId),
638
642
  marketplaceVisibleToMerchantIds: marketplaceFields.marketplaceVisibleToMerchantIds,
@@ -324,6 +324,7 @@ type TypesenseProductObj = {
324
324
  primaryAgeCategory: string;
325
325
  isOnSale: string;
326
326
  isTaxable: string;
327
+ taxCategory: string;
327
328
  merchants: string[];
328
329
  merchantId: string;
329
330
  price: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rerobe-js-orm",
3
- "version": "4.9.0",
3
+ "version": "4.9.1",
4
4
  "description": "ReRobe's Javascript ORM Framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",