@zeniai/client-epic-state 5.0.31-betaAR8 → 5.0.31-betaAR9
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.
- package/lib/entity/account/accountSelector.d.ts +13 -0
- package/lib/entity/account/accountSelector.js +2 -0
- package/lib/entity/transaction/stateTypes/paymentType.d.ts +0 -13
- package/lib/entity/transaction/stateTypes/paymentType.js +4 -27
- package/lib/esm/entity/account/accountSelector.js +2 -0
- package/lib/esm/entity/transaction/stateTypes/paymentType.js +1 -23
- package/lib/esm/index.js +0 -2
- package/lib/esm/view/spendManagement/spendManagementFilterHelpers.js +4 -3
- package/lib/index.d.ts +0 -2
- package/lib/index.js +25 -30
- package/lib/tsconfig.typecheck.tsbuildinfo +1 -1
- package/lib/view/spendManagement/spendManagementFilterHelpers.js +4 -3
- package/package.json +1 -1
|
@@ -348,9 +348,10 @@ const getCategoryValueForTransaction = (key, transaction) => {
|
|
|
348
348
|
case 'payment_account_type': {
|
|
349
349
|
// Compare against the raw `paymentType` enum (e.g. "credit_card", "check",
|
|
350
350
|
// "cash"). The same enum is what TransactionCategorizationListRow uses for
|
|
351
|
-
// its icon switch on line ~1675, and it's what the dropdown options
|
|
352
|
-
//
|
|
353
|
-
//
|
|
351
|
+
// its icon switch on line ~1675, and it's what the dropdown options emit
|
|
352
|
+
// as `value`. Display labels come from each account's `paymentTypeName`
|
|
353
|
+
// field (populated by mapAccountBasePayloadToAccountBase from the backend
|
|
354
|
+
// payload) — no client-side label map required.
|
|
354
355
|
return transaction.transaction.paymentType;
|
|
355
356
|
}
|
|
356
357
|
case 'category': {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/client-epic-state",
|
|
3
|
-
"version": "5.0.31-
|
|
3
|
+
"version": "5.0.31-betaAR9",
|
|
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",
|