Offer only ISO 4217 currencies in circulation in the picker

Browsers' Intl.supportedValuesOf('currency') includes long-withdrawn codes
(ATS, DEM, ...). Use a hand-maintained ACTIVE_CURRENCIES list in core instead,
which also drops recently replaced ones (BGN, HRK, ANG, ZWL, SLL, CUC) and
non-cash units (XDR, XSU). A withdrawn currency already in use stays selectable.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HA82gVKYyo9BHLHPW4qr4x
This commit is contained in:
agent 2026-11-06 18:13:31 +00:00
parent 1c691cd54f
commit 6b0c80bb50
4 changed files with 52 additions and 7 deletions

View file

@ -6,3 +6,4 @@ export * from './settle.ts';
export * from './recurring.ts';
export * from './stats.ts';
export * from './csv.ts';
export * from './currencies.ts';