rerobe-js-orm 4.7.4 → 4.7.5

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.
@@ -462,7 +462,7 @@ class Order extends Base_1.default {
462
462
  title: item.title,
463
463
  originalUnitPriceWithCurrency: item.originalUnitPrice,
464
464
  quantity: item.quantity,
465
- weight: item.variant
465
+ weight: item.variant && item.variant.weight
466
466
  ? {
467
467
  value: item.variant.weight,
468
468
  unit: 'GRAMS',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rerobe-js-orm",
3
- "version": "4.7.4",
3
+ "version": "4.7.5",
4
4
  "description": "ReRobe's Javascript ORM Framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",