rerobe-js-orm 3.0.18 → 3.0.20

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.
@@ -9,8 +9,8 @@ exports.PRODUCT_STATES = {
9
9
  hold: 'HOLD',
10
10
  draft: 'DRAFT',
11
11
  accepted: 'ACCEPTED',
12
- sellerToDropOff: 'DROP_OFF_AT_REROBE',
13
- sellerToShip: 'SHIP_TO_REROBE',
12
+ sellerToDropOff: 'SELLER_TO_DROP_OFF',
13
+ sellerToShip: 'SELLER_TO_SHIP',
14
14
  sellerToGetPickUp: 'AT_HOME_PICK_UP',
15
15
  qualityControl: 'QUALITY_CONTROL',
16
16
  pendingPublication: 'PENDING_PUBLICATION',
@@ -455,7 +455,7 @@ class ReRobeProductHelpers {
455
455
  }
456
456
  static mapToOldSizesToStandardSize(productObj) {
457
457
  const { clothingSize = [], jeanSize = '', shoeSize = '' } = productObj;
458
- const validSizes = clothingSize.filter((size) => typeof size === 'string' && size);
458
+ const validSizes = clothingSize.filter((size) => size);
459
459
  if (jeanSize)
460
460
  validSizes.push(jeanSize);
461
461
  if (shoeSize)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rerobe-js-orm",
3
- "version": "3.0.18",
3
+ "version": "3.0.20",
4
4
  "description": "ReRobe's Javascript ORM Framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",