@zeniai/client-epic-state 4.13.69 → 4.13.70

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.
@@ -234,8 +234,9 @@ const checkIfAllLineItemsAreCategoryClassFilled = (transaction, transactionDetai
234
234
  !(((_a = lineItem.account) === null || _a === void 0 ? void 0 : _a.qboId) != null &&
235
235
  [exports.EXPENSE_QBOID, exports.INCOME_QBOID].includes(lineItem.account.qboId)) &&
236
236
  (isVendorTransactionAvailable
237
- ? ((_b = transactionDetailLocalData.vendor) === null || _b === void 0 ? void 0 : _b.id) != null
238
- : ((_c = lineItem.vendor) === null || _c === void 0 ? void 0 : _c.id) != null);
237
+ ? ((_b = transactionDetailLocalData.vendor) === null || _b === void 0 ? void 0 : _b.id) != null &&
238
+ Boolean(transactionDetailLocalData.vendor.id) === true
239
+ : ((_c = lineItem.vendor) === null || _c === void 0 ? void 0 : _c.id) != null && Boolean(lineItem.vendor.id) === true);
239
240
  });
240
241
  };
241
242
  exports.checkIfAllLineItemsAreCategoryClassFilled = checkIfAllLineItemsAreCategoryClassFilled;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "4.13.69",
3
+ "version": "4.13.70",
4
4
  "description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",