rerobe-js-orm 3.6.9 → 3.7.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.
@@ -434,7 +434,7 @@ class OrderHelpers {
434
434
  const saleDiscountPresentmentAmount = subtotalOriginalPresentment - subtotalPricePresentmentWithSalePrice;
435
435
  const creditDiscountPresentmentAmount = convertAndFixPrice(creditDiscountAmount || 0);
436
436
  const additionalDiscountPresentmentAmount = convertAndFixPrice(additionalDiscount || 0);
437
- const totalShippingPricePresentmentAmount = convertAndFixPrice(shippingPrice + shippingFeeTax || 0, 5);
437
+ const totalShippingPricePresentmentAmount = convertAndFixPrice(shippingPrice || 0, 5);
438
438
  const itemsTaxPresentmentAmount = convertAndFixPrice(itemsTax || 0, 5);
439
439
  const shippingFeeTaxPresentmentAmount = convertAndFixPrice(shippingFeeTax || 0, 5);
440
440
  const totalTaxPresentmentAmount = convertAndFixPrice(totalTax || 0, 5);
@@ -929,10 +929,10 @@ class Product extends Base_1.default {
929
929
  const attributeKeys = Object.keys(this.attributes);
930
930
  const filterAttributeKeys = Object.keys(this.filterAttributes);
931
931
  const consignmentAttributeKeys = Object.keys(this.consignmentAttributes);
932
- // const timestampAttributeKeys = Object.keys(this.timestampAttributes);
933
- const allKeys = [...attributeKeys, ...filterAttributeKeys, ...consignmentAttributeKeys];
932
+ const timestampAttributeKeys = Object.keys(this.timestampAttributes);
933
+ const allKeys = [...attributeKeys, ...filterAttributeKeys, ...consignmentAttributeKeys, ...timestampAttributeKeys];
934
934
  const restrictedKeys = ['documentId', 'merchantId', 'merchants'];
935
- const systemManagedKeys = ['reservedBy', 'sellRequestId', 'rfidTag'];
935
+ const systemManagedKeys = ['reservedBy', 'sellRequestId'];
936
936
  const configurableAfterCreationKeys = ['editorAuthorizations', 'featuredCollections'];
937
937
  const obsoleteKeys = ['clothingSize', 'jeanSize', 'shoeSize'];
938
938
  const options = allKeys
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rerobe-js-orm",
3
- "version": "3.6.9",
3
+ "version": "3.7.1",
4
4
  "description": "ReRobe's Javascript ORM Framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",