@zeniai/client-epic-state 5.2.42-betaAK0 → 5.2.43

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.
@@ -144,8 +144,7 @@ export const localDataToSaveInvoicingCatalogItemPayload = (localData, isCreate,
144
144
  // reads as "leave it alone", which would make a cleared mapping
145
145
  // impossible to save — the same reason `description` and
146
146
  // `invoice_notes` are cleared rather than dropped above.
147
- detail.accounting_detail =
148
- buildAccountingDetail(subFamily, lookup) ?? null;
147
+ detail.accounting_detail = detail.accounting_detail ?? null;
149
148
  // A price point added on this form has no id yet, and travels with a
150
149
  // blank one. The update endpoint reads that as "create this one", so it
151
150
  // lands in the same request as the edits around it rather than a second
@@ -148,8 +148,7 @@ const localDataToSaveInvoicingCatalogItemPayload = (localData, isCreate, lookup)
148
148
  // reads as "leave it alone", which would make a cleared mapping
149
149
  // impossible to save — the same reason `description` and
150
150
  // `invoice_notes` are cleared rather than dropped above.
151
- detail.accounting_detail =
152
- (0, exports.buildAccountingDetail)(subFamily, lookup) ?? null;
151
+ detail.accounting_detail = detail.accounting_detail ?? null;
153
152
  // A price point added on this form has no id yet, and travels with a
154
153
  // blank one. The update endpoint reads that as "create this one", so it
155
154
  // lands in the same request as the edits around it rather than a second
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "5.2.42-betaAK0",
3
+ "version": "5.2.43",
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
  "module": "lib/esm/index.js",