@classytic/ledger 0.12.3 → 0.12.4

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.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -1
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -1098,7 +1098,8 @@ function wireAccountMethods(repository, country, orgField, integrations = {}) {
1098
1098
  const doc = {
1099
1099
  accountTypeCode: at.code,
1100
1100
  accountNumber: at.code,
1101
- name: at.name
1101
+ name: at.name,
1102
+ isCashAccount: Boolean(at.isCashAccount)
1102
1103
  };
1103
1104
  if (orgField && orgId != null) doc[orgField] = orgId;
1104
1105
  return doc;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@classytic/ledger",
3
- "version": "0.12.3",
3
+ "version": "0.12.4",
4
4
  "description": "Production-grade double-entry accounting engine for MongoDB — schemas, reports, tax, multi-tenant",
5
5
  "type": "module",
6
6
  "sideEffects": false,