@zeniai/client-epic-state 4.13.17 → 4.13.18

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.
@@ -203,8 +203,8 @@ const checkIfClassMissingForAnyLineItem = (transactionPayload) => {
203
203
  let isAnyClassMissing = false;
204
204
  if (transactionPayload.lines != null) {
205
205
  transactionPayload.lines.forEach((line) => {
206
- var _a;
207
- if (((_a = line.line_detail) === null || _a === void 0 ? void 0 : _a.class.accounting_class_id) == null) {
206
+ var _a, _b;
207
+ if (((_b = (_a = line.line_detail) === null || _a === void 0 ? void 0 : _a.class) === null || _b === void 0 ? void 0 : _b.accounting_class_id) == null) {
208
208
  isAnyClassMissing = true;
209
209
  }
210
210
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "4.13.17",
3
+ "version": "4.13.18",
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",