rerobe-js-orm 4.6.2 → 4.6.3

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.
@@ -442,7 +442,11 @@ class Order extends Base_1.default {
442
442
  var _a, _b;
443
443
  return ({
444
444
  quantity: Number(item.quantity || 1),
445
- variantId: ((_a = item.variant) === null || _a === void 0 ? void 0 : _a.shopifyId) || item.shopifyProductId || ((_b = item.variant) === null || _b === void 0 ? void 0 : _b.id) || '',
445
+ variantId: item.shopifyVariantId ||
446
+ ((_a = item.variant) === null || _a === void 0 ? void 0 : _a.shopifyId) ||
447
+ item.shopifyProductId ||
448
+ ((_b = item.variant) === null || _b === void 0 ? void 0 : _b.id) ||
449
+ '',
446
450
  });
447
451
  });
448
452
  const tagsArray = Array.isArray(this.tags)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rerobe-js-orm",
3
- "version": "4.6.2",
3
+ "version": "4.6.3",
4
4
  "description": "ReRobe's Javascript ORM Framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",