# fix\(cost\): return dash fallback for non-numeric amounts and bound account dedupe · lucenx/codexbar-plasma

[View on GitCafe](https://git.cafe/lucenx/codexbar-plasma/commit/c96044401e0369b24cb1ae8a61d9b4f593f9cc6a)

Repository: [lucenx/codexbar-plasma](https://git.cafe/lucenx/codexbar-plasma)

Visibility: public

Requested revision: c96044401e0369b24cb1ae8a61d9b4f593f9cc6a

Requested commit: c96044401e0369b24cb1ae8a61d9b4f593f9cc6a

Commit: c96044401e0369b24cb1ae8a61d9b4f593f9cc6a

Tree: 4aef2ceef04ac15a361b461c24fb84aec870d937

Author: Simone

Committer: Simone

## Message

```
fix(cost): return dash fallback for non-numeric amounts and bound account dedupe

- Degrade non-numeric and non-finite money values to dash in amountString instead of formatting invalid prefixes.
- Guard list-consuming helpers in CostPresentation.js with Array.isArray to avoid TypeErrors or invalid iterations on malformed payloads.
- Bound account option deduplication in ProviderNormalizer.js to maximumAccountSnapshots.
- Update test_nonNumericAmountDegradesToDash and add regression tests for non-array inputs and account snapshot bounds.

```

## Parents

- [e10ccae87cc9a30e7bee0f36ab2decd6e0bbdfa0](https://git.cafe/lucenx/codexbar-plasma/commit/e10ccae87cc9a30e7bee0f36ab2decd6e0bbdfa0?format=markdown)

[Source at this commit](https://git.cafe/lucenx/codexbar-plasma/tree/c96044401e0369b24cb1ae8a61d9b4f593f9cc6a?format=markdown)
