@zeniai/client-epic-state 4.13.92 → 4.13.93

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.
@@ -254,7 +254,8 @@ const getEntityDetails = (entity, lineItemLocalData, vendorUpdates) => {
254
254
  };
255
255
  const isTransactionMiscategorized = (transaction, isExpenseAutomationEnabled) => {
256
256
  const lines = transaction.lines;
257
- if (isExpenseAutomationEnabled === true && (0, vendorTransaction_1.isVendorTransaction)(transaction)) {
257
+ if (isExpenseAutomationEnabled === true &&
258
+ ((0, vendorTransaction_1.isVendorTransaction)(transaction) || transaction.type === 'journal_entry')) {
258
259
  return true;
259
260
  }
260
261
  let isTransactionMisCategorized = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "4.13.92",
3
+ "version": "4.13.93",
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",